Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xE196223704dEF1e8E64D3E0Aad3D45B18F313BA2
Balance 0 ETH
Nonce 1
Code Size 23761 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

23761 bytes
0x6080604052600436106102e45760003560e01c80637263cfe211610190578063b616d64c116100dc578063dbddb26a11610095578063eb8d24441161006f578063eb8d244414610b1f578063efef39a114610b4a578063f032554914610b66578063f2fde38b14610b7d576102e4565b8063dbddb26a14610a8c578063e6a5931e14610ab7578063e985e9c514610ae2576102e4565b8063b616d64c1461098b578063b88d4fde146109b6578063c5f9d931146109df578063c87b56dd146109fb578063cc47a40b14610a38578063d75e611014610a61576102e4565b8063973ea9d5116101495780639c3e72bd116101235780639c3e72bd146108e3578063a22cb4651461090e578063a51312c814610937578063b405522d14610960576102e4565b8063973ea9d51461086257806397b564891461088d57806398ca4b9a146108b8576102e4565b80637263cfe214610750578063736cf799146107795780638462151c146107a45780638d859f3e146107e15780638da5cb5b1461080c57806395d89b4114610837576102e4565b80632f745c591161024f5780634811c070116102085780636352211e116101e25780636352211e1461069657806369713163146106d357806370a08231146106fc578063715018a614610739576102e4565b80634811c070146106055780634f6ccce71461063057806355f804b31461066d576102e4565b80632f745c591461050b57806334918dfd146105485780633a0658921461055f5780633ccfd60b1461059c57806342842e0e146105b357806347540b31146105dc576102e4565b806318160ddd116102a157806318160ddd1461040b5780631a5722b2146104365780631c0a258e146104615780631f0234d81461048c57806323b872dd146104b75780632889e822146104e0576102e4565b806301c2dcf7146102e957806301ffc9a71461031457806306fdde0314610351578063081812fc1461037c578063095ea7b3146103b957806310969523146103e2575b600080fd5b3480156102f557600080fd5b506102fe610ba6565b60405161030b9190614af1565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190614303565b610c34565b6040516103489190614ad6565b60405180910390f35b34801561035d57600080fd5b50610366610cae565b6040516103739190614af1565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e91906143a6565b610d40565b6040516103b09190614a4d565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614276565b610dc5565b005b3480156103ee57600080fd5b506104096004803603810190610404919061435d565b610edd565b005b34801561041757600080fd5b50610420610f73565b60405161042d9190614f73565b60405180910390f35b34801561044257600080fd5b5061044b610f80565b6040516104589190614ad6565b60405180910390f35b34801561046d57600080fd5b50610476610f93565b6040516104839190614f73565b60405180910390f35b34801561049857600080fd5b506104a1610f98565b6040516104ae9190614ad6565b60405180910390f35b3480156104c357600080fd5b506104de60048036038101906104d99190614160565b610fab565b005b3480156104ec57600080fd5b506104f561100b565b6040516105029190614a4d565b60405180910390f35b34801561051757600080fd5b50610532600480360381019061052d9190614276565b611031565b60405161053f9190614f73565b60405180910390f35b34801561055457600080fd5b5061055d6110d6565b005b34801561056b57600080fd5b50610586600480360381019061058191906140a0565b61117e565b6040516105939190614ad6565b60405180910390f35b3480156105a857600080fd5b506105b16111d4565b005b3480156105bf57600080fd5b506105da60048036038101906105d59190614160565b611346565b005b3480156105e857600080fd5b5061060360048036038101906105fe919061410d565b611366565b005b34801561061157600080fd5b5061061a6114aa565b6040516106279190614a4d565b60405180910390f35b34801561063c57600080fd5b50610657600480360381019061065291906143a6565b6114d0565b6040516106649190614f73565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f919061435d565b611541565b005b3480156106a257600080fd5b506106bd60048036038101906106b891906143a6565b6115d7565b6040516106ca9190614a4d565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f591906143a6565b611689565b005b34801561070857600080fd5b50610723600480360381019061071e91906140a0565b61170f565b6040516107309190614f73565b60405180910390f35b34801561074557600080fd5b5061074e6117c7565b005b34801561075c57600080fd5b50610777600480360381019061077291906142b6565b61184f565b005b34801561078557600080fd5b5061078e611ae5565b60405161079b9190614f73565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c691906140a0565b611aeb565b6040516107d89190614ab4565b60405180910390f35b3480156107ed57600080fd5b506107f6611bf5565b6040516108039190614f73565b60405180910390f35b34801561081857600080fd5b50610821611c00565b60405161082e9190614a4d565b60405180910390f35b34801561084357600080fd5b5061084c611c29565b6040516108599190614af1565b60405180910390f35b34801561086e57600080fd5b50610877611cbb565b6040516108849190614a4d565b60405180910390f35b34801561089957600080fd5b506108a2611ce1565b6040516108af9190614f73565b60405180910390f35b3480156108c457600080fd5b506108cd611ce6565b6040516108da9190614f73565b60405180910390f35b3480156108ef57600080fd5b506108f8611ceb565b6040516109059190614af1565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190614236565b611d79565b005b34801561094357600080fd5b5061095e600480360381019061095991906142b6565b611efa565b005b34801561096c57600080fd5b506109756120b2565b6040516109829190614f73565b60405180910390f35b34801561099757600080fd5b506109a06120b7565b6040516109ad9190614f73565b60405180910390f35b3480156109c257600080fd5b506109dd60048036038101906109d891906141b3565b6120bd565b005b6109f960048036038101906109f491906143a6565b61211f565b005b348015610a0757600080fd5b50610a226004803603810190610a1d91906143a6565b6124d7565b604051610a2f9190614af1565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a9190614276565b61257e565b005b348015610a6d57600080fd5b50610a76612701565b604051610a839190614f73565b60405180910390f35b348015610a9857600080fd5b50610aa1612706565b604051610aae9190614af1565b60405180910390f35b348015610ac357600080fd5b50610acc612794565b604051610ad99190614f73565b60405180910390f35b348015610aee57600080fd5b50610b096004803603810190610b0491906140cd565b61279a565b604051610b169190614ad6565b60405180910390f35b348015610b2b57600080fd5b50610b3461282e565b604051610b419190614ad6565b60405180910390f35b610b646004803603810190610b5f91906143a6565b612841565b005b348015610b7257600080fd5b50610b7b612aef565b005b348015610b8957600080fd5b50610ba46004803603810190610b9f91906140a0565b612b97565b005b600c8054610bb390615267565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdf90615267565b8015610c2c5780601f10610c0157610100808354040283529160200191610c2c565b820191906000526020600020905b815481529060010190602001808311610c0f57829003601f168201915b505050505081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ca75750610ca682612c8f565b5b9050919050565b606060018054610cbd90615267565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce990615267565b8015610d365780601f10610d0b57610100808354040283529160200191610d36565b820191906000526020600020905b815481529060010190602001808311610d1957829003601f168201915b5050505050905090565b6000610d4b82612d71565b610d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8190614d73565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dd0826115d7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890614e53565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e60612ddd565b73ffffffffffffffffffffffffffffffffffffffff161480610e8f5750610e8e81610e89612ddd565b61279a565b5b610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590614c93565b60405180910390fd5b610ed88383612de5565b505050565b610ee5612ddd565b73ffffffffffffffffffffffffffffffffffffffff16610f03611c00565b73ffffffffffffffffffffffffffffffffffffffff1614610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090614d93565b60405180910390fd5b80600c9080519060200190610f6f929190613e5e565b5050565b6000600980549050905090565b601360029054906101000a900460ff1681565b600581565b601360019054906101000a900460ff1681565b610fbc610fb6612ddd565b82612e9e565b610ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff290614e93565b60405180910390fd5b611006838383612f7c565b505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061103c8361170f565b821061107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107490614b33565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110de612ddd565b73ffffffffffffffffffffffffffffffffffffffff166110fc611c00565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614d93565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6111dc612ddd565b73ffffffffffffffffffffffffffffffffffffffff166111fa611c00565b73ffffffffffffffffffffffffffffffffffffffff1614611250576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124790614d93565b60405180910390fd5b6000479050611299601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600b8461128a9190615123565b61129491906150f2565b6131d8565b6112dd601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660646005846112ce9190615123565b6112d891906150f2565b6131d8565b611321601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660646003846113129190615123565b61131c91906150f2565b6131d8565b6113433360646051846113349190615123565b61133e91906150f2565b6131d8565b50565b611361838383604051806020016040528060008152506120bd565b505050565b61136e612ddd565b73ffffffffffffffffffffffffffffffffffffffff1661138c611c00565b73ffffffffffffffffffffffffffffffffffffffff16146113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990614d93565b60405180910390fd5b82601360036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006114da610f73565b821061151b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151290614eb3565b60405180910390fd5b6009828154811061152f5761152e615400565b5b90600052602060002001549050919050565b611549612ddd565b73ffffffffffffffffffffffffffffffffffffffff16611567611c00565b73ffffffffffffffffffffffffffffffffffffffff16146115bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b490614d93565b60405180910390fd5b80600e90805190602001906115d3929190613e5e565b5050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167790614cf3565b60405180910390fd5b80915050919050565b611691612ddd565b73ffffffffffffffffffffffffffffffffffffffff166116af611c00565b73ffffffffffffffffffffffffffffffffffffffff1614611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90614d93565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614cd3565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117cf612ddd565b73ffffffffffffffffffffffffffffffffffffffff166117ed611c00565b73ffffffffffffffffffffffffffffffffffffffff1614611843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183a90614d93565b60405180910390fd5b61184d600061328f565b565b611857612ddd565b73ffffffffffffffffffffffffffffffffffffffff16611875611c00565b73ffffffffffffffffffffffffffffffffffffffff16146118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c290614d93565b60405180910390fd5b60005b82829050811015611ae057600073ffffffffffffffffffffffffffffffffffffffff1683838381811061190457611903615400565b5b905060200201602081019061191991906140a0565b73ffffffffffffffffffffffffffffffffffffffff161415611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196790614db3565b60405180910390fd5b60016011600085858581811061198957611988615400565b5b905060200201602081019061199e91906140a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060126000858585818110611a0857611a07615400565b5b9050602002016020810190611a1d91906140a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611a64576000611acc565b60126000848484818110611a7b57611a7a615400565b5b9050602002016020810190611a9091906140a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b508080611ad8906152ca565b9150506118ce565b505050565b600f5481565b60606000611af88361170f565b90506000811415611b5557600067ffffffffffffffff811115611b1e57611b1d61542f565b5b604051908082528060200260200182016040528015611b4c5781602001602082028036833780820191505090505b50915050611bf0565b60008167ffffffffffffffff811115611b7157611b7061542f565b5b604051908082528060200260200182016040528015611b9f5781602001602082028036833780820191505090505b50905060005b82811015611be957611bb78582611031565b828281518110611bca57611bc9615400565b5b6020026020010181815250508080611be1906152ca565b915050611ba5565b8193505050505b919050565b6661b31ab352c00081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611c3890615267565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6490615267565b8015611cb15780601f10611c8657610100808354040283529160200191611cb1565b820191906000526020600020905b815481529060010190602001808311611c9457829003601f168201915b5050505050905090565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600581565b600381565b600d8054611cf890615267565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2490615267565b8015611d715780601f10611d4657610100808354040283529160200191611d71565b820191906000526020600020905b815481529060010190602001808311611d5457829003601f168201915b505050505081565b611d81612ddd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de690614bf3565b60405180910390fd5b8060066000611dfc612ddd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ea9612ddd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611eee9190614ad6565b60405180910390a35050565b611f02612ddd565b73ffffffffffffffffffffffffffffffffffffffff16611f20611c00565b73ffffffffffffffffffffffffffffffffffffffff1614611f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6d90614d93565b60405180910390fd5b60005b828290508110156120ad57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611faf57611fae615400565b5b9050602002016020810190611fc491906140a0565b73ffffffffffffffffffffffffffffffffffffffff16141561201b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201290614db3565b60405180910390fd5b60006011600085858581811061203457612033615400565b5b905060200201602081019061204991906140a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806120a5906152ca565b915050611f79565b505050565b600b81565b6122b881565b6120ce6120c8612ddd565b83612e9e565b61210d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210490614e93565b60405180910390fd5b61211984848484613353565b50505050565b6002600b541415612165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c90614f13565b60405180910390fd5b6002600b81905550601360009054906101000a900460ff16156121bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b490614dd3565b60405180910390fd5b601360019054906101000a900460ff1661220c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220390614ed3565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f90614b13565b60405180910390fd5b6122b86122b5826122a7610f73565b6133af90919063ffffffff16565b11156122f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ed90614d13565b60405180910390fd5b600581111561233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190614f53565b60405180910390fd5b600581601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612387919061509c565b11156123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf90614ef3565b60405180910390fd5b34816661b31ab352c0006123dc9190615123565b111561241d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241490614c53565b60405180910390fd5b60005b818110156124cb576122b860105410156124b8576000601054905060016010600082825461244e919061509c565b925050819055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124a5919061509c565b925050819055506124b633826133c5565b505b80806124c3906152ca565b915050612420565b506001600b8190555050565b60606124e282612d71565b612521576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251890614e13565b60405180910390fd5b600061252b6133e3565b9050600081511161254b5760405180602001604052806000815250612576565b8061255584613475565b604051602001612566929190614a14565b6040516020818303038152906040525b915050919050565b612586612ddd565b73ffffffffffffffffffffffffffffffffffffffff166125a4611c00565b73ffffffffffffffffffffffffffffffffffffffff16146125fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f190614d93565b60405180910390fd5b60008111801561260c5750600f548111155b61264b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264290614e33565b60405180910390fd5b6122b8612656610f73565b1115612697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268e90614f33565b60405180910390fd5b60005b818110156126e157600060105490506001601060008282546126bc919061509c565b925050819055506126cd84826133c5565b5080806126d9906152ca565b91505061269a565b506126f781600f546135d690919063ffffffff16565b600f819055505050565b601481565b600e805461271390615267565b80601f016020809104026020016040519081016040528092919081815260200182805461273f90615267565b801561278c5780601f106127615761010080835404028352916020019161278c565b820191906000526020600020905b81548152906001019060200180831161276f57829003601f168201915b505050505081565b60105481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601360009054906101000a900460ff1681565b6002600b541415612887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287e90614f13565b60405180910390fd5b6002600b81905550601360009054906101000a900460ff166128de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d590614d53565b60405180910390fd5b601360019054906101000a900460ff161561292e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292590614cb3565b60405180910390fd5b6122b861294b8261293d610f73565b6133af90919063ffffffff16565b111561298c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298390614d13565b60405180910390fd5b60008111801561299d575060148111155b6129dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d390614bb3565b60405180910390fd5b6129f6816661b31ab352c0006135ec90919063ffffffff16565b341015612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90614c33565b60405180910390fd5b6661b31ab352c0008134612a4c91906150f2565b14612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390614c13565b60405180910390fd5b60005b81811015612ae3576122b86010541015612ad05760006010549050600160106000828254612abd919061509c565b92505081905550612ace33826133c5565b505b8080612adb906152ca565b915050612a8f565b506001600b8190555050565b612af7612ddd565b73ffffffffffffffffffffffffffffffffffffffff16612b15611c00565b73ffffffffffffffffffffffffffffffffffffffff1614612b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6290614d93565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b612b9f612ddd565b73ffffffffffffffffffffffffffffffffffffffff16612bbd611c00565b73ffffffffffffffffffffffffffffffffffffffff1614612c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a90614d93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7a90614b73565b60405180910390fd5b612c8c8161328f565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d5a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d6a5750612d6982613602565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612e58836115d7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612ea982612d71565b612ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edf90614c73565b60405180910390fd5b6000612ef3836115d7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f6257508373ffffffffffffffffffffffffffffffffffffffff16612f4a84610d40565b73ffffffffffffffffffffffffffffffffffffffff16145b80612f735750612f72818561279a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612f9c826115d7565b73ffffffffffffffffffffffffffffffffffffffff1614612ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe990614df3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305990614bd3565b60405180910390fd5b61306d83838361366c565b613078600082612de5565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130c8919061517d565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461311f919061509c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082905060008173ffffffffffffffffffffffffffffffffffffffff168360405161320390614a38565b60006040518083038185875af1925050503d8060008114613240576040519150601f19603f3d011682016040523d82523d6000602084013e613245565b606091505b5050905080613289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328090614e73565b60405180910390fd5b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61335e848484612f7c565b61336a84848484613780565b6133a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a090614b53565b60405180910390fd5b50505050565b600081836133bd919061509c565b905092915050565b6133df828260405180602001604052806000815250613917565b5050565b6060600e80546133f290615267565b80601f016020809104026020016040519081016040528092919081815260200182805461341e90615267565b801561346b5780601f106134405761010080835404028352916020019161346b565b820191906000526020600020905b81548152906001019060200180831161344e57829003601f168201915b5050505050905090565b606060008214156134bd576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135d1565b600082905060005b600082146134ef5780806134d8906152ca565b915050600a826134e891906150f2565b91506134c5565b60008167ffffffffffffffff81111561350b5761350a61542f565b5b6040519080825280601f01601f19166020018201604052801561353d5781602001600182028036833780820191505090505b5090505b600085146135ca57600182613556919061517d565b9150600a856135659190615313565b6030613571919061509c565b60f81b81838151811061358757613586615400565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135c391906150f2565b9450613541565b8093505050505b919050565b600081836135e4919061517d565b905092915050565b600081836135fa9190615123565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613677838383613972565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136ba576136b581613977565b6136f9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146136f8576136f783826139c0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561373c5761373781613b2d565b61377b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461377a576137798282613bfe565b5b5b505050565b60006137a18473ffffffffffffffffffffffffffffffffffffffff16613c7d565b1561390a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026137ca612ddd565b8786866040518563ffffffff1660e01b81526004016137ec9493929190614a68565b602060405180830381600087803b15801561380657600080fd5b505af192505050801561383757506040513d601f19601f820116820180604052508101906138349190614330565b60015b6138ba573d8060008114613867576040519150601f19603f3d011682016040523d82523d6000602084013e61386c565b606091505b506000815114156138b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138a990614b53565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061390f565b600190505b949350505050565b6139218383613c90565b61392e6000848484613780565b61396d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396490614b53565b60405180910390fd5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139cd8461170f565b6139d7919061517d565b9050600060086000848152602001908152602001600020549050818114613abc576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613b41919061517d565b90506000600a6000848152602001908152602001600020549050600060098381548110613b7157613b70615400565b5b906000526020600020015490508060098381548110613b9357613b92615400565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613be257613be16153d1565b5b6001900381819060005260206000200160009055905550505050565b6000613c098361170f565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cf790614d33565b60405180910390fd5b613d0981612d71565b15613d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d4090614b93565b60405180910390fd5b613d556000838361366c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613da5919061509c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613e6a90615267565b90600052602060002090601f016020900481019282613e8c5760008555613ed3565b82601f10613ea557805160ff1916838001178555613ed3565b82800160010185558215613ed3579182015b82811115613ed2578251825591602001919060010190613eb7565b5b509050613ee09190613ee4565b5090565b5b80821115613efd576000816000905550600101613ee5565b5090565b6000613f14613f0f84614fb3565b614f8e565b905082815260208101848484011115613f3057613f2f61546d565b5b613f3b848285615225565b509392505050565b6000613f56613f5184614fe4565b614f8e565b905082815260208101848484011115613f7257613f7161546d565b5b613f7d848285615225565b509392505050565b600081359050613f9481615c3f565b92915050565b60008083601f840112613fb057613faf615463565b5b8235905067ffffffffffffffff811115613fcd57613fcc61545e565b5b602083019150836020820283011115613fe957613fe8615468565b5b9250929050565b600081359050613fff81615c56565b92915050565b60008135905061401481615c6d565b92915050565b60008151905061402981615c6d565b92915050565b600082601f83011261404457614043615463565b5b8135614054848260208601613f01565b91505092915050565b600082601f83011261407257614071615463565b5b8135614082848260208601613f43565b91505092915050565b60008135905061409a81615c84565b92915050565b6000602082840312156140b6576140b5615477565b5b60006140c484828501613f85565b91505092915050565b600080604083850312156140e4576140e3615477565b5b60006140f285828601613f85565b925050602061410385828601613f85565b9150509250929050565b60008060006060848603121561412657614125615477565b5b600061413486828701613f85565b935050602061414586828701613f85565b925050604061415686828701613f85565b9150509250925092565b60008060006060848603121561417957614178615477565b5b600061418786828701613f85565b935050602061419886828701613f85565b92505060406141a98682870161408b565b9150509250925092565b600080600080608085870312156141cd576141cc615477565b5b60006141db87828801613f85565b94505060206141ec87828801613f85565b93505060406141fd8782880161408b565b925050606085013567ffffffffffffffff81111561421e5761421d615472565b5b61422a8782880161402f565b91505092959194509250565b6000806040838503121561424d5761424c615477565b5b600061425b85828601613f85565b925050602061426c85828601613ff0565b9150509250929050565b6000806040838503121561428d5761428c615477565b5b600061429b85828601613f85565b92505060206142ac8582860161408b565b9150509250929050565b600080602083850312156142cd576142cc615477565b5b600083013567ffffffffffffffff8111156142eb576142ea615472565b5b6142f785828601613f9a565b92509250509250929050565b60006020828403121561431957614318615477565b5b600061432784828501614005565b91505092915050565b60006020828403121561434657614345615477565b5b60006143548482850161401a565b91505092915050565b60006020828403121561437357614372615477565b5b600082013567ffffffffffffffff81111561439157614390615472565b5b61439d8482850161405d565b91505092915050565b6000602082840312156143bc576143bb615477565b5b60006143ca8482850161408b565b91505092915050565b60006143df83836149f6565b60208301905092915050565b6143f4816151b1565b82525050565b600061440582615025565b61440f8185615053565b935061441a83615015565b8060005b8381101561444b57815161443288826143d3565b975061443d83615046565b92505060018101905061441e565b5085935050505092915050565b614461816151c3565b82525050565b600061447282615030565b61447c8185615064565b935061448c818560208601615234565b6144958161547c565b840191505092915050565b60006144ab8261503b565b6144b58185615080565b93506144c5818560208601615234565b6144ce8161547c565b840191505092915050565b60006144e48261503b565b6144ee8185615091565b93506144fe818560208601615234565b80840191505092915050565b6000614517601d83615080565b91506145228261548d565b602082019050919050565b600061453a602b83615080565b9150614545826154b6565b604082019050919050565b600061455d603283615080565b915061456882615505565b604082019050919050565b6000614580602683615080565b915061458b82615554565b604082019050919050565b60006145a3601c83615080565b91506145ae826155a3565b602082019050919050565b60006145c6601b83615080565b91506145d1826155cc565b602082019050919050565b60006145e9602483615080565b91506145f4826155f5565b604082019050919050565b600061460c601983615080565b915061461782615644565b602082019050919050565b600061462f601683615080565b915061463a8261566d565b602082019050919050565b6000614652601f83615080565b915061465d82615696565b602082019050919050565b6000614675601c83615080565b9150614680826156bf565b602082019050919050565b6000614698602c83615080565b91506146a3826156e8565b604082019050919050565b60006146bb603883615080565b91506146c682615737565b604082019050919050565b60006146de601283615080565b91506146e982615786565b602082019050919050565b6000614701602a83615080565b915061470c826157af565b604082019050919050565b6000614724602983615080565b915061472f826157fe565b604082019050919050565b6000614747602083615080565b91506147528261584d565b602082019050919050565b600061476a602083615080565b915061477582615876565b602082019050919050565b600061478d601683615080565b91506147988261589f565b602082019050919050565b60006147b0602c83615080565b91506147bb826158c8565b604082019050919050565b60006147d3602083615080565b91506147de82615917565b602082019050919050565b60006147f6601a83615080565b915061480182615940565b602082019050919050565b6000614819601283615080565b915061482482615969565b602082019050919050565b600061483c602983615080565b915061484782615992565b604082019050919050565b600061485f602f83615080565b915061486a826159e1565b604082019050919050565b6000614882601783615080565b915061488d82615a30565b602082019050919050565b60006148a5602183615080565b91506148b082615a59565b604082019050919050565b60006148c8600083615075565b91506148d382615aa8565b600082019050919050565b60006148eb601083615080565b91506148f682615aab565b602082019050919050565b600061490e603183615080565b915061491982615ad4565b604082019050919050565b6000614931602c83615080565b915061493c82615b23565b604082019050919050565b6000614954601683615080565b915061495f82615b72565b602082019050919050565b6000614977601c83615080565b915061498282615b9b565b602082019050919050565b600061499a601f83615080565b91506149a582615bc4565b602082019050919050565b60006149bd601b83615080565b91506149c882615bed565b602082019050919050565b60006149e0602083615080565b91506149eb82615c16565b602082019050919050565b6149ff8161521b565b82525050565b614a0e8161521b565b82525050565b6000614a2082856144d9565b9150614a2c82846144d9565b91508190509392505050565b6000614a43826148bb565b9150819050919050565b6000602082019050614a6260008301846143eb565b92915050565b6000608082019050614a7d60008301876143eb565b614a8a60208301866143eb565b614a976040830185614a05565b8181036060830152614aa98184614467565b905095945050505050565b60006020820190508181036000830152614ace81846143fa565b905092915050565b6000602082019050614aeb6000830184614458565b92915050565b60006020820190508181036000830152614b0b81846144a0565b905092915050565b60006020820190508181036000830152614b2c8161450a565b9050919050565b60006020820190508181036000830152614b4c8161452d565b9050919050565b60006020820190508181036000830152614b6c81614550565b9050919050565b60006020820190508181036000830152614b8c81614573565b9050919050565b60006020820190508181036000830152614bac81614596565b9050919050565b60006020820190508181036000830152614bcc816145b9565b9050919050565b60006020820190508181036000830152614bec816145dc565b9050919050565b60006020820190508181036000830152614c0c816145ff565b9050919050565b60006020820190508181036000830152614c2c81614622565b9050919050565b60006020820190508181036000830152614c4c81614645565b9050919050565b60006020820190508181036000830152614c6c81614668565b9050919050565b60006020820190508181036000830152614c8c8161468b565b9050919050565b60006020820190508181036000830152614cac816146ae565b9050919050565b60006020820190508181036000830152614ccc816146d1565b9050919050565b60006020820190508181036000830152614cec816146f4565b9050919050565b60006020820190508181036000830152614d0c81614717565b9050919050565b60006020820190508181036000830152614d2c8161473a565b9050919050565b60006020820190508181036000830152614d4c8161475d565b9050919050565b60006020820190508181036000830152614d6c81614780565b9050919050565b60006020820190508181036000830152614d8c816147a3565b9050919050565b60006020820190508181036000830152614dac816147c6565b9050919050565b60006020820190508181036000830152614dcc816147e9565b9050919050565b60006020820190508181036000830152614dec8161480c565b9050919050565b60006020820190508181036000830152614e0c8161482f565b9050919050565b60006020820190508181036000830152614e2c81614852565b9050919050565b60006020820190508181036000830152614e4c81614875565b9050919050565b60006020820190508181036000830152614e6c81614898565b9050919050565b60006020820190508181036000830152614e8c816148de565b9050919050565b60006020820190508181036000830152614eac81614901565b9050919050565b60006020820190508181036000830152614ecc81614924565b9050919050565b60006020820190508181036000830152614eec81614947565b9050919050565b60006020820190508181036000830152614f0c8161496a565b9050919050565b60006020820190508181036000830152614f2c8161498d565b9050919050565b60006020820190508181036000830152614f4c816149b0565b9050919050565b60006020820190508181036000830152614f6c816149d3565b9050919050565b6000602082019050614f886000830184614a05565b92915050565b6000614f98614fa9565b9050614fa48282615299565b919050565b6000604051905090565b600067ffffffffffffffff821115614fce57614fcd61542f565b5b614fd78261547c565b9050602081019050919050565b600067ffffffffffffffff821115614fff57614ffe61542f565b5b6150088261547c565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150a78261521b565b91506150b28361521b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150e7576150e6615344565b5b828201905092915050565b60006150fd8261521b565b91506151088361521b565b92508261511857615117615373565b5b828204905092915050565b600061512e8261521b565b91506151398361521b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561517257615171615344565b5b828202905092915050565b60006151888261521b565b91506151938361521b565b9250828210156151a6576151a5615344565b5b828203905092915050565b60006151bc826151fb565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615252578082015181840152602081019050615237565b83811115615261576000848401525b50505050565b6000600282049050600182168061527f57607f821691505b60208210811415615293576152926153a2565b5b50919050565b6152a28261547c565b810181811067ffffffffffffffff821117156152c1576152c061542f565b5b80604052505050565b60006152d58261521b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561530857615307615344565b5b600182019050919050565b600061531e8261521b565b91506153298361521b565b92508261533957615338615373565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f596f7520617265206e6f74206f6e2074686520416c6c6f77204c697374000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f576f756c64206578636565642050555243484153455f4c494d49540000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d696e742076616c7565206973206e6f7420676f6f6400000000000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f45544820616d6f756e74206973206e6f742073756666696369656e7400000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f5072652073616c65206973206163746976650000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f436f6e7472616374206973206e6f742061637469766500000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e27742061646420746865206e756c6c2061646472657373000000000000600082015250565b7f436f6e7472616374206973206163746976650000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682072657365727665206c656674000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5072652053616c65206973206e6f742061637469766500000000000000000000600082015250565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f416c6c20746f6b656e732068617665206265656e206d696e7465640000000000600082015250565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e73600082015250565b615c48816151b1565b8114615c5357600080fd5b50565b615c5f816151c3565b8114615c6a57600080fd5b50565b615c76816151cf565b8114615c8157600080fd5b50565b615c8d8161521b565b8114615c9857600080fd5b5056fea2646970667358221220d4d9b6525b81bab37e299b4c1f94c8f3a07692ef92deede86e3c913eddf1fb9664736f6c63430008050033

