Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x9808226ED04e92F9380DA67C5606354FAe5891b0
Balance 0 ETH
Nonce 1
Code Size 24535 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

24535 bytes
0x6080604052600436106102725760003560e01c806395d89b411161014f578063cee06585116100c1578063f13c5cc21161007a578063f13c5cc214610967578063f2fde38b14610990578063f61a35f8146109b9578063f6f80f49146109e2578063f9f07810146109fe578063fcc8cd7c14610a2757610272565b8063cee065851461083d578063cf35bdd014610868578063d547cfb7146108ab578063d83a64c0146108d6578063e985e9c514610901578063ebbf104b1461093e57610272565b8063a929423d11610113578063a929423d1461072d578063ac43a3c814610758578063b0bdacc614610783578063b88d4fde146107ac578063c6650254146107d5578063c87b56dd1461080057610272565b806395d89b41146106475780639606d584146106725780639e7c1964146106b0578063a22cb465146106d9578063a54a72b71461070257610272565b806342842e0e116101e85780636352211e116101ac5780636352211e1461053757806370a0823114610574578063715018a6146105b15780637c0c83aa146105c85780638da5cb5b146105f15780638f9cef681461061c57610272565b806342842e0e1461046a5780634b0bddd214610493578063547520fe146104bc5780635fa28149146104e557806361d3891d1461050e57610272565b806318160ddd1161023a57806318160ddd1461036e57806323b872dd14610399578063276f0934146103c257806330176e13146103ff5780633ccfd60b146104285780634221e3e01461043f57610272565b806301ffc9a714610277578063050225ea146102b457806306fdde03146102dd578063081812fc14610308578063095ea7b314610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906145ad565b610a50565b6040516102ab9190614f38565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d6919061456d565b610b32565b005b3480156102e957600080fd5b506102f2610c9a565b6040516102ff9190614f92565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190614654565b610d2c565b60405161033c9190614eaf565b60405180910390f35b34801561035157600080fd5b5061036c6004803603810190610367919061456d565b610db1565b005b34801561037a57600080fd5b50610383610ec9565b6040516103909190615324565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb9190614457565b610ee0565b005b3480156103ce57600080fd5b506103e960048036038101906103e491906143ea565b610f40565b6040516103f69190614f16565b60405180910390f35b34801561040b57600080fd5b5061042660048036038101906104219190614607565b61118c565b005b34801561043457600080fd5b5061043d61121e565b005b34801561044b57600080fd5b506104546112ea565b6040516104619190615324565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190614457565b6112f0565b005b34801561049f57600080fd5b506104ba60048036038101906104b5919061452d565b611310565b005b3480156104c857600080fd5b506104e360048036038101906104de9190614654565b611435565b005b3480156104f157600080fd5b5061050c60048036038101906105079190614654565b61156b565b005b34801561051a57600080fd5b5061053560048036038101906105309190614654565b61164c565b005b34801561054357600080fd5b5061055e60048036038101906105599190614654565b611823565b60405161056b9190614eaf565b60405180910390f35b34801561058057600080fd5b5061059b600480360381019061059691906143ea565b6118d5565b6040516105a89190615324565b60405180910390f35b3480156105bd57600080fd5b506105c661198d565b005b3480156105d457600080fd5b506105ef60048036038101906105ea9190614654565b611a15565b005b3480156105fd57600080fd5b50610606611c69565b6040516106139190614eaf565b60405180910390f35b34801561062857600080fd5b50610631611c92565b60405161063e91906153b5565b60405180910390f35b34801561065357600080fd5b5061065c611ca5565b6040516106699190614f92565b60405180910390f35b34801561067e57600080fd5b5061069960048036038101906106949190614654565b611d37565b6040516106a79291906152f4565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d29190614654565b612005565b005b3480156106e557600080fd5b5061070060048036038101906106fb919061452d565b61213b565b005b34801561070e57600080fd5b506107176122bc565b6040516107249190614f53565b60405180910390f35b34801561073957600080fd5b506107426122e2565b60405161074f9190615324565b60405180910390f35b34801561076457600080fd5b5061076d6122e8565b60405161077a9190615324565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a591906143ea565b6122ee565b005b3480156107b857600080fd5b506107d360048036038101906107ce91906144aa565b612409565b005b3480156107e157600080fd5b506107ea61246b565b6040516107f79190615324565b60405180910390f35b34801561080c57600080fd5b5061082760048036038101906108229190614654565b612471565b6040516108349190614f92565b60405180910390f35b34801561084957600080fd5b50610852612518565b60405161085f9190615324565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190614654565b61251e565b6040516108a2979695949392919061533f565b60405180910390f35b3480156108b757600080fd5b506108c0612605565b6040516108cd9190614f92565b60405180910390f35b3480156108e257600080fd5b506108eb612693565b6040516108f891906153b5565b60405180910390f35b34801561090d57600080fd5b5061092860048036038101906109239190614417565b6126a6565b6040516109359190614f38565b60405180910390f35b34801561094a57600080fd5b5061096560048036038101906109609190614654565b61273a565b005b34801561097357600080fd5b5061098e60048036038101906109899190614607565b612870565b005b34801561099c57600080fd5b506109b760048036038101906109b291906143ea565b612b0b565b005b3480156109c557600080fd5b506109e060048036038101906109db91906146ae565b612c03565b005b6109fc60048036038101906109f79190614654565b612f03565b005b348015610a0a57600080fd5b50610a256004803603810190610a2091906146ae565b613072565b005b348015610a3357600080fd5b50610a4e6004803603810190610a49919061470e565b6131ea565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b2b5750610b2a82613386565b5b9050919050565b610b3a6133f0565b73ffffffffffffffffffffffffffffffffffffffff16610b58611c69565b73ffffffffffffffffffffffffffffffffffffffff1614610bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba590615214565b60405180910390fd5b8060055460025482610bc091906154b3565b1115610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf8906151d4565b60405180910390fd5b60005b82811015610c2857610c15846133f8565b8080610c2090615712565b915050610c04565b508273ffffffffffffffffffffffffffffffffffffffff16610c486133f0565b73ffffffffffffffffffffffffffffffffffffffff167f4abe537933cf6821c78fd52b40560aa40ad6f997168b53f9ea55a9b34420069b84604051610c8d9190615324565b60405180910390a3505050565b606060088054610ca9906156af565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd5906156af565b8015610d225780601f10610cf757610100808354040283529160200191610d22565b820191906000526020600020905b815481529060010190602001808311610d0557829003601f168201915b5050505050905090565b6000610d37826135d6565b610d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6d906151f4565b60405180910390fd5b600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dbc82611823565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2490615274565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e4c6133f0565b73ffffffffffffffffffffffffffffffffffffffff161480610e7b5750610e7a81610e756133f0565b6126a6565b5b610eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb1906150f4565b60405180910390fd5b610ec48383613642565b505050565b6000600354600554610edb91906154b3565b905090565b610ef1610eeb6133f0565b826136fb565b610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f27906152b4565b60405180910390fd5b610f3b8383836137d9565b505050565b60606000610f4d836118d5565b905060008167ffffffffffffffff811115610f6b57610f6a615876565b5b604051908082528060200260200182016040528015610fa457816020015b610f9161413e565b815260200190600190039081610f895790505b5090506000805b600780549050811015611180578573ffffffffffffffffffffffffffffffffffffffff16610ffd60078381548110610fe657610fe5615847565b5b906000526020600020906007020160000154611823565b73ffffffffffffffffffffffffffffffffffffffff16141561115f576007818154811061102d5761102c615847565b5b90600052602060002090600702016040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582018054611088906156af565b80601f01602080910402602001604051908101604052809291908181526020018280546110b4906156af565b80156111015780601f106110d657610100808354040283529160200191611101565b820191906000526020600020905b8154815290600101906020018083116110e457829003601f168201915b505050505081526020016006820160009054906101000a900460ff16151515158152505083838151811061113857611137615847565b5b6020026020010181905250818061114e90615712565b9250508184141561115e57611180565b5b808061116a90615712565b915050808061117890615712565b915050610fab565b50819350505050919050565b6111946133f0565b73ffffffffffffffffffffffffffffffffffffffff166111b2611c69565b73ffffffffffffffffffffffffffffffffffffffff1614611208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ff90615214565b60405180910390fd5b81816010919061121992919061417d565b505050565b6112266133f0565b73ffffffffffffffffffffffffffffffffffffffff16611244611c69565b73ffffffffffffffffffffffffffffffffffffffff161461129a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129190615214565b60405180910390fd5b6112a26133f0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156112e7573d6000803e3d6000fd5b50565b600e5481565b61130b83838360405180602001604052806000815250612409565b505050565b6113186133f0565b73ffffffffffffffffffffffffffffffffffffffff16611336611c69565b73ffffffffffffffffffffffffffffffffffffffff161461138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390615214565b60405180910390fd5b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f55a5194bc0174fcaf12b2978bef43911466bf63b34db8d1dd1a0d5dcd5c41bea826040516114299190614f38565b60405180910390a25050565b600160006114416133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806114cd57506114976133f0565b73ffffffffffffffffffffffffffffffffffffffff166114b5611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b61150c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150390615294565b60405180910390fd5b80600f8190555061151b6133f0565b73ffffffffffffffffffffffffffffffffffffffff167f3237522a20999612ae849504be5b0125a64ce20baf39e5afeb00cee504d2bff3826040516115609190615324565b60405180910390a250565b600160006115776133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061160357506115cd6133f0565b73ffffffffffffffffffffffffffffffffffffffff166115eb611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990615294565b60405180910390fd5b8060048190555050565b600160006116586133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806116e457506116ae6133f0565b73ffffffffffffffffffffffffffffffffffffffff166116cc611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b611723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171a90615294565b60405180910390fd5b60008061172f83611d37565b91509150600660019054906101000a900460ff1660ff1682602001511461178b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611782906150b4565b60405180910390fd5b6001600782815481106117a1576117a0615847565b5b906000526020600020906007020160060160006101000a81548160ff0219169083151502179055506117d16133f0565b73ffffffffffffffffffffffffffffffffffffffff167f9c22b48a568a3078a94c3a78bf7d7b961e9b3b86476b76c953143bc8b6df716b846040516118169190615324565b60405180910390a2505050565b600080600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c390615134565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90615114565b60405180910390fd5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119956133f0565b73ffffffffffffffffffffffffffffffffffffffff166119b3611c69565b73ffffffffffffffffffffffffffffffffffffffff1614611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090615214565b60405180910390fd5b611a136000613a35565b565b60016000611a216133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611aad5750611a776133f0565b73ffffffffffffffffffffffffffffffffffffffff16611a95611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b611aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae390615294565b60405180910390fd5b611af4611c69565b73ffffffffffffffffffffffffffffffffffffffff16611b1382611823565b73ffffffffffffffffffffffffffffffffffffffff1614611b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6090614fb4565b60405180910390fd5b600080611b7583611d37565b91509150600660019054906101000a900460ff1660ff16826020015114611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc8906150b4565b60405180910390fd5b600060078281548110611be757611be6615847565b5b906000526020600020906007020160060160006101000a81548160ff021916908315150217905550611c176133f0565b73ffffffffffffffffffffffffffffffffffffffff167fc25b1c0b9a2b6210cf6f9ec8a425ee19bdc0036a699342d0b4ec5995a267e94584604051611c5c9190615324565b60405180910390a2505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660009054906101000a900460ff1681565b606060098054611cb4906156af565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce0906156af565b8015611d2d5780601f10611d0257610100808354040283529160200191611d2d565b820191906000526020600020905b815481529060010190602001808311611d1057829003601f168201915b5050505050905090565b611d3f61413e565b60008060009050611d4e61413e565b5b600780549050821015611fc5578460078381548110611d7157611d70615847565b5b9060005260206000209060070201600001541415611fb25760078281548110611d9d57611d9c615847565b5b90600052602060002090600702016040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582018054611df8906156af565b80601f0160208091040260200160405190810160405280929190818152602001828054611e24906156af565b8015611e715780601f10611e4657610100808354040283529160200191611e71565b820191906000526020600020905b815481529060010190602001808311611e5457829003601f168201915b505050505081526020016006820160009054906101000a900460ff161515151581525050905060078281548110611eab57611eaa615847565b5b906000526020600020906007020182816040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582018054611f08906156af565b80601f0160208091040260200160405190810160405280929190818152602001828054611f34906156af565b8015611f815780601f10611f5657610100808354040283529160200191611f81565b820191906000526020600020905b815481529060010190602001808311611f6457829003601f168201915b505050505081526020016006820160009054906101000a900460ff1615151515815250509150935093505050612000565b8180611fbd90615712565b925050611d4f565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff790615014565b60405180910390fd5b915091565b600160006120116133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061209d57506120676133f0565b73ffffffffffffffffffffffffffffffffffffffff16612085611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b6120dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d390615294565b60405180910390fd5b80600e819055506120eb6133f0565b73ffffffffffffffffffffffffffffffffffffffff167f5ff88fe64ca10d174267a84c8a263e00a7d42750ce25cfc277d4377487cefe74826040516121309190615324565b60405180910390a250565b6121436133f0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a890615094565b60405180910390fd5b80600d60006121be6133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661226b6133f0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b09190614f38565b60405180910390a35050565b600660029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b60035481565b600160006122fa6133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061238657506123506133f0565b73ffffffffffffffffffffffffffffffffffffffff1661236e611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b6123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc90615294565b60405180910390fd5b80600660026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61241a6124146133f0565b836136fb565b612459576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612450906152b4565b60405180910390fd5b61246584848484613af9565b50505050565b60025481565b606061247c826135d6565b6124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290615254565b60405180910390fd5b60006124c5613b55565b905060008151116124e55760405180602001604052806000815250612510565b806124ef84613be7565b604051602001612500929190614e3d565b6040516020818303038152906040525b915050919050565b60055481565b6007818154811061252e57600080fd5b906000526020600020906007020160009150905080600001549080600101549080600201549080600301549080600401549080600501805461256f906156af565b80601f016020809104026020016040519081016040528092919081815260200182805461259b906156af565b80156125e85780601f106125bd576101008083540402835291602001916125e8565b820191906000526020600020905b8154815290600101906020018083116125cb57829003601f168201915b5050505050908060060160009054906101000a900460ff16905087565b60108054612612906156af565b80601f016020809104026020016040519081016040528092919081815260200182805461263e906156af565b801561268b5780601f106126605761010080835404028352916020019161268b565b820191906000526020600020905b81548152906001019060200180831161266e57829003601f168201915b505050505081565b600660019054906101000a900460ff1681565b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600160006127466133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806127d2575061279c6133f0565b73ffffffffffffffffffffffffffffffffffffffff166127ba611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b612811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280890615294565b60405180910390fd5b806005819055506128206133f0565b73ffffffffffffffffffffffffffffffffffffffff167f57e1905bc1d273095f63458b3586cd3be958f5e786f6517dbb8609e60dee305f826040516128659190615324565b60405180910390a250565b6001600061287c6133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061290857506128d26133f0565b73ffffffffffffffffffffffffffffffffffffffff166128f0611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b612947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293e90615294565b60405180910390fd5b6000620f424060035461295a91906154b3565b905060076040518060e00160405280838152602001600660019054906101000a900460ff1660ff168152602001600081526020016000815260200142815260200185858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001600115158152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005019080519060200190612a63929190614203565b5060c08201518160060160006101000a81548160ff0219169083151502179055505050612a97612a91611c69565b82613d48565b60036000815480929190612aaa90615712565b9190505550612ab76133f0565b73ffffffffffffffffffffffffffffffffffffffff167f7fe1ddcd9cccda428f0b520c11f66db4c017e5dfbc729c7ff62a7b1bf73ec2298484604051612afe929190614f6e565b60405180910390a2505050565b612b136133f0565b73ffffffffffffffffffffffffffffffffffffffff16612b31611c69565b73ffffffffffffffffffffffffffffffffffffffff1614612b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7e90615214565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bee90614ff4565b60405180910390fd5b612c0081613a35565b50565b82612c0d81611823565b73ffffffffffffffffffffffffffffffffffffffff16612c2b6133f0565b73ffffffffffffffffffffffffffffffffffffffff1614612c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7890615174565b60405180910390fd5b600080612c8d86611d37565b91509150600660009054906101000a900460ff1660ff16826020015114612ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce090615194565b60405180910390fd5b600454600660029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231612d326133f0565b6040518263ffffffff1660e01b8152600401612d4e9190614eaf565b60206040518083038186803b158015612d6657600080fd5b505afa158015612d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d9e9190614681565b1015612ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd690615154565b60405180910390fd5b600660029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d96a094a6004546040518263ffffffff1660e01b8152600401612e3c9190615324565b600060405180830381600087803b158015612e5657600080fd5b505af1158015612e6a573d6000803e3d6000fd5b50505050848460078381548110612e8457612e83615847565b5b90600052602060002090600702016005019190612ea292919061417d565b5085612eac6133f0565b73ffffffffffffffffffffffffffffffffffffffff167f8110914a0dd5e6c08efa92b9c9cde76f8b745914335d0b99ff7ec294994bb4c68787604051612ef3929190614f6e565b60405180910390a3505050505050565b8060055460025482612f1591906154b3565b1115612f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4d906151d4565b60405180910390fd5b81600e54612f64919061553a565b3414612fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9c906152d4565b60405180910390fd5b600f54821115612fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe190615034565b60405180910390fd5b60005b82811015613018576130056130006133f0565b6133f8565b808061301090615712565b915050612fed565b506130216133f0565b73ffffffffffffffffffffffffffffffffffffffff167fa76109869a6170bf7ff24c1a598bd882c8cddbb9cbb8322603e4a0ae0a2af03e836040516130669190615324565b60405180910390a25050565b6001600061307e6133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061310a57506130d46133f0565b73ffffffffffffffffffffffffffffffffffffffff166130f2611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b613149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314090615294565b60405180910390fd5b600061315484611d37565b91505082826007838154811061316d5761316c615847565b5b9060005260206000209060070201600501919061318b92919061417d565b50836131956133f0565b73ffffffffffffffffffffffffffffffffffffffff167f8110914a0dd5e6c08efa92b9c9cde76f8b745914335d0b99ff7ec294994bb4c685856040516131dc929190614f6e565b60405180910390a350505050565b600160006131f66133f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680613282575061324c6133f0565b73ffffffffffffffffffffffffffffffffffffffff1661326a611c69565b73ffffffffffffffffffffffffffffffffffffffff16145b6132c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b890615294565b60405180910390fd5b6132ca82611823565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614613337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332e90615174565b60405180910390fd5b600061334283611d37565b915050816007828154811061335a57613359615847565b5b9060005260206000209060070201600301600082825461337a91906154b3565b92505081905550505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6005546002541061343e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613435906151d4565b60405180910390fd5b600044423360078054905060405160200161345c9493929190614e61565b6040516020818303038152906040528051906020012060001c90506000670de0b6b3a76400006046601f846134919190615789565b61349b91906154b3565b6134a5919061553a565b9050600060016002546134b891906154b3565b905060076040518060e00160405280838152602001600660009054906101000a900460ff1660ff16815260200184815260200160008152602001428152602001604051806020016040528060008152508152602001600115158152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a082015181600501908051906020019061358b929190614203565b5060c08201518160060160006101000a81548160ff02191690831515021790555050506135b88482613d48565b600260008154809291906135cb90615712565b919050555050505050565b60008073ffffffffffffffffffffffffffffffffffffffff16600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b81600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166136b583611823565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000613706826135d6565b613745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373c906150d4565b60405180910390fd5b600061375083611823565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806137bf57508373ffffffffffffffffffffffffffffffffffffffff166137a784610d2c565b73ffffffffffffffffffffffffffffffffffffffff16145b806137d057506137cf81856126a6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166137f982611823565b73ffffffffffffffffffffffffffffffffffffffff161461384f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384690615234565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b690615074565b60405180910390fd5b6138ca838383613d66565b6138d5600082613642565b6001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139259190615594565b925050819055506001600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461397c91906154b3565b9250508190555081600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613b048484846137d9565b613b1084848484613d6b565b613b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b4690614fd4565b60405180910390fd5b50505050565b606060108054613b64906156af565b80601f0160208091040260200160405190810160405280929190818152602001828054613b90906156af565b8015613bdd5780601f10613bb257610100808354040283529160200191613bdd565b820191906000526020600020905b815481529060010190602001808311613bc057829003601f168201915b5050505050905090565b60606000821415613c2f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613d43565b600082905060005b60008214613c61578080613c4a90615712565b915050600a82613c5a9190615509565b9150613c37565b60008167ffffffffffffffff811115613c7d57613c7c615876565b5b6040519080825280601f01601f191660200182016040528015613caf5781602001600182028036833780820191505090505b5090505b60008514613d3c57600182613cc89190615594565b9150600a85613cd79190615789565b6030613ce391906154b3565b60f81b818381518110613cf957613cf8615847565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613d359190615509565b9450613cb3565b8093505050505b919050565b613d62828260405180602001604052806000815250613f02565b5050565b505050565b6000613d8c8473ffffffffffffffffffffffffffffffffffffffff16613f5d565b15613ef5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613db56133f0565b8786866040518563ffffffff1660e01b8152600401613dd79493929190614eca565b602060405180830381600087803b158015613df157600080fd5b505af1925050508015613e2257506040513d601f19601f82011682018060405250810190613e1f91906145da565b60015b613ea5573d8060008114613e52576040519150601f19603f3d011682016040523d82523d6000602084013e613e57565b606091505b50600081511415613e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e9490614fd4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613efa565b600190505b949350505050565b613f0c8383613f70565b613f196000848484613d6b565b613f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f4f90614fd4565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fd7906151b4565b60405180910390fd5b613fe9816135d6565b15614029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161402090615054565b60405180910390fd5b61403560008383613d66565b6001600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461408591906154b3565b9250508190555081600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6040518060e001604052806000815260200160008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b828054614189906156af565b90600052602060002090601f0160209004810192826141ab57600085556141f2565b82601f106141c457803560ff19168380011785556141f2565b828001600101855582156141f2579182015b828111156141f15782358255916020019190600101906141d6565b5b5090506141ff9190614289565b5090565b82805461420f906156af565b90600052602060002090601f0160209004810192826142315760008555614278565b82601f1061424a57805160ff1916838001178555614278565b82800160010185558215614278579182015b8281111561427757825182559160200191906001019061425c565b5b5090506142859190614289565b5090565b5b808211156142a257600081600090555060010161428a565b5090565b60006142b96142b4846153f5565b6153d0565b9050828152602081018484840111156142d5576142d46158b4565b5b6142e084828561566d565b509392505050565b6000813590506142f781615f45565b92915050565b60008135905061430c81615f5c565b92915050565b60008135905061432181615f73565b92915050565b60008151905061433681615f73565b92915050565b600082601f830112614351576143506158aa565b5b81356143618482602086016142a6565b91505092915050565b60008083601f8401126143805761437f6158aa565b5b8235905067ffffffffffffffff81111561439d5761439c6158a5565b5b6020830191508360018202830111156143b9576143b86158af565b5b9250929050565b6000813590506143cf81615f8a565b92915050565b6000815190506143e481615f8a565b92915050565b600060208284031215614400576143ff6158be565b5b600061440e848285016142e8565b91505092915050565b6000806040838503121561442e5761442d6158be565b5b600061443c858286016142e8565b925050602061444d858286016142e8565b9150509250929050565b6000806000606084860312156144705761446f6158be565b5b600061447e868287016142e8565b935050602061448f868287016142e8565b92505060406144a0868287016143c0565b9150509250925092565b600080600080608085870312156144c4576144c36158be565b5b60006144d2878288016142e8565b94505060206144e3878288016142e8565b93505060406144f4878288016143c0565b925050606085013567ffffffffffffffff811115614515576145146158b9565b5b6145218782880161433c565b91505092959194509250565b60008060408385031215614544576145436158be565b5b6000614552858286016142e8565b9250506020614563858286016142fd565b9150509250929050565b60008060408385031215614584576145836158be565b5b6000614592858286016142e8565b92505060206145a3858286016143c0565b9150509250929050565b6000602082840312156145c3576145c26158be565b5b60006145d184828501614312565b91505092915050565b6000602082840312156145f0576145ef6158be565b5b60006145fe84828501614327565b91505092915050565b6000806020838503121561461e5761461d6158be565b5b600083013567ffffffffffffffff81111561463c5761463b6158b9565b5b6146488582860161436a565b92509250509250929050565b60006020828403121561466a576146696158be565b5b6000614678848285016143c0565b91505092915050565b600060208284031215614697576146966158be565b5b60006146a5848285016143d5565b91505092915050565b6000806000604084860312156146c7576146c66158be565b5b60006146d5868287016143c0565b935050602084013567ffffffffffffffff8111156146f6576146f56158b9565b5b6147028682870161436a565b92509250509250925092565b60008060408385031215614725576147246158be565b5b6000614733858286016143c0565b9250506020614744858286016143c0565b9150509250929050565b600061475a8383614cc1565b905092915050565b61476b816155c8565b82525050565b61478261477d826155c8565b61575b565b82525050565b600061479382615436565b61479d8185615464565b9350836020820285016147af85615426565b8060005b858110156147eb57848403895281516147cc858261474e565b94506147d783615457565b925060208a019950506001810190506147b3565b50829750879550505050505092915050565b614806816155da565b82525050565b614815816155da565b82525050565b600061482682615441565b6148308185615475565b935061484081856020860161567c565b614849816158c3565b840191505092915050565b61485d81615649565b82525050565b600061486f8385615497565b935061487c83858461566d565b614885836158c3565b840190509392505050565b600061489b8261544c565b6148a58185615486565b93506148b581856020860161567c565b6148be816158c3565b840191505092915050565b60006148d48261544c565b6148de8185615497565b93506148ee81856020860161567c565b6148f7816158c3565b840191505092915050565b600061490d8261544c565b61491781856154a8565b935061492781856020860161567c565b80840191505092915050565b6000614940602183615497565b915061494b826158e1565b604082019050919050565b6000614963603283615497565b915061496e82615930565b604082019050919050565b6000614986602683615497565b91506149918261597f565b604082019050919050565b60006149a9601183615497565b91506149b4826159ce565b602082019050919050565b60006149cc602983615497565b91506149d7826159f7565b604082019050919050565b60006149ef601c83615497565b91506149fa82615a46565b602082019050919050565b6000614a12602483615497565b9150614a1d82615a6f565b604082019050919050565b6000614a35601983615497565b9150614a4082615abe565b602082019050919050565b6000614a58601983615497565b9150614a6382615ae7565b602082019050919050565b6000614a7b602c83615497565b9150614a8682615b10565b604082019050919050565b6000614a9e603883615497565b9150614aa982615b5f565b604082019050919050565b6000614ac1602a83615497565b9150614acc82615bae565b604082019050919050565b6000614ae4602983615497565b9150614aef82615bfd565b604082019050919050565b6000614b07601783615497565b9150614b1282615c4c565b602082019050919050565b6000614b2a602283615497565b9150614b3582615c75565b604082019050919050565b6000614b4d601e83615497565b9150614b5882615cc4565b602082019050919050565b6000614b70602083615497565b9150614b7b82615ced565b602082019050919050565b6000614b93601f83615497565b9150614b9e82615d16565b602082019050919050565b6000614bb6602c83615497565b9150614bc182615d3f565b604082019050919050565b6000614bd9602083615497565b9150614be482615d8e565b602082019050919050565b6000614bfc602983615497565b9150614c0782615db7565b604082019050919050565b6000614c1f602f83615497565b9150614c2a82615e06565b604082019050919050565b6000614c42602183615497565b9150614c4d82615e55565b604082019050919050565b6000614c65601d83615497565b9150614c7082615ea4565b602082019050919050565b6000614c88603183615497565b9150614c9382615ecd565b604082019050919050565b6000614cab601083615497565b9150614cb682615f1c565b602082019050919050565b600060e083016000830151614cd96000860182614df9565b506020830151614cec6020860182614df9565b506040830151614cff6040860182614df9565b506060830151614d126060860182614df9565b506080830151614d256080860182614df9565b5060a083015184820360a0860152614d3d8282614890565b91505060c0830151614d5260c08601826147fd565b508091505092915050565b600060e083016000830151614d756000860182614df9565b506020830151614d886020860182614df9565b506040830151614d9b6040860182614df9565b506060830151614dae6060860182614df9565b506080830151614dc16080860182614df9565b5060a083015184820360a0860152614dd98282614890565b91505060c0830151614dee60c08601826147fd565b508091505092915050565b614e0281615632565b82525050565b614e1181615632565b82525050565b614e28614e2382615632565b61577f565b82525050565b614e378161563c565b82525050565b6000614e498285614902565b9150614e558284614902565b91508190509392505050565b6000614e6d8287614e17565b602082019150614e7d8286614e17565b602082019150614e8d8285614771565b601482019150614e9d8284614e17565b60208201915081905095945050505050565b6000602082019050614ec46000830184614762565b92915050565b6000608082019050614edf6000830187614762565b614eec6020830186614762565b614ef96040830185614e08565b8181036060830152614f0b818461481b565b905095945050505050565b60006020820190508181036000830152614f308184614788565b905092915050565b6000602082019050614f4d600083018461480c565b92915050565b6000602082019050614f686000830184614854565b92915050565b60006020820190508181036000830152614f89818486614863565b90509392505050565b60006020820190508181036000830152614fac81846148c9565b905092915050565b60006020820190508181036000830152614fcd81614933565b9050919050565b60006020820190508181036000830152614fed81614956565b9050919050565b6000602082019050818103600083015261500d81614979565b9050919050565b6000602082019050818103600083015261502d8161499c565b9050919050565b6000602082019050818103600083015261504d816149bf565b9050919050565b6000602082019050818103600083015261506d816149e2565b9050919050565b6000602082019050818103600083015261508d81614a05565b9050919050565b600060208201905081810360008301526150ad81614a28565b9050919050565b600060208201905081810360008301526150cd81614a4b565b9050919050565b600060208201905081810360008301526150ed81614a6e565b9050919050565b6000602082019050818103600083015261510d81614a91565b9050919050565b6000602082019050818103600083015261512d81614ab4565b9050919050565b6000602082019050818103600083015261514d81614ad7565b9050919050565b6000602082019050818103600083015261516d81614afa565b9050919050565b6000602082019050818103600083015261518d81614b1d565b9050919050565b600060208201905081810360008301526151ad81614b40565b9050919050565b600060208201905081810360008301526151cd81614b63565b9050919050565b600060208201905081810360008301526151ed81614b86565b9050919050565b6000602082019050818103600083015261520d81614ba9565b9050919050565b6000602082019050818103600083015261522d81614bcc565b9050919050565b6000602082019050818103600083015261524d81614bef565b9050919050565b6000602082019050818103600083015261526d81614c12565b9050919050565b6000602082019050818103600083015261528d81614c35565b9050919050565b600060208201905081810360008301526152ad81614c58565b9050919050565b600060208201905081810360008301526152cd81614c7b565b9050919050565b600060208201905081810360008301526152ed81614c9e565b9050919050565b6000604082019050818103600083015261530e8185614d5d565b905061531d6020830184614e08565b9392505050565b60006020820190506153396000830184614e08565b92915050565b600060e082019050615354600083018a614e08565b6153616020830189614e08565b61536e6040830188614e08565b61537b6060830187614e08565b6153886080830186614e08565b81810360a083015261539a81856148c9565b90506153a960c083018461480c565b98975050505050505050565b60006020820190506153ca6000830184614e2e565b92915050565b60006153da6153eb565b90506153e682826156e1565b919050565b6000604051905090565b600067ffffffffffffffff8211156154105761540f615876565b5b615419826158c3565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006154be82615632565b91506154c983615632565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154fe576154fd6157ba565b5b828201905092915050565b600061551482615632565b915061551f83615632565b92508261552f5761552e6157e9565b5b828204905092915050565b600061554582615632565b915061555083615632565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615589576155886157ba565b5b828202905092915050565b600061559f82615632565b91506155aa83615632565b9250828210156155bd576155bc6157ba565b5b828203905092915050565b60006155d382615612565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006156548261565b565b9050919050565b600061566682615612565b9050919050565b82818337600083830152505050565b60005b8381101561569a57808201518184015260208101905061567f565b838111156156a9576000848401525b50505050565b600060028204905060018216806156c757607f821691505b602082108114156156db576156da615818565b5b50919050565b6156ea826158c3565b810181811067ffffffffffffffff8211171561570957615708615876565b5b80604052505050565b600061571d82615632565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156157505761574f6157ba565b5b600182019050919050565b60006157668261576d565b9050919050565b6000615778826158d4565b9050919050565b6000819050919050565b600061579482615632565b915061579f83615632565b9250826157af576157ae6157e9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e6572736869703a2043616e6e6f7420636c6f7365207468697320636c7560008201527f6200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f746f6b656e4964206e6f7420666f756e64000000000000000000000000000000600082015250565b7f4d494e54204c494d49543a2063616e6e6f74206d696e74206d6f72652074686160008201527f6e20616c6c6f7765640000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f434c55423a206173736574206973206e6f74206120636c756200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f434f494e3a20496e737566696369656e742066756e6473000000000000000000600082015250565b7f4f574e4552534849503a2073656e646572206973206e6f7420746865206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f41535345543a204173736574206973206e6f7420612073747269707065720000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f535550504c593a20717479206578636565647320746f74616c207375706c7900600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f41646d696e3a2063616c6c6572206973206e6f7420616e2061646d696e000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4255593a2077726f6e672076616c756500000000000000000000000000000000600082015250565b615f4e816155c8565b8114615f5957600080fd5b50565b615f65816155da565b8114615f7057600080fd5b50565b615f7c816155e6565b8114615f8757600080fd5b50565b615f9381615632565b8114615f9e57600080fd5b5056fea2646970667358221220fb0312e9a4b9d6c923c81fedf342b193310578cc470e51d4c15e1742eadbbe0364736f6c63430008060033

