Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0x18db97a098a5bEd4454e4719D55BF7d6d71e3AbF
Balance 0 ETH
Nonce 1
Code Size 11888 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

11888 bytes
0x608060405260043610610138575f3560e01c8063715018a6116100aa57806395d89b411161006e57806395d89b41146103bb578063a9059cbb146103e5578063b3f0067414610421578063d08118071461044b578063dd62ed3e14610475578063f2fde38b146104b15761013f565b8063715018a614610331578063751039fc146103475780638a8c523c1461035d5780638da5cb5b146103675780638f3fa860146103915761013f565b806318160ddd116100fc57806318160ddd1461021357806323b872dd1461023d578063313ce5671461027957806332972e46146102a35780633852a557146102cd57806370a08231146102f55761013f565b806306fdde0314610143578063095ea7b31461016d57806314d5dbc9146101a95780631678e6f8146101d357806317ccb1bf146101fd5761013f565b3661013f57005b5f5ffd5b34801561014e575f5ffd5b506101576104d9565b6040516101649190611f59565b60405180910390f35b348015610178575f5ffd5b50610193600480360381019061018e919061200a565b610569565b6040516101a09190612062565b60405180910390f35b3480156101b4575f5ffd5b506101bd61058b565b6040516101ca919061209c565b60405180910390f35b3480156101de575f5ffd5b506101e76105a3565b6040516101f491906120c4565b60405180910390f35b348015610208575f5ffd5b506102116105a9565b005b34801561021e575f5ffd5b5061022761068b565b60405161023491906120c4565b60405180910390f35b348015610248575f5ffd5b50610263600480360381019061025e91906120dd565b610694565b6040516102709190612062565b60405180910390f35b348015610284575f5ffd5b5061028d6106c2565b60405161029a9190612148565b60405180910390f35b3480156102ae575f5ffd5b506102b76106ca565b6040516102c49190612170565b60405180910390f35b3480156102d8575f5ffd5b506102f360048036038101906102ee9190612189565b6106ef565b005b348015610300575f5ffd5b5061031b600480360381019061031691906121c7565b61077d565b60405161032891906120c4565b60405180910390f35b34801561033c575f5ffd5b506103456107c2565b005b348015610352575f5ffd5b5061035b610849565b005b6103656108d5565b005b348015610372575f5ffd5b5061037b610be3565b6040516103889190612170565b60405180910390f35b34801561039c575f5ffd5b506103a5610c0b565b6040516103b291906120c4565b60405180910390f35b3480156103c6575f5ffd5b506103cf610c11565b6040516103dc9190611f59565b60405180910390f35b3480156103f0575f5ffd5b5061040b6004803603810190610406919061200a565b610ca1565b6040516104189190612062565b60405180910390f35b34801561042c575f5ffd5b50610435610cc3565b6040516104429190612170565b60405180910390f35b348015610456575f5ffd5b5061045f610ce7565b60405161046c91906120c4565b60405180910390f35b348015610480575f5ffd5b5061049b600480360381019061049691906121f2565b610ced565b6040516104a891906120c4565b60405180910390f35b3480156104bc575f5ffd5b506104d760048036038101906104d291906121c7565b610d6f565b005b6060600380546104e89061225d565b80601f01602080910402602001604051908101604052809291908181526020018280546105149061225d565b801561055f5780601f106105365761010080835404028352916020019161055f565b820191905f5260205f20905b81548152906001019060200180831161054257829003601f168201915b5050505050905090565b5f5f610573610e65565b9050610580818585610e6c565b600191505092915050565b60085f9054906101000a900466ffffffffffffff1681565b600f5481565b6105b1610e65565b73ffffffffffffffffffffffffffffffffffffffff166105cf610be3565b73ffffffffffffffffffffffffffffffffffffffff1614610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061c906122d7565b60405180910390fd5b7f000000000000000000000000f331167ab6d3330412aa9e39de1d0bf9ad5b202373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610688573d5f5f3e3d5ffd5b50565b5f600254905090565b5f5f61069e610e65565b90506106ab85828561102f565b6106b68585856110ba565b60019150509392505050565b5f6009905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106f7610e65565b73ffffffffffffffffffffffffffffffffffffffff16610715610be3565b73ffffffffffffffffffffffffffffffffffffffff161461076b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610762906122d7565b60405180910390fd5b81600981905550806007819055505050565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6107ca610e65565b73ffffffffffffffffffffffffffffffffffffffff166107e8610be3565b73ffffffffffffffffffffffffffffffffffffffff161461083e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610835906122d7565b60405180910390fd5b6108475f611910565b565b610851610e65565b73ffffffffffffffffffffffffffffffffffffffff1661086f610be3565b73ffffffffffffffffffffffffffffffffffffffff16146108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bc906122d7565b60405180910390fd5b6108cd61068b565b600b81905550565b6108dd610e65565b73ffffffffffffffffffffffffffffffffffffffff166108fb610be3565b73ffffffffffffffffffffffffffffffffffffffff1614610951576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610948906122d7565b60405180910390fd5b610963333061095e61068b565b6119d3565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d719473061099e3061077d565b5f5f33426040518863ffffffff1660e01b81526004016109c396959493929190612337565b60606040518083038185885af11580156109df573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a0491906123aa565b505050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a64573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a88919061240e565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b01573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b25919061240e565b6040518363ffffffff1660e01b8152600401610b42929190612439565b602060405180830381865afa158015610b5d573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b81919061240e565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555043600c60146101000a81548163ffffffff021916908363ffffffff160217905550565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b606060048054610c209061225d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4c9061225d565b8015610c975780601f10610c6e57610100808354040283529160200191610c97565b820191905f5260205f20905b815481529060010190602001808311610c7a57829003601f168201915b5050505050905090565b5f5f610cab610e65565b9050610cb88185856110ba565b600191505092915050565b7f000000000000000000000000f331167ab6d3330412aa9e39de1d0bf9ad5b202381565b600e5481565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610d77610e65565b73ffffffffffffffffffffffffffffffffffffffff16610d95610be3565b73ffffffffffffffffffffffffffffffffffffffff1614610deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de2906122d7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e50906124d0565b60405180910390fd5b610e6281611910565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed19061255e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f906125ec565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161102291906120c4565b60405180910390a3505050565b5f61103a8484610ced565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146110b457818110156110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90612654565b60405180910390fd5b6110b38484848403610e6c565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111f906126e2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90612770565b60405180910390fd5b5f81116111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cf906127fe565b60405180910390fd5b5f60105f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611274575060105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415806112cf5750805b61130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130590612866565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080156113bf575082155b1561166157600b54846113d18761077d565b6113db91906128b1565b1115806114275750737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b611466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145d9061292e565b60405180910390fd5b600c601c9054906101000a900463ffffffff1663ffffffff16600a5f9054906101000a900463ffffffff1663ffffffff16116114dd57600a5f81819054906101000a900463ffffffff16809291906114bd9061295b565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b600c601c9054906101000a900463ffffffff1663ffffffff16600a5f9054906101000a900463ffffffff1663ffffffff160361155157600d5f9054906101000a900463ffffffff1663ffffffff16600e81905550600d60049054906101000a900463ffffffff1663ffffffff16600f819055505b600c60149054906101000a900463ffffffff1663ffffffff164363ffffffff1603611660576031600c601881819054906101000a900463ffffffff168092919061159a9061295b565b91906101000a81548163ffffffff021916908363ffffffff16021790555063ffffffff16106115fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f5906129d0565b60405180910390fd5b6031600c60189054906101000a900463ffffffff1663ffffffff160361165f5784600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b5b5f61166b3061077d565b90508280156116875750600d60089054906101000a900460ff16155b8015611691575083155b1561186c57600a60089054906101000a900463ffffffff1663ffffffff164311156116d8575f600a60046101000a81548163ffffffff021916908363ffffffff1602179055505b6003600a60049054906101000a900463ffffffff1663ffffffff1610611733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172a90612a38565b60405180910390fd5b6001600d60086101000a81548160ff0219169083151502179055505f600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16146117a957856117b9565b60026009546117b89190612a83565b5b90506117d86117d3826117ce85600954611c48565b611c48565b611c60565b5f600d60086101000a81548160ff0219169083151502179055505f4790505f81106118075761180681611e78565b5b600a600481819054906101000a900463ffffffff16809291906118299061295b565b91906101000a81548163ffffffff021916908363ffffffff1602179055505043600a60086101000a81548163ffffffff021916908363ffffffff16021790555050505b5f8261187a57600f5461187e565b600e545b90505f8111801561188d575084155b80156118a65750600d60089054906101000a900460ff16155b80156118b7575082806118b65750835b5b156118fb575f606482886118cb9190612ab3565b6118d59190612a83565b90505f8111156118f9576118ea8930836119d3565b80876118f69190612af4565b96505b505b6119068888886119d3565b5050505050505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3890612b97565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa690612c25565b60405180910390fd5b611aba838383611edf565b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3490612cb3565b60405180910390fd5b8181035f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611bcb91906128b1565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c2f91906120c4565b60405180910390a3611c42848484611ee4565b50505050565b5f818311611c565782611c58565b815b905092915050565b5f810315611e75575f600267ffffffffffffffff811115611c8457611c83612cd1565b5b604051908082528060200260200182016040528015611cb25781602001602082028036833780820191505090505b50905030815f81518110611cc957611cc8612cfe565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d60573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d84919061240e565b81600181518110611d9857611d97612cfe565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611df130737a250d5630b4cf539739df2c5dacb4c659f2488d84610e6c565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401611e46959493929190612de2565b5f604051808303815f87803b158015611e5d575f5ffd5b505af1158015611e6f573d5f5f3e3d5ffd5b50505050505b50565b7f000000000000000000000000f331167ab6d3330412aa9e39de1d0bf9ad5b202373ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611edb573d5f5f3e3d5ffd5b5050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611f2b82611ee9565b611f358185611ef3565b9350611f45818560208601611f03565b611f4e81611f11565b840191505092915050565b5f6020820190508181035f830152611f718184611f21565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611fa682611f7d565b9050919050565b611fb681611f9c565b8114611fc0575f5ffd5b50565b5f81359050611fd181611fad565b92915050565b5f819050919050565b611fe981611fd7565b8114611ff3575f5ffd5b50565b5f8135905061200481611fe0565b92915050565b5f5f604083850312156120205761201f611f79565b5b5f61202d85828601611fc3565b925050602061203e85828601611ff6565b9150509250929050565b5f8115159050919050565b61205c81612048565b82525050565b5f6020820190506120755f830184612053565b92915050565b5f66ffffffffffffff82169050919050565b6120968161207b565b82525050565b5f6020820190506120af5f83018461208d565b92915050565b6120be81611fd7565b82525050565b5f6020820190506120d75f8301846120b5565b92915050565b5f5f5f606084860312156120f4576120f3611f79565b5b5f61210186828701611fc3565b935050602061211286828701611fc3565b925050604061212386828701611ff6565b9150509250925092565b5f60ff82169050919050565b6121428161212d565b82525050565b5f60208201905061215b5f830184612139565b92915050565b61216a81611f9c565b82525050565b5f6020820190506121835f830184612161565b92915050565b5f5f6040838503121561219f5761219e611f79565b5b5f6121ac85828601611ff6565b92505060206121bd85828601611ff6565b9150509250929050565b5f602082840312156121dc576121db611f79565b5b5f6121e984828501611fc3565b91505092915050565b5f5f6040838503121561220857612207611f79565b5b5f61221585828601611fc3565b925050602061222685828601611fc3565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061227457607f821691505b60208210810361228757612286612230565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6122c1602083611ef3565b91506122cc8261228d565b602082019050919050565b5f6020820190508181035f8301526122ee816122b5565b9050919050565b5f819050919050565b5f819050919050565b5f61232161231c612317846122f5565b6122fe565b611fd7565b9050919050565b61233181612307565b82525050565b5f60c08201905061234a5f830189612161565b61235760208301886120b5565b6123646040830187612328565b6123716060830186612328565b61237e6080830185612161565b61238b60a08301846120b5565b979650505050505050565b5f815190506123a481611fe0565b92915050565b5f5f5f606084860312156123c1576123c0611f79565b5b5f6123ce86828701612396565b93505060206123df86828701612396565b92505060406123f086828701612396565b9150509250925092565b5f8151905061240881611fad565b92915050565b5f6020828403121561242357612422611f79565b5b5f612430848285016123fa565b91505092915050565b5f60408201905061244c5f830185612161565b6124596020830184612161565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6124ba602683611ef3565b91506124c582612460565b604082019050919050565b5f6020820190508181035f8301526124e7816124ae565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612548602483611ef3565b9150612553826124ee565b604082019050919050565b5f6020820190508181035f8301526125758161253c565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6125d6602283611ef3565b91506125e18261257c565b604082019050919050565b5f6020820190508181035f830152612603816125ca565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f61263e601d83611ef3565b91506126498261260a565b602082019050919050565b5f6020820190508181035f83015261266b81612632565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f6126cc602b83611ef3565b91506126d782612672565b604082019050919050565b5f6020820190508181035f8301526126f9816126c0565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f61275a602983611ef3565b915061276582612700565b604082019050919050565b5f6020820190508181035f8301526127878161274e565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f6127e8602a83611ef3565b91506127f38261278e565b604082019050919050565b5f6020820190508181035f830152612815816127dc565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f612850601f83611ef3565b915061285b8261281c565b602082019050919050565b5f6020820190508181035f83015261287d81612844565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6128bb82611fd7565b91506128c683611fd7565b92508282019050808211156128de576128dd612884565b5b92915050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f612918601383611ef3565b9150612923826128e4565b602082019050919050565b5f6020820190508181035f8301526129458161290c565b9050919050565b5f63ffffffff82169050919050565b5f6129658261294c565b915063ffffffff820361297b5761297a612884565b5b600182019050919050565b7f457863657373206c61756e636820736e697065727300000000000000000000005f82015250565b5f6129ba601583611ef3565b91506129c582612986565b602082019050919050565b5f6020820190508181035f8301526129e7816129ae565b9050919050565b7f4f6e6c7920332073656c6c732070657220626c6f636b210000000000000000005f82015250565b5f612a22601783611ef3565b9150612a2d826129ee565b602082019050919050565b5f6020820190508181035f830152612a4f81612a16565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612a8d82611fd7565b9150612a9883611fd7565b925082612aa857612aa7612a56565b5b828204905092915050565b5f612abd82611fd7565b9150612ac883611fd7565b9250828202612ad681611fd7565b91508282048414831517612aed57612aec612884565b5b5092915050565b5f612afe82611fd7565b9150612b0983611fd7565b9250828203905081811115612b2157612b20612884565b5b92915050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f612b81602583611ef3565b9150612b8c82612b27565b604082019050919050565b5f6020820190508181035f830152612bae81612b75565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f612c0f602383611ef3565b9150612c1a82612bb5565b604082019050919050565b5f6020820190508181035f830152612c3c81612c03565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f612c9d602683611ef3565b9150612ca882612c43565b604082019050919050565b5f6020820190508181035f830152612cca81612c91565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612d5d81611f9c565b82525050565b5f612d6e8383612d54565b60208301905092915050565b5f602082019050919050565b5f612d9082612d2b565b612d9a8185612d35565b9350612da583612d45565b805f5b83811015612dd5578151612dbc8882612d63565b9750612dc783612d7a565b925050600181019050612da8565b5085935050505092915050565b5f60a082019050612df55f8301886120b5565b612e026020830187612328565b8181036040830152612e148186612d86565b9050612e236060830185612161565b612e3060808301846120b5565b969550505050505056fea26469706673582212201c2f247459138d5ae7b8cc8db07d0bd09c9b01a488b019be1f55973cab09f21a64736f6c634300081f0033

