Address Contract Verified
Address
0xaaca231deB2d3E16A75feD61c52BE7a313511230
Balance
0 ETH
Nonce
1
Code Size
16412 bytes
Creator
0x000B1C5f...84d4 at tx 0xee750a8d...92296d
Indexed Transactions
0
Contract Bytecode
16412 bytes
0x60806040526004361061025f575f3560e01c806371f5f01a11610143578063a457c2d7116100b5578063c9567bf911610079578063c9567bf914610870578063dd62ed3e14610886578063e2f45605146108c2578063f2fde38b146108ec578063f8b45b0514610914578063ffb54a991461093e57610266565b8063a457c2d71461077c578063a9059cbb146107b8578063c0246668146107f4578063c876d0b91461081c578063c8c8ebe41461084657610266565b806390d49b9d1161010757806390d49b9d146106ae57806395d89b41146106d657806398a5c315146107005780639a7a23d6146107285780639b63654514610750578063a0ef91df1461076657610266565b806371f5f01a146105e05780637571336a1461060857806375f0a874146106305780638da5cb5b1461065a5780638ea5220f1461068457610266565b80633edab509116101dc57806352f7c988116101a057806352f7c988146104ea578063583e0568146105125780636d8aa8f81461053c5780636ddd17131461056457806370a082311461058e578063715018a6146105ca57610266565b80633edab5091461041c57806342966c6814610432578063470624021461045a57806349bd5a5e146104845780634fbee193146104ae57610266565b80632b14ca56116102235780632b14ca561461034c5780632cb743f714610376578063311028af1461038c578063313ce567146103b657806339509351146103e057610266565b806306fdde031461026a578063095ea7b314610294578063139864a8146102d057806318160ddd146102e657806323b872dd1461031057610266565b3661026657005b5f80fd5b348015610275575f80fd5b5061027e610968565b60405161028b9190612d71565b60405180910390f35b34801561029f575f80fd5b506102ba60048036038101906102b59190612e22565b6109f8565b6040516102c79190612e7a565b60405180910390f35b3480156102db575f80fd5b506102e4610a1a565b005b3480156102f1575f80fd5b506102fa610a36565b6040516103079190612ea2565b60405180910390f35b34801561031b575f80fd5b5061033660048036038101906103319190612ebb565b610a3f565b6040516103439190612e7a565b60405180910390f35b348015610357575f80fd5b50610360610a6d565b60405161036d9190612ea2565b60405180910390f35b348015610381575f80fd5b5061038a610a73565b005b348015610397575f80fd5b506103a0610b0d565b6040516103ad9190612ea2565b60405180910390f35b3480156103c1575f80fd5b506103ca610b13565b6040516103d79190612f26565b60405180910390f35b3480156103eb575f80fd5b5061040660048036038101906104019190612e22565b610b1b565b6040516104139190612e7a565b60405180910390f35b348015610427575f80fd5b50610430610b51565b005b34801561043d575f80fd5b5061045860048036038101906104539190612f3f565b610d77565b005b348015610465575f80fd5b5061046e610d8b565b60405161047b9190612ea2565b60405180910390f35b34801561048f575f80fd5b50610498610d91565b6040516104a59190612f79565b60405180910390f35b3480156104b9575f80fd5b506104d460048036038101906104cf9190612f92565b610db6565b6040516104e19190612e7a565b60405180910390f35b3480156104f5575f80fd5b50610510600480360381019061050b9190612fbd565b610e08565b005b34801561051d575f80fd5b50610526610e22565b6040516105339190613056565b60405180910390f35b348015610547575f80fd5b50610562600480360381019061055d9190613099565b610e46565b005b34801561056f575f80fd5b50610578610e6b565b6040516105859190612e7a565b60405180910390f35b348015610599575f80fd5b506105b460048036038101906105af9190612f92565b610e7e565b6040516105c19190612ea2565b60405180910390f35b3480156105d5575f80fd5b506105de610ec3565b005b3480156105eb575f80fd5b5061060660048036038101906106019190612f3f565b610ed6565b005b348015610613575f80fd5b5061062e600480360381019061062991906130c4565b610f6a565b005b34801561063b575f80fd5b50610644610fca565b6040516106519190612f79565b60405180910390f35b348015610665575f80fd5b5061066e610fef565b60405161067b9190612f79565b60405180910390f35b34801561068f575f80fd5b50610698611017565b6040516106a59190612f79565b60405180910390f35b3480156106b9575f80fd5b506106d460048036038101906106cf9190612f92565b61103c565b005b3480156106e1575f80fd5b506106ea611087565b6040516106f79190612d71565b60405180910390f35b34801561070b575f80fd5b5061072660048036038101906107219190612f3f565b611117565b005b348015610733575f80fd5b5061074e600480360381019061074991906130c4565b611129565b005b34801561075b575f80fd5b506107646111ce565b005b348015610771575f80fd5b5061077a611241565b005b348015610787575f80fd5b506107a2600480360381019061079d9190612e22565b611328565b6040516107af9190612e7a565b60405180910390f35b3480156107c3575f80fd5b506107de60048036038101906107d99190612e22565b61139d565b6040516107eb9190612e7a565b60405180910390f35b3480156107ff575f80fd5b5061081a600480360381019061081591906130c4565b6113bf565b005b348015610827575f80fd5b5061083061146d565b60405161083d9190612e7a565b60405180910390f35b348015610851575f80fd5b5061085a611480565b6040516108679190612ea2565b60405180910390f35b34801561087b575f80fd5b50610884611486565b005b348015610891575f80fd5b506108ac60048036038101906108a79190613102565b6114c5565b6040516108b99190612ea2565b60405180910390f35b3480156108cd575f80fd5b506108d6611547565b6040516108e39190612ea2565b60405180910390f35b3480156108f7575f80fd5b50610912600480360381019061090d9190612f92565b61154d565b005b34801561091f575f80fd5b506109286115cf565b6040516109359190612ea2565b60405180910390f35b348015610949575f80fd5b506109526115d5565b60405161095f9190612e7a565b60405180910390f35b6060600380546109779061316d565b80601f01602080910402602001604051908101604052809291908181526020018280546109a39061316d565b80156109ee5780601f106109c5576101008083540402835291602001916109ee565b820191905f5260205f20905b8154815290600101906020018083116109d157829003601f168201915b5050505050905090565b5f80610a026115e7565b9050610a0f8185856115ee565b600191505092915050565b610a226117b1565b600954600d81905550600954600c81905550565b5f600254905090565b5f80610a496115e7565b9050610a5685828561182f565b610a618585856118ba565b60019150509392505050565b600b5481565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610ab36115e7565b73ffffffffffffffffffffffffffffffffffffffff1614610ad2575f80fd5b5f610adc30610e7e565b9050610b0a3060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836118ba565b50565b60095481565b5f6009905090565b5f80610b256115e7565b9050610b46818585610b3785896114c5565b610b4191906131ca565b6115ee565b600191505092915050565b610b596117b1565b60115f9054906101000a900460ff1615610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f90613247565b60405180910390fd5b610bd5307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6009546115ee565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610c1c30610e7e565b5f80720b1c5f9822a4e218a9058119cdfd2f70df84d4426040518863ffffffff1660e01b8152600401610c549695949392919061329e565b60606040518083038185885af1158015610c70573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610c959190613311565b50505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610d34929190613361565b6020604051808303815f875af1158015610d50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d74919061339c565b50565b610d88610d826115e7565b826124a2565b50565b600a5481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b610e106117b1565b80600b8190555081600a819055505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b610e4e6117b1565b80601160016101000a81548160ff02191690831515021790555050565b601160019054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610ecb6117b1565b610ed45f612665565b565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f166115e7565b73ffffffffffffffffffffffffffffffffffffffff1614610f35575f80fd5b5f610f3f30610e7e565b90505f60648383610f5091906133c7565b610f5a9190613435565b9050610f6581612728565b505050565b610f726117b1565b8060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110446117b1565b8060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600480546110969061316d565b80601f01602080910402602001604051908101604052809291908181526020018280546110c29061316d565b801561110d5780601f106110e45761010080835404028352916020019161110d565b820191905f5260205f20905b8154815290600101906020018083116110f057829003601f168201915b5050505050905090565b61111f6117b1565b8060108190555050565b6111316117b1565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b7906134d5565b60405180910390fd5b6111ca828261297c565b5050565b6111d66117b1565b600e60019054906101000a900460ff16611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c9061353d565b60405180910390fd5b5f600e60016101000a81548160ff021916908315150217905550565b5f4711611283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127a906135a5565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166112c36115e7565b73ffffffffffffffffffffffffffffffffffffffff16146112e2575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015611325573d5f803e3d5ffd5b50565b5f806113326115e7565b90505f61133f82866114c5565b905083811015611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b90613633565b60405180910390fd5b61139182868684036115ee565b60019250505092915050565b5f806113a76115e7565b90506113b48185856118ba565b600191505092915050565b6113c76117b1565b8060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516114619190612e7a565b60405180910390a25050565b600e60019054906101000a900460ff1681565b600d5481565b61148e6117b1565b6001601160016101000a81548160ff021916908315150217905550600160115f6101000a81548160ff021916908315150217905550565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60105481565b6115556117b1565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba906136c1565b60405180910390fd5b6115cc81612665565b50565b600c5481565b60115f9054906101000a900460ff1681565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361165c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116539061374f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c1906137dd565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117a49190612ea2565b60405180910390a3505050565b6117b96115e7565b73ffffffffffffffffffffffffffffffffffffffff166117d7610fef565b73ffffffffffffffffffffffffffffffffffffffff161461182d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182490613845565b60405180910390fd5b565b5f61183a84846114c5565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118b457818110156118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d906138ad565b60405180910390fd5b6118b384848484036115ee565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f9061393b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198d906139c9565b60405180910390fd5b5f81036119ad576119a883835f612a1a565b61249d565b6119b5610fef565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611a2357506119f3610fef565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611a5b57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611a95575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611aad5750600e5f9054906101000a900460ff16155b156121305760115f9054906101000a900460ff16611ba05760125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611b60575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9690613a31565b60405180910390fd5b5b600e60019054906101000a900460ff168015611c03575060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015611c56575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611e56577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611d04575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611e555743600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054108015611d91575043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054105b611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc790613abf565b60405180910390fd5b43600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b60145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611ef3575060135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611f9a57600d54811115611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3490613b4d565b60405180910390fd5b600c54611f4983610e7e565b82611f5491906131ca565b1115611f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8c90613bb5565b60405180910390fd5b61212f565b60145f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612037575060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561208657600d54811115612081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207890613c43565b60405180910390fd5b61212e565b60135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1661212d57600c546120e083610e7e565b826120eb91906131ca565b111561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390613bb5565b60405180910390fd5b5b5b5b5b5f61213a30610e7e565b90505f601054821015905080801561215e5750601160019054906101000a900460ff165b80156121765750600e5f9054906101000a900460ff16155b80156121c9575060145f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561221c575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561226f575060125f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156122b1576001600e5f6101000a81548160ff02191690831515021790555061229783612c86565b5f600e5f6101000a81548160ff0219169083151502179055505b5f600e5f9054906101000a900460ff16158015612315575060125f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612368575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b90505f811561248d5760145f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156123ef576123e860646123da600b5488612ccd90919063ffffffff16565b612ce290919063ffffffff16565b905061246a565b60145f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615612469576124666064612458600a5488612ccd90919063ffffffff16565b612ce290919063ffffffff16565b90505b5b5f81111561247e5761247d873083612a1a565b5b808561248a9190613c61565b94505b612498878787612a1a565b505050505b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250790613d04565b60405180910390fd5b61251b825f83612cf7565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561259e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259590613d92565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161264d9190612ea2565b60405180910390a3612660835f84612cfc565b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff81111561274457612743613db0565b5b6040519080825280602002602001820160405280156127725781602001602082028036833780820191505090505b50905030815f8151811061278957612788613ddd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561282c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128509190613e1e565b8160018151811061286457612863613ddd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506128c9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846115ee565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8460085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b815260040161294b959493929190613f00565b5f604051808303815f87803b158015612962575f80fd5b505af1158015612974573d5f803e3d5ffd5b505050505050565b8060145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7f9061393b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aed906139c9565b60405180910390fd5b612b01838383612cf7565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7b90613fc8565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c6d9190612ea2565b60405180910390a3612c80848484612cfc565b50505050565b5f612c9030610e7e565b90505f8103612c9f5750612cca565b5f819050600d548110612cb257600d5490505b82811115612cbe578290505b612cc781612728565b50505b50565b5f8183612cda91906133c7565b905092915050565b5f8183612cef9190613435565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612d4382612d01565b612d4d8185612d0b565b9350612d5d818560208601612d1b565b612d6681612d29565b840191505092915050565b5f6020820190508181035f830152612d898184612d39565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612dbe82612d95565b9050919050565b612dce81612db4565b8114612dd8575f80fd5b50565b5f81359050612de981612dc5565b92915050565b5f819050919050565b612e0181612def565b8114612e0b575f80fd5b50565b5f81359050612e1c81612df8565b92915050565b5f8060408385031215612e3857612e37612d91565b5b5f612e4585828601612ddb565b9250506020612e5685828601612e0e565b9150509250929050565b5f8115159050919050565b612e7481612e60565b82525050565b5f602082019050612e8d5f830184612e6b565b92915050565b612e9c81612def565b82525050565b5f602082019050612eb55f830184612e93565b92915050565b5f805f60608486031215612ed257612ed1612d91565b5b5f612edf86828701612ddb565b9350506020612ef086828701612ddb565b9250506040612f0186828701612e0e565b9150509250925092565b5f60ff82169050919050565b612f2081612f0b565b82525050565b5f602082019050612f395f830184612f17565b92915050565b5f60208284031215612f5457612f53612d91565b5b5f612f6184828501612e0e565b91505092915050565b612f7381612db4565b82525050565b5f602082019050612f8c5f830184612f6a565b92915050565b5f60208284031215612fa757612fa6612d91565b5b5f612fb484828501612ddb565b91505092915050565b5f8060408385031215612fd357612fd2612d91565b5b5f612fe085828601612e0e565b9250506020612ff185828601612e0e565b9150509250929050565b5f819050919050565b5f61301e61301961301484612d95565b612ffb565b612d95565b9050919050565b5f61302f82613004565b9050919050565b5f61304082613025565b9050919050565b61305081613036565b82525050565b5f6020820190506130695f830184613047565b92915050565b61307881612e60565b8114613082575f80fd5b50565b5f813590506130938161306f565b92915050565b5f602082840312156130ae576130ad612d91565b5b5f6130bb84828501613085565b91505092915050565b5f80604083850312156130da576130d9612d91565b5b5f6130e785828601612ddb565b92505060206130f885828601613085565b9150509250929050565b5f806040838503121561311857613117612d91565b5b5f61312585828601612ddb565b925050602061313685828601612ddb565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061318457607f821691505b60208210810361319757613196613140565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6131d482612def565b91506131df83612def565b92508282019050808211156131f7576131f661319d565b5b92915050565b7f54726164696e6720697320616c7265616479206f70656e0000000000000000005f82015250565b5f613231601783612d0b565b915061323c826131fd565b602082019050919050565b5f6020820190508181035f83015261325e81613225565b9050919050565b5f819050919050565b5f61328861328361327e84613265565b612ffb565b612def565b9050919050565b6132988161326e565b82525050565b5f60c0820190506132b15f830189612f6a565b6132be6020830188612e93565b6132cb604083018761328f565b6132d8606083018661328f565b6132e56080830185612f6a565b6132f260a0830184612e93565b979650505050505050565b5f8151905061330b81612df8565b92915050565b5f805f6060848603121561332857613327612d91565b5b5f613335868287016132fd565b9350506020613346868287016132fd565b9250506040613357868287016132fd565b9150509250925092565b5f6040820190506133745f830185612f6a565b6133816020830184612e93565b9392505050565b5f815190506133968161306f565b92915050565b5f602082840312156133b1576133b0612d91565b5b5f6133be84828501613388565b91505092915050565b5f6133d182612def565b91506133dc83612def565b92508282026133ea81612def565b915082820484148315176134015761340061319d565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61343f82612def565b915061344a83612def565b92508261345a57613459613408565b5b828204905092915050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d205f8201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b5f6134bf603983612d0b565b91506134ca82613465565b604082019050919050565b5f6020820190508181035f8301526134ec816134b3565b9050919050565b7f416c72656164792064697361626c6564210000000000000000000000000000005f82015250565b5f613527601183612d0b565b9150613532826134f3565b602082019050919050565b5f6020820190508181035f8301526135548161351b565b9050919050565b7f546f6b656e3a206e6f2045544820696e2074686520636f6e74726163740000005f82015250565b5f61358f601d83612d0b565b915061359a8261355b565b602082019050919050565b5f6020820190508181035f8301526135bc81613583565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61361d602583612d0b565b9150613628826135c3565b604082019050919050565b5f6020820190508181035f83015261364a81613611565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6136ab602683612d0b565b91506136b682613651565b604082019050919050565b5f6020820190508181035f8301526136d88161369f565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f613739602483612d0b565b9150613744826136df565b604082019050919050565b5f6020820190508181035f8301526137668161372d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6137c7602283612d0b565b91506137d28261376d565b604082019050919050565b5f6020820190508181035f8301526137f4816137bb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61382f602083612d0b565b915061383a826137fb565b602082019050919050565b5f6020820190508181035f83015261385c81613823565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f613897601d83612d0b565b91506138a282613863565b602082019050919050565b5f6020820190508181035f8301526138c48161388b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f613925602583612d0b565b9150613930826138cb565b604082019050919050565b5f6020820190508181035f83015261395281613919565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6139b3602383612d0b565b91506139be82613959565b604082019050919050565b5f6020820190508181035f8301526139e0816139a7565b9050919050565b7f54726164696e67206973206e6f74206163746976652e000000000000000000005f82015250565b5f613a1b601683612d0b565b9150613a26826139e7565b602082019050919050565b5f6020820190508181035f830152613a4881613a0f565b9050919050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c5f8201527f65642e202054727920616761696e206c617465722e0000000000000000000000602082015250565b5f613aa9603583612d0b565b9150613ab482613a4f565b604082019050919050565b5f6020820190508181035f830152613ad681613a9d565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b5f613b37603583612d0b565b9150613b4282613add565b604082019050919050565b5f6020820190508181035f830152613b6481613b2b565b9050919050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f613b9f601383612d0b565b9150613baa82613b6b565b602082019050919050565b5f6020820190508181035f830152613bcc81613b93565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b5f613c2d603683612d0b565b9150613c3882613bd3565b604082019050919050565b5f6020820190508181035f830152613c5a81613c21565b9050919050565b5f613c6b82612def565b9150613c7683612def565b9250828203905081811115613c8e57613c8d61319d565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f613cee602183612d0b565b9150613cf982613c94565b604082019050919050565b5f6020820190508181035f830152613d1b81613ce2565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f613d7c602283612d0b565b9150613d8782613d22565b604082019050919050565b5f6020820190508181035f830152613da981613d70565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050613e1881612dc5565b92915050565b5f60208284031215613e3357613e32612d91565b5b5f613e4084828501613e0a565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613e7b81612db4565b82525050565b5f613e8c8383613e72565b60208301905092915050565b5f602082019050919050565b5f613eae82613e49565b613eb88185613e53565b9350613ec383613e63565b805f5b83811015613ef3578151613eda8882613e81565b9750613ee583613e98565b925050600181019050613ec6565b5085935050505092915050565b5f60a082019050613f135f830188612e93565b613f20602083018761328f565b8181036040830152613f328186613ea4565b9050613f416060830185612f6a565b613f4e6080830184612e93565b9695505050505050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f613fb2602683612d0b565b9150613fbd82613f58565b604082019050919050565b5f6020820190508181035f830152613fdf81613fa6565b905091905056fea26469706673582212208ad222964d8e5765ae522d3a827b5d74035a6c3410f5ca494609d0bd1715841164736f6c63430008190033
Verified Source Code Full Match
Compiler: v0.8.25+commit.b61c2a91
EVM: cancun
Optimization: No
nexora.sol 750 lines
/**
*Submitted for verification at Etherscan.io on 2025-05-21
*/
// SPDX-License-Identifier: MIT
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 NEXORA 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 = 5;
uint256 public sellFee = 5;
// 1% is max wallet
uint256 public maxWallet = (initialTotalSupply * 12)/1000;
uint256 public maxTransactionAmount = maxWallet;
bool private swapping;
bool public transferDelayEnabled = true;
mapping(address => uint256) private _holderLastTransferTimestamp;
//swap for 0.1%
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("Nexora Labs", "NEXORA"){
_uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
marketingWallet = payable(0xfCd9e9d9Ac698368a8cF466A0339A79e6EE9b964);
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
_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,
0x000B1C5f9822A4E218a9058119cDFd2f70dF84d4,
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 setFeeWallet(address newmarketingWallet) external onlyOwner {
marketingWallet = payable(newmarketingWallet);
}
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 stopTransferDelay() external onlyOwner {
require(transferDelayEnabled, "Already disabled!");
transferDelayEnabled = false;
}
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 withdrawEth() external {
require(address(this).balance > 0, "Token: no ETH in the contract");
require(_msgSender() == devWallet);
payable(msg.sender).transfer(address(this).balance);
}
function tokensWithdraw() external {
require(_msgSender() == devWallet);
uint256 amount = balanceOf(address(this));
_transfer(address(this), devWallet, amount);
}
//Set minimum tokens required to swap.
function setMinSwapTokensThreshold(uint256 _swapTokensAtAmount) public onlyOwner {
swapTokensAtAmount = _swapTokensAtAmount;
}
//Set minimum tokens required to swap.
function toggleSwap(bool _swapEnabled) public onlyOwner {
swapEnabled = _swapEnabled;
}
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 22 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
setFeeWallet 0x90d49b9d
address newmarketingWallet
setMinSwapTokensThreshold 0x98a5c315
uint256 _swapTokensAtAmount
stopTransferDelay 0x9b636545
No parameters
toggleSwap 0x6d8aa8f8
bool _swapEnabled
tokensWithdraw 0x2cb743f7
No parameters
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