[ { "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": "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": [ { "internalType": "uint256", "name": "quantity", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "payable", "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": "uint256", "name": "_tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "_salePrice", "type": "uint256" } ], "name": "royaltyInfo", "outputs": [ { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "uint256", "name": "royaltyAmount", "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": "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": "customBaseURI_", "type": "string" } ], "name": "setBaseURI", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "status", "type": "bool" } ], "name": "setMintActive", "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" } ]
60806040523480156200001157600080fd5b50604051806040016040528060058152602001646461776f6f60d81b815250604051806040016040528060058152602001644441574f4f60d81b81525081600090805190602001906200006692919062000145565b5080516200007c90600190602084019062000145565b5050506200009962000093620000ef60201b60201c565b620000f3565b60405180608001604052806043815260200162001cc6604391398051620000c991600b9160209091019062000145565b506000600955608f600a556103e8600c55600e805460ff191690556001600d5562000228565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015390620001eb565b90600052602060002090601f016020900481019282620001775760008555620001c2565b82601f106200019257805160ff1916838001178555620001c2565b82800160010185558215620001c2579182015b82811115620001c2578251825591602001919060010190620001a5565b50620001d0929150620001d4565b5090565b5b80821115620001d05760008155600101620001d5565b600181811c908216806200020057607f821691505b602082108114156200022257634e487b7160e01b600052602260045260246000fd5b50919050565b611a8e80620002386000396000f3fe60806040526004361061012a5760003560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb4651461033d578063b88d4fde1461035d578063c87b56dd1461037d578063e985e9c51461039d578063ee1cc944146103e6578063f2fde38b1461040657600080fd5b806370a08231146102c2578063715018a6146102e25780638da5cb5b146102f757806395d89b4114610315578063a0712d681461032a57600080fd5b806323b872dd116100f257806323b872dd146102035780632a55205a1461022357806342842e0e1461026257806355f804b3146102825780636352211e146102a257600080fd5b806301ffc9a71461012f57806306fdde0314610164578063081812fc14610186578063095ea7b3146101be57806318160ddd146101e0575b600080fd5b34801561013b57600080fd5b5061014f61014a3660046116e9565b610426565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b50610179610458565b60405161015b919061183f565b34801561019257600080fd5b506101a66101a136600461176c565b6104ea565b6040516001600160a01b03909116815260200161015b565b3480156101ca57600080fd5b506101de6101d93660046116a4565b610511565b005b3480156101ec57600080fd5b506101f561062c565b60405190815260200161015b565b34801561020f57600080fd5b506101de61021e3660046115c2565b61063c565b34801561022f57600080fd5b5061024361023e366004611785565b61066d565b604080516001600160a01b03909316835260208301919091520161015b565b34801561026e57600080fd5b506101de61027d3660046115c2565b6106a8565b34801561028e57600080fd5b506101de61029d366004611723565b6106c3565b3480156102ae57600080fd5b506101a66102bd36600461176c565b6106e2565b3480156102ce57600080fd5b506101f56102dd366004611574565b610742565b3480156102ee57600080fd5b506101de6107c8565b34801561030357600080fd5b506007546001600160a01b03166101a6565b34801561032157600080fd5b506101796107dc565b6101de61033836600461176c565b6107eb565b34801561034957600080fd5b506101de61035836600461167a565b61093d565b34801561036957600080fd5b506101de6103783660046115fe565b610948565b34801561038957600080fd5b5061017961039836600461176c565b610980565b3480156103a957600080fd5b5061014f6103b836600461158f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156103f257600080fd5b506101de6104013660046116ce565b610a84565b34801561041257600080fd5b506101de610421366004611574565b610a9f565b60006001600160e01b0319821663152a902d60e11b141561044957506001919050565b61045282610b18565b92915050565b60606000805461046790611980565b80601f016020809104026020016040519081016040528092919081815260200182805461049390611980565b80156104e05780601f106104b5576101008083540402835291602001916104e0565b820191906000526020600020905b8154815290600101906020018083116104c357829003601f168201915b5050505050905090565b60006104f582610b68565b506000908152600460205260409020546001600160a01b031690565b600061051c826106e2565b9050806001600160a01b0316836001600160a01b0316141561058f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105ab57506105ab81336103b8565b61061d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610586565b6106278383610bc7565b505050565b600061063760085490565b905090565b6106463382610c35565b6106625760405162461bcd60e51b8152600401610586906118a4565b610627838383610cb3565b6000806106826007546001600160a01b031690565b612710600c5485610693919061191e565b61069d919061190a565b915091509250929050565b61062783838360405180602001604052806000815250610948565b6106cb610e4f565b80516106de90600b906020840190611439565b5050565b6000818152600260205260408120546001600160a01b0316806104525760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610586565b60006001600160a01b0382166107ac5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610586565b506001600160a01b031660009081526003602052604090205490565b6107d0610e4f565b6107da6000610ea9565b565b60606001805461046790611980565b600e5460ff166108365760405162461bcd60e51b815260206004820152601660248201527526b4b73a34b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610586565b600d548111156108885760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f74206d696e742074686174206d616e79206174206f6e63652e00006044820152606401610586565b80600954610896919061191e565b3410156108dd5760405162461bcd60e51b81526020600482015260156024820152742737ba1032b737bab3b41020ab20ac1039b2b73a1760591b6044820152606401610586565b6007546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610916573d6000803e3d6000fd5b5060005b818110156106de5761092b33610efb565b80610935816119bb565b91505061091a565b6106de338383610f74565b6109523383610c35565b61096e5760405162461bcd60e51b8152600401610586906118a4565b61097a84848484611043565b50505050565b606061098b82610b68565b600082815260066020526040812080546109a490611980565b80601f01602080910402602001604051908101604052809291908181526020018280546109d090611980565b8015610a1d5780601f106109f257610100808354040283529160200191610a1d565b820191906000526020600020905b815481529060010190602001808311610a0057829003601f168201915b505050505090506000610a2e611076565b9050805160001415610a41575092915050565b815115610a73578082604051602001610a5b9291906117d3565b60405160208183030381529060405292505050919050565b610a7c84611085565b949350505050565b610a8c610e4f565b600e805460ff1916911515919091179055565b610aa7610e4f565b6001600160a01b038116610b0c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610586565b610b1581610ea9565b50565b60006001600160e01b031982166380ac58cd60e01b1480610b4957506001600160e01b03198216635b5e139f60e01b145b8061045257506301ffc9a760e01b6001600160e01b0319831614610452565b6000818152600260205260409020546001600160a01b0316610b155760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610586565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bfc826106e2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610c41836106e2565b9050806001600160a01b0316846001600160a01b03161480610c8857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610a7c5750836001600160a01b0316610ca1846104ea565b6001600160a01b031614949350505050565b826001600160a01b0316610cc6826106e2565b6001600160a01b031614610d2a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610586565b6001600160a01b038216610d8c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610586565b610d97600082610bc7565b6001600160a01b0383166000908152600360205260408120805460019290610dc090849061193d565b90915550506001600160a01b0382166000908152600360205260408120805460019290610dee9084906118f2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6007546001600160a01b031633146107da5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610586565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f09600880546001019055565b600a546008541115610f5d5760405162461bcd60e51b815260206004820152601c60248201527f50726f6a6563742069732066696e6973686564206d696e74696e672e000000006044820152606401610586565b6000610f6860085490565b90506106de82826110ec565b816001600160a01b0316836001600160a01b03161415610fd65760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610586565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61104e848484610cb3565b61105a8484848461122e565b61097a5760405162461bcd60e51b815260040161058690611852565b6060600b805461046790611980565b606061109082610b68565b600061109a611076565b905060008151116110ba57604051806020016040528060008152506110e5565b806110c48461133b565b6040516020016110d59291906117d3565b6040516020818303038152906040525b9392505050565b6001600160a01b0382166111425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610586565b6000818152600260205260409020546001600160a01b0316156111a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610586565b6001600160a01b03821660009081526003602052604081208054600192906111d09084906118f2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561133057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611272903390899088908890600401611802565b602060405180830381600087803b15801561128c57600080fd5b505af19250505080156112bc575060408051601f3d908101601f191682019092526112b991810190611706565b60015b611316573d8080156112ea576040519150601f19603f3d011682016040523d82523d6000602084013e6112ef565b606091505b50805161130e5760405162461bcd60e51b815260040161058690611852565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610a7c565b506001949350505050565b60608161135f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113895780611373816119bb565b91506113829050600a8361190a565b9150611363565b60008167ffffffffffffffff8111156113a4576113a4611a2c565b6040519080825280601f01601f1916602001820160405280156113ce576020820181803683370190505b5090505b8415610a7c576113e360018361193d565b91506113f0600a866119d6565b6113fb9060306118f2565b60f81b81838151811061141057611410611a16565b60200101906001600160f81b031916908160001a905350611432600a8661190a565b94506113d2565b82805461144590611980565b90600052602060002090601f01602090048101928261146757600085556114ad565b82601f1061148057805160ff19168380011785556114ad565b828001600101855582156114ad579182015b828111156114ad578251825591602001919060010190611492565b506114b99291506114bd565b5090565b5b808211156114b957600081556001016114be565b600067ffffffffffffffff808411156114ed576114ed611a2c565b604051601f8501601f19908116603f0116810190828211818310171561151557611515611a2c565b8160405280935085815286868601111561152e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461155f57600080fd5b919050565b8035801515811461155f57600080fd5b60006020828403121561158657600080fd5b6110e582611548565b600080604083850312156115a257600080fd5b6115ab83611548565b91506115b960208401611548565b90509250929050565b6000806000606084860312156115d757600080fd5b6115e084611548565b92506115ee60208501611548565b9150604084013590509250925092565b6000806000806080858703121561161457600080fd5b61161d85611548565b935061162b60208601611548565b925060408501359150606085013567ffffffffffffffff81111561164e57600080fd5b8501601f8101871361165f57600080fd5b61166e878235602084016114d2565b91505092959194509250565b6000806040838503121561168d57600080fd5b61169683611548565b91506115b960208401611564565b600080604083850312156116b757600080fd5b6116c083611548565b946020939093013593505050565b6000602082840312156116e057600080fd5b6110e582611564565b6000602082840312156116fb57600080fd5b81356110e581611a42565b60006020828403121561171857600080fd5b81516110e581611a42565b60006020828403121561173557600080fd5b813567ffffffffffffffff81111561174c57600080fd5b8201601f8101841361175d57600080fd5b610a7c848235602084016114d2565b60006020828403121561177e57600080fd5b5035919050565b6000806040838503121561179857600080fd5b50508035926020909101359150565b600081518084526117bf816020860160208601611954565b601f01601f19169290920160200192915050565b600083516117e5818460208801611954565b8351908301906117f9818360208801611954565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611835908301846117a7565b9695505050505050565b6020815260006110e560208301846117a7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60008219821115611905576119056119ea565b500190565b60008261191957611919611a00565b500490565b6000816000190483118215151615611938576119386119ea565b500290565b60008282101561194f5761194f6119ea565b500390565b60005b8381101561196f578181015183820152602001611957565b8381111561097a5750506000910152565b600181811c9082168061199457607f821691505b602082108114156119b557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119cf576119cf6119ea565b5060010190565b6000826119e5576119e5611a00565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b1557600080fdfea2646970667358221220f4a09cc7007a7c8883b4368fe210f23803589d5f056cf424a69d8a768b034b3064736f6c63430008070033697066733a2f2f626166796265696832693635636f746f35786a7367366b78626b7179776a6a7a776966623275696866697963793732786a767276326a63627175692f