Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0x494fa0f1e61925a232A807703680b5C7f725ec10
Balance 0 ETH
Nonce 1
Code Size 15349 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

15349 bytes
0x608060405260043610610228575f3560e01c806371f5f01a11610122578063a9059cbb116100aa578063dd62ed3e1161006e578063dd62ed3e146107bd578063e2f45605146107f9578063f2fde38b14610823578063f8b45b051461084b578063ffb54a99146108755761022f565b8063a9059cbb146106ef578063c02466681461072b578063c876d0b914610753578063c8c8ebe41461077d578063c9567bf9146107a75761022f565b80638ea5220f116100f15780638ea5220f1461060f57806395d89b411461063957806398a5c315146106635780639a7a23d61461068b578063a457c2d7146106b35761022f565b806371f5f01a1461056b5780637571336a1461059357806375f0a874146105bb5780638da5cb5b146105e55761022f565b80633edab509116101b057806352f7c9881161017457806352f7c9881461049d578063583e0568146104c55780636ddd1713146104ef57806370a0823114610519578063715018a6146105555761022f565b80633edab509146103cf57806342966c68146103e5578063470624021461040d57806349bd5a5e146104375780634fbee193146104615761022f565b806323b872dd116101f757806323b872dd146102d95780632b14ca5614610315578063311028af1461033f578063313ce5671461036957806339509351146103935761022f565b806306fdde0314610233578063095ea7b31461025d578063139864a81461029957806318160ddd146102af5761022f565b3661022f57005b5f80fd5b34801561023e575f80fd5b5061024761089f565b6040516102549190612a45565b60405180910390f35b348015610268575f80fd5b50610283600480360381019061027e9190612af6565b61092f565b6040516102909190612b4e565b60405180910390f35b3480156102a4575f80fd5b506102ad610951565b005b3480156102ba575f80fd5b506102c361096d565b6040516102d09190612b76565b60405180910390f35b3480156102e4575f80fd5b506102ff60048036038101906102fa9190612b8f565b610976565b60405161030c9190612b4e565b60405180910390f35b348015610320575f80fd5b506103296109a4565b6040516103369190612b76565b60405180910390f35b34801561034a575f80fd5b506103536109aa565b6040516103609190612b76565b60405180910390f35b348015610374575f80fd5b5061037d6109b0565b60405161038a9190612bfa565b60405180910390f35b34801561039e575f80fd5b506103b960048036038101906103b49190612af6565b6109b8565b6040516103c69190612b4e565b60405180910390f35b3480156103da575f80fd5b506103e36109ee565b005b3480156103f0575f80fd5b5061040b60048036038101906104069190612c13565b610c15565b005b348015610418575f80fd5b50610421610c29565b60405161042e9190612b76565b60405180910390f35b348015610442575f80fd5b5061044b610c2f565b6040516104589190612c4d565b60405180910390f35b34801561046c575f80fd5b5061048760048036038101906104829190612c66565b610c54565b6040516104949190612b4e565b60405180910390f35b3480156104a8575f80fd5b506104c360048036038101906104be9190612c91565b610ca6565b005b3480156104d0575f80fd5b506104d9610cc0565b6040516104e69190612d2a565b60405180910390f35b3480156104fa575f80fd5b50610503610ce4565b6040516105109190612b4e565b60405180910390f35b348015610524575f80fd5b5061053f600480360381019061053a9190612c66565b610cf7565b60405161054c9190612b76565b60405180910390f35b348015610560575f80fd5b50610569610d3c565b005b348015610576575f80fd5b50610591600480360381019061058c9190612c13565b610d4f565b005b34801561059e575f80fd5b506105b960048036038101906105b49190612d6d565b610de3565b005b3480156105c6575f80fd5b506105cf610e43565b6040516105dc9190612c4d565b60405180910390f35b3480156105f0575f80fd5b506105f9610e68565b6040516106069190612c4d565b60405180910390f35b34801561061a575f80fd5b50610623610e90565b6040516106309190612c4d565b60405180910390f35b348015610644575f80fd5b5061064d610eb5565b60405161065a9190612a45565b60405180910390f35b34801561066e575f80fd5b5061068960048036038101906106849190612c13565b610f45565b005b348015610696575f80fd5b506106b160048036038101906106ac9190612d6d565b610f57565b005b3480156106be575f80fd5b506106d960048036038101906106d49190612af6565b610ffc565b6040516106e69190612b4e565b60405180910390f35b3480156106fa575f80fd5b5061071560048036038101906107109190612af6565b611071565b6040516107229190612b4e565b60405180910390f35b348015610736575f80fd5b50610751600480360381019061074c9190612d6d565b611093565b005b34801561075e575f80fd5b50610767611141565b6040516107749190612b4e565b60405180910390f35b348015610788575f80fd5b50610791611154565b60405161079e9190612b76565b60405180910390f35b3480156107b2575f80fd5b506107bb61115a565b005b3480156107c8575f80fd5b506107e360048036038101906107de9190612dab565b611199565b6040516107f09190612b76565b60405180910390f35b348015610804575f80fd5b5061080d61121b565b60405161081a9190612b76565b60405180910390f35b34801561082e575f80fd5b5061084960048036038101906108449190612c66565b611221565b005b348015610856575f80fd5b5061085f6112a3565b60405161086c9190612b76565b60405180910390f35b348015610880575f80fd5b506108896112a9565b6040516108969190612b4e565b60405180910390f35b6060600380546108ae90612e16565b80601f01602080910402602001604051908101604052809291908181526020018280546108da90612e16565b80156109255780601f106108fc57610100808354040283529160200191610925565b820191905f5260205f20905b81548152906001019060200180831161090857829003601f168201915b5050505050905090565b5f806109396112bb565b90506109468185856112c2565b600191505092915050565b610959611485565b600954600d81905550600954600c81905550565b5f600254905090565b5f806109806112bb565b905061098d858285611503565b61099885858561158e565b60019150509392505050565b600b5481565b60095481565b5f6009905090565b5f806109c26112bb565b90506109e38185856109d48589611199565b6109de9190612e73565b6112c2565b600191505092915050565b6109f6611485565b60115f9054906101000a900460ff1615610a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3c90612ef0565b60405180910390fd5b610a72307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6009546112c2565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610ab930610cf7565b5f8073568921bb13abb86a09be353c514b5c8887221e1e426040518863ffffffff1660e01b8152600401610af296959493929190612f47565b60606040518083038185885af1158015610b0e573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610b339190612fba565b50505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610bd292919061300a565b6020604051808303815f875af1158015610bee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c129190613045565b50565b610c26610c206112bb565b82612176565b50565b600a5481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b610cae611485565b80600b8190555081600a819055505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b601160019054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610d44611485565b610d4d5f612339565b565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610d8f6112bb565b73ffffffffffffffffffffffffffffffffffffffff1614610dae575f80fd5b5f610db830610cf7565b90505f60648383610dc99190613070565b610dd391906130de565b9050610dde816123fc565b505050565b610deb611485565b8060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060048054610ec490612e16565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef090612e16565b8015610f3b5780601f10610f1257610100808354040283529160200191610f3b565b820191905f5260205f20905b815481529060010190602001808311610f1e57829003601f168201915b5050505050905090565b610f4d611485565b8060108190555050565b610f5f611485565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe59061317e565b60405180910390fd5b610ff88282612650565b5050565b5f806110066112bb565b90505f6110138286611199565b905083811015611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f9061320c565b60405180910390fd5b61106582868684036112c2565b60019250505092915050565b5f8061107b6112bb565b905061108881858561158e565b600191505092915050565b61109b611485565b8060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516111359190612b4e565b60405180910390a25050565b600e60019054906101000a900460ff1681565b600d5481565b611162611485565b6001601160016101000a81548160ff021916908315150217905550600160115f6101000a81548160ff021916908315150217905550565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60105481565b611229611485565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e9061329a565b60405180910390fd5b6112a081612339565b50565b600c5481565b60115f9054906101000a900460ff1681565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790613328565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361139e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611395906133b6565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516114789190612b76565b60405180910390a3505050565b61148d6112bb565b73ffffffffffffffffffffffffffffffffffffffff166114ab610e68565b73ffffffffffffffffffffffffffffffffffffffff1614611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f89061341e565b60405180910390fd5b565b5f61150e8484611199565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611588578181101561157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190613486565b60405180910390fd5b61158784848484036112c2565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f390613514565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361166a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611661906135a2565b60405180910390fd5b5f81036116815761167c83835f6126ee565b612171565b611689610e68565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156116f757506116c7610e68565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561172f57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611769575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156117815750600e5f9054906101000a900460ff16155b15611e045760115f9054906101000a900460ff166118745760125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611834575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a9061360a565b60405180910390fd5b5b600e60019054906101000a900460ff1680156118d7575060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561192a575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611b2a577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156119d8575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611b295743600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054108015611a65575043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054105b611aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9b90613698565b60405180910390fd5b43600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b60145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611bc7575060135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611c6e57600d54811115611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890613726565b60405180910390fd5b600c54611c1d83610cf7565b82611c289190612e73565b1115611c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c609061378e565b60405180910390fd5b611e03565b60145f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611d0b575060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611d5a57600d54811115611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c9061381c565b60405180910390fd5b611e02565b60135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611e0157600c54611db483610cf7565b82611dbf9190612e73565b1115611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df79061378e565b60405180910390fd5b5b5b5b5b5f611e0e30610cf7565b90505f6010548210159050808015611e325750601160019054906101000a900460ff165b8015611e4a5750600e5f9054906101000a900460ff16155b8015611e9d575060145f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015611ef0575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015611f43575060125f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611f85576001600e5f6101000a81548160ff021916908315150217905550611f6b8361295a565b5f600e5f6101000a81548160ff0219169083151502179055505b5f600e5f9054906101000a900460ff16158015611fe9575060125f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561203c575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b90505f81156121615760145f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156120c3576120bc60646120ae600b54886129a190919063ffffffff16565b6129b690919063ffffffff16565b905061213e565b60145f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561213d5761213a606461212c600a54886129a190919063ffffffff16565b6129b690919063ffffffff16565b90505b5b5f811115612152576121518730836126ee565b5b808561215e919061383a565b94505b61216c8787876126ee565b505050505b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121db906138dd565b60405180910390fd5b6121ef825f836129cb565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612272576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122699061396b565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516123219190612b76565b60405180910390a3612334835f846129d0565b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff81111561241857612417613989565b5b6040519080825280602002602001820160405280156124465781602001602082028036833780820191505090505b50905030815f8151811061245d5761245c6139b6565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612500573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252491906139f7565b81600181518110612538576125376139b6565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061259d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846112c2565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8460085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b815260040161261f959493929190613ad9565b5f604051808303815f87803b158015612636575f80fd5b505af1158015612648573d5f803e3d5ffd5b505050505050565b8060145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361275c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275390613514565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c1906135a2565b60405180910390fd5b6127d58383836129cb565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284f90613ba1565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516129419190612b76565b60405180910390a36129548484846129d0565b50505050565b5f61296430610cf7565b90505f8103612973575061299e565b5f819050600d54811061298657600d5490505b82811115612992578290505b61299b816123fc565b50505b50565b5f81836129ae9190613070565b905092915050565b5f81836129c391906130de565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612a17826129d5565b612a2181856129df565b9350612a318185602086016129ef565b612a3a816129fd565b840191505092915050565b5f6020820190508181035f830152612a5d8184612a0d565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a9282612a69565b9050919050565b612aa281612a88565b8114612aac575f80fd5b50565b5f81359050612abd81612a99565b92915050565b5f819050919050565b612ad581612ac3565b8114612adf575f80fd5b50565b5f81359050612af081612acc565b92915050565b5f8060408385031215612b0c57612b0b612a65565b5b5f612b1985828601612aaf565b9250506020612b2a85828601612ae2565b9150509250929050565b5f8115159050919050565b612b4881612b34565b82525050565b5f602082019050612b615f830184612b3f565b92915050565b612b7081612ac3565b82525050565b5f602082019050612b895f830184612b67565b92915050565b5f805f60608486031215612ba657612ba5612a65565b5b5f612bb386828701612aaf565b9350506020612bc486828701612aaf565b9250506040612bd586828701612ae2565b9150509250925092565b5f60ff82169050919050565b612bf481612bdf565b82525050565b5f602082019050612c0d5f830184612beb565b92915050565b5f60208284031215612c2857612c27612a65565b5b5f612c3584828501612ae2565b91505092915050565b612c4781612a88565b82525050565b5f602082019050612c605f830184612c3e565b92915050565b5f60208284031215612c7b57612c7a612a65565b5b5f612c8884828501612aaf565b91505092915050565b5f8060408385031215612ca757612ca6612a65565b5b5f612cb485828601612ae2565b9250506020612cc585828601612ae2565b9150509250929050565b5f819050919050565b5f612cf2612ced612ce884612a69565b612ccf565b612a69565b9050919050565b5f612d0382612cd8565b9050919050565b5f612d1482612cf9565b9050919050565b612d2481612d0a565b82525050565b5f602082019050612d3d5f830184612d1b565b92915050565b612d4c81612b34565b8114612d56575f80fd5b50565b5f81359050612d6781612d43565b92915050565b5f8060408385031215612d8357612d82612a65565b5b5f612d9085828601612aaf565b9250506020612da185828601612d59565b9150509250929050565b5f8060408385031215612dc157612dc0612a65565b5b5f612dce85828601612aaf565b9250506020612ddf85828601612aaf565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612e2d57607f821691505b602082108103612e4057612e3f612de9565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612e7d82612ac3565b9150612e8883612ac3565b9250828201905080821115612ea057612e9f612e46565b5b92915050565b7f54726164696e6720697320616c7265616479206f70656e0000000000000000005f82015250565b5f612eda6017836129df565b9150612ee582612ea6565b602082019050919050565b5f6020820190508181035f830152612f0781612ece565b9050919050565b5f819050919050565b5f612f31612f2c612f2784612f0e565b612ccf565b612ac3565b9050919050565b612f4181612f17565b82525050565b5f60c082019050612f5a5f830189612c3e565b612f676020830188612b67565b612f746040830187612f38565b612f816060830186612f38565b612f8e6080830185612c3e565b612f9b60a0830184612b67565b979650505050505050565b5f81519050612fb481612acc565b92915050565b5f805f60608486031215612fd157612fd0612a65565b5b5f612fde86828701612fa6565b9350506020612fef86828701612fa6565b925050604061300086828701612fa6565b9150509250925092565b5f60408201905061301d5f830185612c3e565b61302a6020830184612b67565b9392505050565b5f8151905061303f81612d43565b92915050565b5f6020828403121561305a57613059612a65565b5b5f61306784828501613031565b91505092915050565b5f61307a82612ac3565b915061308583612ac3565b925082820261309381612ac3565b915082820484148315176130aa576130a9612e46565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6130e882612ac3565b91506130f383612ac3565b925082613103576131026130b1565b5b828204905092915050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d205f8201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b5f6131686039836129df565b91506131738261310e565b604082019050919050565b5f6020820190508181035f8301526131958161315c565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f6131f66025836129df565b91506132018261319c565b604082019050919050565b5f6020820190508181035f830152613223816131ea565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6132846026836129df565b915061328f8261322a565b604082019050919050565b5f6020820190508181035f8301526132b181613278565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6133126024836129df565b915061331d826132b8565b604082019050919050565b5f6020820190508181035f83015261333f81613306565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6133a06022836129df565b91506133ab82613346565b604082019050919050565b5f6020820190508181035f8301526133cd81613394565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6134086020836129df565b9150613413826133d4565b602082019050919050565b5f6020820190508181035f830152613435816133fc565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f613470601d836129df565b915061347b8261343c565b602082019050919050565b5f6020820190508181035f83015261349d81613464565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6134fe6025836129df565b9150613509826134a4565b604082019050919050565b5f6020820190508181035f83015261352b816134f2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61358c6023836129df565b915061359782613532565b604082019050919050565b5f6020820190508181035f8301526135b981613580565b9050919050565b7f54726164696e67206973206e6f74206163746976652e000000000000000000005f82015250565b5f6135f46016836129df565b91506135ff826135c0565b602082019050919050565b5f6020820190508181035f830152613621816135e8565b9050919050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c5f8201527f65642e202054727920616761696e206c617465722e0000000000000000000000602082015250565b5f6136826035836129df565b915061368d82613628565b604082019050919050565b5f6020820190508181035f8301526136af81613676565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b5f6137106035836129df565b915061371b826136b6565b604082019050919050565b5f6020820190508181035f83015261373d81613704565b9050919050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f6137786013836129df565b915061378382613744565b602082019050919050565b5f6020820190508181035f8301526137a58161376c565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b5f6138066036836129df565b9150613811826137ac565b604082019050919050565b5f6020820190508181035f830152613833816137fa565b9050919050565b5f61384482612ac3565b915061384f83612ac3565b925082820390508181111561386757613866612e46565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f6138c76021836129df565b91506138d28261386d565b604082019050919050565b5f6020820190508181035f8301526138f4816138bb565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f6139556022836129df565b9150613960826138fb565b604082019050919050565b5f6020820190508181035f83015261398281613949565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f815190506139f181612a99565b92915050565b5f60208284031215613a0c57613a0b612a65565b5b5f613a19848285016139e3565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613a5481612a88565b82525050565b5f613a658383613a4b565b60208301905092915050565b5f602082019050919050565b5f613a8782613a22565b613a918185613a2c565b9350613a9c83613a3c565b805f5b83811015613acc578151613ab38882613a5a565b9750613abe83613a71565b925050600181019050613a9f565b5085935050505092915050565b5f60a082019050613aec5f830188612b67565b613af96020830187612f38565b8181036040830152613b0b8186613a7d565b9050613b1a6060830185612c3e565b613b276080830184612b67565b9695505050505050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f613b8b6026836129df565b9150613b9682613b31565b604082019050919050565b5f6020820190508181035f830152613bb881613b7f565b905091905056fea264697066735822122085f0ce839ed240b4f8eb12266c8e5de6a4acfa4825df7efe4bff1ef58300580f64736f6c63430008190033

