[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "adminBurn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "_from", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" } ], "name": "adminTransfer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "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": "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": [], "name": "migrateContract", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_tokenId", "type": "uint256" } ], "name": "migrateMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "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": "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": "string", "name": "_baseTokenURI", "type": "string" } ], "name": "setBaseURI", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_migrateContract", "type": "address" } ], "name": "setMigrateContract", "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": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b50604051806040016040528060078152602001662a34ba30b72b1960c91b815250604051806040016040528060088152602001672a24aa20a72fab1960c11b8152506200006d620000676200009860201b60201c565b6200009c565b60016200007b838262000191565b5060026200008a828262000191565b50506064600755506200025d565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011757607f821691505b6020821081036200013857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018c57600081815260208120601f850160051c81016020861015620001675750805b601f850160051c820191505b81811015620001885782815560010162000173565b5050505b505050565b81516001600160401b03811115620001ad57620001ad620000ec565b620001c581620001be845462000102565b846200013e565b602080601f831160018114620001fd5760008415620001e45750858301515b600019600386901b1c1916600185901b17855562000188565b600085815260208120601f198616915b828110156200022e578886015182559484019460019091019084016200020d565b50858210156200024d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611ce8806200026d6000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100e3578063badb97ff1161008c578063e985e9c511610066578063e985e9c51461032b578063ec782ac114610367578063f2fde38b1461037a57600080fd5b8063badb97ff146102f2578063c87b56dd14610305578063d2cb01001461031857600080fd5b806395d89b41116100bd57806395d89b41146102c4578063a22cb465146102cc578063b88d4fde146102df57600080fd5b806370a0823114610298578063715018a6146102ab5780638da5cb5b146102b357600080fd5b806323b872dd1161014557806355f804b31161011f57806355f804b31461025f57806356ddb4af146102725780636352211e1461028557600080fd5b806323b872dd1461022657806342842e0e146102395780634a36df251461024c57600080fd5b8063081812fc11610176578063081812fc146101cf578063095ea7b3146101fa57806318160ddd1461020f57600080fd5b806301ffc9a71461019257806306fdde03146101ba575b600080fd5b6101a56101a03660046116ed565b61038d565b60405190151581526020015b60405180910390f35b6101c2610472565b6040516101b19190611761565b6101e26101dd366004611774565b610504565b6040516001600160a01b0390911681526020016101b1565b61020d6102083660046117a9565b61052b565b005b61021860075481565b6040519081526020016101b1565b61020d6102343660046117d3565b610661565b61020d6102473660046117d3565b6106e8565b61020d61025a36600461180f565b610703565b61020d61026d36600461182a565b610745565b61020d61028036600461189c565b61075a565b6101e2610293366004611774565b61076d565b6102186102a636600461180f565b6107d2565b61020d61086c565b6000546001600160a01b03166101e2565b6101c2610880565b61020d6102da3660046118d8565b61088f565b61020d6102ed366004611943565b61089e565b61020d610300366004611774565b61092c565b6101c2610313366004611774565b610940565b61020d6103263660046117a9565b610a29565b6101a5610339366004611a1f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6009546101e2906001600160a01b031681565b61020d61038836600461180f565b610ade565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061042057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061046c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606001805461048190611a52565b80601f01602080910402602001604051908101604052809291908181526020018280546104ad90611a52565b80156104fa5780601f106104cf576101008083540402835291602001916104fa565b820191906000526020600020905b8154815290600101906020018083116104dd57829003601f168201915b5050505050905090565b600061050f82610b6b565b506000908152600560205260409020546001600160a01b031690565b60006105368261076d565b9050806001600160a01b0316836001600160a01b0316036105c45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b03821614806105e057506105e08133610339565b6106525760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105bb565b61065c8383610bcf565b505050565b61066b3382610c55565b6106dd5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016105bb565b61065c838383610cd4565b61065c8383836040518060200160405280600081525061089e565b61070b610f15565b600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b61074d610f15565b600861065c828483611af3565b610762610f15565b61065c828285610cd4565b6000818152600360205260408120546001600160a01b03168061046c5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016105bb565b60006001600160a01b0382166108505760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016105bb565b506001600160a01b031660009081526004602052604090205490565b610874610f15565b61087e6000610f6f565b565b60606002805461048190611a52565b61089a338383610fd7565b5050565b6108a83383610c55565b61091a5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016105bb565b610926848484846110c3565b50505050565b610934610f15565b61093d8161114c565b50565b6000818152600360205260409020546060906001600160a01b03166109cd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016105bb565b600880546109da90611a52565b90506000036109f8576040518060200160405280600081525061046c565b6008610a03836111f9565b604051602001610a14929190611bb4565b60405160208183030381529060405292915050565b6009546001600160a01b03163314610a835760405162461bcd60e51b815260206004820152601560248201527f4f6e6c79206d69677261746520636f6e7472616374000000000000000000000060448201526064016105bb565b6007548110610ad45760405162461bcd60e51b815260206004820152601060248201527f496e76616c696420746f6b656e2069640000000000000000000000000000000060448201526064016105bb565b61089a8282611299565b610ae6610f15565b6001600160a01b038116610b625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105bb565b61093d81610f6f565b6000818152600360205260409020546001600160a01b031661093d5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016105bb565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190610c1c8261076d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610c618361076d565b9050806001600160a01b0316846001600160a01b03161480610ca857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610ccc5750836001600160a01b0316610cc184610504565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ce78261076d565b6001600160a01b031614610d635760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016105bb565b6001600160a01b038216610dde5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105bb565b826001600160a01b0316610df18261076d565b6001600160a01b031614610e6d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016105bb565b600081815260056020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000546001600160a01b0316331461087e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105bb565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b0316036110385760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105bb565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6110ce848484610cd4565b6110da8484848461143c565b6109265760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105bb565b60006111578261076d565b90506111628261076d565b600083815260056020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60606000611206836115dd565b600101905060008167ffffffffffffffff81111561122657611226611914565b6040519080825280601f01601f191660200182016040528015611250576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461125a57509392505050565b6001600160a01b0382166112ef5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105bb565b6000818152600360205260409020546001600160a01b0316156113545760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105bb565b6000818152600360205260409020546001600160a01b0316156113b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105bb565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156115d2576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611499903390899088908890600401611c59565b6020604051808303816000875af19250505080156114d4575060408051601f3d908101601f191682019092526114d191810190611c95565b60015b611587573d808015611502576040519150601f19603f3d011682016040523d82523d6000602084013e611507565b606091505b50805160000361157f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105bb565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610ccc565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611626577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611652576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167057662386f26fc10000830492506010015b6305f5e1008310611688576305f5e100830492506008015b612710831061169c57612710830492506004015b606483106116ae576064830492506002015b600a831061046c5760010192915050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461093d57600080fd5b6000602082840312156116ff57600080fd5b813561170a816116bf565b9392505050565b60005b8381101561172c578181015183820152602001611714565b50506000910152565b6000815180845261174d816020860160208601611711565b601f01601f19169290920160200192915050565b60208152600061170a6020830184611735565b60006020828403121561178657600080fd5b5035919050565b80356001600160a01b03811681146117a457600080fd5b919050565b600080604083850312156117bc57600080fd5b6117c58361178d565b946020939093013593505050565b6000806000606084860312156117e857600080fd5b6117f18461178d565b92506117ff6020850161178d565b9150604084013590509250925092565b60006020828403121561182157600080fd5b61170a8261178d565b6000806020838503121561183d57600080fd5b823567ffffffffffffffff8082111561185557600080fd5b818501915085601f83011261186957600080fd5b81358181111561187857600080fd5b86602082850101111561188a57600080fd5b60209290920196919550909350505050565b6000806000606084860312156118b157600080fd5b833592506118c16020850161178d565b91506118cf6040850161178d565b90509250925092565b600080604083850312156118eb57600080fd5b6118f48361178d565b91506020830135801515811461190957600080fd5b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561195957600080fd5b6119628561178d565b93506119706020860161178d565b925060408501359150606085013567ffffffffffffffff8082111561199457600080fd5b818701915087601f8301126119a857600080fd5b8135818111156119ba576119ba611914565b604051601f8201601f19908116603f011681019083821181831017156119e2576119e2611914565b816040528281528a60208487010111156119fb57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611a3257600080fd5b611a3b8361178d565b9150611a496020840161178d565b90509250929050565b600181811c90821680611a6657607f821691505b602082108103611a9f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561065c57600081815260208120601f850160051c81016020861015611acc5750805b601f850160051c820191505b81811015611aeb57828155600101611ad8565b505050505050565b67ffffffffffffffff831115611b0b57611b0b611914565b611b1f83611b198354611a52565b83611aa5565b6000601f841160018114611b535760008515611b3b5750838201355b600019600387901b1c1916600186901b178355611bad565b600083815260209020601f19861690835b82811015611b845786850135825560209485019460019092019101611b64565b5086821015611ba15760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6000808454611bc281611a52565b60018281168015611bda5760018114611c0d57611c3c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450611c3c565b8860005260208060002060005b85811015611c335781548a820152908401908201611c1a565b50505082870194505b505050508351611c50818360208801611711565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611c8b6080830184611735565b9695505050505050565b600060208284031215611ca757600080fd5b815161170a816116bf56fea26469706673582212206732c89144fad5ced8cea3bfb16a7e850fa13505db81585e67f6ce977ff7d39c64736f6c63430008130033