Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xE8df9F3323E3019648F30709C6B85e63e5C9E4d9
Balance 0 ETH
Nonce 1
Code Size 13405 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

13405 bytes
0x6080604052600436106101c5575f3560e01c8063715018a6116100f6578063c9567bf911610094578063dd62ed3e11610063578063dd62ed3e146105d8578063e0d30d9b14610614578063f2fde38b1461063e578063f8b45b0514610666576101cc565b8063c9567bf914610558578063cc3fdd4c1461056e578063cce987d414610598578063d5545462146105c2576101cc565b80639e8c708e116100d05780639e8c708e1461048e578063a457c2d7146104b6578063a9059cbb146104f2578063ac3c45731461052e576101cc565b8063715018a6146104245780638da5cb5b1461043a57806395d89b4114610464576101cc565b8063313ce567116101635780635564ad711161013d5780635564ad7114610382578063578878b41461039857806359acbe4e146103c057806370a08231146103e8576101cc565b8063313ce567146102f2578063395093511461031c57806339e7fddc14610358576101cc565b806306fdde031161019f57806306fdde0314610226578063095ea7b31461025057806318160ddd1461028c57806323b872dd146102b6576101cc565b806303f90771146101d0578063056939da146101e65780630614117a14610210576101cc565b366101cc57005b5f80fd5b3480156101db575f80fd5b506101e4610690565b005b3480156101f1575f80fd5b506101fa61071c565b6040516102079190612298565b60405180910390f35b34801561021b575f80fd5b50610224610741565b005b348015610231575f80fd5b5061023a61081b565b6040516102479190612321565b60405180910390f35b34801561025b575f80fd5b50610276600480360381019061027191906123a2565b6108ab565b60405161028391906123fa565b60405180910390f35b348015610297575f80fd5b506102a06108cd565b6040516102ad9190612422565b60405180910390f35b3480156102c1575f80fd5b506102dc60048036038101906102d7919061243b565b6108d6565b6040516102e991906123fa565b60405180910390f35b3480156102fd575f80fd5b50610306610904565b60405161031391906124a6565b60405180910390f35b348015610327575f80fd5b50610342600480360381019061033d91906123a2565b61090c565b60405161034f91906123fa565b60405180910390f35b348015610363575f80fd5b5061036c6109b1565b6040516103799190612298565b60405180910390f35b34801561038d575f80fd5b506103966109d5565b005b3480156103a3575f80fd5b506103be60048036038101906103b991906124bf565b610a5a565b005b3480156103cb575f80fd5b506103e660048036038101906103e191906124ea565b610bda565b005b3480156103f3575f80fd5b5061040e60048036038101906104099190612528565b610cb9565b60405161041b9190612422565b60405180910390f35b34801561042f575f80fd5b50610438610cfe565b005b348015610445575f80fd5b5061044e610d85565b60405161045b9190612298565b60405180910390f35b34801561046f575f80fd5b50610478610dad565b6040516104859190612321565b60405180910390f35b348015610499575f80fd5b506104b460048036038101906104af919061258e565b610e3d565b005b3480156104c1575f80fd5b506104dc60048036038101906104d791906123a2565b610fc7565b6040516104e991906123fa565b60405180910390f35b3480156104fd575f80fd5b50610518600480360381019061051391906123a2565b6110ab565b60405161052591906123fa565b60405180910390f35b348015610539575f80fd5b506105426110cd565b60405161054f9190612422565b60405180910390f35b348015610563575f80fd5b5061056c6110d3565b005b348015610579575f80fd5b5061058261130a565b60405161058f9190612422565b60405180910390f35b3480156105a3575f80fd5b506105ac611310565b6040516105b99190612422565b60405180910390f35b3480156105cd575f80fd5b506105d6611316565b005b3480156105e3575f80fd5b506105fe60048036038101906105f991906125b9565b61139b565b60405161060b9190612422565b60405180910390f35b34801561061f575f80fd5b5061062861141d565b6040516106359190612422565b60405180910390f35b348015610649575f80fd5b50610664600480360381019061065f9190612528565b611423565b005b348015610671575f80fd5b5061067a611519565b6040516106879190612422565b60405180910390f35b61069861151f565b73ffffffffffffffffffffffffffffffffffffffff166106b6610d85565b73ffffffffffffffffffffffffffffffffffffffff161461070c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070390612641565b60405180910390fd5b5f6008819055505f600781905550565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f00000000000000000000000094eada89ba6a124a89cd2b37fe9314c0153e87ae73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806107cd575061079e610d85565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6107d5575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610818573d5f803e3d5ffd5b50565b60606003805461082a9061268c565b80601f01602080910402602001604051908101604052809291908181526020018280546108569061268c565b80156108a15780601f10610878576101008083540402835291602001916108a1565b820191905f5260205f20905b81548152906001019060200180831161088457829003601f168201915b5050505050905090565b5f806108b561151f565b90506108c2818585611526565b600191505092915050565b5f600254905090565b5f806108e061151f565b90506108ed8582856116e9565b6108f8858585611774565b60019150509392505050565b5f6012905090565b5f8061091661151f565b90506109a681858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546109a191906126e9565b611526565b600191505092915050565b7f00000000000000000000000094eada89ba6a124a89cd2b37fe9314c0153e87ae81565b6109dd61151f565b73ffffffffffffffffffffffffffffffffffffffff166109fb610d85565b73ffffffffffffffffffffffffffffffffffffffff1614610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890612641565b60405180910390fd5b5f600881905550565b7f00000000000000000000000094eada89ba6a124a89cd2b37fe9314c0153e87ae73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610ae65750610ab7610d85565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610aee575f80fd5b610b1e620186a0610b106001610b026108cd565b611c7f90919063ffffffff16565b611c9490919063ffffffff16565b811015610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b579061278c565b60405180910390fd5b610b8e6064610b806002610b726108cd565b611c7f90919063ffffffff16565b611c9490919063ffffffff16565b811115610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc79061281a565b60405180910390fd5b8060098190555050565b610be261151f565b73ffffffffffffffffffffffffffffffffffffffff16610c00610d85565b73ffffffffffffffffffffffffffffffffffffffff1614610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d90612641565b60405180910390fd5b60148211158015610c68575060148111155b610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e906128a8565b60405180910390fd5b81600a8190555080600b819055505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610d0661151f565b73ffffffffffffffffffffffffffffffffffffffff16610d24610d85565b73ffffffffffffffffffffffffffffffffffffffff1614610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190612641565b60405180910390fd5b610d835f611ca9565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610dbc9061268c565b80601f0160208091040260200160405190810160405280929190818152602001828054610de89061268c565b8015610e335780601f10610e0a57610100808354040283529160200191610e33565b820191905f5260205f20905b815481529060010190602001808311610e1657829003601f168201915b5050505050905090565b7f00000000000000000000000094eada89ba6a124a89cd2b37fe9314c0153e87ae73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610ec95750610e9a610d85565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610ed1575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f279190612298565b602060405180830381865afa158015610f42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6691906128da565b6040518363ffffffff1660e01b8152600401610f83929190612905565b6020604051808303815f875af1158015610f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc39190612956565b5050565b5f80610fd161151f565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905083811015611092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611089906129f1565b60405180910390fd5b61109f8286868403611526565b60019250505092915050565b5f806110b561151f565b90506110c2818585611774565b600191505092915050565b60095481565b6110db61151f565b73ffffffffffffffffffffffffffffffffffffffff166110f9610d85565b73ffffffffffffffffffffffffffffffffffffffff161461114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690612641565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d09190612a23565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611249573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061126d9190612a23565b6040518363ffffffff1660e01b815260040161128a929190612a4e565b602060405180830381865afa1580156112a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c99190612a23565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600a5481565b60075481565b61131e61151f565b73ffffffffffffffffffffffffffffffffffffffff1661133c610d85565b73ffffffffffffffffffffffffffffffffffffffff1614611392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138990612641565b60405180910390fd5b5f600781905550565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600b5481565b61142b61151f565b73ffffffffffffffffffffffffffffffffffffffff16611449610d85565b73ffffffffffffffffffffffffffffffffffffffff161461149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690612641565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361150d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150490612ae5565b60405180910390fd5b61151681611ca9565b50565b60085481565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90612b73565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f990612c01565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116dc9190612422565b60405180910390a3505050565b5f6116f4848461139b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461176e5781811015611760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175790612c69565b60405180910390fd5b61176d8484848403611526565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990612cf7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184790612d85565b60405180910390fd5b5f8111611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188990612e13565b60405180910390fd5b5f600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168061192e5750600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415806119895750805b6119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90612e7b565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080611a775750815b8015611a8457505f600754115b8015611a8e575082155b15611ad957600754841115611ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acf90612f2f565b60405180910390fd5b5b81158015611ae857505f600854115b8015611af2575082155b15611b505760085484611b0487610cb9565b611b0e91906126e9565b1115611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4690612fe3565b60405180910390fd5b5b600954611b5c30610cb9565b10158015611b765750600c5f9054906101000a900460ff16155b8015611b7f5750815b8015611b89575082155b15611bca576001600c5f6101000a81548160ff021916908315150217905550611bb0611d6c565b5f600c5f6101000a81548160ff0219169083151502179055505b5f81611bd857600b54611bdc565b600a545b90505f811115611c6b5783158015611c005750600c5f9054906101000a900460ff16155b8015611c1157508180611c105750825b5b15611c6a575f611c3d6064611c2f8489611c7f90919063ffffffff16565b611c9490919063ffffffff16565b90505f811115611c5357611c52883083611fc5565b5b611c66818761223a90919063ffffffff16565b9550505b5b611c76878787611fc5565b50505050505050565b5f8183611c8c9190613001565b905092915050565b5f8183611ca1919061306f565b905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611d7630610cb9565b90505f8103611d855750611fc3565b600954811115611d955760095490505b5f600267ffffffffffffffff811115611db157611db061309f565b5b604051908082528060200260200182016040528015611ddf5781602001602082028036833780820191505090505b50905030815f81518110611df657611df56130cc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb19190612a23565b81600181518110611ec557611ec46130cc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611f1e30737a250d5630b4cf539739df2c5dacb4c659f2488d84611526565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f847f00000000000000000000000094eada89ba6a124a89cd2b37fe9314c0153e87ae426040518663ffffffff1660e01b8152600401611f939594939291906131f2565b5f604051808303815f87803b158015611faa575f80fd5b505af1158015611fbc573d5f803e3d5ffd5b5050505050505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202a906132ba565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890613348565b60405180910390fd5b6120ac83838361224f565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561212f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612126906133d6565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546121bd91906126e9565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516122219190612422565b60405180910390a3612234848484612254565b50505050565b5f818361224791906133f4565b905092915050565b505050565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61228282612259565b9050919050565b61229281612278565b82525050565b5f6020820190506122ab5f830184612289565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6122f3826122b1565b6122fd81856122bb565b935061230d8185602086016122cb565b612316816122d9565b840191505092915050565b5f6020820190508181035f83015261233981846122e9565b905092915050565b5f80fd5b61234e81612278565b8114612358575f80fd5b50565b5f8135905061236981612345565b92915050565b5f819050919050565b6123818161236f565b811461238b575f80fd5b50565b5f8135905061239c81612378565b92915050565b5f80604083850312156123b8576123b7612341565b5b5f6123c58582860161235b565b92505060206123d68582860161238e565b9150509250929050565b5f8115159050919050565b6123f4816123e0565b82525050565b5f60208201905061240d5f8301846123eb565b92915050565b61241c8161236f565b82525050565b5f6020820190506124355f830184612413565b92915050565b5f805f6060848603121561245257612451612341565b5b5f61245f8682870161235b565b93505060206124708682870161235b565b92505060406124818682870161238e565b9150509250925092565b5f60ff82169050919050565b6124a08161248b565b82525050565b5f6020820190506124b95f830184612497565b92915050565b5f602082840312156124d4576124d3612341565b5b5f6124e18482850161238e565b91505092915050565b5f8060408385031215612500576124ff612341565b5b5f61250d8582860161238e565b925050602061251e8582860161238e565b9150509250929050565b5f6020828403121561253d5761253c612341565b5b5f61254a8482850161235b565b91505092915050565b5f61255d82612278565b9050919050565b61256d81612553565b8114612577575f80fd5b50565b5f8135905061258881612564565b92915050565b5f602082840312156125a3576125a2612341565b5b5f6125b08482850161257a565b91505092915050565b5f80604083850312156125cf576125ce612341565b5b5f6125dc8582860161235b565b92505060206125ed8582860161235b565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61262b6020836122bb565b9150612636826125f7565b602082019050919050565b5f6020820190508181035f8301526126588161261f565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806126a357607f821691505b6020821081036126b6576126b561265f565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6126f38261236f565b91506126fe8361236f565b9250828201905080821115612716576127156126bc565b5b92915050565b7f53776170207468726573686f6c642063616e6e6f74206265206c6f77657220745f8201527f68616e20302e3030312520746f74616c20737570706c792e0000000000000000602082015250565b5f6127766038836122bb565b91506127818261271c565b604082019050919050565b5f6020820190508181035f8301526127a38161276a565b9050919050565b7f53776170207468726573686f6c642063616e6e6f7420626520686967686572205f8201527f7468616e20322520746f74616c20737570706c792e0000000000000000000000602082015250565b5f6128046035836122bb565b915061280f826127aa565b604082019050919050565b5f6020820190508181035f830152612831816127f8565b9050919050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f612892602e836122bb565b915061289d82612838565b604082019050919050565b5f6020820190508181035f8301526128bf81612886565b9050919050565b5f815190506128d481612378565b92915050565b5f602082840312156128ef576128ee612341565b5b5f6128fc848285016128c6565b91505092915050565b5f6040820190506129185f830185612289565b6129256020830184612413565b9392505050565b612935816123e0565b811461293f575f80fd5b50565b5f815190506129508161292c565b92915050565b5f6020828403121561296b5761296a612341565b5b5f61297884828501612942565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f6129db6025836122bb565b91506129e682612981565b604082019050919050565b5f6020820190508181035f830152612a08816129cf565b9050919050565b5f81519050612a1d81612345565b92915050565b5f60208284031215612a3857612a37612341565b5b5f612a4584828501612a0f565b91505092915050565b5f604082019050612a615f830185612289565b612a6e6020830184612289565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612acf6026836122bb565b9150612ada82612a75565b604082019050919050565b5f6020820190508181035f830152612afc81612ac3565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612b5d6024836122bb565b9150612b6882612b03565b604082019050919050565b5f6020820190508181035f830152612b8a81612b51565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612beb6022836122bb565b9150612bf682612b91565b604082019050919050565b5f6020820190508181035f830152612c1881612bdf565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612c53601d836122bb565b9150612c5e82612c1f565b602082019050919050565b5f6020820190508181035f830152612c8081612c47565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f612ce1602b836122bb565b9150612cec82612c87565b604082019050919050565b5f6020820190508181035f830152612d0e81612cd5565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f612d6f6029836122bb565b9150612d7a82612d15565b604082019050919050565b5f6020820190508181035f830152612d9c81612d63565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f612dfd602a836122bb565b9150612e0882612da3565b604082019050919050565b5f6020820190508181035f830152612e2a81612df1565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f612e65601f836122bb565b9150612e7082612e31565b602082019050919050565b5f6020820190508181035f830152612e9281612e59565b9050919050565b7f537761702076616c75652065786365656473206d6178207377617020616d6f755f8201527f6e742c2074727920616761696e2077697468206c65737320737761702076616c60208201527f75652e0000000000000000000000000000000000000000000000000000000000604082015250565b5f612f196043836122bb565b9150612f2482612e99565b606082019050919050565b5f6020820190508181035f830152612f4681612f0d565b9050919050565b7f42616c616e63652065786365656473206d617820686f6c64696e677320616d6f5f8201527f756e742c20636f6e7369646572207573696e672061207365636f6e642077616c60208201527f6c65742e00000000000000000000000000000000000000000000000000000000604082015250565b5f612fcd6044836122bb565b9150612fd882612f4d565b606082019050919050565b5f6020820190508181035f830152612ffa81612fc1565b9050919050565b5f61300b8261236f565b91506130168361236f565b92508282026130248161236f565b9150828204841483151761303b5761303a6126bc565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6130798261236f565b91506130848361236f565b92508261309457613093613042565b5b828204905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f61312561312061311b846130f9565b613102565b61236f565b9050919050565b6131358161310b565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61316d81612278565b82525050565b5f61317e8383613164565b60208301905092915050565b5f602082019050919050565b5f6131a08261313b565b6131aa8185613145565b93506131b583613155565b805f5b838110156131e55781516131cc8882613173565b97506131d78361318a565b9250506001810190506131b8565b5085935050505092915050565b5f60a0820190506132055f830188612413565b613212602083018761312c565b81810360408301526132248186613196565b90506132336060830185612289565b6132406080830184612413565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6132a46025836122bb565b91506132af8261324a565b604082019050919050565b5f6020820190508181035f8301526132d181613298565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6133326023836122bb565b915061333d826132d8565b604082019050919050565b5f6020820190508181035f83015261335f81613326565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6133c06026836122bb565b91506133cb82613366565b604082019050919050565b5f6020820190508181035f8301526133ed816133b4565b9050919050565b5f6133fe8261236f565b91506134098361236f565b9250828203905081811115613421576134206126bc565b5b9291505056fea2646970667358221220a8578c932333d552e096c4ddc27c88f060744dd58b1c4e4d9c1d9a0a2f3e3b1564736f6c634300081a0033

