Skip to Content

@cfxdevkit/contracts


@cfxdevkit/contracts / ERC721_EXTENDED_ABI

Variable: ERC721_EXTENDED_ABI

const ERC721_EXTENDED_ABI: readonly [{ inputs: readonly []; name: "name"; outputs: readonly [{ name: ""; type: "string"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "symbol"; outputs: readonly [{ name: ""; type: "string"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "tokenId"; type: "uint256"; }]; name: "tokenURI"; outputs: readonly [{ name: ""; type: "string"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "owner"; type: "address"; }]; name: "balanceOf"; outputs: readonly [{ name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "tokenId"; type: "uint256"; }]; name: "ownerOf"; outputs: readonly [{ name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "tokenId"; type: "uint256"; }]; name: "getApproved"; outputs: readonly [{ name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "owner"; type: "address"; }, { name: "operator"; type: "address"; }]; name: "isApprovedForAll"; outputs: readonly [{ name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "to"; type: "address"; }, { name: "tokenId"; type: "uint256"; }]; name: "approve"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "operator"; type: "address"; }, { name: "approved"; type: "bool"; }]; name: "setApprovalForAll"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "from"; type: "address"; }, { name: "to"; type: "address"; }, { name: "tokenId"; type: "uint256"; }]; name: "transferFrom"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "from"; type: "address"; }, { name: "to"; type: "address"; }, { name: "tokenId"; type: "uint256"; }]; name: "safeTransferFrom"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "from"; type: "address"; }, { name: "to"; type: "address"; }, { name: "tokenId"; type: "uint256"; }, { name: "_data"; type: "bytes"; }]; name: "safeTransferFrom"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "interfaceId"; type: "bytes4"; }]; name: "supportsInterface"; outputs: readonly [{ name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: true; name: "from"; type: "address"; }, { indexed: true; name: "to"; type: "address"; }, { indexed: true; name: "tokenId"; type: "uint256"; }]; name: "Transfer"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; name: "owner"; type: "address"; }, { indexed: true; name: "approved"; type: "address"; }, { indexed: true; name: "tokenId"; type: "uint256"; }]; name: "Approval"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; name: "owner"; type: "address"; }, { indexed: true; name: "operator"; type: "address"; }, { indexed: false; name: "approved"; type: "bool"; }]; name: "ApprovalForAll"; type: "event"; }, { inputs: readonly []; name: "totalSupply"; outputs: readonly [{ name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "index"; type: "uint256"; }]; name: "tokenByIndex"; outputs: readonly [{ name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "owner"; type: "address"; }, { name: "index"; type: "uint256"; }]; name: "tokenOfOwnerByIndex"; outputs: readonly [{ name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "tokenId"; type: "uint256"; }]; name: "burn"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "paused"; outputs: readonly [{ name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "pause"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "unpause"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "tokenId"; type: "uint256"; }, { name: "salePrice"; type: "uint256"; }]; name: "royaltyInfo"; outputs: readonly [{ name: "receiver"; type: "address"; }, { name: "royaltyAmount"; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "to"; type: "address"; }, { name: "uri"; type: "string"; }]; name: "safeMint"; outputs: readonly [{ name: "tokenId"; type: "uint256"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "maxSupply"; outputs: readonly [{ name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "receiver"; type: "address"; }, { name: "feeNumerator"; type: "uint96"; }]; name: "setDefaultRoyalty"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "role"; type: "bytes32"; }, { name: "account"; type: "address"; }]; name: "hasRole"; outputs: readonly [{ name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ name: "role"; type: "bytes32"; }, { name: "account"; type: "address"; }]; name: "grantRole"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ name: "role"; type: "bytes32"; }, { name: "account"; type: "address"; }]; name: "revokeRole"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "MINTER_ROLE"; outputs: readonly [{ name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "PAUSER_ROLE"; outputs: readonly [{ name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: true; name: "role"; type: "bytes32"; }, { indexed: true; name: "account"; type: "address"; }, { indexed: true; name: "sender"; type: "address"; }]; name: "RoleGranted"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: false; name: "account"; type: "address"; }]; name: "Paused"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: false; name: "account"; type: "address"; }]; name: "Unpaused"; type: "event"; }] = erc721ExtendedAbi

Defined in: standard-abis.ts:670