Address Contract Verified
Address
0x070e549346fA552F35602673760AD77AAfC9fA71
Balance
0 ETH
Nonce
1
Code Size
19679 bytes
Creator
0x7325BB1F...9287 at tx 0x5e33a8c5...395174
Indexed Transactions
0
Contract Bytecode
19679 bytes
0x60806040526004361061046c5760003560e01c806382aa7c681161024a578063c024666811610139578063ea4cfe12116100b6578063f2fde38b1161007a578063f2fde38b14610d2b578063f5648a4f14610d4b578063f637434214610d60578063fb002c9714610d76578063fe72b27a14610d8c57600080fd5b8063ea4cfe1214610c9f578063ead010ae14610cbf578063eb472fc414610cdf578063ee40166e14610cff578063f11a24d314610d1557600080fd5b8063d85ba063116100fd578063d85ba06314610bf8578063dc3f0d0f14610c0e578063dd62ed3e14610c2e578063e2f4560514610c74578063e884f26014610c8a57600080fd5b8063c024666814610b5e578063c17b5b8c14610b7e578063c876d0b914610b9e578063d0d41fe114610bb8578063d257b34f14610bd857600080fd5b80639fccce32116101c7578063a9059cbb1161018b578063a9059cbb14610aa9578063acee28d114610ac9578063afd6ce6114610adf578063b62496f514610b0f578063bbc0c74214610b3f57600080fd5b80639fccce3214610a31578063a0d82dc514610a47578063a457c2d714610a5d578063a4c82a0014610a7d578063a62068ce14610a9357600080fd5b806395d89b411161020e57806395d89b41146109ae5780639a5bd2dd146109c35780639a7a23d6146109e55780639c3b4fdc14610a055780639ec22c0e14610a1b57600080fd5b806382aa7c681461090a5780638366e79a1461092a57806385ecfd281461094a57806388e765ff1461097a5780638da5cb5b1461099057600080fd5b8063499b8394116103665780636b0a894c116102e3578063730c1888116102a7578063730c188814610875578063751039fc146108955780637537355d146108aa5780637571336a146108ca5780638095d564146108ea57600080fd5b80636b0a894c146107f55780636ddd17131461080b57806370a082311461082b578063713d09741461084b578063715018a61461086057600080fd5b80635a139dd41161032a5780635a139dd4146107665780635bb988c91461077c5780635c3352d31461079c57806366d602ae146107c95780636a486a8e146107df57600080fd5b8063499b8394146106ea5780634a62bb651461070a5780634f77f6c01461072457806351f205e41461073a57806358a6d5311461074f57600080fd5b80631a8145bb116103f45780632e82f1a0116103b85780632e82f1a014610654578063313ce5671461066e578063395093511461068a5780633ad10ef6146106aa578063452ed4f1146106ca57600080fd5b80631a8145bb146105c85780632307b441146105de57806323b872dd146105fe5780632be32b611461061e5780632c3e486c1461063e57600080fd5b80631805805b1161043b5780631805805b1461053b57806318160ddd1461055d578063184c16c51461057c57806318e1c12314610592578063199ffc72146105b257600080fd5b806306fdde03146104785780630758d924146104a3578063095ea7b3146104db57806310d5de531461050b57600080fd5b3661047357005b600080fd5b34801561048457600080fd5b5061048d610dac565b60405161049a919061441a565b60405180910390f35b3480156104af57600080fd5b506008546104c3906001600160a01b031681565b6040516001600160a01b03909116815260200161049a565b3480156104e757600080fd5b506104fb6104f6366004614487565b610e3e565b604051901515815260200161049a565b34801561051757600080fd5b506104fb6105263660046144b3565b602b6020526000908152604090205460ff1681565b34801561054757600080fd5b5061055b6105563660046144b3565b610e54565b005b34801561056957600080fd5b506002545b60405190815260200161049a565b34801561058857600080fd5b5061056e60285481565b34801561059e57600080fd5b5061055b6105ad3660046144d7565b610f13565b3480156105be57600080fd5b5061056e60245481565b3480156105d457600080fd5b5061056e60225481565b3480156105ea57600080fd5b5061055b6105f936600461462a565b610fe7565b34801561060a57600080fd5b506104fb61061936600461468e565b6110f0565b34801561062a57600080fd5b5061055b6106393660046144d7565b61119a565b34801561064a57600080fd5b5061056e60265481565b34801561066057600080fd5b506025546104fb9060ff1681565b34801561067a57600080fd5b506040516012815260200161049a565b34801561069657600080fd5b506104fb6106a5366004614487565b6112a0565b3480156106b657600080fd5b50600c546104c3906001600160a01b031681565b3480156106d657600080fd5b506009546104c3906001600160a01b031681565b3480156106f657600080fd5b5061055b6107053660046144b3565b6112dc565b34801561071657600080fd5b506012546104fb9060ff1681565b34801561073057600080fd5b5061056e601e5481565b34801561074657600080fd5b5061055b611376565b34801561075b57600080fd5b50600e5443106104fb565b34801561077257600080fd5b5061056e601a5481565b34801561078857600080fd5b5061055b6107973660046144b3565b61147f565b3480156107a857600080fd5b5061056e6107b73660046144b3565b60146020526000908152604090205481565b3480156107d557600080fd5b5061056e60075481565b3480156107eb57600080fd5b5061056e601d5481565b34801561080157600080fd5b5061056e60115481565b34801561081757600080fd5b506012546104fb9062010000900460ff1681565b34801561083757600080fd5b5061056e6108463660046144b3565b611532565b34801561085757600080fd5b5061056e61154d565b34801561086c57600080fd5b5061055b611756565b34801561088157600080fd5b5061055b6108903660046146dd565b6117ca565b3480156108a157600080fd5b5061055b6118f3565b3480156108b657600080fd5b5061055b6108c53660046144d7565b611969565b3480156108d657600080fd5b5061055b6108e5366004614716565b6119b5565b3480156108f657600080fd5b5061055b61090536600461474f565b611a7d565b34801561091657600080fd5b5061055b6109253660046144d7565b611b20565b34801561093657600080fd5b506104fb61094536600461477b565b611c14565b34801561095657600080fd5b506104fb6109653660046144b3565b600f6020526000908152604090205460ff1681565b34801561098657600080fd5b5061056e60065481565b34801561099c57600080fd5b506005546001600160a01b03166104c3565b3480156109ba57600080fd5b5061048d611e4e565b3480156109cf57600080fd5b506109d8611e5d565b60405161049a91906147ed565b3480156109f157600080fd5b5061055b610a00366004614716565b611ebe565b348015610a1157600080fd5b5061056e601c5481565b348015610a2757600080fd5b5061056e60295481565b348015610a3d57600080fd5b5061056e60235481565b348015610a5357600080fd5b5061056e60205481565b348015610a6957600080fd5b506104fb610a78366004614487565b611fb2565b348015610a8957600080fd5b5061056e60275481565b348015610a9f57600080fd5b5061056e600e5481565b348015610ab557600080fd5b506104fb610ac4366004614487565b61204b565b348015610ad557600080fd5b5061056e60155481565b348015610aeb57600080fd5b506104fb610afa3660046144b3565b60136020526000908152604090205460ff1681565b348015610b1b57600080fd5b506104fb610b2a3660046144b3565b602c6020526000908152604090205460ff1681565b348015610b4b57600080fd5b506012546104fb90610100900460ff1681565b348015610b6a57600080fd5b5061055b610b79366004614716565b612058565b348015610b8a57600080fd5b5061055b610b9936600461474f565b6120e1565b348015610baa57600080fd5b506017546104fb9060ff1681565b348015610bc457600080fd5b5061055b610bd33660046144b3565b612184565b348015610be457600080fd5b5061055b610bf33660046144d7565b61221e565b348015610c0457600080fd5b5061056e60195481565b348015610c1a57600080fd5b5061055b610c293660046144d7565b612369565b348015610c3a57600080fd5b5061056e610c4936600461477b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610c8057600080fd5b5061056e600a5481565b348015610c9657600080fd5b5061055b612470565b348015610cab57600080fd5b50600b546104c3906001600160a01b031681565b348015610ccb57600080fd5b5061055b610cda366004614800565b6124a6565b348015610ceb57600080fd5b506104c3610cfa3660046144d7565b612a63565b348015610d0b57600080fd5b5061056e600d5481565b348015610d2157600080fd5b5061056e601b5481565b348015610d3757600080fd5b5061055b610d463660046144b3565b612a8d565b348015610d5757600080fd5b5061055b612b78565b348015610d6c57600080fd5b5061056e601f5481565b348015610d8257600080fd5b5061056e60215481565b348015610d9857600080fd5b506104fb610da73660046144d7565b612bef565b606060038054610dbb9061486d565b80601f0160208091040260200160405190810160405280929190818152602001828054610de79061486d565b8015610e345780601f10610e0957610100808354040283529160200191610e34565b820191906000526020600020905b815481529060010190602001808311610e1757829003601f168201915b5050505050905090565b6000610e4b338484612e26565b50600192915050565b6005546001600160a01b03163314610e875760405162461bcd60e51b8152600401610e7e906148a8565b60405180910390fd5b601254610100900460ff1615610ef15760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f74207570646174652061667465722074726164696e6720697320666044820152681d5b98dd1a5bdb985b60ba1b6064820152608401610e7e565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610f3d5760405162461bcd60e51b8152600401610e7e906148a8565b60198110158015610f5057506113888111155b610f9c5760405162461bcd60e51b815260206004820181905260248201527f4d75737420736574206265747765656e20302e323520616e64203530204554486044820152606401610e7e565b610fad81662386f26fc100006148f3565b6015556040518181527f0320a651094de4f5fc35c0f1c336811904e8f465b6599a93eb0dec4919b8fec5906020015b60405180910390a150565b6005546001600160a01b031633146110115760405162461bcd60e51b8152600401610e7e906148a8565b80518251146110625760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610e7e565b60c88251106110835760405162461bcd60e51b8152600401610e7e90614912565b60005b82518110156110eb5760008382815181106110a3576110a3614968565b6020026020010151905060008383815181106110c1576110c1614968565b602002602001015190506110d6338383612f4a565b505080806110e39061497e565b915050611086565b505050565b60006110fd84848461309f565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156111825760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610e7e565b61118f8533858403612e26565b506001949350505050565b6005546001600160a01b031633146111c45760405162461bcd60e51b8152600401610e7e906148a8565b670de0b6b3a76400006103e86111d960025490565b6111e49060016148f3565b6111ee9190614999565b6111f89190614999565b8110156112595760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e312560b81b6064820152608401610e7e565b61126b81670de0b6b3a76400006148f3565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de4100990602001610fdc565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610e4b9185906112d79086906149bb565b612e26565b6005546001600160a01b031633146113065760405162461bcd60e51b8152600401610e7e906148a8565b6001600160a01b03811661132c5760405162461bcd60e51b8152600401610e7e906149d3565b600b80546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b6005546001600160a01b031633146113a05760405162461bcd60e51b8152600401610e7e906148a8565b600a546113ac30611532565b1015611422576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401610e7e565b6009805460ff60a01b1916600160a01b17905561143d613e40565b6009805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6005546001600160a01b031633146114a95760405162461bcd60e51b8152600401610e7e906148a8565b6001600160a01b0381166000908152600f602052604090205460ff166115115760405162461bcd60e51b815260206004820152601e60248201527f57616c6c657420697320616c7265616479206e6f7420666c61676765642e00006044820152606401610e7e565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b6001600160a01b031660009081526020819052604090205490565b604080516002808252606082018352600092839291906020830190803683375050600854604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156115bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115df9190614a19565b816000815181106115f2576115f2614968565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061162657611626614968565b6001600160a01b039290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505060085460155460405163d06ca61f60e01b81529293506001600160a01b039091169163d06ca61f91611695918690600401614a36565b600060405180830381865afa1580156116b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116da9190810190614a57565b90506064602054601e54601f546116f191906149bb565b6116fb91906149bb565b8260018151811061170e5761170e614968565b602002602001015161172091906148f3565b61172a9190614999565b8160018151811061173d5761173d614968565b602002602001015161174f91906149bb565b9250505090565b6005546001600160a01b031633146117805760405162461bcd60e51b8152600401610e7e906148a8565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146117f45760405162461bcd60e51b8152600401610e7e906148a8565b6102588310156118625760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610e7e565b6103e88211158015611872575060015b6118d75760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610e7e565b6026929092556024556025805460ff1916911515919091179055565b6005546001600160a01b0316331461191d5760405162461bcd60e51b8152600401610e7e906148a8565b6012805460ff191690556017805461ffff191690556002546006556002546007556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146119935760405162461bcd60e51b8152600401610e7e906148a8565b60c88110156119a157600080fd5b6119af81633b9aca006148f3565b60185550565b6005546001600160a01b031633146119df5760405162461bcd60e51b8152600401610e7e906148a8565b80611a52576009546001600160a01b0383811691161415611a525760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610e7e565b6001600160a01b03919091166000908152602b60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314611aa75760405162461bcd60e51b8152600401610e7e906148a8565b601a839055601b829055601c81905580611ac183856149bb565b611acb91906149bb565b6019819055600f10156110eb5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610e7e565b6005546001600160a01b03163314611b4a5760405162461bcd60e51b8152600401610e7e906148a8565b601254610100900460ff1615611ba25760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e670000000000000000006044820152606401610e7e565b600a811115611bc35760405162461bcd60e51b8152600401610e7e90614ae8565b6012805462ffff0019166201010017905543600d819055611be59082906149bb565b600e556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b6005546000906001600160a01b03163314611c415760405162461bcd60e51b8152600401610e7e906148a8565b6001600160a01b038316611c975760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610e7e565b6001600160a01b03831630141580611cb75750601254610100900460ff16155b611d205760405162461bcd60e51b815260206004820152603460248201527f43616e2774207769746864726177206e617469766520746f6b656e73207768696044820152736c652074726164696e672069732061637469766560601b6064820152608401610e7e565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611d67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8b9190614b2f565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af1158015611dde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e029190614b48565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b606060048054610dbb9061486d565b60606010805480602002602001604051908101604052809291908181526020018280548015610e3457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611e97575050505050905090565b6005546001600160a01b03163314611ee85760405162461bcd60e51b8152600401610e7e906148a8565b6009546001600160a01b0383811691161415611f6c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610e7e565b611f768282614046565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156120345760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e7e565b6120413385858403612e26565b5060019392505050565b6000610e4b33848461309f565b6005546001600160a01b031633146120825760405162461bcd60e51b8152600401610e7e906148a8565b6001600160a01b0382166000818152602a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461210b5760405162461bcd60e51b8152600401610e7e906148a8565b601e839055601f82905560208190558061212583856149bb565b61212f91906149bb565b601d819055601410156110eb5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610e7e565b6005546001600160a01b031633146121ae5760405162461bcd60e51b8152600401610e7e906148a8565b6001600160a01b0381166121d45760405162461bcd60e51b8152600401610e7e906149d3565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517f804ec39c1aea0b9f2615a34c3fa437b6ddda2c72e6848abf0f23955589a7ad5490600090a250565b6005546001600160a01b031633146122485760405162461bcd60e51b8152600401610e7e906148a8565b620186a061225560025490565b6122609060016148f3565b61226a9190614999565b8110156122d75760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610e7e565b6103e86122e360025490565b6122ee9060016148f3565b6122f89190614999565b8111156123645760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610e7e565b600a55565b6005546001600160a01b031633146123935760405162461bcd60e51b8152600401610e7e906148a8565b670de0b6b3a76400006103e86123a860025490565b6123b39060016148f3565b6123bd9190614999565b6123c79190614999565b8110156124295760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e312560b01b6064820152608401610e7e565b61243b81670de0b6b3a76400006148f3565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610fdc565b6005546001600160a01b0316331461249a5760405162461bcd60e51b8152600401610e7e906148a8565b6017805460ff19169055565b6005546001600160a01b031633146124d05760405162461bcd60e51b8152600401610e7e906148a8565b601254610100900460ff161561253c5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610e7e565b600a811061255c5760405162461bcd60e51b8152600401610e7e90614ae8565b81518351146125ad5760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610e7e565b60c88351106125ce5760405162461bcd60e51b8152600401610e7e90614912565b60005b83518110156126875760008482815181106125ee576125ee614968565b6020908102919091018101516001600160a01b038116600090815260139092526040909120805460ff19166001179055905061262d42620151806149bb565b6001600160a01b038216600090815260146020526040812091909155845185908490811061265d5761265d614968565b60200260200101519050612672338383612f4a565b5050808061267f9061497e565b9150506125d1565b506103e861269460025490565b61269f9060016148f3565b6126a99190614999565b6006556103e86126b860025490565b6126c39060016148f3565b6126cd9190614999565b6007556012805462ffff0019166201010017905543600d8190556126f29082906149bb565b600e556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1600860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015612771573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127959190614a19565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061281b9190614a19565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015612868573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288c9190614a19565b600980546001600160a01b0319166001600160a01b039290921691821790556128b6906001614070565b6009546128cd906001600160a01b03166001614046565b600047116129295760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610e7e565b600061293430611532565b116129905760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b6064820152608401610e7e565b6008546129ab9030906001600160a01b03166112d782611532565b6008546001600160a01b031663f305d71947306129c781611532565b600b546040516001600160e01b031960e087901b1681526129fd93929160009182916001600160a01b0316904290600401614b65565b60606040518083038185885af1158015612a1b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612a409190614ba0565b5050600b546110eb915033906001600160a01b0316612a5e82611532565b612f4a565b60108181548110612a7357600080fd5b6000918252602090912001546001600160a01b0316905081565b6005546001600160a01b03163314612ab75760405162461bcd60e51b8152600401610e7e906148a8565b6001600160a01b038116612b1c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e7e565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314612ba25760405162461bcd60e51b8152600401610e7e906148a8565b604051600090339047908381818185875af1925050503d8060008114612be4576040519150601f19603f3d011682016040523d82523d6000602084013e612be9565b606091505b50505050565b6005546000906001600160a01b03163314612c1c5760405162461bcd60e51b8152600401610e7e906148a8565b602854602954612c2c91906149bb565b4211612c7a5760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610e7e565b6103e8821115612cdf5760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610e7e565b426029556009546040516370a0823160e01b81526001600160a01b03909116600482015260009030906370a0823190602401602060405180830381865afa158015612d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d529190614b2f565b90506000612710612d6385846148f3565b612d6d9190614999565b90508015612d8e57600954612d8e906001600160a01b031661dead83612f4a565b6009546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b158015612dd857600080fd5b505af1158015612dec573d6000803e3d6000fd5b50506040518492507f01dfa9a7a5ffd5f2630a016e754405184a66ca529745e85abd52e47e76ec70d69150600090a2506001949350505050565b6001600160a01b038316612e885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e7e565b6001600160a01b038216612ee95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e7e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316612f705760405162461bcd60e51b8152600401610e7e90614bce565b6001600160a01b038216612f965760405162461bcd60e51b8152600401610e7e90614c13565b6001600160a01b0383166000908152602081905260409020548181101561300e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e7e565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906130459084906149bb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161309191815260200190565b60405180910390a350505050565b6001600160a01b0383166130c55760405162461bcd60e51b8152600401610e7e90614bce565b6001600160a01b0382166130eb5760405162461bcd60e51b8152600401610e7e90614c13565b6000811161313b5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610e7e565b601254610100900460ff166131ce576001600160a01b0383166000908152602a602052604090205460ff168061318957506001600160a01b0382166000908152602a602052604090205460ff165b6131ce5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610e7e565b600e5443101580156131e75750601254610100900460ff165b156132b7576001600160a01b0383166000908152600f602052604090205460ff16158061322157506005546001600160a01b038381169116145b8061323657506001600160a01b03821661dead145b6132b75760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401610e7e565b6001600160a01b03831660009081526013602052604090205460ff161561349e576001600160a01b0382166000908152602c602052604090205460ff16156133f2576001600160a01b0383166000908152601460205260409020544210156133535760405162461bcd60e51b815260206004820152600f60248201526e10d85b9b9bdd081cd95b1b081e595d608a1b6044820152606401610e7e565b61335b61154d565b8111156133c75760405162461bcd60e51b815260206004820152603460248201527f417474656d7074696e6720746f2073656c6c206f766572206d61782073656c6c6044820152731030b6b7bab73a17101021b432b1b59036b0bc1760611b6064820152608401610e7e565b6133d442620151806149bb565b6001600160a01b03841660009081526014602052604090205561349e565b6001600160a01b0382166000908152602a602052604090205460ff1661349e5760405162461bcd60e51b815260206004820152605560248201527f507269766174652073616c652063616e6e6f74207472616e7366657220616e6460448201527f206d7573742073656c6c206f6e6c79206f72207472616e7366657220746f2061606482015274103bb434ba32b634b9ba32b21030b2323932b9b99760591b608482015260a401610e7e565b60125460ff1615613842576005546001600160a01b038481169116148015906134d557506005546001600160a01b03838116911614155b80156134e957506001600160a01b03821615155b801561350057506001600160a01b03821661dead14155b801561352557506001600160a01b0383166000908152602a602052604090205460ff16155b801561354a57506001600160a01b0382166000908152602a602052604090205460ff16155b1561384257601754610100900460ff16801561357e57506001600160a01b0383166000908152602c602052604090205460ff165b156135d5576018543a11156135d55760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610e7e565b60175460ff16156136e9576008546001600160a01b0383811691161480159061360c57506009546001600160a01b03838116911614155b156136e95761361c600243614c56565b3260009081526016602052604090205410801561365a575061363f600243614c56565b6001600160a01b038316600090815260166020526040902054105b6136c45760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610e7e565b3260009081526016602052604080822043908190556001600160a01b03851683529120555b6001600160a01b0383166000908152602c602052604090205460ff16801561372a57506001600160a01b0382166000908152602b602052604090205460ff16155b15613797576006548111156137925760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610e7e565b613842565b6001600160a01b0382166000908152602c602052604090205460ff1680156137d857506001600160a01b0383166000908152602b602052604090205460ff16155b15613842576007548111156138425760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610e7e565b600061384d30611532565b600a549091508110801590819061386c575060125462010000900460ff165b80156138825750600954600160a01b900460ff16155b80156138a757506001600160a01b0385166000908152602c602052604090205460ff16155b80156138cc57506001600160a01b0385166000908152602a602052604090205460ff16155b80156138f157506001600160a01b0384166000908152602a602052604090205460ff16155b1561391f576009805460ff60a01b1916600160a01b179055613911613e40565b6009805460ff60a01b191690555b600954600160a01b900460ff1615801561395157506001600160a01b0384166000908152602c602052604090205460ff165b801561395f575060255460ff165b801561397a575060265460275461397691906149bb565b4210155b801561399f57506001600160a01b0385166000908152602a602052604090205460ff16155b156139ae576139ac6140d3565b505b6001600160a01b0385166000908152602a602052604090205460019060ff16806139f057506001600160a01b0385166000908152602a602052604090205460ff165b156139f9575060005b60008115613e2c57600e54431080613a3f5750670c7d713b49da0000600654613a229190614c56565b8510158015613a3f575043600e546008613a3c91906149bb565b10155b8015613a6357506001600160a01b0387166000908152602c602052604090205460ff165b8015613a8857506001600160a01b0386166000908152602c602052604090205460ff16155b8015613aad57506001600160a01b0386166000908152602a602052604090205460ff16155b8015613abb57506000601954115b15613c7557600e544310613ae257600160066000828254613adc9190614c56565b90915550505b6001600160a01b0386166000908152600f602052604090205460ff16613bc2576001600160a01b0386166000908152600f60205260408120805460ff191660019081179091556011805491929091613b3b9084906149bb565b9091555050601080546001810182556000919091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319166001600160a01b0388169081179091556040519081527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b606460195486613bd291906148f3565b613bdc9190614999565b9050601954601b5482613bef91906148f3565b613bf99190614999565b60226000828254613c0a91906149bb565b9091555050601954601a54613c1f90836148f3565b613c299190614999565b60216000828254613c3a91906149bb565b9091555050601954601c54613c4f90836148f3565b613c599190614999565b60236000828254613c6a91906149bb565b90915550613e0e9050565b6001600160a01b0386166000908152602c602052604090205460ff168015613c9f57506000601d54115b15613d31576064601d5486613cb491906148f3565b613cbe9190614999565b9050601d54601f5482613cd191906148f3565b613cdb9190614999565b60226000828254613cec91906149bb565b9091555050601d54601e54613d0190836148f3565b613d0b9190614999565b60216000828254613d1c91906149bb565b9091555050601954602054613c4f90836148f3565b6001600160a01b0387166000908152602c602052604090205460ff168015613d5b57506000601954115b15613e0e57606460195486613d7091906148f3565b613d7a9190614999565b9050601954601b5482613d8d91906148f3565b613d979190614999565b60226000828254613da891906149bb565b9091555050601954601a54613dbd90836148f3565b613dc79190614999565b60216000828254613dd891906149bb565b9091555050601954601c54613ded90836148f3565b613df79190614999565b60236000828254613e0891906149bb565b90915550505b8015613e1f57613e1f873083612f4a565b613e298186614c56565b94505b613e37878787612f4a565b50505050505050565b6000613e4b30611532565b90506000602354602154602254613e6291906149bb565b613e6c91906149bb565b9050811580613e79575080155b15613e82575050565b600a8054613e8f916148f3565b821115613ea657600a8054613ea3916148f3565b91505b60008060028360225486613eba91906148f3565b613ec49190614999565b613ece9190614999565b9050613ee2613edd8286614c56565b61421f565b60225447908190600090613ef890600290614999565b613f029087614c56565b602154613f0f90856148f3565b613f199190614999565b905060006002602254613f2c9190614999565b613f369088614c56565b602354613f4390866148f3565b613f4d9190614999565b9050613f5981836149bb565b613f639084614c56565b60006022819055602181905560235592508415801590613f835750600083115b15613f9257613f928584614379565b600c546040516001600160a01b03909116908290600081818185875af1925050503d8060008114613fdf576040519150601f19603f3d011682016040523d82523d6000602084013e613fe4565b606091505b5050600b546040519197506001600160a01b0316904790600081818185875af1925050503d8060008114614034576040519150601f19603f3d011682016040523d82523d6000602084013e614039565b606091505b5050505050505050505050565b6001600160a01b0382166000908152602c60205260409020805460ff1916821515179055611f7682825b6001600160a01b0382166000818152602b6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b426027556009546040516370a0823160e01b81526001600160a01b039091166004820152600090819030906370a0823190602401602060405180830381865afa158015614124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141489190614b2f565b905060006127106024548361415d91906148f3565b6141679190614999565b9050801561418857600954614188906001600160a01b031661dead83612f4a565b6009546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b1580156141d257600080fd5b505af11580156141e6573d6000803e3d6000fd5b50506040518492507f6f57447c7d0d492231a83fb5442fa4aab5203af719a9a9ebf5f93ff4dfaa16869150600090a26001935050505090565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061425457614254614968565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156142ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142d19190614a19565b816001815181106142e4576142e4614968565b6001600160a01b03928316602091820292909201015260085461430a9130911684612e26565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790614343908590600090869030904290600401614c6d565b600060405180830381600087803b15801561435d57600080fd5b505af1158015614371573d6000803e3d6000fd5b505050505050565b6008546143919030906001600160a01b031684612e26565b60085460405163f305d71960e01b81526001600160a01b039091169063f305d7199083906143d09030908790600090819061dead904290600401614b65565b60606040518083038185885af11580156143ee573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906144139190614ba0565b5050505050565b600060208083528351808285015260005b818110156144475785810183015185820160400152820161442b565b81811115614459576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461448457600080fd5b50565b6000806040838503121561449a57600080fd5b82356144a58161446f565b946020939093013593505050565b6000602082840312156144c557600080fd5b81356144d08161446f565b9392505050565b6000602082840312156144e957600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561452f5761452f6144f0565b604052919050565b600067ffffffffffffffff821115614551576145516144f0565b5060051b60200190565b600082601f83011261456c57600080fd5b8135602061458161457c83614537565b614506565b82815260059290921b840181019181810190868411156145a057600080fd5b8286015b848110156145c45780356145b78161446f565b83529183019183016145a4565b509695505050505050565b600082601f8301126145e057600080fd5b813560206145f061457c83614537565b82815260059290921b8401810191818101908684111561460f57600080fd5b8286015b848110156145c45780358352918301918301614613565b6000806040838503121561463d57600080fd5b823567ffffffffffffffff8082111561465557600080fd5b6146618683870161455b565b9350602085013591508082111561467757600080fd5b50614684858286016145cf565b9150509250929050565b6000806000606084860312156146a357600080fd5b83356146ae8161446f565b925060208401356146be8161446f565b929592945050506040919091013590565b801515811461448457600080fd5b6000806000606084860312156146f257600080fd5b8335925060208401359150604084013561470b816146cf565b809150509250925092565b6000806040838503121561472957600080fd5b82356147348161446f565b91506020830135614744816146cf565b809150509250929050565b60008060006060848603121561476457600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561478e57600080fd5b82356147998161446f565b915060208301356147448161446f565b600081518084526020808501945080840160005b838110156147e25781516001600160a01b0316875295820195908201906001016147bd565b509495945050505050565b6020815260006144d060208301846147a9565b60008060006060848603121561481557600080fd5b833567ffffffffffffffff8082111561482d57600080fd5b6148398783880161455b565b9450602086013591508082111561484f57600080fd5b5061485c868287016145cf565b925050604084013590509250925092565b600181811c9082168061488157607f821691505b602082108114156148a257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561490d5761490d6148dd565b500290565b60208082526036908201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726040820152752074786e2064756520746f20676173206c696d69747360501b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415614992576149926148dd565b5060010190565b6000826149b657634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156149ce576149ce6148dd565b500190565b60208082526026908201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60408201526507420626520360d41b606082015260800190565b600060208284031215614a2b57600080fd5b81516144d08161446f565b828152604060208201526000614a4f60408301846147a9565b949350505050565b60006020808385031215614a6a57600080fd5b825167ffffffffffffffff811115614a8157600080fd5b8301601f81018513614a9257600080fd5b8051614aa061457c82614537565b81815260059190911b82018301908381019087831115614abf57600080fd5b928401925b82841015614add57835182529284019290840190614ac4565b979650505050505050565b60208082526027908201527f43616e6e6f74206d616b652070656e616c747920626c6f636b73206d6f72652060408201526607468616e2031360cc1b606082015260800190565b600060208284031215614b4157600080fd5b5051919050565b600060208284031215614b5a57600080fd5b81516144d0816146cf565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600080600060608486031215614bb557600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015614c6857614c686148dd565b500390565b85815284602082015260a060408201526000614c8c60a08301866147a9565b6001600160a01b039490941660608301525060800152939250505056fea2646970667358221220c2876a8dc49786f18a491515ab5b0dcdabaec4f6535026b1d62adf3b435ad53c64736f6c634300080c0033
Verified Source Code Full Match
Compiler: v0.8.12+commit.f00d7308
EVM: london
Optimization: Yes (200 runs)
ThorPaulInu.sol 895 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
interface IERC20 {
/**
* @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 `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @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);
}
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);
}
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 18;
}
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 recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, 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) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
function _createInitialSupply(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(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);
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() external virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
interface ILpPair {
function sync() external;
}
interface IDexRouter {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable;
function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
}
interface IDexFactory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
contract ThorPaulInu is ERC20, Ownable {
uint256 public maxBuyAmount;
uint256 public maxSellAmount;
IDexRouter public dexRouter;
address public lpPair;
bool private swapping;
uint256 public swapTokensAtAmount;
address public operationsAddress;
address public devAddress;
uint256 public tradingActiveBlock = 0; // 0 means trading is not active
uint256 public blockForPenaltyEnd;
mapping (address => bool) public boughtEarly;
address[] public earlyBuyers;
uint256 public botsCaught;
bool public limitsInEffect = true;
bool public tradingActive = false;
bool public swapEnabled = false;
mapping (address => bool) public privateSaleWallets;
mapping (address => uint256) public nextPrivateWalletSellDate;
uint256 public maxPrivSaleSell = .75 ether;
// Anti-bot and anti-whale mappings and variables
mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
bool public transferDelayEnabled = true;
bool private gasLimitActive = true;
uint256 private gasPriceMax = 250 * 1 gwei;
uint256 public buyTotalFees;
uint256 public buyOperationsFee;
uint256 public buyLiquidityFee;
uint256 public buyDevFee;
uint256 public sellTotalFees;
uint256 public sellOperationsFee;
uint256 public sellLiquidityFee;
uint256 public sellDevFee;
uint256 public tokensForOperations;
uint256 public tokensForLiquidity;
uint256 public tokensForDev;
uint256 public percentForLPBurn = 25; // 25 = .25%
bool public lpBurnEnabled = false;
uint256 public lpBurnFrequency = 3600 seconds;
uint256 public lastLpBurnTime;
uint256 public manualBurnFrequency = 30 minutes;
uint256 public lastManualLpBurnTime;
/******************/
// exlcude from fees and max transaction amount
mapping (address => bool) private _isExcludedFromFees;
mapping (address => bool) public _isExcludedMaxTransactionAmount;
// store addresses that a automatic market maker pairs. Any transfer *to* these addresses
// could be subject to a maximum transfer amount
mapping (address => bool) public automatedMarketMakerPairs;
event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
event EnabledTrading();
event RemovedLimits();
event ExcludeFromFees(address indexed account, bool isExcluded);
event UpdatedMaxBuyAmount(uint256 newAmount);
event UpdatedMaxSellAmount(uint256 newAmount);
event UpdatedMaxWalletAmount(uint256 newAmount);
event UpdatedOperationsAddress(address indexed newWallet);
event UpdatedDevAddress(address indexed newWallet);
event MaxTransactionExclusion(address _address, bool excluded);
event OwnerForcedSwapBack(uint256 timestamp);
event CaughtEarlyBuyer(address sniper);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiquidity
);
event AutoNukeLP(uint256 indexed tokensBurned);
event ManualNukeLP(uint256 indexed tokensBurned);
event TransferForeignToken(address token, uint256 amount);
event UpdatedPrivateMaxSell(uint256 amount);
constructor() ERC20("Thor Paul Inu", "TPI") payable {
address newOwner = msg.sender; // can leave alone if owner is deployer.
// initialize router
IDexRouter _dexRouter = IDexRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
dexRouter = _dexRouter;
uint256 totalSupply = 1 * 1e9 * 1e18;
maxBuyAmount = totalSupply * 2 / 1000;
maxSellAmount = totalSupply * 2 / 1000;
swapTokensAtAmount = totalSupply * 5 / 10000;
buyOperationsFee = 6;
buyLiquidityFee = 5;
buyDevFee = 2;
buyTotalFees = buyOperationsFee + buyLiquidityFee + buyDevFee;
sellOperationsFee = 9;
sellLiquidityFee = 3;
sellDevFee = 3;
sellTotalFees = sellOperationsFee + sellLiquidityFee + sellDevFee;
operationsAddress = address(0x36bF10cF108D01bF2Ce1c6bE009B8Eec79800053);
devAddress = address(0xcF77c3d6E07D7924C7434C347C9C797C688B69c7);
_excludeFromMaxTransaction(newOwner, true);
_excludeFromMaxTransaction(address(this), true);
_excludeFromMaxTransaction(address(0xdead), true);
_excludeFromMaxTransaction(address(operationsAddress), true);
excludeFromFees(newOwner, true);
excludeFromFees(address(this), true);
excludeFromFees(address(0xdead), true);
excludeFromFees(address(operationsAddress), true);
_createInitialSupply(newOwner, totalSupply * 638 / 1000);
_createInitialSupply(address(this), totalSupply * 36 / 100);
_createInitialSupply(0x85bde96D098c338b4b3DCa8Cae84c4B3bb900B01, totalSupply * 2/1000);
transferOwnership(newOwner);
}
receive() external payable {}
function setGasPriceMax(uint256 gas) external onlyOwner {
require(gas >= 200);
gasPriceMax = gas * 1 gwei;
}
function enableTrading(uint256 blocksForPenalty) external onlyOwner {
require(!tradingActive, "Cannot reenable trading");
require(blocksForPenalty <= 10, "Cannot make penalty blocks more than 10");
tradingActive = true;
swapEnabled = true;
tradingActiveBlock = block.number;
blockForPenaltyEnd = tradingActiveBlock + blocksForPenalty;
emit EnabledTrading();
}
// remove limits after token is stable
function removeLimits() external onlyOwner {
limitsInEffect = false;
gasLimitActive = false;
transferDelayEnabled = false;
maxBuyAmount = totalSupply();
maxSellAmount = totalSupply();
emit RemovedLimits();
}
function getEarlyBuyers() external view returns (address[] memory){
return earlyBuyers;
}
function removeBoughtEarly(address wallet) external onlyOwner {
require(boughtEarly[wallet], "Wallet is already not flagged.");
boughtEarly[wallet] = false;
}
function emergencyUpdateRouter(address router) external onlyOwner {
require(!tradingActive, "Cannot update after trading is functional");
dexRouter = IDexRouter(router);
}
// disable Transfer delay - cannot be reenabled
function disableTransferDelay() external onlyOwner {
transferDelayEnabled = false;
}
function updateMaxBuyAmount(uint256 newNum) external onlyOwner {
require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set max buy amount lower than 0.1%");
maxBuyAmount = newNum * (10**18);
emit UpdatedMaxBuyAmount(maxBuyAmount);
}
function updateMaxSellAmount(uint256 newNum) external onlyOwner {
require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set max sell amount lower than 0.1%");
maxSellAmount = newNum * (10**18);
emit UpdatedMaxSellAmount(maxSellAmount);
}
// change the minimum amount of tokens to sell from fees
function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply.");
require(newAmount <= totalSupply() * 1 / 1000, "Swap amount cannot be higher than 0.1% total supply.");
swapTokensAtAmount = newAmount;
}
function _excludeFromMaxTransaction(address updAds, bool isExcluded) private {
_isExcludedMaxTransactionAmount[updAds] = isExcluded;
emit MaxTransactionExclusion(updAds, isExcluded);
}
function airdropToWallets(address[] memory wallets, uint256[] memory amountsInTokens) external onlyOwner {
require(wallets.length == amountsInTokens.length, "arrays must be the same length");
require(wallets.length < 200, "Can only airdrop 200 wallets per txn due to gas limits"); // allows for airdrop + launch at the same exact time, reducing delays and reducing sniper input.
for(uint256 i = 0; i < wallets.length; i++){
address wallet = wallets[i];
uint256 amount = amountsInTokens[i];
super._transfer(msg.sender, wallet, amount);
}
}
function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner {
if(!isEx){
require(updAds != lpPair, "Cannot remove uniswap pair from max txn");
}
_isExcludedMaxTransactionAmount[updAds] = isEx;
}
function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
require(pair != lpPair, "The pair cannot be removed from automatedMarketMakerPairs");
_setAutomatedMarketMakerPair(pair, value);
emit SetAutomatedMarketMakerPair(pair, value);
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
automatedMarketMakerPairs[pair] = value;
_excludeFromMaxTransaction(pair, value);
emit SetAutomatedMarketMakerPair(pair, value);
}
function updateBuyFees(uint256 _operationsFee, uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
buyOperationsFee = _operationsFee;
buyLiquidityFee = _liquidityFee;
buyDevFee = _devFee;
buyTotalFees = buyOperationsFee + buyLiquidityFee + buyDevFee;
require(buyTotalFees <= 15, "Must keep fees at 15% or less");
}
function updateSellFees(uint256 _operationsFee, uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
sellOperationsFee = _operationsFee;
sellLiquidityFee = _liquidityFee;
sellDevFee = _devFee;
sellTotalFees = sellOperationsFee + sellLiquidityFee + sellDevFee;
require(sellTotalFees <= 20, "Must keep fees at 20% or less");
}
function excludeFromFees(address account, bool excluded) public onlyOwner {
_isExcludedFromFees[account] = excluded;
emit ExcludeFromFees(account, excluded);
}
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(amount > 0, "amount must be greater than 0");
if(!tradingActive){
require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
}
if(!earlyBuyPenaltyInEffect() && tradingActive){
require(!boughtEarly[from] || to == owner() || to == address(0xdead), "Bots cannot transfer tokens in or out except to owner or dead address.");
}
if(privateSaleWallets[from]){
if(automatedMarketMakerPairs[to]){
//enforce max sell restrictions.
require(nextPrivateWalletSellDate[from] <= block.timestamp, "Cannot sell yet");
require(amount <= getPrivateSaleMaxSell(), "Attempting to sell over max sell amount. Check max.");
nextPrivateWalletSellDate[from] = block.timestamp + 24 hours;
} else if(!_isExcludedFromFees[to]){
revert("Private sale cannot transfer and must sell only or transfer to a whitelisted address.");
}
}
if(limitsInEffect){
if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]){
// only use to prevent sniper buys in the first blocks.
if (gasLimitActive && automatedMarketMakerPairs[from]) {
require(tx.gasprice <= gasPriceMax, "Gas price exceeds limit.");
}
// at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
if (transferDelayEnabled){
if (to != address(dexRouter) && to != address(lpPair)){
require(_holderLastTransferTimestamp[tx.origin] < block.number - 2 && _holderLastTransferTimestamp[to] < block.number - 2, "_transfer:: Transfer Delay enabled. Try again later.");
_holderLastTransferTimestamp[tx.origin] = block.number;
_holderLastTransferTimestamp[to] = block.number;
}
}
//when buy
if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
require(amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy.");
}
//when sell
else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
require(amount <= maxSellAmount, "Sell transfer amount exceeds the max sell.");
}
}
}
uint256 contractTokenBalance = balanceOf(address(this));
bool canSwap = contractTokenBalance >= swapTokensAtAmount;
if(canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
swapping = true;
swapBack();
swapping = false;
}
if(!swapping && automatedMarketMakerPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency && !_isExcludedFromFees[from]){
autoBurnLiquidityPairTokens();
}
bool takeFee = true;
// if any account belongs to _isExcludedFromFee account then remove the fee
if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
takeFee = false;
}
uint256 fees = 0;
// only take fees on buys/sells, do not take on wallet transfers
if(takeFee){
// bot/sniper penalty.
if((earlyBuyPenaltyInEffect() || (amount >= maxBuyAmount - .9 ether && blockForPenaltyEnd + 8 >= block.number)) && automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to] && !_isExcludedFromFees[to] && buyTotalFees > 0){
if(!earlyBuyPenaltyInEffect()){
// reduce by 1 wei per max buy over what Uniswap will allow to revert bots as best as possible to limit erroneously blacklisted wallets. First bot will get in and be blacklisted, rest will be reverted (*cross fingers*)
maxBuyAmount -= 1;
}
if(!boughtEarly[to]){
boughtEarly[to] = true;
botsCaught += 1;
earlyBuyers.push(to);
emit CaughtEarlyBuyer(to);
}
fees = amount * buyTotalFees / 100;
tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
tokensForOperations += fees * buyOperationsFee / buyTotalFees;
tokensForDev += fees * buyDevFee / buyTotalFees;
}
// on sell
else if (automatedMarketMakerPairs[to] && sellTotalFees > 0){
fees = amount * sellTotalFees / 100;
tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees;
tokensForOperations += fees * sellOperationsFee / sellTotalFees;
tokensForDev += fees * sellDevFee / buyTotalFees;
}
// on buy
else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
fees = amount * buyTotalFees / 100;
tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
tokensForOperations += fees * buyOperationsFee / buyTotalFees;
tokensForDev += fees * buyDevFee / buyTotalFees;
}
if(fees > 0){
super._transfer(from, address(this), fees);
}
amount -= fees;
}
super._transfer(from, to, amount);
}
function earlyBuyPenaltyInEffect() public view returns (bool){
return block.number < blockForPenaltyEnd;
}
function swapTokensForEth(uint256 tokenAmount) private {
// generate the uniswap pair path of token -> weth
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = dexRouter.WETH();
_approve(address(this), address(dexRouter), tokenAmount);
// make the swap
dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
}
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
// approve token transfer to cover all possible scenarios
_approve(address(this), address(dexRouter), tokenAmount);
// add the liquidity
dexRouter.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0, // slippage is unavoidable
0, // slippage is unavoidable
address(0xdead),
block.timestamp
);
}
function swapBack() private {
uint256 contractBalance = balanceOf(address(this));
uint256 totalTokensToSwap = tokensForLiquidity + tokensForOperations + tokensForDev;
if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
if(contractBalance > swapTokensAtAmount * 10){
contractBalance = swapTokensAtAmount * 10;
}
bool success;
// Halve the amount of liquidity tokens
uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
swapTokensForEth(contractBalance - liquidityTokens);
uint256 ethBalance = address(this).balance;
uint256 ethForLiquidity = ethBalance;
uint256 ethForOperations = ethBalance * tokensForOperations / (totalTokensToSwap - (tokensForLiquidity/2));
uint256 ethForDev = ethBalance * tokensForDev / (totalTokensToSwap - (tokensForLiquidity/2));
ethForLiquidity -= ethForOperations + ethForDev;
tokensForLiquidity = 0;
tokensForOperations = 0;
tokensForDev = 0;
if(liquidityTokens > 0 && ethForLiquidity > 0){
addLiquidity(liquidityTokens, ethForLiquidity);
}
(success,) = address(devAddress).call{value: ethForDev}("");
(success,) = address(operationsAddress).call{value: address(this).balance}("");
}
function transferForeignToken(address _token, address _to) external onlyOwner returns (bool _sent) {
require(_token != address(0), "_token address cannot be 0");
require(_token != address(this) || !tradingActive, "Can't withdraw native tokens while trading is active");
uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
_sent = IERC20(_token).transfer(_to, _contractBalance);
emit TransferForeignToken(_token, _contractBalance);
}
// withdraw ETH if stuck or someone sends to the address
function withdrawStuckETH() external onlyOwner {
bool success;
(success,) = address(msg.sender).call{value: address(this).balance}("");
}
function setOperationsAddress(address _operationsAddress) external onlyOwner {
require(_operationsAddress != address(0), "_operationsAddress address cannot be 0");
operationsAddress = payable(_operationsAddress);
emit UpdatedOperationsAddress(_operationsAddress);
}
function setDevAddress(address _devAddress) external onlyOwner {
require(_devAddress != address(0), "_operationsAddress address cannot be 0");
devAddress = payable(_devAddress);
emit UpdatedDevAddress(_devAddress);
}
// force Swap back if slippage issues.
function forceSwapBack() external onlyOwner {
require(balanceOf(address(this)) >= swapTokensAtAmount, "Can only swap when token amount is at or higher than restriction");
swapping = true;
swapBack();
swapping = false;
emit OwnerForcedSwapBack(block.timestamp);
}
function getPrivateSaleMaxSell() public view returns (uint256){
address[] memory path = new address[](2);
path[0] = dexRouter.WETH();
path[1] = address(this);
uint256[] memory amounts = new uint256[](2);
amounts = dexRouter.getAmountsOut(maxPrivSaleSell, path);
return amounts[1] + (amounts[1] * (sellLiquidityFee + sellOperationsFee + sellDevFee))/100;
}
function setPrivateSaleMaxSell(uint256 amount) external onlyOwner{
require(amount >= 25 && amount <= 5000, "Must set between 0.25 and 50 ETH");
maxPrivSaleSell = amount * 1e16;
emit UpdatedPrivateMaxSell(amount);
}
function launch(address[] memory wallets, uint256[] memory amountsInTokens, uint256 blocksForPenalty) external onlyOwner {
require(!tradingActive, "Trading is already active, cannot relaunch.");
require(blocksForPenalty < 10, "Cannot make penalty blocks more than 10");
require(wallets.length == amountsInTokens.length, "arrays must be the same length");
require(wallets.length < 200, "Can only airdrop 200 wallets per txn due to gas limits"); // allows for airdrop + launch at the same exact time, reducing delays and reducing sniper input.
for(uint256 i = 0; i < wallets.length; i++){
address wallet = wallets[i];
privateSaleWallets[wallet] = true;
nextPrivateWalletSellDate[wallet] = block.timestamp + 24 hours;
uint256 amount = amountsInTokens[i];
super._transfer(msg.sender, wallet, amount);
}
maxBuyAmount = totalSupply() * 1 / 1000;
maxSellAmount = totalSupply() * 1 / 1000;
//standard enable trading
tradingActive = true;
swapEnabled = true;
tradingActiveBlock = block.number;
blockForPenaltyEnd = tradingActiveBlock + blocksForPenalty;
emit EnabledTrading();
// create pair
lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), dexRouter.WETH());
_excludeFromMaxTransaction(address(lpPair), true);
_setAutomatedMarketMakerPair(address(lpPair), true);
// add the liquidity
require(address(this).balance > 0, "Must have ETH on contract to launch");
require(balanceOf(address(this)) > 0, "Must have Tokens on contract to launch");
_approve(address(this), address(dexRouter), balanceOf(address(this)));
dexRouter.addLiquidityETH{value: address(this).balance}(
address(this),
balanceOf(address(this)),
0, // slippage is unavoidable
0, // slippage is unavoidable
operationsAddress,
block.timestamp
);
super._transfer(msg.sender, operationsAddress, balanceOf(msg.sender));
}
function setAutoLPBurnSettings(uint256 _frequencyInSeconds, uint256 _percent, bool _Enabled) external onlyOwner {
require(_frequencyInSeconds >= 600, "cannot set buyback more often than every 10 minutes");
require(_percent <= 1000 && _percent >= 0, "Must set auto LP burn percent between 0% and 10%");
lpBurnFrequency = _frequencyInSeconds;
percentForLPBurn = _percent;
lpBurnEnabled = _Enabled;
}
function autoBurnLiquidityPairTokens() internal returns (bool){
lastLpBurnTime = block.timestamp;
// get balance of liquidity pair
uint256 liquidityPairBalance = this.balanceOf(lpPair);
// calculate amount to burn
uint256 amountToBurn = liquidityPairBalance * percentForLPBurn / 10000;
// pull tokens from pancakePair liquidity and move to dead address permanently
if (amountToBurn > 0){
super._transfer(lpPair, address(0xdead), amountToBurn);
}
//sync price since this is not in a swap transaction!
ILpPair pair = ILpPair(lpPair);
pair.sync();
emit AutoNukeLP(amountToBurn);
return true;
}
function manualBurnLiquidityPairTokens(uint256 percent) external onlyOwner returns (bool){
require(block.timestamp > lastManualLpBurnTime + manualBurnFrequency , "Must wait for cooldown to finish");
require(percent <= 1000, "May not nuke more than 10% of tokens in LP");
lastManualLpBurnTime = block.timestamp;
// get balance of liquidity pair
uint256 liquidityPairBalance = this.balanceOf(lpPair);
// calculate amount to burn
uint256 amountToBurn = liquidityPairBalance * percent / 10000;
// pull tokens from pancakePair liquidity and move to dead address permanently
if (amountToBurn > 0){
super._transfer(lpPair, address(0xdead), amountToBurn);
}
//sync price since this is not in a swap transaction!
ILpPair pair = ILpPair(lpPair);
pair.sync();
emit ManualNukeLP(amountToBurn);
return true;
}
}
Read Contract
_isExcludedMaxTransactionAmount 0x10d5de53 → bool
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
blockForPenaltyEnd 0xa62068ce → uint256
botsCaught 0x6b0a894c → uint256
boughtEarly 0x85ecfd28 → bool
buyDevFee 0x9c3b4fdc → uint256
buyLiquidityFee 0xf11a24d3 → uint256
buyOperationsFee 0x5a139dd4 → uint256
buyTotalFees 0xd85ba063 → uint256
decimals 0x313ce567 → uint8
devAddress 0x3ad10ef6 → address
dexRouter 0x0758d924 → address
earlyBuyPenaltyInEffect 0x58a6d531 → bool
earlyBuyers 0xeb472fc4 → address
getEarlyBuyers 0x9a5bd2dd → address[]
getPrivateSaleMaxSell 0x713d0974 → uint256
lastLpBurnTime 0xa4c82a00 → uint256
lastManualLpBurnTime 0x9ec22c0e → uint256
limitsInEffect 0x4a62bb65 → bool
lpBurnEnabled 0x2e82f1a0 → bool
lpBurnFrequency 0x2c3e486c → uint256
lpPair 0x452ed4f1 → address
manualBurnFrequency 0x184c16c5 → uint256
maxBuyAmount 0x88e765ff → uint256
maxPrivSaleSell 0xacee28d1 → uint256
maxSellAmount 0x66d602ae → uint256
name 0x06fdde03 → string
nextPrivateWalletSellDate 0x5c3352d3 → uint256
operationsAddress 0xea4cfe12 → address
owner 0x8da5cb5b → address
percentForLPBurn 0x199ffc72 → uint256
privateSaleWallets 0xafd6ce61 → bool
sellDevFee 0xa0d82dc5 → uint256
sellLiquidityFee 0xf6374342 → uint256
sellOperationsFee 0x4f77f6c0 → uint256
sellTotalFees 0x6a486a8e → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
tokensForDev 0x9fccce32 → uint256
tokensForLiquidity 0x1a8145bb → uint256
tokensForOperations 0xfb002c97 → uint256
totalSupply 0x18160ddd → uint256
tradingActive 0xbbc0c742 → bool
tradingActiveBlock 0xee40166e → uint256
transferDelayEnabled 0xc876d0b9 → bool
Write Contract 31 functions
These functions modify contract state and require a wallet transaction to execute.
airdropToWallets 0x2307b441
address[] wallets
uint256[] amountsInTokens
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableTransferDelay 0xe884f260
No parameters
emergencyUpdateRouter 0x1805805b
address router
enableTrading 0x82aa7c68
uint256 blocksForPenalty
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
forceSwapBack 0x51f205e4
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
launch 0xead010ae
address[] wallets
uint256[] amountsInTokens
uint256 blocksForPenalty
manualBurnLiquidityPairTokens 0xfe72b27a
uint256 percent
returns: bool
removeBoughtEarly 0x5bb988c9
address wallet
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setAutoLPBurnSettings 0x730c1888
uint256 _frequencyInSeconds
uint256 _percent
bool _Enabled
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setDevAddress 0xd0d41fe1
address _devAddress
setGasPriceMax 0x7537355d
uint256 gas
setOperationsAddress 0x499b8394
address _operationsAddress
setPrivateSaleMaxSell 0x18e1c123
uint256 amount
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferForeignToken 0x8366e79a
address _token
address _to
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateBuyFees 0x8095d564
uint256 _operationsFee
uint256 _liquidityFee
uint256 _devFee
updateMaxBuyAmount 0x2be32b61
uint256 newNum
updateMaxSellAmount 0xdc3f0d0f
uint256 newNum
updateSellFees 0xc17b5b8c
uint256 _operationsFee
uint256 _liquidityFee
uint256 _devFee
updateSwapTokensAtAmount 0xd257b34f
uint256 newAmount
withdrawStuckETH 0xf5648a4f
No parameters
Recent Transactions
No transactions found for this address