X2Y2Adapter

Implements the NFT <=> ERC20 exchange logic via X2Y2 marketplace

constructor

constructor() public

ERC721Pair

struct ERC721Pair {
  address token;
  uint256 tokenId;
}

getAskOrderInfo

function getAskOrderInfo(bytes params, address) external pure returns (struct DataTypes.OrderInfo orderInfo)

getBidOrderInfo

function getBidOrderInfo(bytes) external pure returns (struct DataTypes.OrderInfo)

matchAskWithTakerBid

function matchAskWithTakerBid(address marketplace, bytes params, uint256 value) external payable returns (bytes)

matchBidWithTakerAsk

function matchBidWithTakerAsk(address, bytes) external pure returns (bytes)