Verified Source Code Partial Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
ONOS.sol 460 lines
// SPDX-License-Identifier: MIT

  /*
    Website: https://onyxos.net/
    X/Twitter: https://x.com/Onyx_OS
    Telegram: https://t.me/Onyx_OS

    No-code Visual AI Flow Builder—drag & drop AI agents, multi-provider support, native MCP for live on-chain context, and self-healing pipelines.
  */
  
  pragma solidity ^0.8.26;

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

      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 increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
          address owner = _msgSender();
          _approve(owner, spender, _allowances[owner][spender] + addedValue);
          return true;
      }

      function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
          address owner = _msgSender();
          uint256 currentAllowance = _allowances[owner][spender];
          require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
          unchecked {
              _approve(owner, spender, currentAllowance - subtractedValue);
          }

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

  library SafeMath {
      function add(uint256 a, uint256 b) internal pure returns (uint256) {
          return a + b;
      }

      function sub(uint256 a, uint256 b) internal pure returns (uint256) {
          return a - b;
      }

      function mul(uint256 a, uint256 b) internal pure returns (uint256) {
          return a * b;
      }

      function div(uint256 a, uint256 b) internal pure returns (uint256) {
          return a / b;
      }

      function sub(
          uint256 a,
          uint256 b,
          string memory errorMessage
      ) internal pure returns (uint256) {
          unchecked {
              require(b <= a, errorMessage);
              return a - b;
          }
      }

      function div(
          uint256 a,
          uint256 b,
          string memory errorMessage
      ) internal pure returns (uint256) {
          unchecked {
              require(b > 0, errorMessage);
              return a / b;
          }
      }
  }

  interface IUniswapV2Factory {
      function createPair(address tokenA, address tokenB) external returns (address pair);
      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;
  }