Verified Source Code Full Match

Compiler: v0.8.25+commit.b61c2a91 EVM: cancun Optimization: No
iLuminaryAI.sol 730 lines
/**
 *Submitted for verification at Etherscan.io on 2025-05-31
*/

// SPDX-License-Identifier: MIT

/**
$ILMT: ILuminaryAI Wallet: THE #1 AI Crypto Wallet! Play, earn, & safeguard your assets with unmatched intelligence.

Website: https://iluminary.ai/
Twitter: https://x.com/iLuminaryai
Downloads: https://iluminary.ai/download
TG: https://t.me/iluminaryai_bot/
*/


pragma solidity ^0.8.25;
pragma experimental ABIEncoderV2;

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(), "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);
    }
}

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,
        uint256
    );

    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(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    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,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 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 (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
    external
    view
    returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 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 (uint256);

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

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);

    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    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 (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function swap(
        uint256 amount0Out,
        uint256 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,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
    external
    returns (
        uint256 amountA,
        uint256 amountB,
        uint256 liquidity
    );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
    external
    payable
    returns (
        uint256 amountToken,
        uint256 amountETH,
        uint256 liquidity
    );

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

library SafeMath {

    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    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 mod(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 per(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= 100, "Percentage must be between 0 and 100");
        return a * b / 100;
    }

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

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

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

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(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;
        unchecked {
            _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 {}
}

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

    IUniswapV2Router02 public immutable _uniswapV2Router;
    address public uniswapV2Pair;
    address public devWallet;
    address public marketingWallet;
    address private constant deadAddress = address(0xdead);

    uint8 private constant _decimals = 9;
    uint256 public initialTotalSupply = 10000000 * 10**_decimals;

    uint256 public buyFee = 10;
    uint256 public sellFee = 10;

    uint256 public maxWallet = (initialTotalSupply * 12)/1000;
    uint256 public maxTransactionAmount = maxWallet;

    bool private swapping;

    bool public transferDelayEnabled = false;
    mapping(address => uint256) private _holderLastTransferTimestamp;
    
    uint256 public swapTokensAtAmount = (initialTotalSupply * 1)/1000;

    bool public tradingOpen = false;
    bool public swapEnabled = true;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    constructor() ERC20("iLuminaryAI Wallet", "ILMT"){
        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        marketingWallet = payable(0x69bDc60193F29FDbF833fCD29149f68339828213);
        devWallet = payable(_msgSender());

        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(address(_msgSender()), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(devWallet, true);
        excludeFromFees(address(_msgSender()), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(devWallet, true);

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        _mint(devWallet, initialTotalSupply);
    }

    receive() external payable {}

    function addLPToUniswap() external onlyOwner() {
        require(!tradingOpen,"Trading is already open");
        _approve(address(this), address(_uniswapV2Router), initialTotalSupply);
        _uniswapV2Router.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            0x568921Bb13ABB86A09Be353C514b5C8887221e1e,
            block.timestamp
        );
        IERC20(uniswapV2Pair).approve(address(_uniswapV2Router), type(uint).max);
    }

    function burn(uint256 amount) external {
        _burn(_msgSender(), amount);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }


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

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
    public
    onlyOwner
    {
        require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

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

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) {
            if (!tradingOpen) {
                require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
            }

            if (transferDelayEnabled && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]){
                    if (to != address(_uniswapV2Router) && to != address(uniswapV2Pair)){
                        require(_holderLastTransferTimestamp[tx.origin] < block.number && _holderLastTransferTimestamp[to] < block.number, "_transfer:: Transfer Delay enabled.  Try again later.");
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                        _holderLastTransferTimestamp[to] = block.number;
                    }
            }

            if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
            else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
            }
            else if (!_isExcludedMaxTransactionAmount[to]) {
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
        if (canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
            swapping = true;
            swapBack(amount);
            swapping = false;
        }

        bool takeFee = !swapping && !_isExcludedFromFees[from] && !_isExcludedFromFees[to];

        uint256 fees = 0;
        if (takeFee) {
            if (automatedMarketMakerPairs[to]) {
                fees = amount.mul(sellFee).div(100);
            }
            else if(automatedMarketMakerPairs[from]) {
                fees = amount.mul(buyFee).div(100);
            }
            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }
            amount -= fees;
        }
        super._transfer(from, to, amount);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        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,
            marketingWallet,
            block.timestamp
        );
    }

    function setFee(uint256 _buyFee, uint256 _sellFee) external onlyOwner {
        sellFee = _sellFee;
        buyFee = _buyFee;
    }


    function removeTheLimits() external onlyOwner {
        maxTransactionAmount = initialTotalSupply;
        maxWallet = initialTotalSupply;
    }

    function manualSwapToken(uint256 percent) external {
        require(_msgSender() == marketingWallet);
        uint256 contractBalance = balanceOf(address(this));
        uint256 swapAmount = contractBalance * percent / 100;
        swapTokensForEth(swapAmount);
    }

    function setMinSwapTokensThreshold(uint256 _swapTokensAtAmount) public onlyOwner {
        swapTokensAtAmount = _swapTokensAtAmount;
    }

    function swapBack(uint256 tokenAmount) private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) {
            return;
        }
        uint256 tokensToSwap = contractBalance;

        if (tokensToSwap >= maxTransactionAmount) {
            tokensToSwap = maxTransactionAmount;
        }

        if(tokensToSwap > tokenAmount) {
            tokensToSwap = tokenAmount;
        }

        swapTokensForEth(tokensToSwap);
    }
}

Read Contract

_uniswapV2Router 0x583e0568 → address
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
devWallet 0x8ea5220f → address
initialTotalSupply 0x311028af → uint256
isExcludedFromFees 0x4fbee193 → bool
marketingWallet 0x75f0a874 → address
maxTransactionAmount 0xc8c8ebe4 → uint256
maxWallet 0xf8b45b05 → 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
transferDelayEnabled 0xc876d0b9 → bool
uniswapV2Pair 0x49bd5a5e → address

Write Contract 17 functions

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

addLPToUniswap 0x3edab509
No parameters
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
burn 0x42966c68
uint256 amount
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualSwapToken 0x71f5f01a
uint256 percent
openTrading 0xc9567bf9
No parameters
removeTheLimits 0x139864a8
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setFee 0x52f7c988
uint256 _buyFee
uint256 _sellFee
setMinSwapTokensThreshold 0x98a5c315
uint256 _swapTokensAtAmount
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner

Recent Transactions

No transactions found for this address