Download third_party/real_code/rc20/abi.json from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 17.7 kB
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc20/abi.json
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/third_party/real_code/rc20/abi.json
-
curl -L -o abi.json https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc20/abi.json
17.7 kB
| [ | |
| { | |
| "type": "constructor", | |
| "inputs": [ | |
| { | |
| "name": "_tokenName", | |
| "type": "string", | |
| "internalType": "string" | |
| }, | |
| { | |
| "name": "_tokenSymbol", | |
| "type": "string", | |
| "internalType": "string" | |
| }, | |
| { | |
| "name": "_cost", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "_maxSupply", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "_maxMintAmountPerTx", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "_hiddenMetadataUri", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "ApprovalCallerNotOwnerNorApproved", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "ApprovalQueryForNonexistentToken", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "ApprovalToCurrentOwner", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "ApproveToCaller", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "BalanceQueryForZeroAddress", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "InvalidQueryRange", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "MintToZeroAddress", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "MintZeroQuantity", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "OwnerQueryForNonexistentToken", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "TransferCallerNotOwnerNorApproved", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "TransferFromIncorrectOwner", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "TransferToNonERC721ReceiverImplementer", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "TransferToZeroAddress", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "URIQueryForNonexistentToken", | |
| "type": "error", | |
| "inputs": [] | |
| }, | |
| { | |
| "name": "Approval", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "approved", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "indexed": true, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "ApprovalForAll", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "operator", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "approved", | |
| "type": "bool", | |
| "indexed": false, | |
| "internalType": "bool" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "OwnershipTransferred", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "previousOwner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "newOwner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "Transfer", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "from", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "indexed": true, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "approve", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "balanceOf", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "cost", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "explicitOwnershipOf", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "tuple", | |
| "components": [ | |
| { | |
| "name": "addr", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "startTimestamp", | |
| "type": "uint64", | |
| "internalType": "uint64" | |
| }, | |
| { | |
| "name": "burned", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "internalType": "struct IERC721A.TokenOwnership" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "explicitOwnershipsOf", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenIds", | |
| "type": "uint256[]", | |
| "internalType": "uint256[]" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "tuple[]", | |
| "components": [ | |
| { | |
| "name": "addr", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "startTimestamp", | |
| "type": "uint64", | |
| "internalType": "uint64" | |
| }, | |
| { | |
| "name": "burned", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "internalType": "struct IERC721A.TokenOwnership[]" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "getApproved", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "hiddenMetadataUri", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "isApprovedForAll", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "operator", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "maxMintAmountPerTx", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "maxSupply", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "merkleRoot", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "mint", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_mintAmount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "name": "mintForAddress", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_mintAmount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "_receiver", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "name", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "owner", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "ownerOf", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "paused", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "renounceOwnership", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "revealed", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "safeTransferFrom", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "from", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "safeTransferFrom", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "from", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "_data", | |
| "type": "bytes", | |
| "internalType": "bytes" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setApprovalForAll", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "operator", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "approved", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setCost", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_cost", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setHiddenMetadataUri", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_hiddenMetadataUri", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setMaxMintAmountPerTx", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_maxMintAmountPerTx", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setMerkleRoot", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_merkleRoot", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setPaused", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_state", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setRevealed", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_state", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setUriPrefix", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_uriPrefix", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setUriSuffix", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_uriSuffix", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setWhitelistMintEnabled", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_state", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "supportsInterface", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "interfaceId", | |
| "type": "bytes4", | |
| "internalType": "bytes4" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "symbol", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "tokenURI", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "tokensOfOwner", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256[]", | |
| "internalType": "uint256[]" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "tokensOfOwnerIn", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "start", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "stop", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256[]", | |
| "internalType": "uint256[]" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "totalSupply", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "transferFrom", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "from", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "transferOwnership", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "newOwner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "uriPrefix", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "uriSuffix", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "whitelistClaimed", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "whitelistMint", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_mintAmount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "_merkleProof", | |
| "type": "bytes32[]", | |
| "internalType": "bytes32[]" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "name": "whitelistMintEnabled", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "withdraw", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| } | |
| ] |