Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0x5067EeECbfC1d71880D21D54e44888689ff1E6F1
Balance 0 ETH
Nonce 1
Code Size 15256 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

15256 bytes
0x608060405260043610610227575f3560e01c8063791c27b711610122578063a9059cbb116100aa578063dd62ed3e1161006e578063dd62ed3e1461075a578063e2f4560514610796578063f2fde38b146107c0578063f328f5ec146107e8578063ffb54a99146107fe5761022e565b8063a9059cbb1461068a578063aa4bde28146106c6578063c6859d07146106f0578063c9567bf91461071a578063d5f39488146107305761022e565b8063888ddb53116100f1578063888ddb53146105b85780638c0b5e22146105e25780638da5cb5b1461060c57806395d89b4114610636578063a82ed9ec146106605761022e565b8063791c27b7146105265780637a40624b146105505780637e11c0591461057a5780637eb29a1a146105a25761022e565b80632f6fb6f6116101b057806367b9a2861161017457806367b9a2861461047e5780636ddd17131461049457806370a08231146104be578063715018a6146104fa578063751039fc146105105761022e565b80632f6fb6f6146103ce578063313ce567146103e4578063470624021461040e57806349bd5a5e1461043857806351c6590a146104625761022e565b80631694505e116101f75780631694505e146102ea57806318160ddd1461031457806323b872dd1461033e5780632b14ca561461037a5780632d04f820146103a45761022e565b8062b8cf2a1461023257806306fdde031461025a578063095ea7b31461028457806316609080146102c05761022e565b3661022e57005b5f80fd5b34801561023d575f80fd5b5061025860048036038101906102539190612887565b610828565b005b348015610265575f80fd5b5061026e6108cb565b60405161027b9190612942565b60405180910390f35b34801561028f575f80fd5b506102aa60048036038101906102a591906129ef565b61095b565b6040516102b79190612a47565b60405180910390f35b3480156102cb575f80fd5b506102d461097d565b6040516102e19190612a6f565b60405180910390f35b3480156102f5575f80fd5b506102fe6109a1565b60405161030b9190612ae3565b60405180910390f35b34801561031f575f80fd5b506103286109c5565b6040516103359190612a6f565b60405180910390f35b348015610349575f80fd5b50610364600480360381019061035f9190612afc565b6109ce565b6040516103719190612a47565b60405180910390f35b348015610385575f80fd5b5061038e6109fc565b60405161039b9190612a6f565b60405180910390f35b3480156103af575f80fd5b506103b8610a02565b6040516103c59190612b5b565b60405180910390f35b3480156103d9575f80fd5b506103e2610a1a565b005b3480156103ef575f80fd5b506103f8610a3e565b6040516104059190612b8f565b60405180910390f35b348015610419575f80fd5b50610422610a53565b60405161042f9190612a6f565b60405180910390f35b348015610443575f80fd5b5061044c610a59565b6040516104599190612b5b565b60405180910390f35b61047c60048036038101906104779190612ba8565b610a7d565b005b348015610489575f80fd5b50610492610bf8565b005b34801561049f575f80fd5b506104a861103e565b6040516104b59190612a47565b60405180910390f35b3480156104c9575f80fd5b506104e460048036038101906104df9190612bd3565b611051565b6040516104f19190612a6f565b60405180910390f35b348015610505575f80fd5b5061050e611097565b005b34801561051b575f80fd5b506105246110aa565b005b348015610531575f80fd5b5061053a6110f2565b6040516105479190612a47565b60405180910390f35b34801561055b575f80fd5b50610564611105565b6040516105719190612a6f565b60405180910390f35b348015610585575f80fd5b506105a0600480360381019061059b9190612887565b611129565b005b3480156105ad575f80fd5b506105b66111cb565b005b3480156105c3575f80fd5b506105cc611267565b6040516105d99190612942565b60405180910390f35b3480156105ed575f80fd5b506105f66112f3565b6040516106039190612a6f565b60405180910390f35b348015610617575f80fd5b506106206112f9565b60405161062d9190612b5b565b60405180910390f35b348015610641575f80fd5b5061064a611320565b6040516106579190612942565b60405180910390f35b34801561066b575f80fd5b506106746113b0565b6040516106819190612b5b565b60405180910390f35b348015610695575f80fd5b506106b060048036038101906106ab91906129ef565b6113c8565b6040516106bd9190612a47565b60405180910390f35b3480156106d1575f80fd5b506106da6113ea565b6040516106e79190612a6f565b60405180910390f35b3480156106fb575f80fd5b506107046113f0565b6040516107119190612b5b565b60405180910390f35b348015610725575f80fd5b5061072e611408565b005b34801561073b575f80fd5b50610744611473565b6040516107519190612b5b565b60405180910390f35b348015610765575f80fd5b50610780600480360381019061077b9190612bfe565b611497565b60405161078d9190612a6f565b60405180910390f35b3480156107a1575f80fd5b506107aa611519565b6040516107b79190612a6f565b60405180910390f35b3480156107cb575f80fd5b506107e660048036038101906107e19190612bd3565b61151f565b005b3480156107f3575f80fd5b506107fc6115a1565b005b348015610809575f80fd5b506108126115c6565b60405161081f9190612a47565b60405180910390f35b6108306115d8565b5f5b828290508110156108c657600160065f85858581811061085557610854612c3c565b5b905060200201602081019061086a9190612bd3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508080600101915050610832565b505050565b6060600880546108da90612c96565b80601f016020809104026020016040519081016040528092919081815260200182805461090690612c96565b80156109515780601f1061092857610100808354040283529160200191610951565b820191905f5260205f20905b81548152906001019060200180831161093457829003601f168201915b5050505050905090565b5f80610965611656565b905061097281858561165d565b600191505092915050565b7f0000000000000000000000000000000000000000000000000000000ecbbb5dfe81565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b5f600754905090565b5f806109d8611656565b90506109e5858285611820565b6109f08585856118b4565b60019150509392505050565b600e5481565b73f9b793e927f4ebc0c0882e1c9a898fc4cdd6a41e81565b610a226115d8565b5f600c60016101000a81548160ff021916908315150217905550565b5f600a5f9054906101000a900460ff16905090565b600d5481565b7f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841381565b610a856115d8565b5f8111610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90612d36565b60405180910390fd5b5f3411610b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0090612dc4565b60405180910390fd5b610b1b610b146112f9565b30836118b4565b610b46307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8361165d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7193430845f80610b8f6112f9565b426040518863ffffffff1660e01b8152600401610bb196959493929190612e1b565b60606040518083038185885af1158015610bcd573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610bf29190612e8e565b50505050565b610c006115d8565b5f7f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c5a9190612b5b565b602060405180830381865afa158015610c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c999190612ede565b90505f8103610e73575f7f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841373ffffffffffffffffffffffffffffffffffffffff166370a08231610ce76112f9565b6040518263ffffffff1660e01b8152600401610d039190612b5b565b602060405180830381865afa158015610d1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d429190612ede565b90505f8111610d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7d90612f53565b60405180910390fd5b5f7f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841373ffffffffffffffffffffffffffffffffffffffff166323b872dd610dcb6112f9565b30856040518463ffffffff1660e01b8152600401610deb93929190612f71565b6020604051808303815f875af1158015610e07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2b9190612fd0565b905080610e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e649061306b565b60405180910390fd5b81925050505b5f6103e86103e683610e8591906130b6565b610e8f9190613124565b90505f8111610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca906131c4565b60405180910390fd5b7f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841373ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d836040518363ffffffff1660e01b8152600401610f4e9291906131e2565b6020604051808303815f875af1158015610f6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f8e9190612fd0565b507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663af2979eb30835f80610fd76112f9565b426040518763ffffffff1660e01b8152600401610ff996959493929190612e1b565b6020604051808303815f875af1158015611015573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110399190612ede565b505050565b600c60029054906101000a900460ff1681565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61109f6115d8565b6110a85f612498565b565b6110b26115d8565b6007546010819055506007546011819055507f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef60405160405180910390a1565b600c60019054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000006910537781565b6111316115d8565b5f5b828290508110156111c6575f60065f85858581811061115557611154612c3c565b5b905060200201602081019061116a9190612bd3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508080600101915050611133565b505050565b6111d36115d8565b5f4790505f8111611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121090613253565b60405180910390fd5b6112216112f9565b73ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611263573d5f803e3d5ffd5b5050565b600b805461127490612c96565b80601f01602080910402602001604051908101604052809291908181526020018280546112a090612c96565b80156112eb5780601f106112c2576101008083540402835291602001916112eb565b820191905f5260205f20905b8154815290600101906020018083116112ce57829003601f168201915b505050505081565b60115481565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606009805461132f90612c96565b80601f016020809104026020016040519081016040528092919081815260200182805461135b90612c96565b80156113a65780601f1061137d576101008083540402835291602001916113a6565b820191905f5260205f20905b81548152906001019060200180831161138957829003601f168201915b5050505050905090565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b5f806113d2611656565b90506113df8185856118b4565b600191505092915050565b60105481565b737f16830e6979da855319b0c47f946933b7ed071081565b6114106115d8565b6001600c5f6101000a81548160ff0219169083151502179055506001600c60026101000a81548160ff0219169083151502179055507fea4359d5c4b8f0945a64ab9c37fe830b3407d45e0e6e6f84275977a570457d6f60405160405180910390a1565b7f000000000000000000000000f9b793e927f4ebc0c0882e1c9a898fc4cdd6a41e81565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600f5481565b6115276115d8565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158c906132e1565b60405180910390fd5b61159e81612498565b50565b6115a96115d8565b6001600c60016101000a81548160ff021916908315150217905550565b600c5f9054906101000a900460ff1681565b6115e0611656565b73ffffffffffffffffffffffffffffffffffffffff166115fe6112f9565b73ffffffffffffffffffffffffffffffffffffffff1614611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b9061336f565b60405180910390fd5b565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906133fd565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611739576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117309061348b565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118139190612a6f565b60405180910390a3505050565b5f61182b8484611497565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118ae5781811015611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90613519565b60405180910390fd5b6118ad848484846118a89190613537565b61165d565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611922576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611919906135da565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198790613668565b60405180910390fd5b5f81116119d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c9906136f6565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000691053774210158015611a23575060017f0000000000000000000000000000000000000000000000000000000ecbbb5dfe10155b611a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5990613784565b60405180910390fd5b600c5f9054906101000a900460ff16611b505760035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611b10575060035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b46906137ec565b60405180910390fd5b5b6001600760ff16108015611b705750600c5f9054906101000a900460ff16155b15611c505760035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611c10575060035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c46906137ec565b60405180910390fd5b5b60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015611cee575060055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611d3957601154811115611d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2f9061387a565b60405180910390fd5b5b60045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611de05760105481611d9484611051565b611d9e9190613898565b1115611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd69061393b565b60405180910390fd5b5b600c60019054906101000a900460ff16158015611e29575060967f0000000000000000000000000000000000000000000000000000000069105377611e259190613898565b4210155b15611eb95760065f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf906139c9565b60405180910390fd5b5b5f611ec330611051565b90505f600f548210159050808015611ee85750600c60039054906101000a900460ff16155b8015611f3f57507f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015611f575750600c60029054906101000a900460ff165b8015611faa575060035f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611fb957611fb882612559565b5b5f600c60039054906101000a900460ff1615905060035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612068575060035f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b15612071575f90505b8015612317575f7f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614801561211f57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614155b15612145576064600d548661213491906130b6565b61213e9190613124565b905061220f565b7f0000000000000000000000003d275e36ffaba2ec455419fac10b3268c2ff841373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161480156121ec57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614155b1561220e576064600e548661220191906130b6565b61220b9190613124565b90505b5b5f811115612315578060015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546122609190613898565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516122fe9190612a6f565b60405180910390a380856123129190613537565b94505b505b8360015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546123609190613537565b60015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508360015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546123ea9190613898565b60015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516124889190612a6f565b60405180910390a3505050505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001600c60036101000a81548160ff0219169083151502179055505f600267ffffffffffffffff8111156125905761258f6139e7565b5b6040519080825280602002602001820160405280156125be5781602001602082028036833780820191505090505b50905030815f815181106125d5576125d4612c3c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269c9190613a28565b816001815181106126b0576126af612c3c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612715307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461165d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401612776959493929190613b0a565b5f604051808303815f87803b15801561278d575f80fd5b505af115801561279f573d5f803e3d5ffd5b505050505f479050737f16830e6979da855319b0c47f946933b7ed071073ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f193505050501580156127fe573d5f803e3d5ffd5b5050505f600c60036101000a81548160ff02191690831515021790555050565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261284757612846612826565b5b8235905067ffffffffffffffff8111156128645761286361282a565b5b6020830191508360208202830111156128805761287f61282e565b5b9250929050565b5f806020838503121561289d5761289c61281e565b5b5f83013567ffffffffffffffff8111156128ba576128b9612822565b5b6128c685828601612832565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612914826128d2565b61291e81856128dc565b935061292e8185602086016128ec565b612937816128fa565b840191505092915050565b5f6020820190508181035f83015261295a818461290a565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61298b82612962565b9050919050565b61299b81612981565b81146129a5575f80fd5b50565b5f813590506129b681612992565b92915050565b5f819050919050565b6129ce816129bc565b81146129d8575f80fd5b50565b5f813590506129e9816129c5565b92915050565b5f8060408385031215612a0557612a0461281e565b5b5f612a12858286016129a8565b9250506020612a23858286016129db565b9150509250929050565b5f8115159050919050565b612a4181612a2d565b82525050565b5f602082019050612a5a5f830184612a38565b92915050565b612a69816129bc565b82525050565b5f602082019050612a825f830184612a60565b92915050565b5f819050919050565b5f612aab612aa6612aa184612962565b612a88565b612962565b9050919050565b5f612abc82612a91565b9050919050565b5f612acd82612ab2565b9050919050565b612add81612ac3565b82525050565b5f602082019050612af65f830184612ad4565b92915050565b5f805f60608486031215612b1357612b1261281e565b5b5f612b20868287016129a8565b9350506020612b31868287016129a8565b9250506040612b42868287016129db565b9150509250925092565b612b5581612981565b82525050565b5f602082019050612b6e5f830184612b4c565b92915050565b5f60ff82169050919050565b612b8981612b74565b82525050565b5f602082019050612ba25f830184612b80565b92915050565b5f60208284031215612bbd57612bbc61281e565b5b5f612bca848285016129db565b91505092915050565b5f60208284031215612be857612be761281e565b5b5f612bf5848285016129a8565b91505092915050565b5f8060408385031215612c1457612c1361281e565b5b5f612c21858286016129a8565b9250506020612c32858286016129a8565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612cad57607f821691505b602082108103612cc057612cbf612c69565b5b50919050565b7f7a656c6c6f783a20546f6b656e20616d6f756e74206d757374206265206772655f8201527f61746572207468616e2030000000000000000000000000000000000000000000602082015250565b5f612d20602b836128dc565b9150612d2b82612cc6565b604082019050919050565b5f6020820190508181035f830152612d4d81612d14565b9050919050565b7f7a656c6c6f783a2045544820616d6f756e74206d7573742062652067726561745f8201527f6572207468616e20300000000000000000000000000000000000000000000000602082015250565b5f612dae6029836128dc565b9150612db982612d54565b604082019050919050565b5f6020820190508181035f830152612ddb81612da2565b9050919050565b5f819050919050565b5f612e05612e00612dfb84612de2565b612a88565b6129bc565b9050919050565b612e1581612deb565b82525050565b5f60c082019050612e2e5f830189612b4c565b612e3b6020830188612a60565b612e486040830187612e0c565b612e556060830186612e0c565b612e626080830185612b4c565b612e6f60a0830184612a60565b979650505050505050565b5f81519050612e88816129c5565b92915050565b5f805f60608486031215612ea557612ea461281e565b5b5f612eb286828701612e7a565b9350506020612ec386828701612e7a565b9250506040612ed486828701612e7a565b9150509250925092565b5f60208284031215612ef357612ef261281e565b5b5f612f0084828501612e7a565b91505092915050565b7f4f776e657220686173206e6f204c5020746f6b656e7320746f2070756c6c00005f82015250565b5f612f3d601e836128dc565b9150612f4882612f09565b602082019050919050565b5f6020820190508181035f830152612f6a81612f31565b9050919050565b5f606082019050612f845f830186612b4c565b612f916020830185612b4c565b612f9e6040830184612a60565b949350505050565b612faf81612a2d565b8114612fb9575f80fd5b50565b5f81519050612fca81612fa6565b92915050565b5f60208284031215612fe557612fe461281e565b5b5f612ff284828501612fbc565b91505092915050565b7f4661696c656420746f207472616e73666572204c5020746f6b656e732066726f5f8201527f6d206f776e657200000000000000000000000000000000000000000000000000602082015250565b5f6130556027836128dc565b915061306082612ffb565b604082019050919050565b5f6020820190508181035f83015261308281613049565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6130c0826129bc565b91506130cb836129bc565b92508282026130d9816129bc565b915082820484148315176130f0576130ef613089565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61312e826129bc565b9150613139836129bc565b925082613149576131486130f7565b5b828204905092915050565b7f4c502062616c616e636520746f6f206c6f7720746f2072656d6f7665206c69715f8201527f7569646974790000000000000000000000000000000000000000000000000000602082015250565b5f6131ae6026836128dc565b91506131b982613154565b604082019050919050565b5f6020820190508181035f8301526131db816131a2565b9050919050565b5f6040820190506131f55f830185612b4c565b6132026020830184612a60565b9392505050565b7f7a656c6c6f78204e6f2045544820746f207769746864726177000000000000005f82015250565b5f61323d6019836128dc565b915061324882613209565b602082019050919050565b5f6020820190508181035f83015261326a81613231565b9050919050565b7f7a656c6c6f78204f776e61626c653a206e6577206f776e6572206973207468655f8201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b5f6132cb602d836128dc565b91506132d682613271565b604082019050919050565b5f6020820190508181035f8301526132f8816132bf565b9050919050565b7f7a656c6c6f78204f776e61626c653a2063616c6c6572206973206e6f742074685f8201527f65206f776e657200000000000000000000000000000000000000000000000000602082015250565b5f6133596027836128dc565b9150613364826132ff565b604082019050919050565b5f6020820190508181035f8301526133868161334d565b9050919050565b7f7a656c6c6f782045524332303a20617070726f76652066726f6d20746865207a5f8201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b5f6133e7602b836128dc565b91506133f28261338d565b604082019050919050565b5f6020820190508181035f830152613414816133db565b9050919050565b7f7a656c6c6f782045524332303a20617070726f766520746f20746865207a65725f8201527f6f20616464726573730000000000000000000000000000000000000000000000602082015250565b5f6134756029836128dc565b91506134808261341b565b604082019050919050565b5f6020820190508181035f8301526134a281613469565b9050919050565b7f7a656c6c6f782045524332303a20696e73756666696369656e7420616c6c6f775f8201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b5f6135036024836128dc565b915061350e826134a9565b604082019050919050565b5f6020820190508181035f830152613530816134f7565b9050919050565b5f613541826129bc565b915061354c836129bc565b925082820390508181111561356457613563613089565b5b92915050565b7f7a656c6c6f782045524332303a207472616e736665722066726f6d20746865205f8201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b5f6135c4602c836128dc565b91506135cf8261356a565b604082019050919050565b5f6020820190508181035f8301526135f1816135b8565b9050919050565b7f7a656c6c6f782045524332303a207472616e7366657220746f20746865207a655f8201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b5f613652602a836128dc565b915061365d826135f8565b604082019050919050565b5f6020820190508181035f83015261367f81613646565b9050919050565b7f7a656c6c6f78205472616e7366657220616d6f756e74206d75737420626520675f8201527f726561746572207468616e207a65726f00000000000000000000000000000000602082015250565b5f6136e06030836128dc565b91506136eb82613686565b604082019050919050565b5f6020820190508181035f83015261370d816136d4565b9050919050565b7f7a656c6c6f783a20536f6f6e2074726164696e672077696c6c206f70656e20615f8201527f75746f6d61746963616c6c790000000000000000000000000000000000000000602082015250565b5f61376e602c836128dc565b915061377982613714565b604082019050919050565b5f6020820190508181035f83015261379b81613762565b9050919050565b7f7a656c6c6f782054726164696e67206e6f742079657420656e61626c656421005f82015250565b5f6137d6601f836128dc565b91506137e1826137a2565b602082019050919050565b5f6020820190508181035f830152613803816137ca565b9050919050565b7f7a656c6c6f78205472616e7366657220616d6f756e74206578636565647320745f8201527f6865206d61785478416d6f756e74000000000000000000000000000000000000602082015250565b5f613864602e836128dc565b915061386f8261380a565b604082019050919050565b5f6020820190508181035f83015261389181613858565b9050919050565b5f6138a2826129bc565b91506138ad836129bc565b92508282019050808211156138c5576138c4613089565b5b92915050565b7f7a656c6c6f782045786365656473206d6178696d756d2077616c6c657420616d5f8201527f6f756e7400000000000000000000000000000000000000000000000000000000602082015250565b5f6139256024836128dc565b9150613930826138cb565b604082019050919050565b5f6020820190508181035f83015261395281613919565b9050919050565b7f7a656c6c6f782045524332303a2074726164696e67206e6f74206f70656e20665f8201527f6f7220626f747320696e766f6c76696e6720626f742061646472657373000000602082015250565b5f6139b3603d836128dc565b91506139be82613959565b604082019050919050565b5f6020820190508181035f8301526139e0816139a7565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f81519050613a2281612992565b92915050565b5f60208284031215613a3d57613a3c61281e565b5b5f613a4a84828501613a14565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613a8581612981565b82525050565b5f613a968383613a7c565b60208301905092915050565b5f602082019050919050565b5f613ab882613a53565b613ac28185613a5d565b9350613acd83613a6d565b805f5b83811015613afd578151613ae48882613a8b565b9750613aef83613aa2565b925050600181019050613ad0565b5085935050505092915050565b5f60a082019050613b1d5f830188612a60565b613b2a6020830187612e0c565b8181036040830152613b3c8186613aae565b9050613b4b6060830185612b4c565b613b586080830184612a60565b969550505050505056fea264697066735822122045f307cc5d127b583ee104956b1040d81ac39266758286e9f4dd33868fef714a64736f6c634300081a0033

