Address Contract Partially Verified
Address
0x3dbe6054376bdcdD0fADcae004c7dB3BE2Ed2707
Balance
0 ETH
Nonce
1
Code Size
14104 bytes
Creator
0xf9D38742...eE2e at tx 0x00a84e12...69c67c
Indexed Transactions
Index loading...
Contract Bytecode
14104 bytes
0x6080604052600436106102ae5760003560e01c80635c975abb11610175578063a2e69613116100dc578063d31e22de11610095578063e8a3d4851161006f578063e8a3d48514610918578063e9520f8a1461092d578063e985e9c514610947578063f2fde38b1461096757600080fd5b8063d31e22de146108aa578063d5abeb01146108e2578063e0a80853146108f857600080fd5b8063a2e696131461079a578063a45ba8e7146107ba578063b07eb4a3146107cf578063b88d4fde14610857578063bf960a7514610877578063c87b56dd1461088a57600080fd5b80637696e0881161012e5780637696e088146106f15780637ec4a659146107115780638da5cb5b1461073157806394354fd01461074f57806395d89b4114610765578063a22cb4651461077a57600080fd5b80635c975abb1461064d57806362b99ad4146106675780636352211e1461067c57806368209a621461069c57806370a08231146106bc578063715018a6146106dc57600080fd5b806323b872dd11610219578063438b6300116101d2578063438b6300146105235780634c501243146105505780634fdd43cb146105b757806351830227146105d75780635503a0e8146105f65780635660f8511461060b57600080fd5b806323b872dd1461045857806326987b60146104785780632a55205a1461048d5780633ccfd60b146104cc57806341f43434146104e157806342842e0e1461050357600080fd5b806313faede61161026b57806313faede6146103a457806316ba10e0146103c857806316c38b3c146103e857806318160ddd146104085780631a573d77146104255780631ae706b01461044557600080fd5b806301ffc9a7146102b357806302fa7c47146102e857806303a6735a1461030a57806306fdde031461032a578063081812fc1461034c578063095ea7b314610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004612b95565b610987565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b50610308610303366004612bce565b6109b6565b005b34801561031657600080fd5b50610308610325366004612ca1565b6109f2565b34801561033657600080fd5b5061033f610a0a565b6040516102df9190612d39565b34801561035857600080fd5b5061036c610367366004612d4c565b610a9c565b6040516001600160a01b0390911681526020016102df565b34801561039057600080fd5b5061030861039f366004612d65565b610ae0565b3480156103b057600080fd5b506103ba60135481565b6040519081526020016102df565b3480156103d457600080fd5b506103086103e3366004612d8f565b610af9565b3480156103f457600080fd5b50610308610403366004612e0e565b610b0e565b34801561041457600080fd5b5060015460005403600019016103ba565b34801561043157600080fd5b50610308610440366004612e3a565b610b29565b610308610453366004612e9e565b610baf565b34801561046457600080fd5b50610308610473366004612f65565b61102c565b34801561048457600080fd5b506000546103ba565b34801561049957600080fd5b506104ad6104a8366004612fa1565b611057565b604080516001600160a01b0390931683526020830191909152016102df565b3480156104d857600080fd5b5061030861107d565b3480156104ed57600080fd5b5061036c6daaeb6d7670e522a718067333cd4e81565b34801561050f57600080fd5b5061030861051e366004612f65565b61110b565b34801561052f57600080fd5b5061054361053e366004612fc3565b611130565b6040516102df9190612fde565b34801561055c57600080fd5b5061059561056b366004613022565b60176020526000908152604090208054600182015460028301546003909301549192909160ff1684565b60408051948552602085019390935291830152151560608201526080016102df565b3480156105c357600080fd5b506103086105d2366004612ca1565b611276565b3480156105e357600080fd5b506016546102d390610100900460ff1681565b34801561060257600080fd5b5061033f61128a565b34801561061757600080fd5b5061063b610626366004612fc3565b60196020526000908152604090205460ff1681565b60405160ff90911681526020016102df565b34801561065957600080fd5b506016546102d39060ff1681565b34801561067357600080fd5b5061033f611318565b34801561068857600080fd5b5061036c610697366004612d4c565b611325565b3480156106a857600080fd5b506103086106b736600461303d565b611337565b3480156106c857600080fd5b506103ba6106d7366004612fc3565b611407565b3480156106e857600080fd5b50610308611455565b3480156106fd57600080fd5b5061030861070c366004612fa1565b611467565b34801561071d57600080fd5b5061030861072c366004612d8f565b61147a565b34801561073d57600080fd5b506008546001600160a01b031661036c565b34801561075b57600080fd5b506103ba60155481565b34801561077157600080fd5b5061033f61148f565b34801561078657600080fd5b50610308610795366004613091565b61149e565b3480156107a657600080fd5b506103ba6107b5366004612d4c565b6114b2565b3480156107c657600080fd5b5061033f6114ce565b3480156107db57600080fd5b506108246107ea366004612fc3565b6005602052600090815260409020546001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016102df565b34801561086357600080fd5b506103086108723660046130ad565b6114db565b610308610885366004613114565b611501565b34801561089657600080fd5b5061033f6108a5366004612d4c565b6117ff565b3480156108b657600080fd5b506103ba6108c536600461316c565b805160208183018101805160188252928201919093012091525481565b3480156108ee57600080fd5b506103ba60145481565b34801561090457600080fd5b50610308610913366004612e0e565b611980565b34801561092457600080fd5b5061033f6119a2565b34801561093957600080fd5b50600c5461063b9060ff1681565b34801561095357600080fd5b506102d36109623660046131a0565b6119af565b34801561097357600080fd5b50610308610982366004612fc3565b6119dd565b600061099282611a56565b806109a157506109a182611ac1565b806109b057506109b082611ac1565b92915050565b6109be611ae6565b600f80546001600160a01b0319166001600160a01b0393909316929092179091556bffffffffffffffffffffffff16600e55565b6109fa611ae6565b600d610a068282613255565b5050565b606060028054610a19906131d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a45906131d3565b8015610a925780601f10610a6757610100808354040283529160200191610a92565b820191906000526020600020905b815481529060010190602001808311610a7557829003601f168201915b5050505050905090565b6000610aa782611b40565b610ac4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610aea81611b79565b610af48383611c34565b505050565b610b01611ae6565b6011610af4828483613314565b610b16611ae6565b6016805460ff1916911515919091179055565b610b31611ae6565b8060176000846004811115610b4857610b486133d3565b6004811115610b5957610b596133d3565b81526020810191909152604001600020600301805460ff1916911515919091179055801515600103610a0657816004811115610b9757610b976133d3565b600c805460ff191660ff929092169190911790555050565b8481856000610bbe8484611cbc565b9050610bd060a0850160808601612fc3565b6001600160a01b0316816001600160a01b031614610c095760405162461bcd60e51b8152600401610c00906133e9565b60405180910390fd5b8360200135610c1760005490565b11158015610c2e57508335610c2b60005490565b10155b610c4a5760405162461bcd60e51b8152600401610c0090613432565b8360200135600183610c5b60005490565b610c6591906134a5565b610c6f91906134b8565b11158015610c81575083604001358211155b610c9d5760405162461bcd60e51b8152600401610c00906134cb565b601760008b6004811115610cb357610cb36133d3565b6004811115610cc457610cc46133d3565b815260208101919091526040016000206003015460ff16610d325760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610c00565b600088118015610d57575060145488610d4a60005490565b610d5491906134a5565b11155b610d9a5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c00565b601760008b6004811115610db057610db06133d3565b6004811115610dc157610dc16133d3565b8152602080820192909252604090810160009081206002015433825260199093522054610df2908a9060ff166134a5565b1115610e375760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c00565b87601760008c6004811115610e4e57610e4e6133d3565b6004811115610e5f57610e5f6133d3565b815260200190815260200160002060010154610e7b9190613528565b341015610ec05760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c00565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610f6e88888080602002602001604051908101604052809392919081815260200183836020028082843760009201829052506017935091508f90506004811115610f4557610f456133d3565b6004811115610f5657610f566133d3565b81526020019081526020016000206000015483611cdc565b610fab5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610c00565b610fb5338a611cf2565b88601887604051610fc6919061353f565b90815260200160405180910390206000828254610fe391906134a5565b9091555050336000908152601960205260408120805460ff16916110068361355b565b91906101000a81548160ff021916908360ff160217905550505050505050505050505050565b826001600160a01b03811633146110465761104633611b79565b611051848484611d0c565b50505050565b600f5460009081906001600160a01b0316611071846114b2565b915091505b9250929050565b611085611ae6565b61108d611d17565b60006110a16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146110eb576040519150601f19603f3d011682016040523d82523d6000602084013e6110f0565b606091505b50509050806110fe57600080fd5b506111096001600955565b565b826001600160a01b03811633146111255761112533611b79565b611051848484611d70565b6060600061113d83611407565b90506000816001600160401b0381111561115957611159612c16565b604051908082528060200260200182016040528015611182578160200160208202803683370190505b50905060016000805b848210801561119c57506014548311155b1561126b57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282018390529091611209575080516001600160a01b031615155b1561121357805191505b876001600160a01b0316826001600160a01b031603611258578385848151811061123f5761123f61357a565b60209081029190910101528261125481613590565b9350505b8361126281613590565b9450505061118b565b509195945050505050565b61127e611ae6565b6012610a068282613255565b60118054611297906131d3565b80601f01602080910402602001604051908101604052809291908181526020018280546112c3906131d3565b80156113105780601f106112e557610100808354040283529160200191611310565b820191906000526020600020905b8154815290600101906020018083116112f357829003601f168201915b505050505081565b60108054611297906131d3565b600061133082611d8b565b5192915050565b61133f611ae6565b604051806080016040528086815260200184815260200183815260200182151581525060176000866004811115611378576113786133d3565b6004811115611389576113896133d3565b8152602080820192909252604090810160002083518155918301516001808401919091559083015160028301556060909201516003909101805460ff19169115159190911790558115159003611400578360048111156113eb576113eb6133d3565b600c805460ff191660ff929092169190911790555b5050505050565b60006001600160a01b038216611430576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61145d611ae6565b6111096000611eb2565b61146f611ae6565b601391909155601555565b611482611ae6565b6010610af4828483613314565b606060038054610a19906131d3565b816114a881611b79565b610af48383611f04565b600e546000906114c4612710846135a9565b6109b09190613528565b60128054611297906131d3565b836001600160a01b03811633146114f5576114f533611b79565b61140085858585611f99565b82818360006115108484611cbc565b905061152260a0850160808601612fc3565b6001600160a01b0316816001600160a01b0316146115525760405162461bcd60e51b8152600401610c00906133e9565b836020013561156060005490565b111580156115775750833561157460005490565b10155b6115935760405162461bcd60e51b8152600401610c0090613432565b83602001356001836115a460005490565b6115ae91906134a5565b6115b891906134b8565b111580156115ca575083604001358211155b6115e65760405162461bcd60e51b8152600401610c00906134cb565b60165460ff161580156115ff5750601354876060013511155b6116615760405162461bcd60e51b815260206004820152602d60248201527f54686520636f6e747261637420697320706175736564206f7220496e76616c6960448201526c64206d696e742070726963652160981b6064820152608401610c00565b60008611801561168657506014548661167960005490565b61168391906134a5565b11155b6116c95760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c00565b601554336000908152601960205260409020546116ea90889060ff166134a5565b111561172f5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c00565b8560135461173d9190613528565b3410156117825760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c00565b61178c3387611cf2565b8560188660405161179d919061353f565b908152602001604051809103902060008282546117ba91906134a5565b9091555050336000908152601960205260408120805460ff16916117dd8361355b565b91906101000a81548160ff021916908360ff1602179055505050505050505050565b606061180a82611b40565b61186e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c00565b601654610100900460ff161515600003611914576012805461188f906131d3565b80601f01602080910402602001604051908101604052809291908181526020018280546118bb906131d3565b80156119085780601f106118dd57610100808354040283529160200191611908565b820191906000526020600020905b8154815290600101906020018083116118eb57829003601f168201915b50505050509050919050565b600061192b60408051602081019091526000815290565b9050600081511161194b5760405180602001604052806000815250611979565b8061195584611fe4565b6011604051602001611969939291906135cb565b6040516020818303038152906040525b9392505050565b611988611ae6565b601680549115156101000261ff0019909216919091179055565b600d8054611297906131d3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6119e5611ae6565b6001600160a01b038116611a4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c00565b611a5381611eb2565b50565b60006001600160e01b031982166380ac58cd60e01b1480611a87575063152a902d60e11b6001600160e01b03198316145b80611aa257506001600160e01b03198216635b5e139f60e01b145b806109b057506301ffc9a760e01b6001600160e01b03198316146109b0565b60006001600160e01b0319821663152a902d60e11b14806109b057506109b082611a56565b6008546001600160a01b031633146111095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c00565b600081600111158015611b54575060005482105b80156109b0575050600090815260046020526040902054600160e01b900460ff161590565b6daaeb6d7670e522a718067333cd4e3b15611a5357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c919061366b565b611a5357604051633b79c77360e21b81526001600160a01b0382166004820152602401610c00565b6000611c3f82611325565b9050806001600160a01b0316836001600160a01b031603611c735760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590611c935750611c9181336119af565b155b15611cb1576040516367d9dca160e11b815260040160405180910390fd5b610af4838383612076565b600080611cc8846120d2565b9050611cd48184612178565b949350505050565b600082611ce9858461219c565b14949350505050565b610a068282604051806020016040528060008152506121e1565b610af48383836121ee565b600260095403611d695760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c00565b6002600955565b610af4838383604051806020016040528060008152506114db565b60408051606081018252600080825260208201819052918101919091528180600111158015611dbb575060005481105b15611e9957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611e975780516001600160a01b031615611e2e579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611e92579392505050565b611e2e565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b03831603611f2d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611fa48484846121ee565b6001600160a01b0383163b15158015611fc65750611fc4848484846123ff565b155b15611051576040516368d2bf6b60e11b815260040160405180910390fd5b60606000611ff1836124ea565b60010190506000816001600160401b0381111561201057612010612c16565b6040519080825280601f01601f19166020018201604052801561203a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461204457509392505050565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109b07f5012e7918aa89886d1e213d3933ce9d8ac8deb8b2814d259b9accc663873fe42833560208501356040860135606087013561211960a0890160808a01612fc3565b6040805160208101979097528601949094526060850192909252608084015260a0838101919091526001600160a01b0390911660c083015284013560e082015261010001604051602081830303815290604052805190602001206125c2565b60008060006121878585612610565b9150915061219481612652565b509392505050565b600081815b8451811015612194576121cd828683815181106121c0576121c061357a565b602002602001015161279c565b9150806121d981613590565b9150506121a1565b610af483838360016127c8565b60006121f982611d8b565b80519091506000906001600160a01b0316336001600160a01b031614806122275750815161222790336119af565b8061224257503361223784610a9c565b6001600160a01b0316145b90508061226257604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146122975760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166122be57604051633a954ecd60e21b815260040160405180910390fd5b6122ce6000848460000151612076565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166123b8576000548110156123b857825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611400565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612434903390899088908890600401613688565b6020604051808303816000875af192505050801561246f575060408051601f3d908101601f1916820190925261246c918101906136c5565b60015b6124cd573d80801561249d576040519150601f19603f3d011682016040523d82523d6000602084013e6124a2565b606091505b5080516000036124c5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125295772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612555576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061257357662386f26fc10000830492506010015b6305f5e100831061258b576305f5e100830492506008015b612710831061259f57612710830492506004015b606483106125b1576064830492506002015b600a83106109b05760010192915050565b60006109b06125cf612994565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008082516041036126465760208301516040840151606085015160001a61263a87828585612abb565b94509450505050611076565b50600090506002611076565b6000816004811115612666576126666133d3565b0361266e5750565b6001816004811115612682576126826133d3565b036126cf5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c00565b60028160048111156126e3576126e36133d3565b036127305760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c00565b6003816004811115612744576127446133d3565b03611a535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c00565b60008183106127b8576000828152602084905260409020611979565b5060009182526020526040902090565b6000546001600160a01b0385166127f157604051622e076360e81b815260040160405180910390fd5b836000036128125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156128be57506001600160a01b0387163b15155b15612946575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461290f60008884806001019550886123ff565b61292c576040516368d2bf6b60e11b815260040160405180910390fd5b8082036128c457826000541461294157600080fd5b61298b565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203612947575b50600055611400565b6000306001600160a01b037f0000000000000000000000003dbe6054376bdcdd0fadcae004c7db3be2ed2707161480156129ed57507f000000000000000000000000000000000000000000000000000000000000000146145b15612a1757507fbb3f06c40d3f6e1aca2bf17e2da0c4c5704502515b19bb1ef5789b617bce673f90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fffe95345557ab27584e308579fbcaa1fcf177167ff95dfe09c2a8f16bd3495ac828401527fe6bbd6277e1bf288eed5e8d1780f9a50b239e86b153736bceebccf4ea79d90b360608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612af25750600090506003612b76565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612b46573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612b6f57600060019250925050612b76565b9150600090505b94509492505050565b6001600160e01b031981168114611a5357600080fd5b600060208284031215612ba757600080fd5b813561197981612b7f565b80356001600160a01b0381168114612bc957600080fd5b919050565b60008060408385031215612be157600080fd5b612bea83612bb2565b915060208301356bffffffffffffffffffffffff81168114612c0b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612c4657612c46612c16565b604051601f8501601f19908116603f01168101908282118183101715612c6e57612c6e612c16565b81604052809350858152868686011115612c8757600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612cb357600080fd5b81356001600160401b03811115612cc957600080fd5b8201601f81018413612cda57600080fd5b611cd484823560208401612c2c565b60005b83811015612d04578181015183820152602001612cec565b50506000910152565b60008151808452612d25816020860160208601612ce9565b601f01601f19169290920160200192915050565b6020815260006119796020830184612d0d565b600060208284031215612d5e57600080fd5b5035919050565b60008060408385031215612d7857600080fd5b612d8183612bb2565b946020939093013593505050565b60008060208385031215612da257600080fd5b82356001600160401b0380821115612db957600080fd5b818501915085601f830112612dcd57600080fd5b813581811115612ddc57600080fd5b866020828501011115612dee57600080fd5b60209290920196919550909350505050565b8015158114611a5357600080fd5b600060208284031215612e2057600080fd5b813561197981612e00565b803560058110612bc957600080fd5b60008060408385031215612e4d57600080fd5b612e5683612e2b565b91506020830135612c0b81612e00565b600060c08284031215612e7857600080fd5b50919050565b600082601f830112612e8f57600080fd5b61197983833560208501612c2c565b6000806000806000806101408789031215612eb857600080fd5b612ec187612e2b565b9550612ed08860208901612e66565b945060e087013593506101008701356001600160401b0380821115612ef457600080fd5b818901915089601f830112612f0857600080fd5b813581811115612f1757600080fd5b8a60208260051b8501011115612f2c57600080fd5b60208301955080945050610120890135915080821115612f4b57600080fd5b50612f5889828a01612e7e565b9150509295509295509295565b600080600060608486031215612f7a57600080fd5b612f8384612bb2565b9250612f9160208501612bb2565b9150604084013590509250925092565b60008060408385031215612fb457600080fd5b50508035926020909101359150565b600060208284031215612fd557600080fd5b61197982612bb2565b6020808252825182820181905260009190848201906040850190845b8181101561301657835183529284019291840191600101612ffa565b50909695505050505050565b60006020828403121561303457600080fd5b61197982612e2b565b600080600080600060a0868803121561305557600080fd5b8535945061306560208701612e2b565b93506040860135925060608601359150608086013561308381612e00565b809150509295509295909350565b600080604083850312156130a457600080fd5b612e5683612bb2565b600080600080608085870312156130c357600080fd5b6130cc85612bb2565b93506130da60208601612bb2565b92506040850135915060608501356001600160401b038111156130fc57600080fd5b61310887828801612e7e565b91505092959194509250565b6000806000610100848603121561312a57600080fd5b6131348585612e66565b925060c0840135915060e08401356001600160401b0381111561315657600080fd5b61316286828701612e7e565b9150509250925092565b60006020828403121561317e57600080fd5b81356001600160401b0381111561319457600080fd5b611cd484828501612e7e565b600080604083850312156131b357600080fd5b6131bc83612bb2565b91506131ca60208401612bb2565b90509250929050565b600181811c908216806131e757607f821691505b602082108103612e7857634e487b7160e01b600052602260045260246000fd5b601f821115610af457600081815260208120601f850160051c8101602086101561322e5750805b601f850160051c820191505b8181101561324d5782815560010161323a565b505050505050565b81516001600160401b0381111561326e5761326e612c16565b6132828161327c84546131d3565b84613207565b602080601f8311600181146132b7576000841561329f5750858301515b600019600386901b1c1916600185901b17855561324d565b600085815260208120601f198616915b828110156132e6578886015182559484019460019091019084016132c7565b50858210156133045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0383111561332b5761332b612c16565b61333f8361333983546131d3565b83613207565b6000601f841160018114613373576000851561335b5750838201355b600019600387901b1c1916600186901b178355611400565b600083815260209020601f19861690835b828110156133a45786850135825560209485019460019092019101613384565b50868210156133c15760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052602160045260246000fd5b60208082526029908201527f5369676e617475726520696e76616c6964206f7220756e617574686f72697a65604082015268321031b932b0ba37b960b91b606082015260800190565b6020808252603e908201527f5369676e617475726520696e76616c6964206f7220696e76616c6964206d617860408201527f546f6b656e4964206f7220696e76616c6964206d696e546f6b656e4964210000606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109b0576109b061348f565b818103818111156109b0576109b061348f565b6020808252603d908201527f5369676e617475726520696e76616c6964206f7220696e76616c6964206d617860408201527f546f6b656e4964206f7220696e76616c6964207175616e746974792021000000606082015260800190565b80820281158282048414176109b0576109b061348f565b60008251613551818460208701612ce9565b9190910192915050565b600060ff821660ff81036135715761357161348f565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b6000600182016135a2576135a261348f565b5060010190565b6000826135c657634e487b7160e01b600052601260045260246000fd5b500490565b6000845160206135de8285838a01612ce9565b8551918401916135f18184848a01612ce9565b8554920191600090613602816131d3565b6001828116801561361a576001811461362f5761365b565b60ff198416875282151583028701945061365b565b896000528560002060005b848110156136535781548982015290830190870161363a565b505082870194505b50929a9950505050505050505050565b60006020828403121561367d57600080fd5b815161197981612e00565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136bb90830184612d0d565b9695505050505050565b6000602082840312156136d757600080fd5b815161197981612b7f56fea2646970667358221220674890826a33fec0d464ee4c29a59a88d3757c47cf12b86f5e0bf252e8a27dfd64736f6c63430008110033
Verified Source Code Partial Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: Yes (200 runs)
TheGemesisByJohnathanSchultz.sol 3259 lines
// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.0;
/*
GGGGGGGGGGGGGEEEEEEEEEEEEEEEEEEEEEEMMMMMMMM MMMMMMMMEEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS IIIIIIIIII SSSSSSSSSSSSSSS
GGG::::::::::::GE::::::::::::::::::::EM:::::::M M:::::::ME::::::::::::::::::::E SS:::::::::::::::SI::::::::I SS:::::::::::::::S
GG:::::::::::::::GE::::::::::::::::::::EM::::::::M M::::::::ME::::::::::::::::::::ES:::::SSSSSS::::::SI::::::::IS:::::SSSSSS::::::S
G:::::GGGGGGGG::::GEE::::::EEEEEEEEE::::EM:::::::::M M:::::::::MEE::::::EEEEEEEEE::::ES:::::S SSSSSSSII::::::IIS:::::S SSSSSSS
G:::::G GGGGGG E:::::E EEEEEEM::::::::::M M::::::::::M E:::::E EEEEEES:::::S I::::I S:::::S
G:::::G E:::::E M:::::::::::M M:::::::::::M E:::::E S:::::S I::::I S:::::S
G:::::G E::::::EEEEEEEEEE M:::::::M::::M M::::M:::::::M E::::::EEEEEEEEEE S::::SSSS I::::I S::::SSSS
G:::::G GGGGGGGGGG E:::::::::::::::E M::::::M M::::M M::::M M::::::M E:::::::::::::::E SS::::::SSSSS I::::I SS::::::SSSSS
G:::::G G::::::::G E:::::::::::::::E M::::::M M::::M::::M M::::::M E:::::::::::::::E SSS::::::::SS I::::I SSS::::::::SS
G:::::G GGGGG::::G E::::::EEEEEEEEEE M::::::M M:::::::M M::::::M E::::::EEEEEEEEEE SSSSSS::::S I::::I SSSSSS::::S
G:::::G G::::G E:::::E M::::::M M:::::M M::::::M E:::::E S:::::S I::::I S:::::S
G:::::G G::::G E:::::E EEEEEEM::::::M MMMMM M::::::M E:::::E EEEEEE S:::::S I::::I S:::::S
G:::::GGGGGGGG::::GEE::::::EEEEEEEE:::::EM::::::M M::::::MEE::::::EEEEEEEE:::::ESSSSSSS S:::::SII::::::IISSSSSSS S:::::S
GG:::::::::::::::GE::::::::::::::::::::EM::::::M M::::::ME::::::::::::::::::::ES::::::SSSSSS:::::SI::::::::IS::::::SSSSSS:::::S
GGG::::::GGG:::GE::::::::::::::::::::EM::::::M M::::::ME::::::::::::::::::::ES:::::::::::::::SS I::::::::IS:::::::::::::::SS
GGGGGG GGGGEEEEEEEEEEEEEEEEEEEEEEMMMMMMMM MMMMMMMMEEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS IIIIIIIIII SSSSSSSSSSSSSSS
BY JOHNATHAN SCHULTZ
*/
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*
* [WARNING]
* ====
* Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
* unusable.
* See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
*
* In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
* array of EnumerableSet.
* ====
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping(bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) {
// Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
if (lastIndex != toDeleteIndex) {
bytes32 lastValue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastValue;
// Update the index for the moved value
set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
return set._values[index];
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function _values(Set storage set) private view returns (bytes32[] memory) {
return set._values;
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
bytes32[] memory store = _values(set._inner);
bytes32[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(AddressSet storage set) internal view returns (address[] memory) {
bytes32[] memory store = _values(set._inner);
address[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(UintSet storage set) internal view returns (uint256[] memory) {
bytes32[] memory store = _values(set._inner);
uint256[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
}
// File: contracts/IOperatorFilterRegistry.sol
pragma solidity ^0.8.13;
interface IOperatorFilterRegistry {
function isOperatorAllowed(address registrant, address operator) external returns (bool);
function register(address registrant) external;
function registerAndSubscribe(address registrant, address subscription) external;
function registerAndCopyEntries(address registrant, address registrantToCopy) external;
function updateOperator(address registrant, address operator, bool filtered) external;
function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
function subscribe(address registrant, address registrantToSubscribe) external;
function unsubscribe(address registrant, bool copyExistingEntries) external;
function subscriptionOf(address addr) external returns (address registrant);
function subscribers(address registrant) external returns (address[] memory);
function subscriberAt(address registrant, uint256 index) external returns (address);
function copyEntriesOf(address registrant, address registrantToCopy) external;
function isOperatorFiltered(address registrant, address operator) external returns (bool);
function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
function filteredOperators(address addr) external returns (address[] memory);
function filteredCodeHashes(address addr) external returns (bytes32[] memory);
function filteredOperatorAt(address registrant, uint256 index) external returns (address);
function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
function isRegistered(address addr) external returns (bool);
function codeHashOf(address addr) external returns (bytes32);
}
// File: contracts/OperatorFilterer.sol
pragma solidity ^0.8.13;
/**
* @title OperatorFilterer
* @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
* registrant's entries in the OperatorFilterRegistry.
* @dev This smart contract is meant to be inherited by token contracts so they can use the following:
* - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
* - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
*/
abstract contract OperatorFilterer {
error OperatorNotAllowed(address operator);
IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);
constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
// If an inheriting token contract is deployed to a network without the registry deployed, the modifier
// will not revert, but the contract will need to be registered with the registry once it is deployed in
// order for the modifier to filter addresses.
if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
if (subscribe) {
OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
} else {
if (subscriptionOrRegistrantToCopy != address(0)) {
OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
} else {
OPERATOR_FILTER_REGISTRY.register(address(this));
}
}
}
}
modifier onlyAllowedOperator(address from) virtual {
// Allow spending tokens from addresses with balance
// Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
// from an EOA.
if (from != msg.sender) {
_checkFilterOperator(msg.sender);
}
_;
}
modifier onlyAllowedOperatorApproval(address operator) virtual {
_checkFilterOperator(operator);
_;
}
function _checkFilterOperator(address operator) internal virtual {
// Check registry code length to facilitate testing in environments without a deployed registry.
if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
revert OperatorNotAllowed(operator);
}
}
}
}
// File: contracts/DefaultOperatorFilterer.sol
pragma solidity ^0.8.13;
contract DefaultOperatorFilterer is OperatorFilterer {
address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);
constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Tree proofs.
*
* The tree and the proofs can be generated using our
* https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
* You will find a quickstart guide in the readme.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
* OpenZeppelin's JavaScript library generates merkle trees that are safe
* against this attack out of the box.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Calldata version of {verify}
*
* _Available since v4.7._
*/
function verifyCalldata(
bytes32[] calldata proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProofCalldata(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Calldata version of {processProof}
*
* _Available since v4.7._
*/
function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
*
* _Available since v4.7._
*/
function multiProofVerify(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProof(proof, proofFlags, leaves) == root;
}
/**
* @dev Calldata version of {multiProofVerify}
*
* CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
*
* _Available since v4.7._
*/
function multiProofVerifyCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProofCalldata(proof, proofFlags, leaves) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
* proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
* leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
* respectively.
*
* CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
* is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
* tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
*
* _Available since v4.7._
*/
function processMultiProof(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Calldata version of {processMultiProof}.
*
* CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
*
* _Available since v4.7._
*/
function processMultiProofCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}
// File: @openzeppelin/contracts/utils/math/Math.sol
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator
) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1);
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator,
Rounding rounding
) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10**64) {
value /= 10**64;
result += 64;
}
if (value >= 10**32) {
value /= 10**32;
result += 32;
}
if (value >= 10**16) {
value /= 10**16;
result += 16;
}
if (value >= 10**8) {
value /= 10**8;
result += 8;
}
if (value >= 10**4) {
value /= 10**4;
result += 4;
}
if (value >= 10**2) {
value /= 10**2;
result += 2;
}
if (value >= 10**1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
}
}
}
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _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) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @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] = _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);
}
}
// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV // Deprecated in v4.8
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
...
// [truncated — 122894 bytes total]
Read Contract
OPERATOR_FILTER_REGISTRY 0x41f43434 → address
_addressData 0xb07eb4a3 → uint64, uint64, uint64, uint64
balanceOf 0x70a08231 → uint256
calculateRoyalty 0xa2e69613 → uint256
contractURI 0xe8a3d485 → string
cost 0x13faede6 → uint256
currentIndex 0x26987b60 → uint256
currentMintTier 0xe9520f8a → uint8
getApproved 0x081812fc → address
hiddenMetadataUri 0xa45ba8e7 → string
isApprovedForAll 0xe985e9c5 → bool
maxMintAmountPerTx 0x94354fd0 → uint256
maxSupply 0xd5abeb01 → uint256
merkleRootValue 0x4c501243 → bytes32, uint256, uint256, bool
mints 0x5660f851 → uint8
name 0x06fdde03 → string
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
paused 0x5c975abb → bool
revealed 0x51830227 → bool
royaltyInfo 0x2a55205a → address, uint256
signatures 0xd31e22de → uint256
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256
uriPrefix 0x62b99ad4 → string
uriSuffix 0x5503a0e8 → string
walletOfOwner 0x438b6300 → uint256[]
Write Contract 20 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address operator
uint256 tokenId
mint 0x5ea08370
tuple _voucher
uint256 _mintQuantity
bytes _signature
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
setContractTokenURI 0x03a6735a
string _contractURI
setCost 0x7696e088
uint256 _cost
uint256 _maxMintAmountPerTx
setHiddenMetadataUri 0x4fdd43cb
string _hiddenMetadataUri
setMerkleRoot 0x68209a62
bytes32 _merkleRoot
uint8 _tier
uint256 _mintPrice
uint256 _maxMintAmountPerTx
bool _whitelistMintEnabled
setPaused 0x16c38b3c
bool _state
setRevealed 0xe0a80853
bool _state
setRoyaltyInfo 0x02fa7c47
address _receiver
uint96 _royaltyFeesInBips
setUriPrefix 0x7ec4a659
string _uriPrefix
setUriSuffix 0x16ba10e0
string _uriSuffix
setWhitelistMintEnabled 0x1a573d77
uint8 _tier
bool _state
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
whitelistMint 0x86f17ed1
uint8 _tier
tuple _voucher
uint256 _mintQuantity
bytes32[] _merkleProof
bytes _signature
withdraw 0x3ccfd60b
No parameters
Recent Transactions
Transaction index is loading. Only unfinalized transactions are shown while the index starts up.