[ { "inputs": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "string", "name": "defTokenURI_", "type": "string" }, { "internalType": "uint256", "name": "unitPrice_", "type": "uint256" }, { "internalType": "uint256", "name": "unit3Price_", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "ApprovalCallerNotOwnerNorApproved", "type": "error" }, { "inputs": [], "name": "ApprovalQueryForNonexistentToken", "type": "error" }, { "inputs": [], "name": "BalanceQueryForZeroAddress", "type": "error" }, { "inputs": [], "name": "MintERC2309QuantityExceedsLimit", "type": "error" }, { "inputs": [], "name": "MintToZeroAddress", "type": "error" }, { "inputs": [], "name": "MintZeroQuantity", "type": "error" }, { "inputs": [], "name": "OwnerQueryForNonexistentToken", "type": "error" }, { "inputs": [], "name": "OwnershipNotInitializedForExtraData", "type": "error" }, { "inputs": [], "name": "TransferCallerNotOwnerNorApproved", "type": "error" }, { "inputs": [], "name": "TransferFromIncorrectOwner", "type": "error" }, { "inputs": [], "name": "TransferToNonERC721ReceiverImplementer", "type": "error" }, { "inputs": [], "name": "TransferToZeroAddress", "type": "error" }, { "inputs": [], "name": "URIQueryForNonexistentToken", "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": "uint256", "name": "fromTokenId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "toTokenId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" } ], "name": "ConsecutiveTransfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "msgSender", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "mintQuantity", "type": "uint256" } ], "name": "NewMint", "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": [], "name": "_unitPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_tokenURI", "type": "string" } ], "name": "changeDefURI", "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": "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": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "payable", "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": "payable", "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": "_tokenAddress", "type": "address" } ], "name": "transferAllERC20Out", "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": "transferFrom", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "transferOut", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
6080604052600c80546001600160a01b0319166f1c1e0572adc0d80f01bfafd9bc3b098e1790553480156200003357600080fd5b50604051620019c6380380620019c6833981016040819052620000569162000270565b8451859085906200006f90600290602085019062000113565b5080516200008590600390602084019062000113565b50506001600055506200009833620000c1565b8251620000ad90600b90602086019062000113565b50600991909155600a555062000367915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001219062000314565b90600052602060002090601f01602090048101928262000145576000855562000190565b82601f106200016057805160ff191683800117855562000190565b8280016001018555821562000190579182015b828111156200019057825182559160200191906001019062000173565b506200019e929150620001a2565b5090565b5b808211156200019e5760008155600101620001a3565b600082601f830112620001cb57600080fd5b81516001600160401b0380821115620001e857620001e862000351565b604051601f8301601f19908116603f0116810190828211818310171562000213576200021362000351565b816040528381526020925086838588010111156200023057600080fd5b600091505b8382101562000254578582018301518183018401529082019062000235565b83821115620002665760008385830101525b9695505050505050565b600080600080600060a086880312156200028957600080fd5b85516001600160401b0380821115620002a157600080fd5b620002af89838a01620001b9565b96506020880151915080821115620002c657600080fd5b620002d489838a01620001b9565b95506040880151915080821115620002eb57600080fd5b50620002fa88828901620001b9565b606088015160809098015196999598509695949350505050565b600181811c908216806200032957607f821691505b602082108114156200034b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61164f80620003776000396000f3fe6080604052600436106101445760003560e01c8063715018a6116100b6578063c10f410b1161006f578063c10f410b14610344578063c87b56dd14610359578063dde502d114610379578063e985e9c51461038f578063ea1e10ab146103d8578063f2fde38b146103f857600080fd5b8063715018a6146102b65780638da5cb5b146102cb57806395d89b41146102e9578063a0712d68146102fe578063a22cb46514610311578063b88d4fde1461033157600080fd5b806318160ddd1161010857806318160ddd1461021457806323b872dd1461023b57806342842e0e1461024e57806354fd4d50146102615780636352211e1461027657806370a082311461029657600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df5780630e5c1919146101f457600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5061017061016b366004611390565b610418565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a61046a565b60405161017c91906114f8565b3480156101b357600080fd5b506101c76101c236600461143c565b6104fc565b6040516001600160a01b03909116815260200161017c565b6101f26101ed366004611349565b610540565b005b34801561020057600080fd5b506101f261020f3660046113ca565b6105e0565b34801561022057600080fd5b5060015460005403600019015b60405190815260200161017c565b6101f26102493660046111fa565b610624565b6101f261025c3660046111fa565b6107b5565b34801561026d57600080fd5b5061022d600181565b34801561028257600080fd5b506101c761029136600461143c565b6107d0565b3480156102a257600080fd5b5061022d6102b13660046111ac565b6107db565b3480156102c257600080fd5b506101f261082a565b3480156102d757600080fd5b506008546001600160a01b03166101c7565b3480156102f557600080fd5b5061019a610860565b6101f261030c36600461143c565b61086f565b34801561031d57600080fd5b506101f261032c366004611312565b610a14565b6101f261033f366004611236565b610a80565b34801561035057600080fd5b506101f2610aca565b34801561036557600080fd5b5061019a61037436600461143c565b610b08565b34801561038557600080fd5b5061022d60095481565b34801561039b57600080fd5b506101706103aa3660046111c7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156103e457600080fd5b506101f26103f33660046111ac565b610b9c565b34801561040457600080fd5b506101f26104133660046111ac565b610cf0565b60006301ffc9a760e01b6001600160e01b03198316148061044957506380ac58cd60e01b6001600160e01b03198316145b806104645750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610479906115a4565b80601f01602080910402602001604051908101604052809291908181526020018280546104a5906115a4565b80156104f25780601f106104c7576101008083540402835291602001916104f2565b820191906000526020600020905b8154815290600101906020018083116104d557829003601f168201915b5050505050905090565b600061050782610d8b565b610524576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061054b826107d0565b9050336001600160a01b038216146105845761056781336103aa565b610584576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146106135760405162461bcd60e51b815260040161060a90611542565b60405180910390fd5b61061f600b83836110f7565b505050565b600061062f82610dc0565b9050836001600160a01b0316816001600160a01b0316146106625760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106af5761069286336103aa565b6106af57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166106d657604051633a954ecd60e21b815260040160405180910390fd5b80156106e157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661076c576001840160008181526004602052604090205461076a57600054811461076a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61061f83838360405180602001604052806000815250610a80565b600061046482610dc0565b60006001600160a01b038216610804576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146108545760405162461bcd60e51b815260040161060a90611542565b61085e6000610e30565b565b606060038054610479906115a4565b60038111158061087f575080600a145b8061088a5750806064145b8061089557508060c8145b806108a15750806101f4145b6108ed5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e746974790000000000000000604482015260640161060a565b806001141561091d576009543410156109185760405162461bcd60e51b815260040161060a9061150b565b6109da565b806003141561094857600a543410156109185760405162461bcd60e51b815260040161060a9061150b565b806064141561097e5760095461095f906032611577565b3410156109185760405162461bcd60e51b815260040161060a9061150b565b8060c814156109955760095461095f90605a611577565b806101f414156109ad5760095461095f9060b4611577565b6009546109bb906006611577565b3410156109da5760405162461bcd60e51b815260040161060a9061150b565b6109e43382610e82565b604051819033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a350565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a8b848484610624565b6001600160a01b0383163b15610ac457610aa784848484610e9c565b610ac4576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610b04573d6000803e3d6000fd5b5050565b6060600b8054610b17906115a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610b43906115a4565b8015610b905780601f10610b6557610100808354040283529160200191610b90565b820191906000526020600020905b815481529060010190602001808311610b7357829003601f168201915b50505050509050919050565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b158015610be057600080fd5b505afa158015610bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c189190611455565b905060008111610c6a5760405162461bcd60e51b815260206004820152601c60248201527f4e6f20746f6b656e2062616c616e636520746f207472616e7366657200000000604482015260640161060a565b600c5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb90604401602060405180830381600087803b158015610cb857600080fd5b505af1158015610ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac49190611373565b6008546001600160a01b03163314610d1a5760405162461bcd60e51b815260040161060a90611542565b6001600160a01b038116610d7f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060a565b610d8881610e30565b50565b600081600111158015610d9f575060005482105b8015610464575050600090815260046020526040902054600160e01b161590565b60008180600111610e1757600054811015610e1757600081815260046020526040902054600160e01b8116610e15575b80610e0e575060001901600081815260046020526040902054610df0565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b04828260405180602001604052806000815250610f93565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ed19033908990889088906004016114bb565b602060405180830381600087803b158015610eeb57600080fd5b505af1925050508015610f1b575060408051601f3d908101601f19168201909252610f18918101906113ad565b60015b610f76573d808015610f49576040519150601f19603f3d011682016040523d82523d6000602084013e610f4e565b606091505b508051610f6e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b610f9d8383611000565b6001600160a01b0383163b1561061f576000548281035b610fc76000868380600101945086610e9c565b610fe4576040516368d2bf6b60e11b815260040160405180910390fd5b818110610fb4578160005414610ff957600080fd5b5050505050565b600054816110215760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146110d057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611098565b50816110ee57604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611103906115a4565b90600052602060002090601f016020900481019282611125576000855561116b565b82601f1061113e5782800160ff1982351617855561116b565b8280016001018555821561116b579182015b8281111561116b578235825591602001919060010190611150565b5061117792915061117b565b5090565b5b80821115611177576000815560010161117c565b80356001600160a01b03811681146111a757600080fd5b919050565b6000602082840312156111be57600080fd5b610e0e82611190565b600080604083850312156111da57600080fd5b6111e383611190565b91506111f160208401611190565b90509250929050565b60008060006060848603121561120f57600080fd5b61121884611190565b925061122660208501611190565b9150604084013590509250925092565b6000806000806080858703121561124c57600080fd5b61125585611190565b935061126360208601611190565b925060408501359150606085013567ffffffffffffffff8082111561128757600080fd5b818701915087601f83011261129b57600080fd5b8135818111156112ad576112ad6115df565b604051601f8201601f19908116603f011681019083821181831017156112d5576112d56115df565b816040528281528a60208487010111156112ee57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561132557600080fd5b61132e83611190565b9150602083013561133e816115f5565b809150509250929050565b6000806040838503121561135c57600080fd5b61136583611190565b946020939093013593505050565b60006020828403121561138557600080fd5b8151610e0e816115f5565b6000602082840312156113a257600080fd5b8135610e0e81611603565b6000602082840312156113bf57600080fd5b8151610e0e81611603565b600080602083850312156113dd57600080fd5b823567ffffffffffffffff808211156113f557600080fd5b818501915085601f83011261140957600080fd5b81358181111561141857600080fd5b86602082850101111561142a57600080fd5b60209290920196919550909350505050565b60006020828403121561144e57600080fd5b5035919050565b60006020828403121561146757600080fd5b5051919050565b6000815180845260005b8181101561149457602081850181015186830182015201611478565b818111156114a6576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114ee9083018461146e565b9695505050505050565b602081526000610e0e602083018461146e565b6020808252601c908201527f4552433732313a20496e73756666696369656e74207061796d656e7400000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600081600019048311821515161561159f57634e487b7160e01b600052601160045260246000fd5b500290565b600181811c908216806115b857607f821691505b602082108114156115d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b8015158114610d8857600080fd5b6001600160e01b031981168114610d8857600080fdfea2646970667358221220a030a288f994e553afa50ffe6f28732a2625c9c85c319f534a258f81e7a243cc64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000711181704000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b574542332053706972697400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035753540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d63557a486334656674644271744642387332507a77566b456e774c394466796f7272666b71705147456e47370000000000000000000000000000000000000000000000000000000000