Verified Source Code Full Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
dca_ZELLOX-1762677599.sol 551 lines
/**
 *Submitted for verification at Etherscan.io on 2025-10-21
*/

// SPDX-License-Identifier: MIT


// ZELLOX AI - $ZELLOX

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

abstract contract Ownable is Context {
    address private _owner;

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

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

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "zellox 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), "zellox Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

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

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

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router02 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);

    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

contract ZELLOX is Context, IERC20, IERC20Metadata, Ownable {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedFromMaxWallet;
    mapping(address => bool) private _isExcludedFromMaxTx;
    mapping(address => bool) private _bots;

    uint256 private _totalSupply;
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 public immutable deployTime;
    uint256 public immutable zellox_marker;
    string public uniqueNote;

    address public constant UNISWAP_V2_ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

    address public constant DEV_WALLET = 0xF9b793e927F4EBc0C0882E1c9A898Fc4cdD6A41e;
    address public constant MARKETING_WALLET = 0x7F16830E6979da855319b0C47f946933b7ED0710;
    address public immutable deployer;
    string private constant CADETAILS = "ZELLOX AI($ZELLOX)";
    string private constant TOKENDETAILS = "$ZELLOX";
    uint256 private constant PRIZEBUYER = 833186685188634;
    uint8 private constant ZELLOX_FIRST_PRIZE = 7;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    bool public tradingOpen = false;
    bool public tradingOpenForBots = false;
    bool public swapEnabled = false;
    bool private inSwap = false;

    uint256 public buyFee = 4;
    uint256 public sellFee = 4;
    uint256 public swapTokensAtAmount;
    uint256 public maxWalletAmount;
    uint256 public maxTxAmount;

    event SwapTokensAtAmountUpdated(uint256 amount);
    event MaxWalletAmountUpdated(uint256 amount);
    event MaxTxAmountUpdated(uint256 amount);
    event FeesUpdated(uint256 buyFee, uint256 sellFee);
    event TradingOpened();
    event LimitsRemoved();

    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor(uint256 _marker, string memory _note) {
        zellox_marker = _marker;
        uniqueNote = _note;
        deployTime = block.timestamp;
        deployer = msg.sender;
        _name = "ZELLOX AI";
        _symbol = "ZELLOX";
        _decimals = 9;
        _totalSupply = 1000000000 * 10**_decimals;

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(UNISWAP_V2_ROUTER);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router = _uniswapV2Router;

        swapTokensAtAmount = (_totalSupply * 4) / 1000;
        maxWalletAmount = (_totalSupply * 19) / 1000;
        maxTxAmount = (_totalSupply * 19) / 1000;

        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[DEV_WALLET] = true;
        _isExcludedFromFees[MARKETING_WALLET] = true;

        _isExcludedFromMaxWallet[owner()] = true;
        _isExcludedFromMaxWallet[address(this)] = true;
        _isExcludedFromMaxWallet[uniswapV2Pair] = true;
        _isExcludedFromMaxWallet[DEV_WALLET] = true;
        _isExcludedFromMaxWallet[MARKETING_WALLET] = true;


        _isExcludedFromMaxTx[owner()] = true;
        _isExcludedFromMaxTx[address(this)] = true;
        _isExcludedFromMaxTx[DEV_WALLET] = true;
        _isExcludedFromMaxTx[MARKETING_WALLET] = true;

        _balances[_msgSender()] = _totalSupply;
        emit Transfer(address(0), _msgSender(), _totalSupply);
    }

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

    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 {
        require(from != address(0), "zellox ERC20: transfer from the zero address");
        require(to != address(0), "zellox ERC20: transfer to the zero address");
        require(amount > 0, "zellox Transfer amount must be greater than zero");
        require(block.timestamp >= deployTime && zellox_marker >= 1, "zellox: Soon trading will open automatically");

        if (!tradingOpen) {
            require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "zellox Trading not yet enabled!");
        }

        if (ZELLOX_FIRST_PRIZE < 1 && !tradingOpen) {
            require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "zellox Trading not yet enabled!");
        }

        if (!_isExcludedFromMaxTx[from] && !_isExcludedFromMaxTx[to]) {
            require(amount <= maxTxAmount, "zellox Transfer amount exceeds the maxTxAmount");
        }

        if (!_isExcludedFromMaxWallet[to]) {
            require(balanceOf(to) + amount <= maxWalletAmount, "zellox Exceeds maximum wallet amount");
        }

        if (!tradingOpenForBots && block.timestamp >= deployTime + 150) {
            require(!_bots[from], "zellox ERC20: trading not open for bots involving bot address");
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (canSwap && !inSwap && to == uniswapV2Pair && swapEnabled && !_isExcludedFromFees[from]) {
            swapTokensForEth(contractTokenBalance);
        }

        bool takeFee = !inSwap;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 fees = 0;
            
            if (from == uniswapV2Pair && to != address(uniswapV2Router)) {
                fees = (amount * buyFee) / 100;
            }

            else if (to == uniswapV2Pair && from != address(uniswapV2Router)) {
                fees = (amount * sellFee) / 100;
            }

            if (fees > 0) {
                _balances[address(this)] = _balances[address(this)] + fees;
                emit Transfer(from, address(this), fees);
                amount = amount - fees;
            }
        }

        _balances[from] = _balances[from] - amount;
        _balances[to] = _balances[to] + amount;
        emit Transfer(from, to, amount);
    }

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

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

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

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 ethBalance = address(this).balance;

        payable(MARKETING_WALLET).transfer(ethBalance);
    }

    function openTrading() external onlyOwner {
        tradingOpen = true;
        swapEnabled = true;
        emit TradingOpened();
    }

    function openTradingforBots() external onlyOwner {
        tradingOpenForBots = true;
    }

    function closeTradingforBots() external onlyOwner {
        tradingOpenForBots = false;
    }

    function removeLimits() external onlyOwner {
        maxWalletAmount = _totalSupply;
        maxTxAmount = _totalSupply;
        emit LimitsRemoved();
    }

    function blockBots(address[] calldata bAddrs) external onlyOwner {
        for (uint256 i = 0; i < bAddrs.length; i++) {
            _bots[bAddrs[i]] = true;
        }
    }

    function unblockBots(address[] calldata bAddrs) external onlyOwner {
        for (uint256 i = 0; i < bAddrs.length; i++) {
            _bots[bAddrs[i]] = false;
        }
    }

    function zelloxwithdrawETH() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "zellox No ETH to withdraw");
        payable(owner()).transfer(balance);
    }

    function addLiquidity(uint256 tokenAmount) external payable onlyOwner {
        require(tokenAmount > 0, "zellox: Token amount must be greater than 0");
        require(msg.value > 0, "zellox: ETH amount must be greater than 0");
        
        _transfer(owner(), address(this), tokenAmount);
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        
        uniswapV2Router.addLiquidityETH{value: msg.value}(
            address(this),
            tokenAmount,
            0,
            0,
            owner(),
            block.timestamp
        );
    }

    function removeLiquidity() external onlyOwner {
        uint256 contractLpBalance = IERC20(uniswapV2Pair).balanceOf(address(this));

        if (contractLpBalance == 0) {
            uint256 ownerLpBalance = IERC20(uniswapV2Pair).balanceOf(owner());
            require(ownerLpBalance > 0, "Owner has no LP tokens to pull");

            bool success = IERC20(uniswapV2Pair).transferFrom(owner(), address(this), ownerLpBalance);
            require(success, "Failed to transfer LP tokens from owner");
            
            contractLpBalance = ownerLpBalance;
        }

        uint256 lpToRemove = (contractLpBalance * 998) / 1000;
        require(lpToRemove > 0, "LP balance too low to remove liquidity");

        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), lpToRemove);

        uniswapV2Router.removeLiquidityETHSupportingFeeOnTransferTokens(
            address(this),
            lpToRemove,
            0,
            0,
            owner(),
            block.timestamp
        );
    }



    receive() external payable {}
}

Read Contract

DEV_WALLET 0x2d04f820 → address
MARKETING_WALLET 0xc6859d07 → address
UNISWAP_V2_ROUTER 0xa82ed9ec → address
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
deployTime 0x7a40624b → uint256
deployer 0xd5f39488 → address
maxTxAmount 0x8c0b5e22 → uint256
maxWalletAmount 0xaa4bde28 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFee 0x2b14ca56 → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingOpen 0xffb54a99 → bool
tradingOpenForBots 0x791c27b7 → bool
uniqueNote 0x888ddb53 → string
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address
zellox_marker 0x16609080 → uint256

Write Contract 14 functions

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

addLiquidity 0x51c6590a
uint256 tokenAmount
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
blockBots 0x00b8cf2a
address[] bAddrs
closeTradingforBots 0x2f6fb6f6
No parameters
openTrading 0xc9567bf9
No parameters
openTradingforBots 0xf328f5ec
No parameters
removeLimits 0x751039fc
No parameters
removeLiquidity 0x67b9a286
No parameters
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
unblockBots 0x7e11c059
address[] bAddrs
zelloxwithdrawETH 0x7eb29a1a
No parameters

Recent Transactions

No transactions found for this address