OniReimu's picture
NFTBench 0.9.0 preview (part 7)
7fc80d0 verified
Raw History Blame Contribute Delete
19.5 kB
[ { "type": "constructor", "inputs": [ { "name": "_name", "type": "string", "internalType": "string" }, { "name": "_symbol", "type": "string", "internalType": "string" }, { "name": "_uri", "type": "string", "internalType": "string" }, { "name": "_royaltyReceiver", "type": "address", "internalType": "address" }, { "name": "_royaltyFeeNumerator", "type": "uint96", "internalType": "uint96" } ], "stateMutability": "nonpayable" }, { "name": "BadParamsLength", "type": "error", "inputs": [] }, { "name": "ERC2981InvalidDefaultRoyalty", "type": "error", "inputs": [ { "name": "numerator", "type": "uint256", "internalType": "uint256" }, { "name": "denominator", "type": "uint256", "internalType": "uint256" } ] }, { "name": "ERC2981InvalidDefaultRoyaltyReceiver", "type": "error", "inputs": [ { "name": "receiver", "type": "address", "internalType": "address" } ] }, { "name": "ERC2981InvalidTokenRoyalty", "type": "error", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "numerator", "type": "uint256", "internalType": "uint256" }, { "name": "denominator", "type": "uint256", "internalType": "uint256" } ] }, { "name": "ERC2981InvalidTokenRoyaltyReceiver", "type": "error", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "receiver", "type": "address", "internalType": "address" } ] }, { "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": "InvalidFrom", "type": "error", "inputs": [ { "name": "", "type": "address", "internalType": "address" }, { "name": "", "type": "address", "internalType": "address" } ] }, { "name": "NotTransferable", "type": "error", "inputs": [] }, { "name": "OwnableInvalidOwner", "type": "error", "inputs": [ { "name": "owner", "type": "address", "internalType": "address" } ] }, { "name": "OwnableUnauthorizedAccount", "type": "error", "inputs": [ { "name": "account", "type": "address", "internalType": "address" } ] }, { "name": "SenderNotManager", "type": "error", "inputs": [ { "name": "", "type": "address", "internalType": "address" }, { "name": "", "type": "uint16", "internalType": "uint16" } ] }, { "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": "DefaultRoyaltySet", "type": "event", "inputs": [ { "name": "receiver", "type": "address", "indexed": true, "internalType": "address" }, { "name": "feeNumerator", "type": "uint96", "indexed": false, "internalType": "uint96" } ], "anonymous": false }, { "name": "Locked", "type": "event", "inputs": [ { "name": "tokenId", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "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": "TokenRoyaltySet", "type": "event", "inputs": [ { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "receiver", "type": "address", "indexed": true, "internalType": "address" }, { "name": "feeNumerator", "type": "uint96", "indexed": false, "internalType": "uint96" } ], "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": "ADMIN_MANAGER", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint16", "internalType": "uint16" } ], "stateMutability": "view" }, { "name": "BACKEND_MANAGER", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint16", "internalType": "uint16" } ], "stateMutability": "view" }, { "name": "GLOBAL_MANAGER", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint16", "internalType": "uint16" } ], "stateMutability": "view" }, { "name": "MINT_MANAGER", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint16", "internalType": "uint16" } ], "stateMutability": "view" }, { "name": "accounts", "type": "function", "inputs": [ { "name": "", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "uint16", "internalType": "uint16" } ], "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": "baseTokenURI", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "name": "execute", "type": "function", "inputs": [ { "name": "_action", "type": "tuple", "components": [ { "name": "contractAddress", "type": "address", "internalType": "address" }, { "name": "from", "type": "address", "internalType": "address" }, { "name": "to", "type": "address", "internalType": "address" }, { "name": "identifiers", "type": "uint256[]", "internalType": "uint256[]" }, { "name": "balances", "type": "uint256[]", "internalType": "uint256[]" }, { "name": "transferable", "type": "bool[]", "internalType": "bool[]" } ], "internalType": "struct IRunnerLeagueCollection.Action" } ], "outputs": [], "stateMutability": "nonpayable" }, { "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": "lock", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "lockBatch", "type": "function", "inputs": [ { "name": "tokenIds", "type": "uint256[]", "internalType": "uint256[]" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "locked", "type": "function", "inputs": [ { "name": "_id", "type": "uint256", "internalType": "uint256" } ], "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": "royaltyInfo", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "salePrice", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "receiver", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "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": "setAccountManager", "type": "function", "inputs": [ { "name": "_account", "type": "address", "internalType": "address" }, { "name": "_role", "type": "uint16", "internalType": "uint16" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "setApprovalForAll", "type": "function", "inputs": [ { "name": "operator", "type": "address", "internalType": "address" }, { "name": "approved", "type": "bool", "internalType": "bool" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "setBaseUri", "type": "function", "inputs": [ { "name": "baseURI", "type": "string", "internalType": "string" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "setDefaultRoyalty", "type": "function", "inputs": [ { "name": "receiver", "type": "address", "internalType": "address" }, { "name": "feeNumerator", "type": "uint96", "internalType": "uint96" } ], "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" }, { "name": "transferable", "type": "function", "inputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "name": "unlock", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "unlockBatch", "type": "function", "inputs": [ { "name": "tokenIds", "type": "uint256[]", "internalType": "uint256[]" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "updateLockBatch", "type": "function", "inputs": [ { "name": "_lockBatch", "type": "tuple[]", "components": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "transferable", "type": "bool", "internalType": "bool" } ], "internalType": "struct ITransferable.UpdateLock[]" } ], "outputs": [], "stateMutability": "nonpayable" } ]
[
{
"type": "constructor",
"inputs": [
{
"name": "_name",
"type": "string",
"internalType": "string"
},
{
"name": "_symbol",
"type": "string",
"internalType": "string"
},
{
"name": "_uri",
"type": "string",
"internalType": "string"
},
{
"name": "_royaltyReceiver",
"type": "address",
"internalType": "address"
},
{
"name": "_royaltyFeeNumerator",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "nonpayable"
},
{
"name": "BadParamsLength",
"type": "error",
"inputs": []
},
{
"name": "ERC2981InvalidDefaultRoyalty",
"type": "error",
"inputs": [
{
"name": "numerator",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "denominator",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC2981InvalidDefaultRoyaltyReceiver",
"type": "error",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC2981InvalidTokenRoyalty",
"type": "error",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "numerator",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "denominator",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC2981InvalidTokenRoyaltyReceiver",
"type": "error",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "receiver",
"type": "address",
"internalType": "address"
}
]