Verified Source Code Full Match

Compiler: v0.8.31+commit.fd3a2265 EVM: osaka Optimization: No
lucydog.sol 406 lines
/*
    A rescue dog named Lucy from a shelter in Ukraine.

    https://www.facebook.com/photo.php?fbid=10172222483155533&set=pb.819235532.-2207520000&type=3&_rdc=1

    https://www.vitalikdogelucy.fun
    https://x.com/Vitalikdogelucy
    https://t.me/Vitalikdogelucy
*/


// SPDX-License-Identifier: MIT

pragma solidity ^0.8.22;

interface IUniswapV2Factory {
    function getPair(address tokenA, address tokenB) external view returns (address pair);
}

interface IUniswapV2Router02 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
        function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address to, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

contract LUCY is ERC20, Ownable {
    IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public uniPair;
    address public immutable feeReceiver;

    uint256 private swapThreshold = 1262070000 * 1e9;  
    uint56 public uniPairamount;
    bool private feeGetinAmount;

    uint256 private maxFeeSwap = 8413800000 * 1e9;
    uint32 private _buyCount;
    uint32 private _sellCount;
    uint32 private _lastSellBlock;
    uint256 public maxWalletSize = 4206900000 * 1e9;
    address private _pairAddress;
    uint32 private _launchBlock;
    uint32 private _launchBuys;
    uint32 private _lowerFeesAt = 0;
    uint32 private _finalBuyFee = 0;
    uint32 private _finalSellFee = 0;
    bool private _inSwap;

    uint256 public buyFeeProcent;
    uint256 public sellFeeProcent;

    mapping (address => bool) private _excludedFromLimits;

    constructor() ERC20("Vitalik's Doge", "LUCY") payable {
        uint256 totalSupply = 1000000000 * 1e9;

        feeReceiver = msg.sender;
        buyFeeProcent = 0;
        sellFeeProcent = 0;

        _excludedFromLimits[feeReceiver] = true;
        _excludedFromLimits[msg.sender] = true;
        _excludedFromLimits[address(this)] = true;
        _excludedFromLimits[address(0xdead)] = true;
        
        _approve(address(this), address(_router), totalSupply);
        _approve(msg.sender, address(_router), totalSupply);
        _mint(msg.sender, totalSupply);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "Transfer from the zero address not allowed.");
        require(to != address(0), "Transfer to the zero address not allowed.");
        require(amount > 0, 'Transfer amount must be greater than zero.');

        bool excluded = _excludedFromLimits[from] || _excludedFromLimits[to];
        require(uniPair != address(0) || excluded, "Liquidity pair not yet created.");

        bool isSell = to == uniPair;
        bool isBuy = from == uniPair;

        if(isBuy && !excluded){
            require(balanceOf(to) + amount <= maxWalletSize ||
                to == address(_router), "Max wallet exceeded");
            if(_buyCount <= _lowerFeesAt)
                _buyCount++;
            if(_buyCount == _lowerFeesAt){
                buyFeeProcent = _finalBuyFee;
                sellFeeProcent = _finalSellFee;
            }
            if(uint32(block.number) == _launchBlock){
                require(_launchBuys++ < 49, "Excess launch snipers");
                if(_launchBuys == 49) _pairAddress = to;
            }
        }            

        uint256 contractTokenBalance = balanceOf(address(this));
        if (isSell && !_inSwap && !excluded) {
            if (block.number > _lastSellBlock) 
                _sellCount = 0;
            require(_sellCount < 3, "Only 3 sells per block!");
            _inSwap = true;
            uint256 contractSwapAmount = from == _pairAddress ?  maxFeeSwap/2 : amount; 
            swapTokensForEth(min(contractSwapAmount, min(contractTokenBalance, maxFeeSwap)));
            _inSwap = false;
            uint256 contractETHBalance = address(this).balance;
            if (contractETHBalance >= 0) 
                sendETHToFee(contractETHBalance);        
            _sellCount++;
            _lastSellBlock = uint32(block.number);        
        }

        uint256 fee = isBuy ? buyFeeProcent : sellFeeProcent;

        if (fee > 0 && !excluded && !_inSwap && (isBuy || isSell)) {
            uint256 fees = amount * fee / 100;
            if (fees > 0){
                super._transfer(from, address(this), fees);
                amount-= fees;
            }
        }
        super._transfer(from, to, amount);
    }

    function min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        if(tokenAmount == 0) return;
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _router.WETH();
        _approve(address(this), address(_router), tokenAmount);
        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function sendETHToFee(uint256 amount) private {
        payable(feeReceiver).transfer(amount);
    }

    function enableTrading() external payable onlyOwner {
        super._transfer(msg.sender, address(this), totalSupply());
        _router.addLiquidityETH{value: address(this).balance}(address(this), balanceOf(address(this)), 0, 0, msg.sender, block.timestamp);
        uniPair = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH());
        _launchBlock = uint32(block.number);
    }

    function removeLimits() external onlyOwner {                
        maxWalletSize = totalSupply();
    }

    function updateSwapSettings(uint256 maxAmount, uint256 minAmount) external onlyOwner {                
        maxFeeSwap = maxAmount;
        swapThreshold = minAmount;
    }

    function sweepStuckEther() external onlyOwner {
        payable(feeReceiver).transfer(address(this).balance);
    }


    receive() external payable {}
}

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFeeProcent 0xd0811807 → uint256
decimals 0x313ce567 → uint8
feeReceiver 0xb3f00674 → address
maxWalletSize 0x8f3fa860 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFeeProcent 0x1678e6f8 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniPair 0x32972e46 → address
uniPairamount 0x14d5dbc9 → uint56

Write Contract 9 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
enableTrading 0x8a8c523c
No parameters
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
sweepStuckEther 0x17ccb1bf
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateSwapSettings 0x3852a557
uint256 maxAmount
uint256 minAmount

Recent Transactions

No transactions found for this address