Verified Source Code Partial Match

Compiler: v0.8.5+commit.a4f2e591 EVM: berlin Optimization: No
TheOddballClub.sol 2084 lines
/**
 *Submitted for verification at Etherscan.io on 2021-08-23
 */

// Sources flattened with hardhat v2.4.3 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT

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;
    }
}

// File @openzeppelin/contracts/access/[email protected]

pragma solidity ^0.8.0;

/**
 * @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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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"
        );
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File @openzeppelin/contracts/utils/math/[email protected]

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File @openzeppelin/contracts/utils/introspection/[email protected]

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);
}

// File @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;

/**
 * @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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId)
        external
        view
        returns (address operator);

    /**
     * @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 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);

    /**
     * @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;
}

// File @openzeppelin/contracts/token/ERC721/[email protected]

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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

/**
 * @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);
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @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);
    }
}

// File @openzeppelin/contracts/utils/introspection/[email protected]

pragma solidity ^0.8.0;

/**
 * @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;
    }
}

// File @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;

/**
 * @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: balance query for the zero address"
        );
        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: owner query for nonexistent token"
        );
        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)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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: transfer caller is not 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: transfer caller is not 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)
    {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, 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);
    }

    /**
     * @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);
    }

    /**
     * @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 of token that is not own"
        );
        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);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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 {
                    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 {}
}

// File @openzeppelin/contracts/security/[email protected]

pragma solidity ^0.8.0;

/**
 * @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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        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());
    }
}

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        external
        view
        returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < ERC721.balanceOf(owner),
            "ERC721Enumerable: owner index out of bounds"
        );
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override...

// [truncated — 66684 bytes total]

Read Contract

BASE_URI 0xdbddb26a → string
LICENSE_TEXT 0x9c3e72bd → string
MAX_ODDBALL 0xb616d64c → uint256
ODDBALL_PROVENANCE 0x01c2dcf7 → string
PRESALE_MAX_PURCHASE_LIMIT 0x97b56489 → uint256
PRICE 0x8d859f3e → uint256
PURCHASE_LIMIT 0xd75e6110 → uint256
TEAM_1_SELL_PERCENT 0xb405522d → uint256
TEAM_2_SELL_PERCENT 0x1c0a258e → uint256
TEAM_3_SELL_PERCENT 0x98ca4b9a → uint256
balanceOf 0x70a08231 → uint256
getApproved 0x081812fc → address
isApprovedForAll 0xe985e9c5 → bool
licenseLocked 0x1a5722b2 → bool
name 0x06fdde03 → string
oddballReserve 0x736cf799 → uint256
onAllowList 0x3a065892 → bool
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
preSaleIsActive 0x1f0234d8 → bool
saleIsActive 0xeb8d2444 → bool
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
team1Address 0x4811c070 → address
team2Address 0x973ea9d5 → address
team3Address 0x2889e822 → address
tokenByIndex 0x4f6ccce7 → uint256
tokenOfOwnerByIndex 0x2f745c59 → uint256
tokenURI 0xc87b56dd → string
tokensOfOwner 0x8462151c → uint256[]
totalPublicSupply 0xe6a5931e → uint256
totalSupply 0x18160ddd → uint256

Write Contract 19 functions

These functions modify contract state and require a wallet transaction to execute.

addToAllowList 0x7263cfe2
address[] addresses
approve 0x095ea7b3
address to
uint256 tokenId
flipPreSaleState 0xf0325549
No parameters
flipSaleState 0x34918dfd
No parameters
purchase 0xefef39a1
uint256 numberOfTokens
purchasePreSale 0xc5f9d931
uint256 numberOfTokens
removeFromAllowList 0xa51312c8
address[] addresses
renounceOwnership 0x715018a6
No parameters
reserve 0xcc47a40b
address _to
uint256 _reserveAmount
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes _data
setApprovalForAll 0xa22cb465
address operator
bool approved
setBaseURI 0x55f804b3
string baseURI_
setOddballReserve 0x69713163
uint256 reserveLimit
setProvenanceHash 0x10969523
string provenanceHash
setTeamAddress 0x47540b31
address _team1
address _team2
address _team3
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
withdraw 0x3ccfd60b
No parameters

Recent Transactions

No transactions found for this address