[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InsufficientFunds", "type": "error" }, { "inputs": [], "name": "MintLimit", "type": "error" }, { "inputs": [], "name": "MintNotEnabled", "type": "error" }, { "inputs": [], "name": "NotOwner", "type": "error" }, { "inputs": [], "name": "SoldOut", "type": "error" }, { "inputs": [], "name": "URIAlreadySet", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "id", "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": "owner", "type": "address" }, { "indexed": false, "internalType": "string", "name": "tokenURI", "type": "string" }, { "indexed": true, "internalType": "uint256", "name": "mintTime", "type": "uint256" } ], "name": "Minted", "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": "id", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "cost", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxMints", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "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": "", "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": "id", "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": "id", "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": "_uri", "type": "string" } ], "name": "setBaseURI", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_cost", "type": "uint256" } ], "name": "setCost", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_limit", "type": "uint256" } ], "name": "setMaxMints", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "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": "id", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
608060405260006007556001600855600980546001600160a01b03199081163317909155600a8054909116739e6865daeeedd093ea4a4f6c9bfbbb0ce6bc8b171790553480156200004f57600080fd5b50604080518082018252601581527f41766178204d696e6920536c696d657320562e322000000000000000000000006020808301918252835180850190945260098452684d534c494d4553494960b81b908401528151919291620000b691600091620000d5565b508051620000cc906001906020840190620000d5565b505050620001b8565b828054620000e3906200017b565b90600052602060002090601f01602090048101928262000107576000855562000152565b82601f106200012257805160ff191683800117855562000152565b8280016001018555821562000152579182015b828111156200015257825182559160200191906001019062000135565b506200016092915062000164565b5090565b5b8082111562000160576000815560010162000165565b600181811c908216806200019057607f821691505b60208210811415620001b257634e487b7160e01b600052602260045260246000fd5b50919050565b6115f580620001c86000396000f3fe6080604052600436106101055760003560e01c806301ffc9a71461010a57806306fdde031461013f578063081812fc14610161578063095ea7b3146101af5780631249c58b146101d157806313faede6146101d957806318160ddd146101fd57806323b872dd146102135780633ccfd60b1461023357806342842e0e1461024857806344a0d68a1461026857806355f804b3146102885780636352211e146102a857806370a08231146102de57806379c9cb7b1461030b5780638da5cb5b1461032b57806395d89b411461034b578063a22cb46514610360578063b6b6f0c314610380578063b88d4fde14610396578063c87b56dd146103b6578063e985e9c5146103d6575b600080fd5b34801561011657600080fd5b5061012a610125366004610fcd565b610411565b60405190151581526020015b60405180910390f35b34801561014b57600080fd5b50610154610463565b6040516101369190611049565b34801561016d57600080fd5b5061019761017c36600461105c565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610136565b3480156101bb57600080fd5b506101cf6101ca366004611091565b6104f1565b005b6101cf6105bb565b3480156101e557600080fd5b506101ef60075481565b604051908152602001610136565b34801561020957600080fd5b506101ef60065481565b34801561021f57600080fd5b506101cf61022e3660046110bb565b61078c565b34801561023f57600080fd5b506101cf6108fc565b34801561025457600080fd5b506101cf6102633660046110bb565b61098a565b34801561027457600080fd5b506101cf61028336600461105c565b610a49565b34801561029457600080fd5b506101cf6102a3366004611182565b610a79565b3480156102b457600080fd5b506101976102c336600461105c565b6003602052600090815260409020546001600160a01b031681565b3480156102ea57600080fd5b506101ef6102f93660046111ca565b60026020526000908152604090205481565b34801561031757600080fd5b506101cf61032636600461105c565b610aeb565b34801561033757600080fd5b50600954610197906001600160a01b031681565b34801561035757600080fd5b50610154610b1b565b34801561036c57600080fd5b506101cf61037b3660046111e5565b610b28565b34801561038c57600080fd5b506101ef60085481565b3480156103a257600080fd5b506101cf6103b1366004611221565b610b94565b3480156103c257600080fd5b506101546103d136600461105c565b610c56565b3480156103e257600080fd5b5061012a6103f136600461129c565b600560209081526000928352604080842090915290825290205460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061044257506380ac58cd60e01b6001600160e01b03198316145b8061045d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60008054610470906112cf565b80601f016020809104026020016040519081016040528092919081815260200182805461049c906112cf565b80156104e95780601f106104be576101008083540402835291602001916104e9565b820191906000526020600020905b8154815290600101906020018083116104cc57829003601f168201915b505050505081565b6000818152600360205260409020546001600160a01b03163381148061053a57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b61055f5760405162461bcd60e51b81526004016105569061130a565b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600854336000908152600c6020526040902054106105ec5760405163ec8e6a6360e01b815260040160405180910390fd5b60de60065460016105fd9190611348565b111561061c576040516352df9fe560e01b815260040160405180910390fd5b60075434101561063f5760405163356680b760e01b815260040160405180910390fd5b600b805461064c906112cf565b1515905061066d5760405163447691f760e01b815260040160405180910390fd5b336000908152600c6020526040812080549161068883611360565b90915550506006805490600061069d83611360565b91905055506106ae33600654610c8a565b600a546001600160a01b03166108fc6106c8602834611391565b6040518115909202916000818181858888f193505050501580156106f0573d6000803e3d6000fd5b506009546001600160a01b03166108fc61070b602834611391565b61071590346113a5565b6040518115909202916000818181858888f1935050505015801561073d573d6000803e3d6000fd5b5042336001600160a01b03167fe678c8da3d2d6082f140bbbaa1ee822f0c7072ab604536db4a3e0315f8a92776610775600654610c56565b6040516107829190611049565b60405180910390a3565b6000818152600360205260409020546001600160a01b038481169116146107e25760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610556565b6001600160a01b0382166108085760405162461bcd60e51b8152600401610556906113bc565b336001600160a01b038416148061083557506000818152600460205260409020546001600160a01b031633145b8061086357506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b61087f5760405162461bcd60e51b81526004016105569061130a565b6001600160a01b0380841660008181526002602090815260408083208054600019019055938616808352848320805460010190558583526003825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392916000805160206115a083398151915291a4505050565b6009546001600160a01b03163314610927576040516330cd747160e01b815260040160405180910390fd5b6009546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610974576040519150601f19603f3d011682016040523d82523d6000602084013e610979565b606091505b505090508061098757600080fd5b50565b61099583838361078c565b6001600160a01b0382163b1580610a285750604051630a85bd0160e11b808252906001600160a01b0384169063150b7a02906109d9903390889087906004016113e7565b6020604051808303816000875af11580156109f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1c919061141a565b6001600160e01b031916145b610a445760405162461bcd60e51b815260040161055690611437565b505050565b6009546001600160a01b03163314610a74576040516330cd747160e01b815260040160405180910390fd5b600755565b6000600b8054610a88906112cf565b90501115610aa9576040516341666d6560e11b815260040160405180910390fd5b6009546001600160a01b03163314610ad4576040516330cd747160e01b815260040160405180910390fd5b8051610ae790600b906020840190610f1e565b5050565b6009546001600160a01b03163314610b16576040516330cd747160e01b815260040160405180910390fd5b600855565b60018054610470906112cf565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b9f84848461078c565b6001600160a01b0383163b1580610c345750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a0290610be5903390899088908890600401611461565b6020604051808303816000875af1158015610c04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c28919061141a565b6001600160e01b031916145b610c505760405162461bcd60e51b815260040161055690611437565b50505050565b6060600b610c6383610d44565b604051602001610c749291906114ba565b6040516020818303038152906040529050919050565b610c948282610e49565b6001600160a01b0382163b1580610d285750604051630a85bd0160e11b808252906001600160a01b0384169063150b7a0290610cd990339060009087906004016113e7565b6020604051808303816000875af1158015610cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1c919061141a565b6001600160e01b031916145b610ae75760405162461bcd60e51b815260040161055690611437565b606081610d685750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610d925780610d7c81611360565b9150610d8b9050600a83611391565b9150610d6c565b6000816001600160401b03811115610dac57610dac6110f7565b6040519080825280601f01601f191660200182016040528015610dd6576020820181803683370190505b5090505b8415610e4157610deb6001836113a5565b9150610df8600a86611575565b610e03906030611348565b60f81b818381518110610e1857610e18611589565b60200101906001600160f81b031916908160001a905350610e3a600a86611391565b9450610dda565b949350505050565b6001600160a01b038216610e6f5760405162461bcd60e51b8152600401610556906113bc565b6000818152600360205260409020546001600160a01b031615610ec55760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610556565b6001600160a01b038216600081815260026020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291906000805160206115a0833981519152908290a45050565b828054610f2a906112cf565b90600052602060002090601f016020900481019282610f4c5760008555610f92565b82601f10610f6557805160ff1916838001178555610f92565b82800160010185558215610f92579182015b82811115610f92578251825591602001919060010190610f77565b50610f9e929150610fa2565b5090565b5b80821115610f9e5760008155600101610fa3565b6001600160e01b03198116811461098757600080fd5b600060208284031215610fdf57600080fd5b8135610fea81610fb7565b9392505050565b60005b8381101561100c578181015183820152602001610ff4565b83811115610c505750506000910152565b60008151808452611035816020860160208601610ff1565b601f01601f19169290920160200192915050565b602081526000610fea602083018461101d565b60006020828403121561106e57600080fd5b5035919050565b80356001600160a01b038116811461108c57600080fd5b919050565b600080604083850312156110a457600080fd5b6110ad83611075565b946020939093013593505050565b6000806000606084860312156110d057600080fd5b6110d984611075565b92506110e760208501611075565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611127576111276110f7565b604051601f8501601f19908116603f0116810190828211818310171561114f5761114f6110f7565b8160405280935085815286868601111561116857600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561119457600080fd5b81356001600160401b038111156111aa57600080fd5b8201601f810184136111bb57600080fd5b610e418482356020840161110d565b6000602082840312156111dc57600080fd5b610fea82611075565b600080604083850312156111f857600080fd5b61120183611075565b91506020830135801515811461121657600080fd5b809150509250929050565b6000806000806080858703121561123757600080fd5b61124085611075565b935061124e60208601611075565b92506040850135915060608501356001600160401b0381111561127057600080fd5b8501601f8101871361128157600080fd5b6112908782356020840161110d565b91505092959194509250565b600080604083850312156112af57600080fd5b6112b883611075565b91506112c660208401611075565b90509250929050565b600181811c908216806112e357607f821691505b6020821081141561130457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600e908201526d1393d517d055551213d49256915160921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561135b5761135b611332565b500190565b600060001982141561137457611374611332565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826113a0576113a061137b565b500490565b6000828210156113b7576113b7611332565b500390565b6020808252601190820152701253959053125117d49150d25412515395607a1b604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260806060820181905260009082015260a00190565b60006020828403121561142c57600080fd5b8151610fea81610fb7565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114949083018461101d565b9695505050505050565b600081516114b0818560208601610ff1565b9290920192915050565b600080845481600182811c9150808316806114d657607f831692505b60208084108214156114f657634e487b7160e01b86526022600452602486fd5b81801561150a576001811461151b57611548565b60ff19861689528489019650611548565b60008b81526020902060005b868110156115405781548b820152908501908301611527565b505084890196505b50505050505061156c61155b828661149e565b64173539b7b760d91b815260050190565b95945050505050565b6000826115845761158461137b565b500690565b634e487b7160e01b600052603260045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122000ac6fe16582ecad3b362e3a9b066df6c13b243803b56fa7b0e075c35fb5bf9564736f6c634300080b0033