Download third_party/real_code/rc21/abi.json from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 10.2 kB
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc21/abi.json
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/third_party/real_code/rc21/abi.json
-
curl -L -o abi.json https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc21/abi.json
10.2 kB
| [ | |
| { | |
| "type": "constructor", | |
| "inputs": [ | |
| { | |
| "name": "name", | |
| "type": "string", | |
| "internalType": "string" | |
| }, | |
| { | |
| "name": "symbol", | |
| "type": "string", | |
| "internalType": "string" | |
| }, | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "ERC721IncorrectOwner", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "sender", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "ERC721InsufficientApproval", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "operator", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "ERC721InvalidApprover", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "approver", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "ERC721InvalidOperator", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "operator", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "ERC721InvalidOwner", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "ERC721InvalidReceiver", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "receiver", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "ERC721InvalidSender", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "sender", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "ERC721NonexistentToken", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "OwnableInvalidOwner", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "owner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "OwnableUnauthorizedAccount", | |
| "type": "error", | |
| "inputs": [ | |
| { | |
| "name": "account", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "getApproved", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "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": "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": "renounceOwnership", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "safeMint", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "uri", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "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" | |
| } | |
| ], | |
| "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": "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": "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" | |
| } | |
| ] |