[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "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": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "values", "type": "uint256[]" } ], "name": "TransferBatch", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "TransferSingle", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "value", "type": "string" }, { "indexed": true, "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "URI", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" } ], "name": "balanceOfBatch", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "mintBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeBatchTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "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": "string", "name": "newuri", "type": "string" } ], "name": "setURI", "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": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "uri", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ]
60806040523480156200001157600080fd5b506040518060800160405280604d815260200162001e9b604d9139620000378162000049565b5062000043336200005b565b6200021e565b600262000057828262000152565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000d857607f821691505b602082108103620000f957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200014d57600081815260208120601f850160051c81016020861015620001285750805b601f850160051c820191505b81811015620001495782815560010162000134565b5050505b505050565b81516001600160401b038111156200016e576200016e620000ad565b62000186816200017f8454620000c3565b84620000ff565b602080601f831160018114620001be5760008415620001a55750858301515b600019600386901b1c1916600185901b17855562000149565b600085815260208120601f198616915b82811015620001ef57888601518255948401946001909101908401620001ce565b50858210156200020e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611c6d806200022e6000396000f3fe608060405234801561001057600080fd5b50600436106100e95760003560e01c8063715018a61161008c578063a22cb46511610066578063a22cb465146101e8578063e985e9c5146101fb578063f242432a14610237578063f2fde38b1461024a57600080fd5b8063715018a6146101b2578063731133e9146101ba5780638da5cb5b146101cd57600080fd5b80630e89341c116100c85780630e89341c1461014c5780631f7fdffa1461016c5780632eb2c2d61461017f5780634e1273f41461019257600080fd5b8062fdd58e146100ee57806301ffc9a71461011457806302fe530514610137575b600080fd5b6101016100fc3660046112eb565b61025d565b6040519081526020015b60405180910390f35b61012761012236600461132b565b610309565b604051901515815260200161010b565b61014a6101453660046113f0565b610359565b005b61015f61015a366004611441565b61036d565b60405161010b91906114a0565b61014a61017a366004611568565b610401565b61014a61018d366004611601565b61041b565b6101a56101a03660046116ab565b6104ae565b60405161010b91906117b1565b61014a6105ec565b61014a6101c83660046117c4565b610600565b6003546040516001600160a01b03909116815260200161010b565b61014a6101f6366004611819565b610614565b610127610209366004611855565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61014a610245366004611888565b610623565b61014a6102583660046118ed565b6106af565b60006001600160a01b0383166102e05760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e65720000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061033a57506001600160e01b031982166303a24d0760e21b145b8061030357506301ffc9a760e01b6001600160e01b0319831614610303565b61036161073c565b61036a81610796565b50565b60606002805461037c90611908565b80601f01602080910402602001604051908101604052809291908181526020018280546103a890611908565b80156103f55780601f106103ca576101008083540402835291602001916103f5565b820191906000526020600020905b8154815290600101906020018083116103d857829003601f168201915b50505050509050919050565b61040961073c565b610415848484846107a2565b50505050565b6001600160a01b03851633148061043757506104378533610209565b61049a5760405162461bcd60e51b815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526d195c881bdc88185c1c1c9bdd995960921b60648201526084016102d7565b6104a78585858585610968565b5050505050565b606081518351146105275760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016102d7565b6000835167ffffffffffffffff8111156105435761054361134f565b60405190808252806020026020018201604052801561056c578160200160208202803683370190505b50905060005b84518110156105e4576105b785828151811061059057610590611942565b60200260200101518583815181106105aa576105aa611942565b602002602001015161025d565b8282815181106105c9576105c9611942565b60209081029190910101526105dd8161196e565b9050610572565b509392505050565b6105f461073c565b6105fe6000610bc6565b565b61060861073c565b61041584848484610c30565b61061f338383610d44565b5050565b6001600160a01b03851633148061063f575061063f8533610209565b6106a25760405162461bcd60e51b815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526d195c881bdc88185c1c1c9bdd995960921b60648201526084016102d7565b6104a78585858585610e38565b6106b761073c565b6001600160a01b0381166107335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102d7565b61036a81610bc6565b6003546001600160a01b031633146105fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d7565b600261061f82826119d2565b6001600160a01b0384166108025760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016102d7565b81518351146108645760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016102d7565b3360005b84518110156109005783818151811061088357610883611942565b60200260200101516000808784815181106108a0576108a0611942565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546108e89190611a92565b909155508190506108f88161196e565b915050610868565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610951929190611aa5565b60405180910390a46104a781600087878787610fe3565b81518351146109ca5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016102d7565b6001600160a01b038416610a2e5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016102d7565b3360005b8451811015610b58576000858281518110610a4f57610a4f611942565b602002602001015190506000858381518110610a6d57610a6d611942565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610b005760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016102d7565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610b3d908490611a92565b9250508190555050505080610b519061196e565b9050610a32565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610ba8929190611aa5565b60405180910390a4610bbe818787878787610fe3565b505050505050565b600380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416610c905760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016102d7565b336000610c9c85611188565b90506000610ca985611188565b90506000868152602081815260408083206001600160a01b038b16845290915281208054879290610cdb908490611a92565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d3b836000898989896111d3565b50505050505050565b816001600160a01b0316836001600160a01b031603610dcb5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016102d7565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416610e9c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016102d7565b336000610ea885611188565b90506000610eb585611188565b90506000868152602081815260408083206001600160a01b038c16845290915290205485811015610f3b5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016102d7565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290610f78908490611a92565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610fd8848a8a8a8a8a6111d3565b505050505050505050565b6001600160a01b0384163b15610bbe5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906110279089908990889088908890600401611ad3565b6020604051808303816000875af1925050508015611062575060408051601f3d908101601f1916820190925261105f91810190611b31565b60015b6111175761106e611b4e565b806308c379a0036110a75750611082611b6a565b8061108d57506110a9565b8060405162461bcd60e51b81526004016102d791906114a0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016102d7565b6001600160e01b0319811663bc197c8160e01b14610d3b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016102d7565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106111c2576111c2611942565b602090810291909101015292915050565b6001600160a01b0384163b15610bbe5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906112179089908990889088908890600401611bf4565b6020604051808303816000875af1925050508015611252575060408051601f3d908101601f1916820190925261124f91810190611b31565b60015b61125e5761106e611b4e565b6001600160e01b0319811663f23a6e6160e01b14610d3b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016102d7565b80356001600160a01b03811681146112e657600080fd5b919050565b600080604083850312156112fe57600080fd5b611307836112cf565b946020939093013593505050565b6001600160e01b03198116811461036a57600080fd5b60006020828403121561133d57600080fd5b813561134881611315565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561138b5761138b61134f565b6040525050565b600067ffffffffffffffff8311156113ac576113ac61134f565b6040516113c3601f8501601f191660200182611365565b8091508381528484840111156113d857600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561140257600080fd5b813567ffffffffffffffff81111561141957600080fd5b8201601f8101841361142a57600080fd5b61143984823560208401611392565b949350505050565b60006020828403121561145357600080fd5b5035919050565b6000815180845260005b8181101561148057602081850181015186830182015201611464565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000611348602083018461145a565b600067ffffffffffffffff8211156114cd576114cd61134f565b5060051b60200190565b600082601f8301126114e857600080fd5b813560206114f5826114b3565b6040516115028282611365565b83815260059390931b850182019282810191508684111561152257600080fd5b8286015b8481101561153d5780358352918301918301611526565b509695505050505050565b600082601f83011261155957600080fd5b61134883833560208501611392565b6000806000806080858703121561157e57600080fd5b611587856112cf565b9350602085013567ffffffffffffffff808211156115a457600080fd5b6115b0888389016114d7565b945060408701359150808211156115c657600080fd5b6115d2888389016114d7565b935060608701359150808211156115e857600080fd5b506115f587828801611548565b91505092959194509250565b600080600080600060a0868803121561161957600080fd5b611622866112cf565b9450611630602087016112cf565b9350604086013567ffffffffffffffff8082111561164d57600080fd5b61165989838a016114d7565b9450606088013591508082111561166f57600080fd5b61167b89838a016114d7565b9350608088013591508082111561169157600080fd5b5061169e88828901611548565b9150509295509295909350565b600080604083850312156116be57600080fd5b823567ffffffffffffffff808211156116d657600080fd5b818501915085601f8301126116ea57600080fd5b813560206116f7826114b3565b6040516117048282611365565b83815260059390931b850182019282810191508984111561172457600080fd5b948201945b838610156117495761173a866112cf565b82529482019490820190611729565b9650508601359250508082111561175f57600080fd5b5061176c858286016114d7565b9150509250929050565b600081518084526020808501945080840160005b838110156117a65781518752958201959082019060010161178a565b509495945050505050565b6020815260006113486020830184611776565b600080600080608085870312156117da57600080fd5b6117e3856112cf565b93506020850135925060408501359150606085013567ffffffffffffffff81111561180d57600080fd5b6115f587828801611548565b6000806040838503121561182c57600080fd5b611835836112cf565b91506020830135801515811461184a57600080fd5b809150509250929050565b6000806040838503121561186857600080fd5b611871836112cf565b915061187f602084016112cf565b90509250929050565b600080600080600060a086880312156118a057600080fd5b6118a9866112cf565b94506118b7602087016112cf565b93506040860135925060608601359150608086013567ffffffffffffffff8111156118e157600080fd5b61169e88828901611548565b6000602082840312156118ff57600080fd5b611348826112cf565b600181811c9082168061191c57607f821691505b60208210810361193c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161198057611980611958565b5060010190565b601f8211156119cd57600081815260208120601f850160051c810160208610156119ae5750805b601f850160051c820191505b81811015610bbe578281556001016119ba565b505050565b815167ffffffffffffffff8111156119ec576119ec61134f565b611a00816119fa8454611908565b84611987565b602080601f831160018114611a355760008415611a1d5750858301515b600019600386901b1c1916600185901b178555610bbe565b600085815260208120601f198616915b82811015611a6457888601518255948401946001909101908401611a45565b5085821015611a825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561030357610303611958565b604081526000611ab86040830185611776565b8281036020840152611aca8185611776565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152611aff60a0830186611776565b8281036060840152611b118186611776565b90508281036080840152611b25818561145a565b98975050505050505050565b600060208284031215611b4357600080fd5b815161134881611315565b600060033d1115611b675760046000803e5060005160e01c5b90565b600060443d1015611b785790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611ba857505050505090565b8285019150815181811115611bc05750505050505090565b843d8701016020828501011115611bda5750505050505090565b611be960208286010187611365565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152611c2c60a083018461145a565b97965050505050505056fea2646970667358221220998dcac9d383a1a47463857d6ecdad1a213da1285b592b78f88a7a2838fe14b864736f6c6343000811003368747470733a2f2f697066732e696f2f697066732f516d62486877776e4d6b57726772704834324174716b4751617075765a4a6b7733384e4e314856776966725263692f7b69647d2e6a736f6e