|
|
{ "_format": "hh-sol-artifact-1", "contractName": "MoonbirdPunks", "sourceName": "contracts/MoonbirdPunks.sol", "abi": [ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "ApprovalCallerNotOwnerNorApproved", "type": "error" }, { "inputs": [], "name": "ApprovalQueryForNonexistentToken", "type": "error" }, { "inputs": [], "name": "ApprovalToCurrentOwner", "type": "error" }, { "inputs": [], "name": "ApproveToCaller", "type": "error" }, { "inputs": [], "name": "BalanceQueryForZeroAddress", "type": "error" }, { "inputs": [], "name": "MintToZeroAddress", "type": "error" }, { "inputs": [], "name": "MintZeroQuantity", "type": "error" }, { "inputs": [], "name": "OwnerQueryForNonexistentToken", "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": "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": "MINT_PRICE", "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": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "flipPresaleState", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "flipSaleState", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "freeAvailableToMint", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "quantity", "type": "uint8" } ], "name": "freeMint", "outputs": [], "stateMutability": "payable", "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": "uint8", "name": "quantity", "type": "uint8" } ], "name": "mintPunk", "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": "address[]", "name": "addresses", "type": "address[]" }, { "internalType": "uint256", "name": "quantity", "type": "uint256" } ], "name": "ownerMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "presale", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": [], "name": "saleIsActive", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "addresses", "type": "address[]" }, { "internalType": "uint8", "name": "numAllowedToMint", "type": "uint8" } ], "name": "setFreeAllowList", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "price", "type": "uint256" } ], "name": "setPrice", "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" }, { "inputs": [], "name": "withdraw", "outputs": [], "stateMutability": "payable", "type": "function" } ], "bytecode": "0x6080604052600a6009556109a5600a556000600b556001600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506040518060600160405280602e815260200162003f30602e9139600e90805190602001906200007b92919062000239565b503480156200008957600080fd5b506040518060400160405280600d81526020017f4d6f6f6e6269726450756e6b73000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d4250000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200010e92919062000239565b5080600390805190602001906200012792919062000239565b50620001386200016660201b60201c565b600081905550505062000160620001546200016b60201b60201c565b6200017360201b60201c565b6200034e565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024790620002e9565b90600052602060002090601f0160209004810192826200026b5760008555620002b7565b82601f106200028657805160ff1916838001178555620002b7565b82800160010185558215620002b7579182015b82811115620002b657825182559160200191906001019062000299565b5b509050620002c69190620002ca565b5090565b5b80821115620002e5576000816000905550600101620002cb565b5090565b600060028204905060018216806200030257607f821691505b602082108114156200031957620003186200031f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613bd2806200035e6000396000f3fe6080604052600436106101cd5760003560e01c806391b7f5ed116100f7578063dce0e46111610095578063f064ef9811610064578063f064ef9814610639578063f2fde38b14610662578063f81227d41461068b578063fdea8e0b146106a2576101cd565b8063dce0e4611461056b578063e985e9c5146105a8578063eb8d2444146105e5578063ecade8d814610610576101cd565b8063b88d4fde116100d1578063b88d4fde146104be578063c002d23d146104e7578063c87b56dd14610512578063c87c089c1461054f576101cd565b806391b7f5ed1461044157806395d89b411461046a578063a22cb46514610495576101cd565b80633ccfd60b1161016f5780636c0360eb1161013e5780636c0360eb1461039757806370a08231146103c2578063715018a6146103ff5780638da5cb5b14610416576101cd565b80633ccfd60b1461030b57806342842e0e146103155780636352211e1461033e57806366b7f63d1461037b576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806318160ddd146102a057806323b872dd146102cb57806334918dfd146102f4576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061301b565b6106cd565b6040516102069190613364565b60405180910390f35b34801561021b57600080fd5b506102246107af565b604051610231919061337f565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061306d565b610841565b60405161026e91906132fd565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612f2f565b6108bd565b005b3480156102ac57600080fd5b506102b56109c8565b6040516102c291906134c1565b60405180910390f35b3480156102d757600080fd5b506102f260048036038101906102ed9190612e29565b6109df565b005b34801561030057600080fd5b506103096109ef565b005b610313610a97565b005b34801561032157600080fd5b5061033c60048036038101906103379190612e29565b610b63565b005b34801561034a57600080fd5b506103656004803603810190610360919061306d565b610b83565b60405161037291906132fd565b60405180910390f35b61039560048036038101906103909190613096565b610b99565b005b3480156103a357600080fd5b506103ac610dba565b6040516103b9919061337f565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190612dc4565b610e48565b6040516103f691906134c1565b60405180910390f35b34801561040b57600080fd5b50610414610f18565b005b34801561042257600080fd5b5061042b610fa0565b60405161043891906132fd565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061306d565b610fca565b005b34801561047657600080fd5b5061047f611050565b60405161048c919061337f565b60405180910390f35b348015 "deployedBytecode": "0x6080604052600436106101cd5760003560e01c806391b7f5ed116100f7578063dce0e46111610095578063f064ef9811610064578063f064ef9814610639578063f2fde38b14610662578063f81227d41461068b578063fdea8e0b146106a2576101cd565b8063dce0e4611461056b578063e985e9c5146105a8578063eb8d2444146105e5578063ecade8d814610610576101cd565b8063b88d4fde116100d1578063b88d4fde146104be578063c002d23d146104e7578063c87b56dd14610512578063c87c089c1461054f576101cd565b806391b7f5ed1461044157806395d89b411461046a578063a22cb46514610495576101cd565b80633ccfd60b1161016f5780636c0360eb1161013e5780636c0360eb1461039757806370a08231146103c2578063715018a6146103ff5780638da5cb5b14610416576101cd565b80633ccfd60b1461030b57806342842e0e146103155780636352211e1461033e57806366b7f63d1461037b576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806318160ddd146102a057806323b872dd146102cb57806334918dfd146102f4576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061301b565b6106cd565b6040516102069190613364565b60405180910390f35b34801561021b57600080fd5b506102246107af565b604051610231919061337f565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061306d565b610841565b60405161026e91906132fd565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612f2f565b6108bd565b005b3480156102ac57600080fd5b506102b56109c8565b6040516102c291906134c1565b60405180910390f35b3480156102d757600080fd5b506102f260048036038101906102ed9190612e29565b6109df565b005b34801561030057600080fd5b506103096109ef565b005b610313610a97565b005b34801561032157600080fd5b5061033c60048036038101906103379190612e29565b610b63565b005b34801561034a57600080fd5b506103656004803603810190610360919061306d565b610b83565b60405161037291906132fd565b60405180910390f35b61039560048036038101906103909190613096565b610b99565b005b3480156103a357600080fd5b506103ac610dba565b6040516103b9919061337f565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190612dc4565b610e48565b6040516103f691906134c1565b60405180910390f35b34801561040b57600080fd5b50610414610f18565b005b34801561042257600080fd5b5061042b610fa0565b60405161043891906132fd565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061306d565b610fca565b005b34801561047657600080fd5b5061047f611050565b60405161048c919061337f565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190612ef3565b6110e2565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190612e78565b61125a565b005b3480156104f357600080fd5b506104fc6112d6565b60405161050991906134c1565b60405180910390f35b34801561051e57600080fd5b506105396004803603810190610534919061306d565b6112dc565b604051610546919061337f565b60405180910390f35b61056960048036038101906105649190613096565b61137b565b005b34801561057757600080fd5b50610592600480360381019061058d9190612dc4565b6115aa565b60405161059f91906134dc565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190612ded565b611600565b6040516105dc9190613364565b60405180910390f35b3480156105f157600080fd5b506105fa611694565b6040516106079190613364565b60405180910390f35b34801561061c57600080fd5b5061063760048036038101906106329190612f6b565b6116a7565b005b34801561064557600080fd5b50610660600480360381019061065b9190612fc3565b611808565b005b34801561066e57600080fd5b5061068960048036038101906106849190612dc4565b611950565b005b34801561069757600080fd5b506106a0611a48565b005b3480156106ae57600080fd5b506106b7611af0565b6040516106c49190613364565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a857506107a782611b03565b5b9050919050565b6060600280546107be9061379c565b80601f01602080910402602001604051908101604052809291908181526020018280546107ea9061379c565b8015610837578060 "linkReferences": {}, "deployedLinkReferences": {} }
|