Verified Source Code Partial Match

Compiler: v0.8.6+commit.11564f7e EVM: berlin Optimization: No
Assets.sol 71 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import "./Administration.sol";
import "./NFTEvents.sol";
import "./interface/IStrip.sol";

contract Assets is Administration, NFTEvents {
    
    uint public strippersCount = 0;
    uint public clubsCount = 0;
    uint public namePriceStripper = 200 ether;
    uint public stripperSupply = 3000;
    uint8 public STRIPPER = 0;
    uint8 public CLUB = 1;
    
    IStrip public COIN;
    
    struct Asset {
        uint id;
        uint tokenType;
        uint earn;
        uint withdraw;
        uint born;
        string name;
        bool active;
    }
    
    Asset[] public assets;
    
    function setCoinAddress(address addr) public onlyAdmin {
        COIN = IStrip(addr);
    }
    
    function getAssetByTokenId(uint tokenId) public view returns(Asset memory, uint idx) {
        uint i = 0;
        Asset memory asset;
        while(i < assets.length){
            if(assets[i].id == tokenId){
                asset = assets[i];
                return(assets[i],i);
            }
            i++;
        }
        revert("tokenId not found");
    }
    
    function setNamePriceStripper(uint newPrice) external onlyAdmin {
        namePriceStripper = newPrice;
    }
    
    function adminSetAssetName(uint tokenId, string calldata name) external onlyAdmin {
        (,uint idx) = getAssetByTokenId(tokenId);
        assets[idx].name = name;
        emit NewAssetName(_msgSender(), tokenId, name);
    }
    
    function setStripperSupply(uint supply) external onlyAdmin {
        stripperSupply = supply;
        emit NewTotalSupply(_msgSender(), supply);
    }
    
    function totalSupply() external view returns (uint) {
        return stripperSupply + clubsCount;
    }
    
    function withdraw() external onlyOwner {
        payable(_msgSender()).transfer(address(this).balance);
    }
    
}
NFTEvents.sol 14 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

