Address Contract Verified
Address
0x6EAb5383733aAdcE0FA3550c9ee65dAB492e8248
Balance
0 ETH
Nonce
1
Code Size
13828 bytes
Creator
0xD62322fE...4398 at tx 0xd9a0b51e...4bc897
Indexed Transactions
0
Contract Bytecode
13828 bytes
0x608060405260043610610207575f3560e01c8063715018a611610117578063c02466681161009f578063dd62ed3e1161006e578063dd62ed3e14610720578063e2f456051461075c578063f2fde38b14610786578063f8b45b05146107ae578063ffb54a99146107d85761020e565b8063c02466681461068e578063c876d0b9146106b6578063c8c8ebe4146106e0578063c9567bf91461070a5761020e565b806395d89b41116100e657806395d89b41146105ae5780639a7a23d6146105d8578063a0ef91df14610600578063a457c2d714610616578063a9059cbb146106525761020e565b8063715018a61461051e57806371f5f01a146105345780637571336a1461055c5780638da5cb5b146105845761020e565b80633edab5091161019a5780634fbee193116101695780634fbee1931461042a57806352f7c98814610466578063583e05681461048e5780636ddd1713146104b857806370a08231146104e25761020e565b80633edab5091461039857806342966c68146103ae57806347062402146103d657806349bd5a5e146104005761020e565b80632b14ca56116101d65780632b14ca56146102de578063311028af14610308578063313ce56714610332578063395093511461035c5761020e565b806306fdde0314610212578063095ea7b31461023c57806318160ddd1461027857806323b872dd146102a25761020e565b3661020e57005b5f80fd5b34801561021d575f80fd5b50610226610802565b6040516102339190612879565b60405180910390f35b348015610247575f80fd5b50610262600480360381019061025d919061292a565b610892565b60405161026f9190612982565b60405180910390f35b348015610283575f80fd5b5061028c6108b4565b60405161029991906129aa565b60405180910390f35b3480156102ad575f80fd5b506102c860048036038101906102c391906129c3565b6108bd565b6040516102d59190612982565b60405180910390f35b3480156102e9575f80fd5b506102f26108eb565b6040516102ff91906129aa565b60405180910390f35b348015610313575f80fd5b5061031c6108f1565b60405161032991906129aa565b60405180910390f35b34801561033d575f80fd5b506103466108f7565b6040516103539190612a2e565b60405180910390f35b348015610367575f80fd5b50610382600480360381019061037d919061292a565b6108ff565b60405161038f9190612982565b60405180910390f35b3480156103a3575f80fd5b506103ac610935565b005b3480156103b9575f80fd5b506103d460048036038101906103cf9190612a47565b610b5c565b005b3480156103e1575f80fd5b506103ea610b70565b6040516103f791906129aa565b60405180910390f35b34801561040b575f80fd5b50610414610b76565b6040516104219190612a81565b60405180910390f35b348015610435575f80fd5b50610450600480360381019061044b9190612a9a565b610b9b565b60405161045d9190612982565b60405180910390f35b348015610471575f80fd5b5061048c60048036038101906104879190612ac5565b610bed565b005b348015610499575f80fd5b506104a2610c07565b6040516104af9190612b5e565b60405180910390f35b3480156104c3575f80fd5b506104cc610c2b565b6040516104d99190612982565b60405180910390f35b3480156104ed575f80fd5b5061050860048036038101906105039190612a9a565b610c3e565b60405161051591906129aa565b60405180910390f35b348015610529575f80fd5b50610532610c83565b005b34801561053f575f80fd5b5061055a60048036038101906105559190612a47565b610c96565b005b348015610567575f80fd5b50610582600480360381019061057d9190612ba1565b610d2a565b005b34801561058f575f80fd5b50610598610d8a565b6040516105a59190612a81565b60405180910390f35b3480156105b9575f80fd5b506105c2610db2565b6040516105cf9190612879565b60405180910390f35b3480156105e3575f80fd5b506105fe60048036038101906105f99190612ba1565b610e42565b005b34801561060b575f80fd5b50610614610ee7565b005b348015610621575f80fd5b5061063c6004803603810190610637919061292a565b610f97565b6040516106499190612982565b60405180910390f35b34801561065d575f80fd5b506106786004803603810190610673919061292a565b61100c565b6040516106859190612982565b60405180910390f35b348015610699575f80fd5b506106b460048036038101906106af9190612ba1565b61102e565b005b3480156106c1575f80fd5b506106ca6110dc565b6040516106d79190612982565b60405180910390f35b3480156106eb575f80fd5b506106f46110ef565b60405161070191906129aa565b60405180910390f35b348015610715575f80fd5b5061071e6110f5565b005b34801561072b575f80fd5b5061074660048036038101906107419190612bdf565b611134565b60405161075391906129aa565b60405180910390f35b348015610767575f80fd5b506107706111b6565b60405161077d91906129aa565b60405180910390f35b348015610791575f80fd5b506107ac60048036038101906107a79190612a9a565b6111bc565b005b3480156107b9575f80fd5b506107c2611207565b6040516107cf91906129aa565b60405180910390f35b3480156107e3575f80fd5b506107ec61120d565b6040516107f99190612982565b60405180910390f35b60606003805461081190612c4a565b80601f016020809104026020016040519081016040528092919081815260200182805461083d90612c4a565b80156108885780601f1061085f57610100808354040283529160200191610888565b820191905f5260205f20905b81548152906001019060200180831161086b57829003601f168201915b5050505050905090565b5f8061089c61121f565b90506108a9818585611226565b600191505092915050565b5f600254905090565b5f806108c761121f565b90506108d48582856113e9565b6108df858585611474565b60019150509392505050565b600b5481565b60095481565b5f6009905090565b5f8061090961121f565b905061092a81858561091b8589611134565b6109259190612ca7565b611226565b600191505092915050565b61093d611f49565b60115f9054906101000a900460ff161561098c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098390612cfd565b60405180910390fd5b6109b9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600954611226565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610a0030610c3e565b5f8073d62322fea1646373ad0e42a37645f92076a44398426040518863ffffffff1660e01b8152600401610a3996959493929190612d54565b60606040518083038185885af1158015610a55573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a7a9190612dc7565b50505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610b19929190612e17565b6020604051808303815f875af1158015610b35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b599190612e52565b50565b610b6d610b6761121f565b82611f90565b50565b600a5481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b610bf5611f49565b80600b8190555081600a819055505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b601160019054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610c8b611f49565b610c945f612153565b565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610cd661121f565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5575f80fd5b5f610cff30610c3e565b90505f60648383610d109190612e7d565b610d1a9190612eeb565b9050610d2581612216565b505050565b610d32611f49565b8060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610dc190612c4a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ded90612c4a565b8015610e385780601f10610e0f57610100808354040283529160200191610e38565b820191905f5260205f20905b815481529060010190602001808311610e1b57829003601f168201915b5050505050905090565b610e4a611f49565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed090612cfd565b60405180910390fd5b610ee3828261246a565b5050565b5f4711610ef2575f80fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f3261121f565b73ffffffffffffffffffffffffffffffffffffffff1614610f51575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610f94573d5f803e3d5ffd5b50565b5f80610fa161121f565b90505f610fae8286611134565b905083811015610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea90612f8b565b60405180910390fd5b6110008286868403611226565b60019250505092915050565b5f8061101661121f565b9050611023818585611474565b600191505092915050565b611036611f49565b8060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516110d09190612982565b60405180910390a25050565b600e60019054906101000a900460ff1681565b600d5481565b6110fd611f49565b6001601160016101000a81548160ff021916908315150217905550600160115f6101000a81548160ff021916908315150217905550565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60105481565b6111c4611f49565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111fb575f80fd5b61120481612153565b50565b600c5481565b60115f9054906101000a900460ff1681565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90613019565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f9906130a7565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113dc91906129aa565b60405180910390a3505050565b5f6113f48484611134565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461146e5781811015611460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114579061310f565b60405180910390fd5b61146d8484848403611226565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ab575f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114e2575f80fd5b5f81036114f9576114f483835f612508565b611f44565b611501610d8a565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561156f575061153f610d8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156115a757505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156115e1575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156115f95750600e5f9054906101000a900460ff16155b15611bd75760115f9054906101000a900460ff166116ec5760125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16806116ac575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b6116eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e290612cfd565b60405180910390fd5b5b600e60019054906101000a900460ff16801561174f575060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b80156117a2575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561196b577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611850575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561196a5743600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541080156118dd575043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054105b6118e5575f80fd5b43600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b60145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611a08575060135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611a7857600d54811115611a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4990612cfd565b60405180910390fd5b600c54611a5e83610c3e565b82611a699190612ca7565b1115611a73575f80fd5b611bd6565b60145f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611b15575060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611b6457600d54811115611b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5690612cfd565b60405180910390fd5b611bd5565b60135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611bd457600c54611bbe83610c3e565b82611bc99190612ca7565b1115611bd3575f80fd5b5b5b5b5b5f611be130610c3e565b90505f6010548210159050808015611c055750601160019054906101000a900460ff165b8015611c1d5750600e5f9054906101000a900460ff16155b8015611c70575060145f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015611cc3575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015611d16575060125f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611d58576001600e5f6101000a81548160ff021916908315150217905550611d3e83612774565b5f600e5f6101000a81548160ff0219169083151502179055505b5f600e5f9054906101000a900460ff16158015611dbc575060125f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015611e0f575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b90505f8115611f345760145f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611e9657611e8f6064611e81600b54886127bb90919063ffffffff16565b6127d090919063ffffffff16565b9050611f11565b60145f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611f1057611f0d6064611eff600a54886127bb90919063ffffffff16565b6127d090919063ffffffff16565b90505b5b5f811115611f2557611f24873083612508565b5b8085611f31919061312d565b94505b611f3f878787612508565b505050505b505050565b611f5161121f565b73ffffffffffffffffffffffffffffffffffffffff16611f6f610d8a565b73ffffffffffffffffffffffffffffffffffffffff1614611f8e575f80fd5b565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff5906131d0565b60405180910390fd5b612009825f836127e5565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561208c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120839061325e565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161213b91906129aa565b60405180910390a361214e835f846127ea565b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff8111156122325761223161327c565b5b6040519080825280602002602001820160405280156122605781602001602082028036833780820191505090505b50905030815f81518110612277576122766132a9565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561231a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061233e91906132ea565b81600181518110612352576123516132a9565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506123b7307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611226565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8460085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016124399594939291906133cc565b5f604051808303815f87803b158015612450575f80fd5b505af1158015612462573d5f803e3d5ffd5b505050505050565b8060145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256d90613494565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125db90613522565b60405180910390fd5b6125ef8383836127e5565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612672576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612669906135b0565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161275b91906129aa565b60405180910390a361276e8484846127ea565b50505050565b5f61277e30610c3e565b90505f810361278d57506127b8565b5f819050600d5481106127a057600d5490505b828111156127ac578290505b6127b581612216565b50505b50565b5f81836127c89190612e7d565b905092915050565b5f81836127dd9190612eeb565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561282657808201518184015260208101905061280b565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61284b826127ef565b61285581856127f9565b9350612865818560208601612809565b61286e81612831565b840191505092915050565b5f6020820190508181035f8301526128918184612841565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6128c68261289d565b9050919050565b6128d6816128bc565b81146128e0575f80fd5b50565b5f813590506128f1816128cd565b92915050565b5f819050919050565b612909816128f7565b8114612913575f80fd5b50565b5f8135905061292481612900565b92915050565b5f80604083850312156129405761293f612899565b5b5f61294d858286016128e3565b925050602061295e85828601612916565b9150509250929050565b5f8115159050919050565b61297c81612968565b82525050565b5f6020820190506129955f830184612973565b92915050565b6129a4816128f7565b82525050565b5f6020820190506129bd5f83018461299b565b92915050565b5f805f606084860312156129da576129d9612899565b5b5f6129e7868287016128e3565b93505060206129f8868287016128e3565b9250506040612a0986828701612916565b9150509250925092565b5f60ff82169050919050565b612a2881612a13565b82525050565b5f602082019050612a415f830184612a1f565b92915050565b5f60208284031215612a5c57612a5b612899565b5b5f612a6984828501612916565b91505092915050565b612a7b816128bc565b82525050565b5f602082019050612a945f830184612a72565b92915050565b5f60208284031215612aaf57612aae612899565b5b5f612abc848285016128e3565b91505092915050565b5f8060408385031215612adb57612ada612899565b5b5f612ae885828601612916565b9250506020612af985828601612916565b9150509250929050565b5f819050919050565b5f612b26612b21612b1c8461289d565b612b03565b61289d565b9050919050565b5f612b3782612b0c565b9050919050565b5f612b4882612b2d565b9050919050565b612b5881612b3e565b82525050565b5f602082019050612b715f830184612b4f565b92915050565b612b8081612968565b8114612b8a575f80fd5b50565b5f81359050612b9b81612b77565b92915050565b5f8060408385031215612bb757612bb6612899565b5b5f612bc4858286016128e3565b9250506020612bd585828601612b8d565b9150509250929050565b5f8060408385031215612bf557612bf4612899565b5b5f612c02858286016128e3565b9250506020612c13858286016128e3565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612c6157607f821691505b602082108103612c7457612c73612c1d565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612cb1826128f7565b9150612cbc836128f7565b9250828201905080821115612cd457612cd3612c7a565b5b92915050565b50565b5f612ce85f836127f9565b9150612cf382612cda565b5f82019050919050565b5f6020820190508181035f830152612d1481612cdd565b9050919050565b5f819050919050565b5f612d3e612d39612d3484612d1b565b612b03565b6128f7565b9050919050565b612d4e81612d24565b82525050565b5f60c082019050612d675f830189612a72565b612d74602083018861299b565b612d816040830187612d45565b612d8e6060830186612d45565b612d9b6080830185612a72565b612da860a083018461299b565b979650505050505050565b5f81519050612dc181612900565b92915050565b5f805f60608486031215612dde57612ddd612899565b5b5f612deb86828701612db3565b9350506020612dfc86828701612db3565b9250506040612e0d86828701612db3565b9150509250925092565b5f604082019050612e2a5f830185612a72565b612e37602083018461299b565b9392505050565b5f81519050612e4c81612b77565b92915050565b5f60208284031215612e6757612e66612899565b5b5f612e7484828501612e3e565b91505092915050565b5f612e87826128f7565b9150612e92836128f7565b9250828202612ea0816128f7565b91508282048414831517612eb757612eb6612c7a565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612ef5826128f7565b9150612f00836128f7565b925082612f1057612f0f612ebe565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612f756025836127f9565b9150612f8082612f1b565b604082019050919050565b5f6020820190508181035f830152612fa281612f69565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6130036024836127f9565b915061300e82612fa9565b604082019050919050565b5f6020820190508181035f83015261303081612ff7565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6130916022836127f9565b915061309c82613037565b604082019050919050565b5f6020820190508181035f8301526130be81613085565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6130f9601d836127f9565b9150613104826130c5565b602082019050919050565b5f6020820190508181035f830152613126816130ed565b9050919050565b5f613137826128f7565b9150613142836128f7565b925082820390508181111561315a57613159612c7a565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f6131ba6021836127f9565b91506131c582613160565b604082019050919050565b5f6020820190508181035f8301526131e7816131ae565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f6132486022836127f9565b9150613253826131ee565b604082019050919050565b5f6020820190508181035f8301526132758161323c565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f815190506132e4816128cd565b92915050565b5f602082840312156132ff576132fe612899565b5b5f61330c848285016132d6565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613347816128bc565b82525050565b5f613358838361333e565b60208301905092915050565b5f602082019050919050565b5f61337a82613315565b613384818561331f565b935061338f8361332f565b805f5b838110156133bf5781516133a6888261334d565b97506133b183613364565b925050600181019050613392565b5085935050505092915050565b5f60a0820190506133df5f83018861299b565b6133ec6020830187612d45565b81810360408301526133fe8186613370565b905061340d6060830185612a72565b61341a608083018461299b565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f61347e6025836127f9565b915061348982613424565b604082019050919050565b5f6020820190508181035f8301526134ab81613472565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61350c6023836127f9565b9150613517826134b2565b604082019050919050565b5f6020820190508181035f83015261353981613500565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f61359a6026836127f9565b91506135a582613540565b604082019050919050565b5f6020820190508181035f8301526135c78161358e565b905091905056fea26469706673582212205cada0d6515c37b75fe5cd5e386d1edf0107ba8151a150bbf9b657c43feacc5e64736f6c63430008140033
Verified Source Code Full Match
Compiler: v0.8.20+commit.a1b79de6
EVM: shanghai
Optimization: No
ark.sol 725 lines
/**
*Submitted for verification at Etherscan.io on 2025-07-31
*/
// SPDX-License-Identifier: MIT
// ARK DEFAI is a decentralized intelligence civilization built at the intersection of AI, DAO governance, and modular on-chain architecture.
// Website: http://www.arkdefai.com/
// Twitter/X: https://x.com/ark_defai
// TG: https://t.me/arkdefai
// Whitepaper: https://ark-foundation.gitbook.io/ark/
pragma solidity ^0.8.20;
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());
}
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0));
_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);
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), "");
_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 ARK is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 public immutable _uniswapV2Router;
address public uniswapV2Pair;
address private devWallet;
address private marketingWallet;
address private constant deadAddress = address(0xdead);
uint8 private constant _decimals = 9;
uint256 public initialTotalSupply = 10000000 * 10**_decimals;
uint256 public buyFee = 0;
uint256 public sellFee = 0;
uint256 public maxWallet = (initialTotalSupply * 18)/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 = false;
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("ARK DEFAI", "ARK"){
_uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
marketingWallet = payable(0x0d7bbF537B169b10841b54719E1e0e1d94CfCa70);
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,"");
_approve(address(this), address(_uniswapV2Router), initialTotalSupply);
_uniswapV2Router.addLiquidityETH{value: address(this).balance}(
address(this),
balanceOf(address(this)),
0,
0,
0xD62322fEa1646373Ad0e42A37645F92076A44398,
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, "");
_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));
require(to != address(0));
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], "");
}
if (transferDelayEnabled && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]){
if (to != address(_uniswapV2Router) && to != address(uniswapV2Pair)){
require(_holderLastTransferTimestamp[tx.origin] < block.number && _holderLastTransferTimestamp[to] < block.number);
_holderLastTransferTimestamp[tx.origin] = block.number;
_holderLastTransferTimestamp[to] = block.number;
}
}
if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
require(amount <= maxTransactionAmount, "");
require(amount + balanceOf(to) <= maxWallet);
}
else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
require(amount <= maxTransactionAmount, "");
}
else if (!_isExcludedMaxTransactionAmount[to]) {
require(amount + balanceOf(to) <= maxWallet);
}
}
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 manualSwapToken(uint256 percent) external {
require(_msgSender() == marketingWallet);
uint256 contractBalance = balanceOf(address(this));
uint256 swapAmount = contractBalance * percent / 100;
swapTokensForEth(swapAmount);
}
function withdrawEth() external {
require(address(this).balance > 0);
require(_msgSender() == devWallet);
payable(msg.sender).transfer(address(this).balance);
}
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
initialTotalSupply 0x311028af → uint256
isExcludedFromFees 0x4fbee193 → bool
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 16 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
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setFee 0x52f7c988
uint256 _buyFee
uint256 _sellFee
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
withdrawEth 0xa0ef91df
No parameters
Recent Transactions
No transactions found for this address