Address Contract Partially Verified
Address
0xE18ab3568Fa19e0eD38BC1d974EDDD501E61E12d
Balance
0 ETH
Nonce
1
Code Size
14837 bytes
Creator
0x6708dD81...B647 at tx 0xc2354ad8...5fe384
Indexed Transactions
0
Contract Bytecode
14837 bytes
0x608060405260043610610344575f3560e01c806379cc6790116101bd578063be3b115d116100f2578063d94160e011610092578063def98aba1161006d578063def98aba14610b1c578063f0ee1ea514610b3b578063f2fde38b14610b83578063f519b7d314610ba2575f80fd5b8063d94160e014610a7f578063db200bfa14610ade578063dd62ed3e14610afd575f80fd5b8063c5f7f168116100cd578063c5f7f168146109d7578063cb4ca631146109f6578063d05ee72714610a2d578063d333555314610a60575f80fd5b8063be3b115d14610986578063bf56b371146109a4578063c524e82e146109b8575f80fd5b806395d89b411161015d578063a9059cbb11610138578063a9059cbb146108f6578063b29a814014610915578063b4b37bd214610934578063b6a6790b14610967575f80fd5b806395d89b41146108af578063a103657e146108c3578063a457c2d7146108d7575f80fd5b80638a8c523c116101985780638a8c523c146108295780638da5cb5b1461083d5780639191a9c7146108595780639448868314610890575f80fd5b806379cc67901461079b57806380c74653146107ba578063878dd33214610812575f80fd5b8063313ce5671161029357806366bd127011610233578063715018a61161020e578063715018a6146106fa5780637196d1781461070e578063728f8eea1461074d578063785e8a121461077f575f80fd5b806366bd1270146106495780636cb20f471461067b57806370a08231146106c6575f80fd5b80633e4042281161026e5780633e404228146105c557806342966c68146105e957806349deaf4f146106085780635b30facb14610635575f80fd5b8063313ce5671461056c57806339509351146105875780633b0deddd146105a6575f80fd5b80631a2266b0116102fe57806328f4dbb6116102d957806328f4dbb6146104e65780632aa9c376146104fa5780632af65da1146105195780632fdd75bf14610538575f80fd5b80631a2266b0146104725780631a861d261461049157806323b872dd146104c7575f80fd5b8063068b976f1461034f57806306fdde0314610370578063095ea7b31461039a5780630d426b00146103c95780630f1d76c11461041d57806318160ddd14610454575f80fd5b3661034b57005b5f80fd5b34801561035a575f80fd5b5061036e610369366004613570565b610bc1565b005b34801561037b575f80fd5b50610384610daa565b60405161039191906135b0565b60405180910390f35b3480156103a5575f80fd5b506103b96103b43660046135f9565b610e3a565b6040519015158152602001610391565b3480156103d4575f80fd5b505f5461ffff600160a01b8204811691600160b01b8104821691600160c01b909104165b6040805161ffff94851681529284166020840152921691810191909152606001610391565b348015610428575f80fd5b506103b9610437366004613623565b6001600160a01b03165f9081526007602052604090205460ff1690565b34801561045f575f80fd5b506012545b604051908152602001610391565b34801561047d575f80fd5b5061036e61048c36600461364b565b610e53565b34801561049c575f80fd5b505f546040805161ffff600160e01b840481168252600160d01b909304909216602083015201610391565b3480156104d2575f80fd5b506103b96104e13660046136ca565b610f83565b3480156104f1575f80fd5b50601754610464565b348015610505575f80fd5b5061036e610514366004613708565b610fa6565b348015610524575f80fd5b5061036e61053336600461364b565b610fc8565b348015610543575f80fd5b5060085461ffff600160381b8204811691600160481b8104821691600160581b909104166103f8565b348015610577575f80fd5b5060405160128152602001610391565b348015610592575f80fd5b506103b96105a13660046135f9565b611071565b3480156105b1575f80fd5b5061036e6105c0366004613723565b611092565b3480156105d0575f80fd5b506103b95f546019600160f01b90910461ffff16101590565b3480156105f4575f80fd5b5061036e61060336600461373c565b6111ab565b348015610613575f80fd5b5060165462010000900461ffff165b60405161ffff9091168152602001610391565b348015610640575f80fd5b506103846111b8565b348015610654575f80fd5b50600a54600b54604080516001600160a01b03938416815292909116602083015201610391565b348015610686575f80fd5b506106ae7f0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f5581565b6040516001600160a01b039091168152602001610391565b3480156106d1575f80fd5b506104646106e0366004613623565b6001600160a01b03165f9081526010602052604090205490565b348015610705575f80fd5b5061036e611244565b348015610719575f80fd5b50600954600d54600c54604080516001600160a01b0394851681529284166020840152921691810191909152606001610391565b348015610758575f80fd5b5060085461ffff610100820481169163010000008104821691600160281b909104166103f8565b34801561078a575f80fd5b50601654610100900460ff166103b9565b3480156107a6575f80fd5b5061036e6107b53660046135f9565b6112f5565b3480156107c5575f80fd5b506016546040805163ffffffff600160601b840481168252600160801b8404811660208301526401000000008404811692820192909252600160401b909204166060820152608001610391565b34801561081d575f80fd5b5060015460ff166103b9565b348015610834575f80fd5b5061036e61130e565b348015610848575f80fd5b505f546001600160a01b03166106ae565b348015610864575f80fd5b506103b9610873366004613623565b6001600160a01b03165f908152600f602052604090205460ff1690565b34801561089b575f80fd5b5061036e6108aa36600461364b565b611398565b3480156108ba575f80fd5b50610384611441565b3480156108ce575f80fd5b506103f8611450565b3480156108e2575f80fd5b506103b96108f13660046135f9565b611528565b348015610901575f80fd5b506103b96109103660046135f9565b6115a2565b348015610920575f80fd5b5061036e61092f3660046135f9565b6115af565b34801561093f575f80fd5b506104647f11647894f3c5bda261d91e16c88c55f44e8b0d2a7bee92a98cf0ba24d00980af81565b348015610972575f80fd5b5061036e61098136600461364b565b6115cb565b348015610991575f80fd5b505f54600160f01b900461ffff16610622565b3480156109af575f80fd5b50601854610464565b3480156109c3575f80fd5b50600854600160681b900461ffff16610622565b3480156109e2575f80fd5b5061036e6109f136600461364b565b6116e7565b348015610a01575f80fd5b506103b9610a10366004613623565b6001600160a01b03165f908152600e602052604090205460ff1690565b348015610a38575f80fd5b506106ae7f00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf79081565b348015610a6b575f80fd5b5061036e610a7a36600461373c565b611790565b348015610a8a575f80fd5b50610ac7610a99366004613623565b6001600160a01b03165f9081526006602090815260408083205460059092529091205460ff91821692911690565b604080519215158352901515602083015201610391565b348015610ae9575f80fd5b5061036e610af836600461373c565b6117a2565b348015610b08575f80fd5b50610464610b17366004613753565b6117f2565b348015610b27575f80fd5b5061036e610b3636600461378a565b61181c565b348015610b46575f80fd5b506001546040805160ff61010084048116151582526201000084048116151560208301526301000000909304909216151590820152606001610391565b348015610b8e575f80fd5b5061036e610b9d366004613623565b6119fe565b348015610bad575f80fd5b5061036e610bbc3660046137bb565b611a74565b610bc9611bcc565b60085461ffff610100820481169163010000008104821691600160281b9091048116908616831015610c4c5760085461ffff600160381b90910481169087161115610c4c5760405162461bcd60e51b815260206004820152600e60248201526d0d2dcecc2d8d2c840c4eaf2a8c2f60931b60448201526064015b60405180910390fd5b8161ffff168561ffff161115610caf5760085461ffff600160481b90910481169086161115610caf5760405162461bcd60e51b815260206004820152600f60248201526e0d2dcecc2d8d2c840e6cad8d8a8c2f608b1b6044820152606401610c43565b8061ffff168461ffff161115610d165760085461ffff600160581b90910481169085161115610d165760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840e8e4cac2e6eae4f2a8c2f606b1b6044820152606401610c43565b6008805464ffffffff00191661010061ffff89811691820264ffff00000019169290921763010000008984169081029190911766ffff00000000001916600160281b93891693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050505050565b606060138054610db9906137e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610de5906137e7565b8015610e305780601f10610e0757610100808354040283529160200191610e30565b820191905f5260205f20905b815481529060010190602001808311610e1357829003601f168201915b5050505050905090565b5f33610e47818585611c27565b60019150505b92915050565b610e5b611bcc565b60015460ff16610ead5760405162461bcd60e51b815260206004820152601960248201527f626c61636b6c697374206164642d6f6e2064697361626c6564000000000000006044820152606401610c43565b815f5b81811015610f7c578260075f878785818110610ece57610ece61381f565b9050602002016020810190610ee39190613623565b6001600160a01b0316815260208101919091526040015f20805460ff19169115159190911790557f1d3a0f423a29cb00c6d792b5a695e34683386c493edbcf344426b5da5adf0e44858583818110610f3d57610f3d61381f565b9050602002016020810190610f529190613623565b604080516001600160a01b03909216825285151560208301520160405180910390a1600101610eb0565b5050505050565b5f33610f90858285611d4a565b610f9b858585611dc2565b506001949350505050565b610fae611bcc565b601680549115156101000261ff0019909216919091179055565b610fd0611bcc565b815f5b81811015610f7c575f858583818110610fee57610fee61381f565b90506020020160208101906110039190613623565b6001600160a01b0381165f81815260066020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610fd3565b5f33610e4781858561108383836117f2565b61108d9190613847565b611c27565b61109a611bcc565b5f8054600160f01b900461ffff1690036110ee5760405162461bcd60e51b8152602060048201526015602482015274185b9d1a4b591d5b5c081b9bdd08195b98589b1959605a1b6044820152606401610c43565b601961ffff821610801590611109575061271061ffff821611155b6111555760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401610c43565b5f80546001600160f01b0316600160f01b61ffff8416908102919091179091556040519081527fcfd8a76f34f3fbb9f999325c2887d5ec8933c519a3bfdb71c2aa6c6d9aef5ebb9060200160405180910390a150565b6111b533826121da565b50565b601580546111c5906137e7565b80601f01602080910402602001604051908101604052809291908181526020018280546111f1906137e7565b801561123c5780601f106112135761010080835404028352916020019161123c565b820191905f5260205f20905b81548152906001019060200180831161121f57829003601f168201915b505050505081565b61124c611bcc565b60165460085461ffff62010000909204821691610100909104168110801590611285575060085461ffff80831663010000009092041611155b80156112a1575060085461ffff808316600160281b9092041611155b6112ed5760405162461bcd60e51b815260206004820152601b60248201527f6c6f776572207461786573206265666f72652072656e6f756e636500000000006044820152606401610c43565b6111b5612312565b611300823383611d4a565b61130a82826121da565b5050565b611316611bcc565b6001546301000000900460ff166113615760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152606401610c43565b6001805463ff000000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b6113a0611bcc565b815f5b81811015610f7c575f8585838181106113be576113be61381f565b90506020020160208101906113d39190613623565b6001600160a01b0381165f818152600e6020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a1506113a3565b606060148054610db9906137e7565b6008545f9081908190819061ffff600160381b82048116610100909204161061148457600854610100900461ffff16611493565b600854600160381b900461ffff165b6008549091505f9061ffff600160481b82048116630100000090920416106114c8576008546301000000900461ffff166114d7565b600854600160481b900461ffff165b6008549091505f9061ffff600160581b82048116600160281b909204161061150c57600854600160281b900461ffff1661151b565b600854600160581b900461ffff165b9296919550919350915050565b5f338161153582866117f2565b9050838110156115955760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c43565b610f9b8286868403611c27565b5f33610e47818585611dc2565b6115b7611bcc565b61130a6001600160a01b0383163383612323565b6115d3611bcc565b815f5b81811015610f7c575f8585838181106115f1576115f161381f565b90506020020160208101906116069190613623565b600c549091506001600160a01b03908116908216036116675760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d2070616972000000006044820152606401610c43565b6001600160a01b0381165f818152600f60209081526040808320805489151560ff199182168117909255600684529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a1506115d6565b6116ef611bcc565b815f5b81811015610f7c575f85858381811061170d5761170d61381f565b90506020020160208101906117229190613623565b6001600160a01b0381165f81815260056020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a1506116f2565b611798611bcc565b6111b53382612375565b6117aa611bcc565b5f81116117ed5760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606401610c43565b601755565b6001600160a01b039182165f90815260116020908152604080832093909416825291909152205490565b611824611bcc565b8061ffff168261ffff16101561187c5760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401610c43565b5f5461ffff808416600160e01b90920416118015906118aa57505f5461ffff808316600160d01b9092041611155b6118e65760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b6044820152606401610c43565b61271061ffff821611156119345760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b6044820152606401610c43565b61271061ffff8316111561198a5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401610c43565b5f805463ffffffff60d01b1916600160e01b61ffff85811691820261ffff60d01b191692909217600160d01b928516928302179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a15050565b611a06611bcc565b6001600160a01b038116611a6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c43565b6111b58161248a565b7f0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f556001600160a01b03163314611aec5760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f7279000000000000006044820152606401610c43565b60165460ff1615611b325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610c43565b6016805460ff19166001179055811580611b4a575080155b611b965760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c6564000000006044820152606401610c43565b6001805463ffff00001916620100009315159390930263ff00000019169290921763010000009115159190910217905542601855565b5f546001600160a01b03163314611c255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c43565b565b6001600160a01b038316611c895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c43565b6001600160a01b038216611cea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c43565b6001600160a01b038381165f8181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611d5584846117f2565b90505f198114611dbc5781811015611daf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c43565b611dbc8484848403611c27565b50505050565b60165460ff16611ddc57611dd78383836124d9565b505050565b601654305f908152601060205260408120544292640100000000900463ffffffff1691505f6001600160a01b038716301480611e8557506001600160a01b0387165f908152600e602052604090205460ff1680611e5057506001600160a01b0386165f908152600e602052604090205460ff165b8015611e5d57505f600254115b8015611e855750601654600254611e8191600160401b900463ffffffff1690613847565b8410155b6001600160a01b038089165f908152600f602052604080822054928a16825281205460085493945060ff9283169390831692168015611ec557505f600254115b8015611edd575085600254611eda9190613847565b87115b60195490915060ff16158015611ef1575083155b8015611efb575082155b8015611f0e5750601654610100900460ff165b8015611f2357508080611f2357506017548510155b15611f58578015611f3c57611f3785612688565b611f47565b611f47601754612688565b8015611f58576008805460ff191690555b875f03611f7657611f6a8a8a5f6124d9565b50505050505050505050565b5f846121c25783156120b05760085460ff168015611fab57506002541580611fab575086600254611fa79190613847565b8811155b1561202557600854612710908190611fce90600160681b900461ffff168261385a565b60085461ffff91821691611ff291600160281b81048216916101009091041661385a565b6120009061ffff168d61387c565b61200a919061387c565b6120149190613893565b61201e9190613893565b9050612063565b600854612710906120489061ffff600160281b820481169161010090041661385a565b6120569061ffff168b61387c565b6120609190613893565b90505b5f61206c61290b565b61ffff16905080156120aa575f612710612086838d61387c565b6120909190613893565b905061209c8d826121da565b6120a6818c6138b2565b9a50505b506121a4565b82156121a4576120bf896129e3565b60085460ff1680156120e8575060025415806120e85750866002546120e49190613847565b8811155b156121645760085461271090819061210b90600160681b900461ffff168261385a565b60085461ffff9182169161213191600160281b810482169163010000009091041661385a565b61213f9061ffff168d61387c565b612149919061387c565b6121539190613893565b61215d9190613893565b90506121a4565b600854612710906121899061ffff600160281b8204811691630100000090041661385a565b6121979061ffff168b61387c565b6121a19190613893565b90505b80156121b5576121b58b30836124d9565b6121bf818a6138b2565b98505b6121cd8b8b8b6124d9565b5050505050505050505050565b6001600160a01b03821661223a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c43565b6001600160a01b0382165f90815260106020526040902054818110156122ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c43565b6001600160a01b0383165f8181526010602090815260408083208686039055601280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611dd7835f84612a5e565b61231a611bcc565b611c255f61248a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dd7908490612c73565b804710156123c55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c43565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461240e576040519150601f19603f3d011682016040523d82523d5f602084013e612413565b606091505b5050905080611dd75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c43565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661253d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c43565b6001600160a01b03821661259f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c43565b6001600160a01b0383165f90815260106020526040902054818110156126165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c43565b6001600160a01b038085165f8181526010602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906126759086815260200190565b60405180910390a3611dbc848484612a5e565b6019805460ff1916600117905580156128fe575f600d5f9054906101000a90046001600160a01b031690505f7f0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f556001600160a01b031663c2d4f9426040518163ffffffff1660e01b8152600401602060405180830381865afa158015612710573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061273491906138c5565b600a54600b549192506001600160a01b0390811691811690841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed1901612831575f61277386612d46565b9050801561282b5760085460ff16156127b3575f61279082612f06565b90506127a56001600160a01b03861682612375565b6127af81836138b2565b9150505b600854600160281b900461ffff16158015906127d757506001600160a01b03821615155b15612809575f6127e682612f47565b90506127fb6001600160a01b03841682612375565b61280581836138b2565b9150505b6001600160a01b0383161561282b5761282b6001600160a01b03841682612375565b506128f9565b5f61283c8587612fb3565b905080156128f75760085460ff161561287d575f61285982612f06565b905061286f6001600160a01b0387168683612323565b61287981836138b2565b9150505b600854600160281b900461ffff16158015906128a157506001600160a01b03821615155b156128d4575f6128b082612f47565b90506128c66001600160a01b0387168483612323565b6128d081836138b2565b9150505b6001600160a01b038316156128f7576128f76001600160a01b0386168483612323565b505b505050505b506019805460ff19169055565b6001545f90610100900460ff1661292f576002545f0361292a57426002555b505f90565b6004544290810361294c5750505f54600160c01b900461ffff1690565b60035481036129675750505f54600160b01b900461ffff1690565b60025481036129825750505f54600160a01b900461ffff1690565b60045415612991575f91505090565b600354156129af575050426004555f54600160c01b900461ffff1690565b600254156129cd575050426003555f54600160b01b900461ffff1690565b5050426002555f54600160a01b900461ffff1690565b5f6129ed60125490565b5f54909150600160f01b900461ffff166019811080612a26575082612710612a1961ffff84168561387c565b612a239190613893565b10155b611dd75760405162461bcd60e51b81526020600482015260096024820152680616e74692d64756d760bc1b6044820152606401610c43565b60165460ff1615611dd757612a7383836131d4565b6001600160a01b0382161580612a9557505f546001600160a01b038381169116145b80612adb57506001600160a01b0383165f9081526007602052604090205460ff16158015612adb57506001600160a01b0382165f9081526007602052604090205460ff16155b612b155760405162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b6044820152606401610c43565b5f612b1f60125490565b6001600160a01b0385165f9081526005602052604090205490915060ff1680612b5f57506001600160a01b0383165f9081526005602052604090205460ff165b80612b8e57505f5461271090612b8090600160d01b900461ffff168361387c565b612b8a9190613893565b8211155b612bce5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401610c43565b6001600160a01b0383165f9081526006602052604090205460ff1680612c2f57505f5461271090612c0a90600160e01b900461ffff168361387c565b612c149190613893565b6001600160a01b0384165f9081526010602052604090205411155b611dbc5760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b6044820152606401610c43565b5f612cc7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166133d09092919063ffffffff16565b905080515f1480612ce7575080806020019051810190612ce791906138e0565b611dd75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c43565b6009546040805160028082526060820183525f936001600160a01b0316928492919060208301908036833701905050905030815f81518110612d8a57612d8a61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612de6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e0a91906138c5565b81600181518110612e1d57612e1d61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050612e48308386611c27565b476001600160a01b03831663791ac947865f8530612e684261012c613847565b6040518663ffffffff1660e01b8152600401612e889594939291906138fb565b5f604051808303815f87803b158015612e9f575f80fd5b505af1925050508015612eb0575060015b612ee9573d808015612edd576040519150601f19603f3d011682016040523d82523d5f602084013e612ee2565b606091505b5050612efc565b612ef381476138b2565b95945050505050565b505f949350505050565b6008545f90600160681b900461ffff16612f228161271061385a565b61ffff168161ffff1684612f36919061387c565b612f409190613893565b9392505050565b6008545f9061ffff610100820481169163010000008104821691600160281b90910416612f7581600261396c565b612f7f838561385a565b612f89919061385a565b61ffff168161ffff16866002612f9f919061387c565b612fa9919061387c565b612ef39190613893565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f81518110612fea57612fea61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050838160018151811061301e5761301e61381f565b6001600160a01b03928316602091820292909201015260095416613043308286611c27565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015613087573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ab9190613992565b90506001600160a01b038216635c11d795865f86306130cc4261012c613847565b6040518663ffffffff1660e01b81526004016130ec9594939291906138fb565b5f604051808303815f87803b158015613103575f80fd5b505af1925050508015613114575060015b61314d573d808015613141576040519150601f19603f3d011682016040523d82523d5f602084013e613146565b606091505b50506131c9565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015613191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131b59190613992565b6131bf91906138b2565b9350505050610e4d565b505f95945050505050565b7f00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf7905f6132075f546001600160a01b031690565b9050836001600160a01b0316826001600160a01b0316148061323a5750826001600160a01b0316826001600160a01b0316145b806132565750836001600160a01b0316816001600160a01b0316145b806132725750826001600160a01b0316816001600160a01b0316145b1561327d5750505050565b600154429062010000900460ff1615613323576016546018546132ad91600160601b900463ffffffff1690613847565b8110156132ee5760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401610c43565b6001805462ff0000191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b6001546301000000900460ff1615610f7c5760165460185461335291600160801b900463ffffffff1690613847565b8110156133945760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401610c43565b6001805463ff000000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15050505050565b60606133de84845f856133e6565b949350505050565b6060824710156134475760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c43565b5f80866001600160a01b0316858760405161346291906139a9565b5f6040518083038185875af1925050503d805f811461349c576040519150601f19603f3d011682016040523d82523d5f602084013e6134a1565b606091505b50915091506134b2878383876134bd565b979650505050505050565b6060831561352b5782515f03613524576001600160a01b0385163b6135245760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c43565b50816133de565b6133de83838151156135405781518083602001fd5b8060405162461bcd60e51b8152600401610c4391906135b0565b803561ffff8116811461356b575f80fd5b919050565b5f805f60608486031215613582575f80fd5b61358b8461355a565b92506135996020850161355a565b91506135a76040850161355a565b90509250925092565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146111b5575f80fd5b5f806040838503121561360a575f80fd5b8235613615816135e5565b946020939093013593505050565b5f60208284031215613633575f80fd5b8135612f40816135e5565b80151581146111b5575f80fd5b5f805f6040848603121561365d575f80fd5b833567ffffffffffffffff80821115613674575f80fd5b818601915086601f830112613687575f80fd5b813581811115613695575f80fd5b8760208260051b85010111156136a9575f80fd5b602092830195509350508401356136bf8161363e565b809150509250925092565b5f805f606084860312156136dc575f80fd5b83356136e7816135e5565b925060208401356136f7816135e5565b929592945050506040919091013590565b5f60208284031215613718575f80fd5b8135612f408161363e565b5f60208284031215613733575f80fd5b612f408261355a565b5f6020828403121561374c575f80fd5b5035919050565b5f8060408385031215613764575f80fd5b823561376f816135e5565b9150602083013561377f816135e5565b809150509250929050565b5f806040838503121561379b575f80fd5b6137a48361355a565b91506137b26020840161355a565b90509250929050565b5f80604083850312156137cc575f80fd5b82356137d78161363e565b9150602083013561377f8161363e565b600181811c908216806137fb57607f821691505b60208210810361381957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610e4d57610e4d613833565b61ffff81811683821601908082111561387557613875613833565b5092915050565b8082028115828204841417610e4d57610e4d613833565b5f826138ad57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610e4d57610e4d613833565b5f602082840312156138d5575f80fd5b8151612f40816135e5565b5f602082840312156138f0575f80fd5b8151612f408161363e565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561394b5784516001600160a01b031683529383019391830191600101613926565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff81811683821602808216919082811461398a5761398a613833565b505092915050565b5f602082840312156139a2575f80fd5b5051919050565b5f82518060208501845e5f92019182525091905056fea264697066735822122016278ded2eff8521cb24675d9bed2f79e00ea00d97db29bdb065079f3d8cbad564736f6c63430008190033
Verified Source Code Partial Match
Compiler: v0.8.25+commit.b61c2a91
EVM: cancun
Optimization: Yes (200 runs)
ERC20ByBankPad.sol 2519 lines
// */**********,**,,,,,,,,,,,,,/,.
// ./********************,,,,,,,,,,,,,,,,,,,,,#.
// ***********************,////,,*,,,,,,,,,,,,,,,,,,,,,/
// (***************.. .(,,,,,,,,,,,,,,*
// (************, /,,,,,,,,,,,,
// /*********** .,,,,,,,,,,,,
// ******# *%%#######% %*,,,,,/
// #**,,,,,,,,,,,,,,,,,,,,,********/ *******************/,(
// *.*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,**,*****/ *******************************(*
// ,/.,,,,,,,,,,,,,,,,,,,,,,,,,,,,*/.,*/( /******/ .(/*,//*****************************/.
// #.....,,,,,,,,,,,,,,,# /,*****/ ,(*******************/
// ......,,,,# //,*,***************, /***************************/*# (********/#
// ,.....,* ,*,,,,,,,,,,,,,***************, /,*************************************/,/ .******/
// ,...,,,/ ...,,,,,,,,,,,,,,********/(,,*/(, ((/**,(//***********************( *******#
// *...,,., ,,,,,,,,*( %//******** (******(
// / ...,,,,, *,,,,,,, .,,,,,,,,,,,,,,,,,************** .******* (******* *.
// /*/ ,.,,,,,, (,,,,,,* ,,,** ,,,,,,,,,,,,,,,,,,****************/ ,,**, (******* .******* (..
// ///* *,,,,,,, /,,,,,,, . */,,,,,, ******##, * ,*******, /******* ....
// (/*/*/ ,,,,,,,, ,,,,,,,, ...,,,,,, /,**. /,**/ *******// .*******. .******** *.....
// //****/ ,,,,,,,, .,,,,,,, ...,,,,,, ,,,***( *,,,***( *******// (******* .*******. .......
// //****/ ...,,,,,, ,,,*** .,,*** *******// ,*******, /......(
// //****/ #//////////////////* /..,,,,,* .*******/ (((((((((((/******** #....../
// //****/ (....,.,,,,,,,,,,,,, /,,,,,,,*...................(******* ******************* /......(
// //*****. /.,.,,,,,,,,,,,,,,,,* ,,,,,,,,,,,,,,,,,,*************** *******************/ .,......
// #//****% ..,,,,,, /,,,,,,,* ,*,,,,,,,,,,,,***********(. ******** ,......
// //***** ,,.,,,,,, ,,,,,,,,. ,(.,,,,* ****,.# /*******/ ,,,,,,,, #,.....*
// ,/*****( ..,,,,,,* *,,,,,,,* *,,,,,, .****** .******** ******** ,,.....
// /******( ,,,,,,,, ,,,,,,,,. ,,,,,,/ ******. ********. (*******# ,......*
// ******* .,,,,,,,* (,,,,,,,, .,,,,,,/ ******/ ,******** ******** ,,,,.../
// *******/ ,,,,,,,,. *,,,,,,,* *,,,,,,***** .********. /*******, ,,,,,..*
// *******/ ,,,,,,,,, ,,,,,,,,/ /,,,,*** ********( (******** .,,,.,,.,
// ********, ,,,,,,,,/ .,,,,,,,,, *,,*, ********* /********. ,,,,,,,.,
// #******** .,,,,,,,,/ /,,,,,,,,( . *,******* ********* ,,,,,,,,,
// /*******/ *,,,,,,,,. .,,,,,,,,( *,*,*****. ********* *,,,,,,,,*
// /********* /,,,,,,,,* /,,,,,,,,( ,,,,*,*** ********* ,,,,,,,,,,
// *********/ ,,,,,,,,, /,,,,,,,,,,,,,,* /********. #,,,,,,,,,#
// (********** /,,,,,,,,. ,,,,,,,,,,,* ********* *,,,,,,,,,,
// ,***********, ,,,,,,,,,, ,,,,,,,* ********** /*,,,,,,,,,,/
// *************. ,,,,,,,,,* *,( .*********. .(,,,,,,,,,,,,/
// (************, .,,,,,,,,, (,,,****** ,,,,,,,,,,,,,
// ,**********( ,,,,,,,,,(,,,,,,,**** ,,,,,,,,,,*
// ,/******* *,,,,,,,,,,,,,*** .,,,,,,,.
// /,* (,,,,,,,,,,/ //,*
// *,,,,,/
// /
//
// Telegram: https://t.me/bankaieth
// Twitter: https://twitter.com/Bank_AIETH
// Website: https://bankai.app/
//
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@ @@
// @@ This token was created by BankPad. visit us at https://bankai.app to learn more. @@
// @@ @@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// Sources flattened with hardhat v2.19.1 https://hardhat.org
// SPDX-License-Identifier: MIT
// File @openzeppelin/contracts/utils/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// File @openzeppelin/contracts/access/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File @openzeppelin/contracts/token/ERC20/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}
// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
// File @openzeppelin/contracts/token/ERC20/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
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;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
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;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
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;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
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;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
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 {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
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;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
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);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
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);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}
// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.0;
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, _msgSender(), amount);
_burn(account, amount);
}
}
// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// File @openzeppelin/contracts/utils/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// File @openzeppelin/contracts/token/ERC20/utils/[email protected]
// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
* Revert on invalid signature.
*/
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return
success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
}
}
// File contracts/token/AntiBotHelper.sol
// Original license: SPDX_License_Identifier: MIT
pragma solidity ^0.8.0;
/**
* @notice Anti-Bot Helper
* Max TX Amount feature
* Max Wallet Amount feature
* Sniper auto-burn feature
*/
abstract contract AntiBotHelper is Ownable {
/// @dev Minimum value that can be set for the max transaction limit - 0.25%
uint16 private constant MIN__MAX_TX_LIMIT = 25;
/// @dev Maximum value that can be set for the max transaction limit - 100%
uint16 private constant MAX__MAX_TX_LIMIT = 10000;
/// @dev Minimum value that can be set for the max hold limit - 0.25%
uint16 private constant MIN__MAX_HOLD_LIMIT = 25;
/// @dev Maximum value that can be set for the max hold limit - 100%
uint16 private constant MAX__MAX_HOLD_LIMIT = 10000;
/// @dev Minimum value that can be set for the anti-dump limit - 0.25%
uint16 internal constant MIN_ANTI_DUMP_LIMIT = 25;
/// @dev Maximum value that can be set for the anti-dump limit - 100%
uint16 private constant MAX_ANTI_DUMP_LIMIT = 10000;
/// @dev Anti-snipe tax is burned, reducing total supply
/// 1. 20% tax on buys in the first block
/// 2. Reducing to 13.33% in the second block
/// 3. Reducing to 6.66% in the third
/// 4. Finally 0% from the fourth block on
uint16 internal _autoBurnFirstPercent;
uint16 internal _autoBurnSecondPercent;
uint16 internal _autoBurnThirdPercent;
uint16 internal _maxTxLimit;
uint16 internal _maxHoldLimit;
uint16 internal _antiDumpLimit;
bool internal _isBlacklistOn;
bool internal _isAntiSniperOn;
bool internal _isTradingDelayed;
bool internal _isTradingDisabled;
uint256 internal _firstBuyAt;
uint256 internal _secondBuyAt;
uint256 internal _thirdBuyAt;
mapping(address => bool) internal _isExcludedFromTxLimit;
mapping(address => bool) internal _isExcludedFromHoldLimit;
mapping(address => bool) internal _blacklist;
event AccountBlacklisted(address account, bool flag);
event AntiDumpLimitUpdated(uint16 antiDumpLimit);
event ExcludedFromHoldLimit(address account, bool flag);
event ExcludedFromTxLimit(address account, bool flag);
event MaxLimitUpdated(uint16 maxHoldLimit, uint16 maxTxLimit);
event TradingDelayFinished();
event TradingEnabled();
/// @dev Initialize anti bot configuration
/// abi encoded param
/// 1. holdLimit
/// 2. txLimit
/// 3. antiDumpLimit
/// 4. antiSniperOn
/// 5. blacklistOn
function _initializeAntiBot(bytes memory param) internal {
(
uint16 holdLimit,
uint16 txLimit,
uint16 antiDumpLimit_,
bool antiSniperOn,
bool blacklistOn
) = abi.decode(param, (uint16, uint16, uint16, bool, bool));
require(
txLimit <= MAX__MAX_TX_LIMIT && txLimit >= MIN__MAX_TX_LIMIT,
"tx limit out of range"
);
require(
ho...
// [truncated — 91469 bytes total]
Read Contract
allowance 0xdd62ed3e → uint256
ammAddresses 0x7196d178 → address, address, address
antiBotFlags 0xf0ee1ea5 → bool, bool, bool
antiDumpLimit 0xbe3b115d → uint16
balanceOf 0x70a08231 → uint256
bankPadFactory 0x6cb20f47 → address
bankPadTax 0xc524e82e → uint16
bankUUID 0x5b30facb → string
bankUUIDHash 0xb4b37bd2 → bytes32
decimals 0x313ce567 → uint8
isAccountBlacklisted 0x0f1d76c1 → bool
isAmmPair 0x9191a9c7 → bool
isAntiDumpEnabled 0x3e404228 → bool
isBlacklistEnabled 0x878dd332 → bool
isExcludedFromLimit 0xd94160e0 → bool, bool
isExcludedFromTax 0xcb4ca631 → bool
isTaxConvertEnabled 0x785e8a12 → bool
launchedAt 0xbf56b371 → uint256
maxLimit 0x1a861d26 → uint16, uint16
maxTaxToRenounce 0x49deaf4f → uint16
name 0x06fdde03 → string
owner 0x8da5cb5b → address
snipeAutoBurnPercents 0x0d426b00 → uint16, uint16, uint16
symbol 0x95d89b41 → string
taxAccounts 0x66bd1270 → address, address
taxAfterLimits 0x2fdd75bf → uint16, uint16, uint16
taxLimits 0xa103657e → uint16, uint16, uint16
taxes 0x728f8eea → uint16, uint16, uint16
teamAccount 0xd05ee727 → address
thresholdAmount 0x28f4dbb6 → uint256
timeConfiguration 0x80c74653 → uint32, uint32, uint32, uint32
totalSupply 0x18160ddd → uint256
Write Contract 23 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
batchBlacklist 0x1a2266b0
address[] accounts
bool flag
batchExcludeFromHoldLimit 0x2af65da1
address[] accounts
bool flag
batchExcludeFromTax 0x94488683
address[] accounts
bool flag
batchExcludeFromTxLimit 0xc5f7f168
address[] accounts
bool flag
batchSetAsAmmPair 0xb6a6790b
address[] pairs
bool flag
burn 0x42966c68
uint256 amount
burnFrom 0x79cc6790
address account
uint256 amount
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTaxConvert 0x2aa9c376
bool flag
enableTrading 0x8a8c523c
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
launch 0xf519b7d3
bool tradingDelayed
bool tradingDisabled
recoverETH 0xd3335553
uint256 amount_
recoverToken 0xb29a8140
address token_
uint256 amount_
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateAntiDumpLimit 0x3b0deddd
uint16 limit
updateMaxLimit 0xdef98aba
uint16 holdLimit
uint16 txLimit
updateTaxes 0x068b976f
uint16 buyTax
uint16 sellTax
uint16 treasuryTax
updateThresholdAmount 0xdb200bfa
uint256 amount
Recent Transactions
No transactions found for this address