Download third_party/real_code/rc02/abi.json from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 17.9 kB
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc02/abi.json
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/third_party/real_code/rc02/abi.json
-
curl -L -o abi.json https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc02/abi.json
17.9 kB
| [ | |
| { | |
| "type": "constructor", | |
| "inputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "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": "Locked", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "indexed": false, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "RoleAdminChanged", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "previousAdminRole", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "newAdminRole", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "RoleGranted", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "account", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "sender", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "RoleRevoked", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "account", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "sender", | |
| "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": "Unlocked", | |
| "type": "event", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "indexed": false, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "name": "API_DELEGATE_ROLE", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "DEFAULT_ADMIN_ROLE", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "NFT_MANAGER_ROLE", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "SERVICE_STATUS_ROLE", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "TOKEN_RECOVERY_ROLE", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "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": "claim", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "getApproved", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "getIsServiceActive", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "getRoleAdmin", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "getShouldLockTokensAfterMint", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "getShouldPreventTransferWhenLocked", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "getTokenLock", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "grantRole", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "account", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "hasRole", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "account", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "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": "isNumbered", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "locked", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "mint", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "mint", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "quantity", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "mint", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "name", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "nftAnimationUri", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "nftDescription", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "nftImageUri", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "nftTitle", | |
| "type": "function", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "ownerOf", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "name": "recoverToken", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "renounceRole", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "account", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "revokeRole", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "role", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "account", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "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" | |
| } | |
| ], | |
| "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": "setIsNumbered", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "newIsNumbered", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setIsServiceActive", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "isServiceActive_", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setNftAnimationUri", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "newAnimationUri", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setNftDescription", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "newDescription", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setNftImageUri", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "newImageUri", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setNftTitle", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "newTitle", | |
| "type": "string", | |
| "internalType": "string" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setShouldLockTokensAfterMint", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_shouldLockTokensAfterMint", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setShouldPreventTransferWhenLocked", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "lock", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "name": "setTokenLock", | |
| "type": "function", | |
| "inputs": [ | |
| { | |
| "name": "_tokenId", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "_locked", | |
| "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": "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" | |
| } | |
| ] |