contract NFTEvents {
    event NewTotalSupply(address indexed caller, uint newSupply);
    event NewStripperPrice(address indexed caller, uint newPrice);
    event NewMaxMint(address indexed caller, uint newMaxMint);
    event MintStripper(address indexed buyer, uint qty);
    event MintClub(address indexed caller, string clubName);
    event CloseClub(address indexed caller, uint tokenId);
    event ReopenClub(address indexed caller, uint tokenId);
    event NewAssetName(address indexed caller, uint indexed tokenId, string newName);
    event Giveaway(address indexed from, address indexed to, uint qty);
}
StripperVille.sol 124 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import "./Assets.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

contract StripperVille is Assets, ERC721 {
    
    uint public stripperPrice = 0.095 ether;
    uint private _maxMint = 0;
    string public baseTokenURI = 'https://strippervillebackend.herokuapp.com/';
    
    constructor() ERC721("StripperVille", "SpV") {}
    
    modifier isMine(uint tokenId){
        require(_msgSender() == ownerOf(tokenId), "OWNERSHIP: sender is not the owner");
        _;
    }
    
    modifier canMint(uint qty){
        require((qty + strippersCount) <= stripperSupply, "SUPPLY: qty exceeds total suply");
        _;
    }
    
    function setStripperPrice(uint newPrice) external onlyAdmin {
        stripperPrice = newPrice;
        emit NewStripperPrice(_msgSender(), newPrice);
    }
    
    function setMaxMint(uint newMaxMint) external onlyAdmin {
        _maxMint = newMaxMint;
        emit NewMaxMint(_msgSender(), newMaxMint);
    }
    
    function buyStripper(uint qty) external payable canMint(qty) {
        require((msg.value == stripperPrice * qty),"BUY: wrong value");
        require((qty <= _maxMint), "MINT LIMIT: cannot mint more than allowed");
        for(uint i=0; i < qty; i++) {
            _mintTo(_msgSender());
        }
        emit MintStripper(_msgSender(), qty);
    }
    
    function giveaway(address to, uint qty) external onlyOwner canMint(qty) {
        for(uint i=0; i < qty; i++) {
            _mintTo(to);
        }
        emit Giveaway(_msgSender(), to, qty);
    }
    
    function _mintTo(address to) internal {
        require(strippersCount < stripperSupply, "SUPPLY: qty exceeds total suply");
        uint rand = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp, msg.sender, assets.length)));
        uint earn = ((rand % 31) + 70)  * (10 ** 18);
        uint tokenId = strippersCount + 1;
        assets.push(Asset(tokenId, STRIPPER, earn, 0, block.timestamp, "", true));
        _safeMint(to, tokenId);
        strippersCount++;
    }
    
    function createClub(string calldata clubName) external onlyAdmin {
        uint tokenId = clubsCount + 1000000;
        assets.push(Asset(tokenId, CLUB, 0, 0, block.timestamp, clubName, true));
        _safeMint(owner(), tokenId);
        clubsCount++;
        emit MintClub(_msgSender(), clubName);
    }
    
    function closeClub(uint tokenId) external onlyAdmin {
        require(ownerOf(tokenId) == owner(), "Ownership: Cannot close this club");
        (Asset memory asset, uint i) = getAssetByTokenId(tokenId);
        require(asset.tokenType == CLUB, "CLUB: asset is not a club");
        assets[i].active = false;
        emit CloseClub(_msgSender(), tokenId);
    }
    
    function reopenClub(uint tokenId) external onlyAdmin {
        (Asset memory asset, uint i) = getAssetByTokenId(tokenId);
        require(asset.tokenType == CLUB, "CLUB: asset is not a club");
        assets[i].active = true;
        emit ReopenClub(_msgSender(), tokenId);
    }
    
    function setStripperName(uint tokenId, string calldata name) external isMine(tokenId) {
        (Asset memory asset, uint i) = getAssetByTokenId(tokenId);
        require(asset.tokenType == STRIPPER, "ASSET: Asset is not a stripper");
        require(COIN.balanceOf(_msgSender()) >= namePriceStripper, "COIN: Insuficient funds");
        COIN.buy(namePriceStripper);
        assets[i].name = name;
        emit NewAssetName(_msgSender(), tokenId, name);
    }
    
    function withdrawAsset(uint tokenId, uint amount) external onlyAdmin {
        require(tx.origin == ownerOf(tokenId),  "OWNERSHIP: sender is not the owner");
        (, uint i) = getAssetByTokenId(tokenId);
        assets[i].withdraw += amount;
    }
    
    function getAssetsByOwner(address owner) public view returns (Asset[] memory) {
        uint balance = balanceOf(owner);
        Asset[] memory assets_ = new Asset[](balance);
        uint j = 0;
        for(uint i = 0; i < assets.length; i++){
            if(ownerOf(assets[i].id) == owner){
                assets_[j] = assets[i];
                j++;
                if(balance == j){
                 break;
                }
            }
            i++;
        }
        return assets_;
    }
    
    function setBaseTokenURI(string calldata uri) external onlyOwner {
        baseTokenURI = uri;
    }

    function _baseURI() internal override view returns (string memory) {
        return baseTokenURI;
    }
    
}
Administration.sol 21 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import "@openzeppelin/contracts/access/Ownable.sol";