contract ONOS is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public v2Pair;
    address public immutable feeAddr;

    uint256 public maxSwapAmount;
    uint256 public maxWallet;
    uint256 public feeThresholdAmount;

    uint256 public buyFeePercent;
    uint256 public sellFeePercent;

    bool private _inSwap;
    mapping (address => bool) private _excludedLimits;

    constructor() ERC20(unicode"OnyxOS", unicode"ONOS") payable {
        uint256 totalSupply = 1000000000 * 1e18;

        maxSwapAmount = totalSupply.mul(2).div(100);
        maxWallet = totalSupply.mul(2).div(100);
        feeThresholdAmount = totalSupply.mul(5).div(1000);

        feeAddr = 0x94EADA89bA6a124a89CD2B37FE9314c0153e87aE;

        buyFeePercent = 0;
        sellFeePercent = 0;

        _excludedLimits[feeAddr] = true;
        _excludedLimits[msg.sender] = true;
        _excludedLimits[tx.origin] = true;
        _excludedLimits[address(this)] = true;
        _excludedLimits[address(0xdead)] = true;

        _mint(tx.origin, 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 = _excludedLimits[from] || _excludedLimits[to];
        require(v2Pair != address(0) || excluded, "Liquidity pair not yet created.");

        bool isSell = to == v2Pair;
        bool isBuy = from == v2Pair;

        if ((isBuy || isSell) && maxSwapAmount > 0 && !excluded)
            require(amount <= maxSwapAmount, "Swap value exceeds max swap amount, try again with less swap value.");

        if (!isSell && maxWallet > 0 && !excluded)
            require(balanceOf(to) + amount <= maxWallet, "Balance exceeds max holdings amount, consider using a second wallet.");

        if (
          balanceOf(address(this)) >= feeThresholdAmount &&
          !_inSwap && isSell &&
          !excluded 
        ) {
            _inSwap = true;
            _swapBack();
            _inSwap = false;
        }

        uint256 fee = isBuy ? buyFeePercent : sellFeePercent;

        if (fee > 0) {
            if (!excluded && !_inSwap && (isBuy || isSell)) {
                uint256 fees = amount.mul(fee).div(100);

                if (fees > 0)
                    super._transfer(from, address(this), fees);

                amount = amount.sub(fees);
            }
        }

        super._transfer(from, to, amount);
    }

    function _swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) return;
        if (contractBalance > feeThresholdAmount) contractBalance = feeThresholdAmount;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _router.WETH();

        _approve(address(this), address(_router), contractBalance);

        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            contractBalance,
            0,
            path,
            feeAddr,
            block.timestamp
        );
    }

    function openTrading() external onlyOwner {
        v2Pair = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH());
    }

    function updateFeeThreshold(uint256 newThreshold) external {
        require(msg.sender == feeAddr || msg.sender == owner());
        require(newThreshold >= totalSupply().mul(1).div(100000), "Swap threshold cannot be lower than 0.001% total supply.");
        require(newThreshold <= totalSupply().mul(2).div(100), "Swap threshold cannot be higher than 2% total supply.");
        feeThresholdAmount = newThreshold;
    }

    function setSwapFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner {
        require(newBuyFee <= 20 && newSellFee <= 20, 'Attempting to set fee higher than initial fee.');
        buyFeePercent = newBuyFee;
        sellFeePercent = newSellFee;
    }

    function disableAllLimits() external onlyOwner {
        maxWallet = 0;
        maxSwapAmount = 0;
    }

    function disableHoldingLimit() external onlyOwner {
        maxWallet = 0;
    }

    function removeSwapTxLimit() external onlyOwner {
        maxSwapAmount = 0;
    }

    function recoverETH() external  {
        require(msg.sender == feeAddr || msg.sender == owner());
        payable(msg.sender).transfer(address(this).balance);
    }

    function recoverERC20(IERC20 token) external  {
      require(msg.sender == feeAddr || msg.sender == owner());
        token.transfer(msg.sender, token.balanceOf(address(this)));
    }

    receive() external payable {}
  }

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFeePercent 0xcc3fdd4c → uint256
decimals 0x313ce567 → uint8
feeAddr 0x39e7fddc → address
feeThresholdAmount 0xac3c4573 → uint256
maxSwapAmount 0xcce987d4 → uint256
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFeePercent 0xe0d30d9b → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
v2Pair 0x056939da → address

Write Contract 15 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableAllLimits 0x03f90771
No parameters
disableHoldingLimit 0x5564ad71
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
openTrading 0xc9567bf9
No parameters
recoverERC20 0x9e8c708e
address token
recoverETH 0x0614117a
No parameters
removeSwapTxLimit 0xd5545462
No parameters
renounceOwnership 0x715018a6
No parameters
setSwapFees 0x59acbe4e
uint256 newBuyFee
uint256 newSellFee
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateFeeThreshold 0x578878b4
uint256 newThreshold

Recent Transactions

No transactions found for this address