[ { "inputs": [ { "internalType": "address", "name": "util_", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC721IncorrectOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ERC721InsufficientApproval", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC721InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "ERC721InvalidOperator", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC721InvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC721InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC721InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ERC721NonexistentToken", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "util", "type": "address" } ], "name": "UtilControlledInvalidUtil", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "UtilControlledUnauthorizedAccout", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "util", "type": "address" } ], "name": "UtilSet", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "mint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "util", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]
60806040523480156200001157600080fd5b506040516200129638038062001296833981016040819052620000349162000162565b806040518060400160405280601281526020017142656e746f2056657273653a2041746d6f7360701b8152506040518060400160405280600581526020016441746d6f7360d81b8152506040518060800160405280605681526020016200124060569139828285620000a681620000e3565b506001620000b5838262000239565b506002620000c4828262000239565b5060089150620000d79050828262000239565b50505050505062000305565b6001600160a01b0381166200011a57604051630643db0960e41b81526001600160a01b038216600482015260240160405180910390fd5b600080546001600160a01b0319166001600160a01b038316908117825560405190917f1bc6b602a53306f5f5d8adf089ec869312ce9b53aab175c0f9747418715b255d91a250565b6000602082840312156200017557600080fd5b81516001600160a01b03811681146200018d57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001bf57607f821691505b602082108103620001e057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023457600081815260208120601f850160051c810160208610156200020f5750805b601f850160051c820191505b8181101562000230578281556001016200021b565b5050505b505050565b81516001600160401b0381111562000255576200025562000194565b6200026d81620002668454620001aa565b84620001e6565b602080601f831160018114620002a557600084156200028c5750858301515b600019600386901b1c1916600185901b17855562000230565b600085815260208120601f198616915b82811015620002d657888601518255948401946001909101908401620002b5565b5085821015620002f55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610f2b80620003156000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80636352211e116100a257806395d89b411161007157806395d89b4114610222578063a22cb4651461022a578063b88d4fde1461023d578063c87b56dd14610250578063e985e9c51461026357600080fd5b80636352211e146101d85780636a627842146101eb57806370a08231146101fe578063956138751461021157600080fd5b806318160ddd116100de57806318160ddd1461018d57806323b872dd1461019f57806342842e0e146101b257806342966c68146101c557600080fd5b806301ffc9a71461011057806306fdde0314610138578063081812fc1461014d578063095ea7b314610178575b600080fd5b61012361011e366004610bb1565b610276565b60405190151581526020015b60405180910390f35b6101406102c8565b60405161012f9190610c1b565b61016061015b366004610c2e565b61035a565b6040516001600160a01b03909116815260200161012f565b61018b610186366004610c5e565b610383565b005b6007545b60405190815260200161012f565b61018b6101ad366004610c88565b610392565b61018b6101c0366004610c88565b610422565b61018b6101d3366004610c2e565b610442565b6101606101e6366004610c2e565b610463565b6101916101f9366004610cc4565b61046e565b61019161020c366004610cc4565b61049e565b6000546001600160a01b0316610160565b6101406104e6565b61018b610238366004610cdf565b6104f5565b61018b61024b366004610d31565b610500565b61014061025e366004610c2e565b610517565b610123610271366004610e0d565b6105b5565b60006001600160e01b031982166380ac58cd60e01b14806102a757506001600160e01b03198216635b5e139f60e01b145b806102c257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546102d790610e40565b80601f016020809104026020016040519081016040528092919081815260200182805461030390610e40565b80156103505780601f1061032557610100808354040283529160200191610350565b820191906000526020600020905b81548152906001019060200180831161033357829003601f168201915b5050505050905090565b6000610365826105e3565b506000828152600560205260409020546001600160a01b03166102c2565b61038e82823361061c565b5050565b6001600160a01b0382166103c157604051633250574960e11b8152600060048201526024015b60405180910390fd5b60006103ce838333610629565b9050836001600160a01b0316816001600160a01b03161461041c576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016103b8565b50505050565b61043d83838360405180602001604052806000815250610500565b505050565b600061044d82610463565b905061045a813384610722565b61038e82610786565b60006102c2826105e3565b60006104786107c1565b60075461048583826107ff565b600754610493906001610e7a565b60075590505b919050565b60006001600160a01b0382166104ca576040516322718ad960e21b8152600060048201526024016103b8565b506001600160a01b031660009081526004602052604090205490565b6060600280546102d790610e40565b61038e338383610864565b61050b848484610392565b61041c84848484610903565b6060610522826105e3565b506008805461053090610e40565b80601f016020809104026020016040519081016040528092919081815260200182805461055c90610e40565b80156105a95780601f1061057e576101008083540402835291602001916105a9565b820191906000526020600020905b81548152906001019060200180831161058c57829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000818152600360205260408120546001600160a01b0316806102c257604051637e27328960e01b8152600481018490526024016103b8565b61043d8383836001610a2c565b6000828152600360205260408120546001600160a01b039081169083161561065657610656818486610722565b6001600160a01b0381161561069457610673600085600080610a2c565b6001600160a01b038116600090815260046020526040902080546000190190555b6001600160a01b038516156106c3576001600160a01b0385166000908152600460205260409020805460010190555b60008481526003602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b61072d838383610b32565b61043d576001600160a01b03831661075b57604051637e27328960e01b8152600481018290526024016103b8565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016103b8565b60006107956000836000610629565b90506001600160a01b03811661038e57604051637e27328960e01b8152600481018390526024016103b8565b336107d46000546001600160a01b031690565b6001600160a01b0316146107fd5760405163290c3de760e21b81523360048201526024016103b8565b565b6001600160a01b03821661082957604051633250574960e11b8152600060048201526024016103b8565b600061083783836000610629565b90506001600160a01b0381161561043d576040516339e3563760e11b8152600060048201526024016103b8565b6001600160a01b03821661089657604051630b61174360e31b81526001600160a01b03831660048201526024016103b8565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561041c57604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610945903390889087908790600401610e9b565b6020604051808303816000875af1925050508015610980575060408051601f3d908101601f1916820190925261097d91810190610ed8565b60015b6109e9573d8080156109ae576040519150601f19603f3d011682016040523d82523d6000602084013e6109b3565b606091505b5080516000036109e157604051633250574960e11b81526001600160a01b03851660048201526024016103b8565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610a2557604051633250574960e11b81526001600160a01b03851660048201526024016103b8565b5050505050565b8080610a4057506001600160a01b03821615155b15610b02576000610a50846105e3565b90506001600160a01b03831615801590610a7c5750826001600160a01b0316816001600160a01b031614155b8015610a8f5750610a8d81846105b5565b155b15610ab85760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016103b8565b8115610b005783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260056020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b03831615801590610b905750826001600160a01b0316846001600160a01b03161480610b6c5750610b6c84846105b5565b80610b9057506000828152600560205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610bae57600080fd5b50565b600060208284031215610bc357600080fd5b8135610bce81610b98565b9392505050565b6000815180845260005b81811015610bfb57602081850181015186830182015201610bdf565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610bce6020830184610bd5565b600060208284031215610c4057600080fd5b5035919050565b80356001600160a01b038116811461049957600080fd5b60008060408385031215610c7157600080fd5b610c7a83610c47565b946020939093013593505050565b600080600060608486031215610c9d57600080fd5b610ca684610c47565b9250610cb460208501610c47565b9150604084013590509250925092565b600060208284031215610cd657600080fd5b610bce82610c47565b60008060408385031215610cf257600080fd5b610cfb83610c47565b915060208301358015158114610d1057600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610d4757600080fd5b610d5085610c47565b9350610d5e60208601610c47565b925060408501359150606085013567ffffffffffffffff80821115610d8257600080fd5b818701915087601f830112610d9657600080fd5b813581811115610da857610da8610d1b565b604051601f8201601f19908116603f01168101908382118183101715610dd057610dd0610d1b565b816040528281528a6020848701011115610de957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215610e2057600080fd5b610e2983610c47565b9150610e3760208401610c47565b90509250929050565b600181811c90821680610e5457607f821691505b602082108103610e7457634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156102c257634e487b7160e01b600052601160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610ece90830184610bd5565b9695505050505050565b600060208284031215610eea57600080fd5b8151610bce81610b9856fea2646970667358221220d8c745521bbd1ee0a110439d384c2d528105a8797a5b893fb0d6b30b1199ef4664736f6c6343000815003368747470733a2f2f697066732e626c6f63746f2e6170702f697066732f516d523370486645556e5159454461666666317658473753447035734d4748794d417578763763754d686a5569382f41746d6f732e6a736f6e000000000000000000000000bc1bb37a522edb1caa073ac2b3debacd5e89d81d
0x000000000000000000000000bc1bb37a522edb1caa073ac2b3debacd5e89d81d
----Decoded View------------Arg [0] : util_ (address): 0xBc1Bb37A522EDB1cAa073ac2B3DEbAcd5E89D81d
----Encoded View------------Arg [0] : 0x000000000000000000000000bc1bb37a522edb1caa073ac2b3debacd5e89d81d