contract Administration is Ownable {
    
    event SetAdmin(address indexed admin, bool active);
    
    mapping (address => bool) private admins;
    
    modifier onlyAdmin(){
        require(admins[_msgSender()] || owner() == _msgSender(), "Admin: caller is not an admin");
        _;
    }
    
    function setAdmin(address admin, bool active) external onlyOwner {
        admins[admin] = active;
        emit SetAdmin(admin, active);
    }
    
}
IStrip.sol 8 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

interface IStrip {
    function balanceOf(address account) external view returns (uint256);
    function buy(uint price) external;
    function decimals() external view returns (uint);
}
Address.sol 210 lines
// SPDX-License-Identifier: MIT

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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);
            }
        }
    }
}
Context.sol 23 lines
// 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;
    }
}
Strings.sol 66 lines
// SPDX-License-Identifier: MIT

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);
    }
}
Ownable.sol 71 lines
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}
ERC721.sol 411 lines
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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(to).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 {}
}
IERC721.sol 142 lines
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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;
}
ERC165.sol 28 lines
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}
IERC165.sol 24 lines
// SPDX-License-Identifier: MIT

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);
}
IERC721Receiver.sol 26 lines
// SPDX-License-Identifier: MIT

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);
}
IERC721Metadata.sol 26 lines
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

