Address Contract Verified
Address
0xa9436994D5682175cca349577fa6EA87aec4aDA7
Balance
0 ETH
Nonce
1
Code Size
15611 bytes
Creator
0xC9e77014...FF0A at tx 0xb685f9f9...18d2e4
Indexed Transactions
0
Contract Bytecode
15611 bytes
0x6080604052600436106101fc5760003560e01c806370a082311161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd14610738578063d5abeb0114610775578063e042e98c146107a0578063e985e9c5146107c9578063f2fde38b1461080657610233565b806395d89b41146106905780639dd3417c146106bb578063a22cb465146106e6578063b88d4fde1461070f57610233565b80638456cb59116100dc5780638456cb59146105fa57806389852715146106115780638da5cb5b1461063c5780638ef79e911461066757610233565b806370a0823114610564578063715018a6146105a15780637d9b2b8b146105b857806382776b9c146105e357610233565b806323b872dd11610190578063453709811161015f578063453709811461047d5780634e99b800146104a85780635c975abb146104d35780636352211e146104fe578063685731071461053b57610233565b806323b872dd146103d65780632a55205a146103ff5780633f4ba83a1461043d57806342842e0e1461045457610233565b8063095ea7b3116101cc578063095ea7b3146103405780630d7982ad146103695780630fc50ebb1461038057806318160ddd146103ab57610233565b80629ee39c1461027257806301ffc9a71461029b57806306fdde03146102d8578063081812fc1461030357610233565b36610233576040517fa038794000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561023f57600080fd5b506040517fa038794000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561027e57600080fd5b5061029960048036038101906102949190612640565b61082f565b005b3480156102a757600080fd5b506102c260048036038101906102bd91906126c5565b61087b565b6040516102cf919061270d565b60405180910390f35b3480156102e457600080fd5b506102ed6108dc565b6040516102fa91906127b8565b60405180910390f35b34801561030f57600080fd5b5061032a60048036038101906103259190612810565b61096e565b604051610337919061285e565b60405180910390f35b34801561034c57600080fd5b50610367600480360381019061036291906128a5565b6109b4565b005b34801561037557600080fd5b5061037e610acb565b005b34801561038c57600080fd5b50610395610b37565b6040516103a2919061270d565b60405180910390f35b3480156103b757600080fd5b506103c0610b4a565b6040516103cd91906128f4565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f8919061290f565b610b50565b005b34801561040b57600080fd5b5061042660048036038101906104219190612962565b610bb0565b6040516104349291906129a2565b60405180910390f35b34801561044957600080fd5b50610452610c02565b005b34801561046057600080fd5b5061047b6004803603810190610476919061290f565b610c14565b005b34801561048957600080fd5b50610492610c34565b60405161049f919061285e565b60405180910390f35b3480156104b457600080fd5b506104bd610c5a565b6040516104ca91906127b8565b60405180910390f35b3480156104df57600080fd5b506104e8610ce8565b6040516104f5919061270d565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190612810565b610cff565b604051610532919061285e565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190612a86565b610db0565b005b34801561057057600080fd5b5061058b60048036038101906105869190612b07565b610ff3565b60405161059891906128f4565b60405180910390f35b3480156105ad57600080fd5b506105b66110aa565b005b3480156105c457600080fd5b506105cd6110be565b6040516105da91906128f4565b60405180910390f35b3480156105ef57600080fd5b506105f86110e2565b005b34801561060657600080fd5b5061060f61114e565b005b34801561061d57600080fd5b506106266111ba565b604051610633919061270d565b60405180910390f35b34801561064857600080fd5b506106516111cd565b60405161065e919061285e565b60405180910390f35b34801561067357600080fd5b5061068e60048036038101906106899190612b8a565b6111f7565b005b34801561069c57600080fd5b506106a561125c565b6040516106b291906127b8565b60405180910390f35b3480156106c757600080fd5b506106d06112ee565b6040516106dd91906128f4565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190612c03565b6112f4565b005b34801561071b57600080fd5b5061073660048036038101906107319190612d73565b61130a565b005b34801561074457600080fd5b5061075f600480360381019061075a9190612810565b61136c565b60405161076c91906127b8565b60405180910390f35b34801561078157600080fd5b5061078a6113e5565b60405161079791906128f4565b60405180910390f35b3480156107ac57600080fd5b506107c760048036038101906107c29190612810565b611409565b005b3480156107d557600080fd5b506107f060048036038101906107eb9190612df6565b61141b565b6040516107fd919061270d565b60405180910390f35b34801561081257600080fd5b5061082d60048036038101906108289190612b07565b6114af565b005b610837611532565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d557506108d4826115b0565b5b9050919050565b6060600080546108eb90612e65565b80601f016020809104026020016040519081016040528092919081815260200182805461091790612e65565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050905090565b600061097982611692565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109bf82610cff565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2690612f08565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a4e6116dd565b73ffffffffffffffffffffffffffffffffffffffff161480610a7d5750610a7c81610a776116dd565b61141b565b5b610abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab390612f9a565b60405180910390fd5b610ac683836116e5565b505050565b610ad3611532565b600660169054906101000a900460ff1615610b1a576040517f4997a17100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600660166101000a81548160ff021916908315150217905550565b600660169054906101000a900460ff1681565b60085481565b610b61610b5b6116dd565b8261179e565b610ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b979061302c565b60405180910390fd5b610bab838383611833565b505050565b6000806000612710600a5485610bc6919061307b565b610bd091906130ec565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b610c0a611532565b610c12611a99565b565b610c2f8383836040518060200160405280600081525061130a565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60078054610c6790612e65565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9390612e65565b8015610ce05780601f10610cb557610100808354040283529160200191610ce0565b820191906000526020600020905b815481529060010190602001808311610cc357829003601f168201915b505050505081565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90613169565b60405180910390fd5b80915050919050565b610db8611532565b600660169054906101000a900460ff1615610dff576040517f4997a17100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818190508484905014610e3e576040517faaad13f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000007d084849050600854610e709190613189565b1115610ea8576040517f8a164f6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600854905060005b85859050811015610fe4576001848483818110610ed257610ed16131bd565b5b905060200201351080610f1d57507f00000000000000000000000000000000000000000000000000000000000007d0848483818110610f1457610f136131bd565b5b90506020020135115b15610f7857838382818110610f3557610f346131bd565b5b905060200201356040517fed15e6cf000000000000000000000000000000000000000000000000000000008152600401610f6f91906128f4565b60405180910390fd5b610fc2868683818110610f8e57610f8d6131bd565b5b9050602002016020810190610fa39190612b07565b858584818110610fb657610fb56131bd565b5b90506020020135611afc565b600182610fcf9190613189565b91508080610fdc906131ec565b915050610eb2565b50806008819055505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a906132a6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110b2611532565b6110bc6000611b1a565b565b7f00000000000000000000000000000000000000000000000000000000645b2c4f81565b6110ea611532565b600660159054906101000a900460ff1615611131576040517fb620a98300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600660156101000a81548160ff021916908315150217905550565b611156611532565b7f00000000000000000000000000000000000000000000000000000000645b2c4f4211156111b0576040517f14fa6bbb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111b8611be0565b565b600660159054906101000a900460ff1681565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111ff611532565b600660159054906101000a900460ff1615611246576040517fb620a98300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81816007918261125792919061347d565b505050565b60606001805461126b90612e65565b80601f016020809104026020016040519081016040528092919081815260200182805461129790612e65565b80156112e45780601f106112b9576101008083540402835291602001916112e4565b820191906000526020600020905b8154815290600101906020018083116112c757829003601f168201915b5050505050905090565b600a5481565b6113066112ff6116dd565b8383611c43565b5050565b61131b6113156116dd565b8361179e565b61135a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113519061302c565b60405180910390fd5b61136684848484611daf565b50505050565b606061137782611e0b565b6113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad906135bf565b60405180910390fd5b6113bf82611e77565b6040516020016113cf9190613667565b6040516020818303038152906040529050919050565b7f00000000000000000000000000000000000000000000000000000000000007d081565b611411611532565b80600a8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114b7611532565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151d906136fb565b60405180910390fd5b61152f81611b1a565b50565b61153a6116dd565b73ffffffffffffffffffffffffffffffffffffffff166115586111cd565b73ffffffffffffffffffffffffffffffffffffffff16146115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590613767565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061167b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061168b575061168a82611edf565b5b9050919050565b61169b81611e0b565b6116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190613169565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661175883610cff565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806117aa83610cff565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117ec57506117eb818561141b565b5b8061182a57508373ffffffffffffffffffffffffffffffffffffffff166118128461096e565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661185382610cff565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a0906137f9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190f9061388b565b60405180910390fd5b611923838383611f49565b61192e6000826116e5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197e91906138ab565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119d59190613189565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611a94838383611f61565b505050565b611aa1611f66565b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ae56116dd565b604051611af2919061285e565b60405180910390a1565b611b16828260405180602001604052806000815250611faf565b5050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611be861200a565b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c2c6116dd565b604051611c39919061285e565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca89061392b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611da2919061270d565b60405180910390a3505050565b611dba848484611833565b611dc684848484612054565b611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc906139bd565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060611e8282611692565b6000611e8c6121db565b90506000815111611eac5760405180602001604052806000815250611ed7565b80611eb68461226d565b604051602001611ec79291906139dd565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611f5161200a565b611f5c8383836123cd565b505050565b505050565b611f6e610ce8565b611fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa490613a4d565b60405180910390fd5b565b611fb983836123d2565b611fc66000848484612054565b612005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffc906139bd565b60405180910390fd5b505050565b612012610ce8565b15612052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204990613ab9565b60405180910390fd5b565b60006120758473ffffffffffffffffffffffffffffffffffffffff166125ab565b156121ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261209e6116dd565b8786866040518563ffffffff1660e01b81526004016120c09493929190613b2e565b6020604051808303816000875af19250505080156120fc57506040513d601f19601f820116820180604052508101906120f99190613b8f565b60015b61217e573d806000811461212c576040519150601f19603f3d011682016040523d82523d6000602084013e612131565b606091505b506000815103612176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216d906139bd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506121d3565b600190505b949350505050565b6060600780546121ea90612e65565b80601f016020809104026020016040519081016040528092919081815260200182805461221690612e65565b80156122635780601f1061223857610100808354040283529160200191612263565b820191906000526020600020905b81548152906001019060200180831161224657829003601f168201915b5050505050905090565b6060600082036122b4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123c8565b600082905060005b600082146122e65780806122cf906131ec565b915050600a826122df91906130ec565b91506122bc565b60008167ffffffffffffffff81111561230257612301612c48565b5b6040519080825280601f01601f1916602001820160405280156123345781602001600182028036833780820191505090505b5090505b600085146123c15760018261234d91906138ab565b9150600a8561235c9190613bbc565b60306123689190613189565b60f81b81838151811061237e5761237d6131bd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123ba91906130ec565b9450612338565b8093505050505b919050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243890613c39565b60405180910390fd5b61244a81611e0b565b1561248a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248190613ca5565b60405180910390fd5b61249660008383611f49565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e69190613189565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125a760008383611f61565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061260d826125e2565b9050919050565b61261d81612602565b811461262857600080fd5b50565b60008135905061263a81612614565b92915050565b600060208284031215612656576126556125d8565b5b60006126648482850161262b565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126a28161266d565b81146126ad57600080fd5b50565b6000813590506126bf81612699565b92915050565b6000602082840312156126db576126da6125d8565b5b60006126e9848285016126b0565b91505092915050565b60008115159050919050565b612707816126f2565b82525050565b600060208201905061272260008301846126fe565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612762578082015181840152602081019050612747565b60008484015250505050565b6000601f19601f8301169050919050565b600061278a82612728565b6127948185612733565b93506127a4818560208601612744565b6127ad8161276e565b840191505092915050565b600060208201905081810360008301526127d2818461277f565b905092915050565b6000819050919050565b6127ed816127da565b81146127f857600080fd5b50565b60008135905061280a816127e4565b92915050565b600060208284031215612826576128256125d8565b5b6000612834848285016127fb565b91505092915050565b6000612848826125e2565b9050919050565b6128588161283d565b82525050565b6000602082019050612873600083018461284f565b92915050565b6128828161283d565b811461288d57600080fd5b50565b60008135905061289f81612879565b92915050565b600080604083850312156128bc576128bb6125d8565b5b60006128ca85828601612890565b92505060206128db858286016127fb565b9150509250929050565b6128ee816127da565b82525050565b600060208201905061290960008301846128e5565b92915050565b600080600060608486031215612928576129276125d8565b5b600061293686828701612890565b935050602061294786828701612890565b9250506040612958868287016127fb565b9150509250925092565b60008060408385031215612979576129786125d8565b5b6000612987858286016127fb565b9250506020612998858286016127fb565b9150509250929050565b60006040820190506129b7600083018561284f565b6129c460208301846128e5565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f8401126129f0576129ef6129cb565b5b8235905067ffffffffffffffff811115612a0d57612a0c6129d0565b5b602083019150836020820283011115612a2957612a286129d5565b5b9250929050565b60008083601f840112612a4657612a456129cb565b5b8235905067ffffffffffffffff811115612a6357612a626129d0565b5b602083019150836020820283011115612a7f57612a7e6129d5565b5b9250929050565b60008060008060408587031215612aa057612a9f6125d8565b5b600085013567ffffffffffffffff811115612abe57612abd6125dd565b5b612aca878288016129da565b9450945050602085013567ffffffffffffffff811115612aed57612aec6125dd565b5b612af987828801612a30565b925092505092959194509250565b600060208284031215612b1d57612b1c6125d8565b5b6000612b2b84828501612890565b91505092915050565b60008083601f840112612b4a57612b496129cb565b5b8235905067ffffffffffffffff811115612b6757612b666129d0565b5b602083019150836001820283011115612b8357612b826129d5565b5b9250929050565b60008060208385031215612ba157612ba06125d8565b5b600083013567ffffffffffffffff811115612bbf57612bbe6125dd565b5b612bcb85828601612b34565b92509250509250929050565b612be0816126f2565b8114612beb57600080fd5b50565b600081359050612bfd81612bd7565b92915050565b60008060408385031215612c1a57612c196125d8565b5b6000612c2885828601612890565b9250506020612c3985828601612bee565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c808261276e565b810181811067ffffffffffffffff82111715612c9f57612c9e612c48565b5b80604052505050565b6000612cb26125ce565b9050612cbe8282612c77565b919050565b600067ffffffffffffffff821115612cde57612cdd612c48565b5b612ce78261276e565b9050602081019050919050565b82818337600083830152505050565b6000612d16612d1184612cc3565b612ca8565b905082815260208101848484011115612d3257612d31612c43565b5b612d3d848285612cf4565b509392505050565b600082601f830112612d5a57612d596129cb565b5b8135612d6a848260208601612d03565b91505092915050565b60008060008060808587031215612d8d57612d8c6125d8565b5b6000612d9b87828801612890565b9450506020612dac87828801612890565b9350506040612dbd878288016127fb565b925050606085013567ffffffffffffffff811115612dde57612ddd6125dd565b5b612dea87828801612d45565b91505092959194509250565b60008060408385031215612e0d57612e0c6125d8565b5b6000612e1b85828601612890565b9250506020612e2c85828601612890565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e7d57607f821691505b602082108103612e9057612e8f612e36565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ef2602183612733565b9150612efd82612e96565b604082019050919050565b60006020820190508181036000830152612f2181612ee5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612f84603e83612733565b9150612f8f82612f28565b604082019050919050565b60006020820190508181036000830152612fb381612f77565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613016602e83612733565b915061302182612fba565b604082019050919050565b6000602082019050818103600083015261304581613009565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613086826127da565b9150613091836127da565b925082820261309f816127da565b915082820484148315176130b6576130b561304c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006130f7826127da565b9150613102836127da565b925082613112576131116130bd565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613153601883612733565b915061315e8261311d565b602082019050919050565b6000602082019050818103600083015261318281613146565b9050919050565b6000613194826127da565b915061319f836127da565b92508282019050808211156131b7576131b661304c565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006131f7826127da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036132295761322861304c565b5b600182019050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613290602983612733565b915061329b82613234565b604082019050919050565b600060208201905081810360008301526132bf81613283565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026133337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826132f6565b61333d86836132f6565b95508019841693508086168417925050509392505050565b6000819050919050565b600061337a613375613370846127da565b613355565b6127da565b9050919050565b6000819050919050565b6133948361335f565b6133a86133a082613381565b848454613303565b825550505050565b600090565b6133bd6133b0565b6133c881848461338b565b505050565b5b818110156133ec576133e16000826133b5565b6001810190506133ce565b5050565b601f82111561343157613402816132d1565b61340b846132e6565b8101602085101561341a578190505b61342e613426856132e6565b8301826133cd565b50505b505050565b600082821c905092915050565b600061345460001984600802613436565b1980831691505092915050565b600061346d8383613443565b9150826002028217905092915050565b61348783836132c6565b67ffffffffffffffff8111156134a05761349f612c48565b5b6134aa8254612e65565b6134b58282856133f0565b6000601f8311600181146134e457600084156134d2578287013590505b6134dc8582613461565b865550613544565b601f1984166134f2866132d1565b60005b8281101561351a578489013582556001820191506020850194506020810190506134f5565b868310156135375784890135613533601f891682613443565b8355505b6001600288020188555050505b50505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006135a9602f83612733565b91506135b48261354d565b604082019050919050565b600060208201905081810360008301526135d88161359c565b9050919050565b600081905092915050565b60006135f582612728565b6135ff81856135df565b935061360f818560208601612744565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006136516005836135df565b915061365c8261361b565b600582019050919050565b600061367382846135ea565b915061367e82613644565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136e5602683612733565b91506136f082613689565b604082019050919050565b60006020820190508181036000830152613714816136d8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613751602083612733565b915061375c8261371b565b602082019050919050565b6000602082019050818103600083015261378081613744565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006137e3602583612733565b91506137ee82613787565b604082019050919050565b60006020820190508181036000830152613812816137d6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613875602483612733565b915061388082613819565b604082019050919050565b600060208201905081810360008301526138a481613868565b9050919050565b60006138b6826127da565b91506138c1836127da565b92508282039050818111156138d9576138d861304c565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613915601983612733565b9150613920826138df565b602082019050919050565b6000602082019050818103600083015261394481613908565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006139a7603283612733565b91506139b28261394b565b604082019050919050565b600060208201905081810360008301526139d68161399a565b9050919050565b60006139e982856135ea565b91506139f582846135ea565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613a37601483612733565b9150613a4282613a01565b602082019050919050565b60006020820190508181036000830152613a6681613a2a565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613aa3601083612733565b9150613aae82613a6d565b602082019050919050565b60006020820190508181036000830152613ad281613a96565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613b0082613ad9565b613b0a8185613ae4565b9350613b1a818560208601612744565b613b238161276e565b840191505092915050565b6000608082019050613b43600083018761284f565b613b50602083018661284f565b613b5d60408301856128e5565b8181036060830152613b6f8184613af5565b905095945050505050565b600081519050613b8981612699565b92915050565b600060208284031215613ba557613ba46125d8565b5b6000613bb384828501613b7a565b91505092915050565b6000613bc7826127da565b9150613bd2836127da565b925082613be257613be16130bd565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613c23602083612733565b9150613c2e82613bed565b602082019050919050565b60006020820190508181036000830152613c5281613c16565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613c8f601c83612733565b9150613c9a82613c59565b602082019050919050565b60006020820190508181036000830152613cbe81613c82565b905091905056fea2646970667358221220be93a5e5ad18bd50f519056791aa92d69fd4479d9b4d7b8881ed4f357553e78e64736f6c63430008110033
Verified Source Code Full Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: No
ERC721Burnable.sol 26 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
_burn(tokenId);
}
}
IERC721.sol 143 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
Address.sol 222 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
ERC165.sol 29 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
AkaChanByAnata.sol 174 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
contract AkaChanByAnata is ERC721, Pausable, Ownable {
// ERC-2981: NFT Royalty Standard
bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
uint256 public immutable maxSupply;
uint256 public immutable pausableCutoffTime;
bool public tokenBaseURILocked;
bool public mintingLocked;
string public tokenBaseURI;
uint256 public totalSupply;
address public royaltyReceipientAddress;
uint256 public royaltyPercentageBasisPoints;
error TokenBaseURILocked();
error PausableCutoffTimePassed();
error InputLengthMismatch();
error MaxSupplyExceeded();
error InvalidTokenId(uint256 tokenId);
error NotSupported();
error MintingLocked();
constructor(
uint256 pausableCutoffTime_,
uint256 maxSupply_,
string memory tokenBaseURI_,
address royaltyReceipientAddress_,
uint256 royaltyPercentageBasisPoints_
) ERC721("Aka-Chan by Anata", "AKACHAN") {
pausableCutoffTime = pausableCutoffTime_;
maxSupply = maxSupply_;
tokenBaseURI = tokenBaseURI_;
royaltyReceipientAddress = royaltyReceipientAddress_;
royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_;
}
function pause() external onlyOwner {
if (block.timestamp > pausableCutoffTime) {
revert PausableCutoffTimePassed();
}
_pause();
}
function unpause() external onlyOwner {
_unpause();
}
function lockTokenBaseURI() external onlyOwner {
if (tokenBaseURILocked) {
revert TokenBaseURILocked();
}
tokenBaseURILocked = true;
}
function lockMinting() external onlyOwner {
if (mintingLocked) {
revert MintingLocked();
}
mintingLocked = true;
}
function setTokenBaseURI(string calldata tokenBaseURI_) external onlyOwner {
if (tokenBaseURILocked) {
revert TokenBaseURILocked();
}
tokenBaseURI = tokenBaseURI_;
}
function setRoyaltyPercentageBasisPoints(
uint256 royaltyPercentageBasisPoints_
) external onlyOwner {
royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_;
}
function setRoyaltyReceipientAddress(
address payable royaltyReceipientAddress_
) external onlyOwner {
royaltyReceipientAddress = royaltyReceipientAddress_;
}
function _baseURI() internal view override returns (string memory) {
return tokenBaseURI;
}
function tokenURI(uint256 tokenId)
public
view
override
returns (string memory)
{
require(
_exists(tokenId),
"ERC721Metadata: URI query for nonexistent token"
);
return string(abi.encodePacked(super.tokenURI(tokenId), ".json"));
}
function batchMint(
address[] calldata recipients_,
uint256[] calldata tokenIds_
) external onlyOwner {
if (mintingLocked) {
revert MintingLocked();
}
if (recipients_.length != tokenIds_.length) {
revert InputLengthMismatch();
}
if (totalSupply + recipients_.length > maxSupply) {
revert MaxSupplyExceeded();
}
uint256 tmpTotalSupply = totalSupply;
for (uint256 i = 0; i < recipients_.length; i++) {
// Tokens are 1-indexed.
// Since tokens can be minted out of order, check upper and lower bounds.
if (tokenIds_[i] < 1 || tokenIds_[i] > maxSupply) {
revert InvalidTokenId(tokenIds_[i]);
}
_safeMint(recipients_[i], tokenIds_[i]);
tmpTotalSupply += 1;
}
totalSupply = tmpTotalSupply;
}
function royaltyInfo(uint256 tokenId_, uint256 salePrice_)
external
view
returns (address receiver, uint256 royaltyAmount)
{
uint256 royalty = (salePrice_ * royaltyPercentageBasisPoints) / 10000;
return (royaltyReceipientAddress, royalty);
}
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721)
returns (bool)
{
return
interfaceId == _INTERFACE_ID_ERC2981 ||
super.supportsInterface(interfaceId);
}
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal override(ERC721) whenNotPaused {
super._beforeTokenTransfer(from, to, tokenId);
}
// reverts if receiving any eth directly
receive() external payable {
revert NotSupported();
}
// fallback function
fallback() external {
revert NotSupported();
}
}
Context.sol 24 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
IERC165.sol 25 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
Strings.sol 75 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}
Ownable.sol 83 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
Pausable.sol 105 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
ERC721.sol 454 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: address zero is not a valid owner");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: invalid token ID");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
_requireMinted(tokenId);
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not token owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
_safeTransfer(from, to, tokenId, data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits an {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}
IERC721Metadata.sol 27 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
IERC721Receiver.sol 27 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
Read Contract
balanceOf 0x70a08231 → uint256
getApproved 0x081812fc → address
isApprovedForAll 0xe985e9c5 → bool
maxSupply 0xd5abeb01 → uint256
mintingLocked 0x0fc50ebb → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
pausableCutoffTime 0x7d9b2b8b → uint256
paused 0x5c975abb → bool
royaltyInfo 0x2a55205a → address, uint256
royaltyPercentageBasisPoints 0x9dd3417c → uint256
royaltyReceipientAddress 0x45370981 → address
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenBaseURI 0x4e99b800 → string
tokenBaseURILocked 0x89852715 → bool
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256
Write Contract 15 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address to
uint256 tokenId
batchMint 0x68573107
address[] recipients_
uint256[] tokenIds_
lockMinting 0x0d7982ad
No parameters
lockTokenBaseURI 0x82776b9c
No parameters
pause 0x8456cb59
No parameters
renounceOwnership 0x715018a6
No parameters
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes data
setApprovalForAll 0xa22cb465
address operator
bool approved
setRoyaltyPercentageBasisPoints 0xe042e98c
uint256 royaltyPercentageBasisPoints_
setRoyaltyReceipientAddress 0x009ee39c
address royaltyReceipientAddress_
setTokenBaseURI 0x8ef79e91
string tokenBaseURI_
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
unpause 0x3f4ba83a
No parameters
Recent Transactions
No transactions found for this address