UNPKG

@dojima-wallet/solver-modules

Version:

Modules of different protocols for solvers

702 lines (701 loc) 14.6 kB
export const MarketplaceData = { address: "0x646Dda3a6Ea1E75717e9D3fFc4fff811ED74D6De", abi: [ { inputs: [] as any, stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: true, internalType: "address", name: "approved", type: "address", }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "Approval", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: true, internalType: "address", name: "operator", type: "address", }, { indexed: false, internalType: "bool", name: "approved", type: "bool", }, ], name: "ApprovalForAll", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_fromTokenId", type: "uint256", }, { indexed: false, internalType: "uint256", name: "_toTokenId", type: "uint256", }, ], name: "BatchMetadataUpdate", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256", }, ], name: "MetadataUpdate", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "TokenListed", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256", }, { indexed: false, internalType: "address", name: "owner", type: "address", }, { indexed: false, internalType: "address", name: "seller", type: "address", }, { indexed: false, internalType: "uint256", name: "price", type: "uint256", }, { indexed: false, internalType: "bool", name: "currentlyListed", type: "bool", }, ], name: "TokenListedSuccess", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address", }, { indexed: true, internalType: "address", name: "to", type: "address", }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "Transfer", type: "event", }, { inputs: [ { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "tokenURI", type: "string", }, { internalType: "uint256", name: "price", type: "uint256", }, ], name: "createAndListToken", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "string", name: "tokenURI", type: "string", }, ], name: "createToken", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "executeSale", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [], name: "getAllNFTs", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, { internalType: "address payable", name: "owner", type: "address", }, { internalType: "address payable", name: "seller", type: "address", }, { internalType: "uint256", name: "price", type: "uint256", }, { internalType: "bool", name: "currentlyListed", type: "bool", }, ], internalType: "struct NFTMarketplace.ListedToken[]", name: "", type: "tuple[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getCurrentToken", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getLatestIdToListedToken", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, { internalType: "address payable", name: "owner", type: "address", }, { internalType: "address payable", name: "seller", type: "address", }, { internalType: "uint256", name: "price", type: "uint256", }, { internalType: "bool", name: "currentlyListed", type: "bool", }, ], internalType: "struct NFTMarketplace.ListedToken", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getListPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "getListedTokenForId", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, { internalType: "address payable", name: "owner", type: "address", }, { internalType: "address payable", name: "seller", type: "address", }, { internalType: "uint256", name: "price", type: "uint256", }, { internalType: "bool", name: "currentlyListed", type: "bool", }, ], internalType: "struct NFTMarketplace.ListedToken", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getMyNFTs", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, { internalType: "address payable", name: "owner", type: "address", }, { internalType: "address payable", name: "seller", type: "address", }, { internalType: "uint256", name: "price", type: "uint256", }, { internalType: "bool", name: "currentlyListed", type: "bool", }, ], internalType: "struct NFTMarketplace.ListedToken[]", name: "", type: "tuple[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "address", name: "operator", type: "address", }, ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, { internalType: "uint256", name: "price", type: "uint256", }, ], name: "listToken", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "operator", type: "address", }, { internalType: "bool", name: "approved", type: "bool", }, ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4", }, ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_listPrice", type: "uint256", }, ], name: "updateListPrice", outputs: [], stateMutability: "payable", type: "function", }, ], };