Read Contract

CLUB 0xd83a64c0 → uint8
COIN 0xa54a72b7 → address
STRIPPER 0x8f9cef68 → uint8
assets 0xcf35bdd0 → uint256, uint256, uint256, uint256, uint256, string, bool
balanceOf 0x70a08231 → uint256
baseTokenURI 0xd547cfb7 → string
clubsCount 0xac43a3c8 → uint256
getApproved 0x081812fc → address
getAssetByTokenId 0x9606d584 → tuple, uint256
getAssetsByOwner 0x276f0934 → tuple[]
isApprovedForAll 0xe985e9c5 → bool
name 0x06fdde03 → string
namePriceStripper 0xa929423d → uint256
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
stripperPrice 0x4221e3e0 → uint256
stripperSupply 0xcee06585 → uint256
strippersCount 0xc6650254 → uint256
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256

Write Contract 23 functions

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

adminSetAssetName 0xf9f07810
uint256 tokenId
string name
approve 0x095ea7b3
address to
uint256 tokenId
buyStripper 0xf6f80f49
uint256 qty
closeClub 0x7c0c83aa
uint256 tokenId
createClub 0xf13c5cc2
string clubName
giveaway 0x050225ea
address to
uint256 qty
renounceOwnership 0x715018a6
No parameters
reopenClub 0x61d3891d
uint256 tokenId
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes _data
setAdmin 0x4b0bddd2
address admin
bool active
setApprovalForAll 0xa22cb465
address operator
bool approved
setBaseTokenURI 0x30176e13
string uri
setCoinAddress 0xb0bdacc6
address addr
setMaxMint 0x547520fe
uint256 newMaxMint
setNamePriceStripper 0x5fa28149
uint256 newPrice
setStripperName 0xf61a35f8
uint256 tokenId
string name
setStripperPrice 0x9e7c1964
uint256 newPrice
setStripperSupply 0xebbf104b
uint256 supply
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
withdraw 0x3ccfd60b
No parameters
withdrawAsset 0xfcc8cd7c
uint256 tokenId
uint256 amount

Recent Transactions

No transactions found for this address