Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x3fdF934D08a38c8567EBAefd8C98075c84f4846E
Balance 0 ETH
Nonce 1
Code Size 15840 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

15840 bytes
0x60806040526004361061041f5760003560e01c806395d89b411161021e578063c3251b4011610123578063e768fd67116100ab578063f2fde38b1161007a578063f2fde38b14610c3c578063f42fafdc14610c5c578063f637434214610c72578063f8b45b0514610c88578063fce9483a14610c9e57600080fd5b8063e768fd6714610bdb578063e7ad9fcd14610bf1578063e884f26014610c11578063f11a24d314610c2657600080fd5b8063d257b34f116100f2578063d257b34f14610b21578063d85ba06314610b41578063dd62ed3e14610b57578063e24b85e714610b9d578063e2f4560514610bc557600080fd5b8063c3251b4014610a98578063c558ae6b14610ad1578063c876d0b914610af1578063c8c8ebe414610b0b57600080fd5b8063a6b6fe2e116101a6578063b62496f511610175578063b62496f5146109e9578063bbc0c74214610a19578063bbe18d3314610a38578063c024666814610a58578063c18bc19514610a7857600080fd5b8063a6b6fe2e1461097d578063a7fc9e2114610993578063a9059cbb146109a9578063aacebbe3146109c957600080fd5b80639fccce32116101ed5780639fccce32146108f0578063a0d82dc514610906578063a26577781461091c578063a457c2d71461093c578063a4d15b641461095c57600080fd5b806395d89b411461088f5780639a7a23d6146108a45780639c3b4fdc146108c45780639e9044c3146108da57600080fd5b80634a62bb6511610324578063751039fc116102ac5780638a8c523c1161027b5780638a8c523c146107f25780638da5cb5b146108075780639066e7c3146108395780639213691314610859578063924de9b71461086f57600080fd5b8063751039fc146107855780637571336a1461079a5780637bce5a04146107ba5780637d28b47d146107d057600080fd5b80636d7331ed116102f35780636d7331ed146106fa5780636ddd17131461071a578063700cb8fb1461073a57806370a0823114610750578063715018a61461077057600080fd5b80634a62bb651461067b5780634fbee19314610695578063541a43cf146106ce5780636a486a8e146106e457600080fd5b8063203e727e116103a75780632e6ed7ef116103765780632e6ed7ef146105d3578063313ce567146105f3578063395093511461060f578063489202521461062f57806349fa79d51461064557600080fd5b8063203e727e1461055d57806323b872dd1461057d5780632bf3d42d1461059d5780632d5a5d34146105b357600080fd5b806318160ddd116103ee57806318160ddd146104da5780631816467f146104ef5780631a8145bb146105115780631c7ebb28146105275780631f3fed8f1461054757600080fd5b806306fdde031461042b578063095ea7b3146104565780630cef919a1461048657806310d5de53146104aa57600080fd5b3661042657005b600080fd5b34801561043757600080fd5b50610440610cb4565b60405161044d9190613677565b60405180910390f35b34801561046257600080fd5b506104766104713660046136e4565b610d46565b604051901515815260200161044d565b34801561049257600080fd5b5061049c601c5481565b60405190815260200161044d565b3480156104b657600080fd5b506104766104c5366004613710565b602b6020526000908152604090205460ff1681565b3480156104e657600080fd5b5060025461049c565b3480156104fb57600080fd5b5061050f61050a366004613710565b610d5d565b005b34801561051d57600080fd5b5061049c60255481565b34801561053357600080fd5b5061050f61054236600461373b565b610ded565b34801561055357600080fd5b5061049c60245481565b34801561056957600080fd5b5061050f610578366004613758565b610e37565b34801561058957600080fd5b50610476610598366004613771565b610f14565b3480156105a957600080fd5b5061049c60215481565b3480156105bf57600080fd5b5061050f6105ce3660046137b2565b610f7d565b3480156105df57600080fd5b5061050f6105ee3660046137eb565b610fe4565b3480156105ff57600080fd5b506040516012815260200161044d565b34801561061b57600080fd5b5061047661062a3660046136e4565b61109d565b34801561063b57600080fd5b5061049c601d5481565b34801561065157600080fd5b5061049c610660366004613710565b6001600160a01b03166000908152600f602052604090205490565b34801561068757600080fd5b50600d546104769060ff1681565b3480156106a157600080fd5b506104766106b0366004613710565b6001600160a01b03166000908152602a602052604090205460ff1690565b3480156106da57600080fd5b5061049c60205481565b3480156106f057600080fd5b5061049c60175481565b34801561070657600080fd5b5061050f610715366004613710565b6110d3565b34801561072657600080fd5b50600d546104769062010000900460ff1681565b34801561074657600080fd5b5061049c601f5481565b34801561075c57600080fd5b5061049c61076b366004613710565b61111e565b34801561077c57600080fd5b5061050f611139565b34801561079157600080fd5b506104766111ad565b3480156107a657600080fd5b5061050f6107b53660046137b2565b6111ea565b3480156107c657600080fd5b5061049c60135481565b3480156107dc57600080fd5b50600d5461047690640100000000900460ff1681565b3480156107fe57600080fd5b5061050f61123f565b34801561081357600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161044d565b34801561084557600080fd5b5061050f61085436600461381d565b61161b565b34801561086557600080fd5b5061049c60185481565b34801561087b57600080fd5b5061050f61088a36600461373b565b611759565b34801561089b57600080fd5b5061044061179f565b3480156108b057600080fd5b5061050f6108bf3660046137b2565b6117ae565b3480156108d057600080fd5b5061049c60155481565b3480156108e657600080fd5b5061049c60235481565b3480156108fc57600080fd5b5061049c60265481565b34801561091257600080fd5b5061049c601a5481565b34801561092857600080fd5b5061050f61093736600461373b565b611866565b34801561094857600080fd5b506104766109573660046136e4565b6118ae565b34801561096857600080fd5b50600d54610476906301000000900460ff1681565b34801561098957600080fd5b5061049c601e5481565b34801561099f57600080fd5b5061049c60225481565b3480156109b557600080fd5b506104766109c43660046136e4565b6118fd565b3480156109d557600080fd5b5061050f6109e4366004613710565b61190a565b3480156109f557600080fd5b50610476610a04366004613710565b602c6020526000908152604090205460ff1681565b348015610a2557600080fd5b50600d5461047690610100900460ff1681565b348015610a4457600080fd5b5061050f610a533660046137eb565b611991565b348015610a6457600080fd5b5061050f610a733660046137b2565b611a3f565b348015610a8457600080fd5b5061050f610a93366004613758565b611ac8565b348015610aa457600080fd5b50610476610ab3366004613710565b6001600160a01b031660009081526010602052604090205460ff1690565b348015610add57600080fd5b5061050f610aec366004613897565b611b99565b348015610afd57600080fd5b506011546104769060ff1681565b348015610b1757600080fd5b5061049c600a5481565b348015610b2d57600080fd5b50610476610b3c366004613758565b611cbc565b348015610b4d57600080fd5b5061049c60125481565b348015610b6357600080fd5b5061049c610b7236600461381d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610ba957600080fd5b506108217395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce81565b348015610bd157600080fd5b5061049c600b5481565b348015610be757600080fd5b5061049c601b5481565b348015610bfd57600080fd5b5061050f610c0c3660046137eb565b611e0e565b348015610c1d57600080fd5b50610476611ec1565b348015610c3257600080fd5b5061049c60145481565b348015610c4857600080fd5b5061050f610c57366004613710565b611efe565b348015610c6857600080fd5b5061049c60275481565b348015610c7e57600080fd5b5061049c60195481565b348015610c9457600080fd5b5061049c600c5481565b348015610caa57600080fd5b5061049c60165481565b606060038054610cc390613903565b80601f0160208091040260200160405190810160405280929190818152602001828054610cef90613903565b8015610d3c5780601f10610d1157610100808354040283529160200191610d3c565b820191906000526020600020905b815481529060010190602001808311610d1f57829003601f168201915b5050505050905090565b6000610d5333848461204f565b5060015b92915050565b6005546001600160a01b03163314610d905760405162461bcd60e51b8152600401610d879061393e565b60405180910390fd5b6009546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610e175760405162461bcd60e51b8152600401610d879061393e565b600d80549115156401000000000264ff0000000019909216919091179055565b6005546001600160a01b03163314610e615760405162461bcd60e51b8152600401610d879061393e565b670de0b6b3a76400006103e8610e7660025490565b610e81906001613989565b610e8b91906139a8565b610e9591906139a8565b811015610efc5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610d87565b610f0e81670de0b6b3a7640000613989565b600a5550565b6000610f21848484612174565b610f738433610f6e85604051806060016040528060288152602001613d5e602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612ce0565b61204f565b5060019392505050565b6005546001600160a01b03163314610fa75760405162461bcd60e51b8152600401610d879061393e565b602954610fb59060646139ca565b4311610fe0576001600160a01b0382166000908152601060205260409020805460ff19168215151790555b5050565b6005546001600160a01b0316331461100e5760405162461bcd60e51b8152600401610d879061393e565b6013849055601483905560158290556016819055808261102e85876139ca565b61103891906139ca565b61104291906139ca565b6012819055601410156110975760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610d87565b50505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610d53918590610f6e9086611fe9565b6005546001600160a01b031633146110fd5760405162461bcd60e51b8152600401610d879061393e565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146111635760405162461bcd60e51b8152600401610d879061393e565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b031633146111da5760405162461bcd60e51b8152600401610d879061393e565b50600d805460ff19169055600190565b6005546001600160a01b031633146112145760405162461bcd60e51b8152600401610d879061393e565b6001600160a01b03919091166000908152602b60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146112695760405162461bcd60e51b8152600401610d879061393e565b600d54610100900460ff16156112c15760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610d87565b737a250d5630b4cf539739df2c5dacb4c659f2488d6112e18160016111ea565b600680546001600160a01b0383166001600160a01b031990911617905561130c3082610f6e60025490565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561134557600080fd5b505afa158015611359573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137d91906139e2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156113c557600080fd5b505afa1580156113d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fd91906139e2565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561144557600080fd5b505af1158015611459573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147d91906139e2565b600780546001600160a01b0319166001600160a01b039290921691821790556114a79060016111ea565b6007546114be906001600160a01b03166001612d1a565b6006546001600160a01b031663f305d71947306114da8161111e565b6000806114ef6005546001600160a01b031690565b426040518863ffffffff1660e01b8152600401611511969594939291906139ff565b6060604051808303818588803b15801561152a57600080fd5b505af115801561153e573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906115639190613a3a565b505060075460065460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b1580156115b757600080fd5b505af11580156115cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ef9190613a68565b50436029600082825461160291906139ca565b9091555050600d805462ffff0019166201010017905550565b6009546001600160a01b0316336001600160a01b0316148061165057506008546001600160a01b0316336001600160a01b0316145b61165957600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b15801561169b57600080fd5b505afa1580156116af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d39190613a85565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb90604401602060405180830381600087803b15801561172157600080fd5b505af1158015611735573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110979190613a68565b6005546001600160a01b031633146117835760405162461bcd60e51b8152600401610d879061393e565b600d8054911515620100000262ff000019909216919091179055565b606060048054610cc390613903565b6005546001600160a01b031633146117d85760405162461bcd60e51b8152600401610d879061393e565b6007546001600160a01b038381169116141561185c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610d87565b610fe08282612d1a565b6005546001600160a01b031633146118905760405162461bcd60e51b8152600401610d879061393e565b600d805491151563010000000263ff00000019909216919091179055565b6000610d533384610f6e85604051806060016040528060258152602001613d86602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612ce0565b6000610d53338484612174565b6005546001600160a01b031633146119345760405162461bcd60e51b8152600401610d879061393e565b6008546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146119bb5760405162461bcd60e51b8152600401610d879061393e565b6020849055602183905560228290556023819055601981836119dd86886139ca565b6119e791906139ca565b6119f191906139ca565b11156110975760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610d87565b6005546001600160a01b03163314611a695760405162461bcd60e51b8152600401610d879061393e565b6001600160a01b0382166000818152602a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611af25760405162461bcd60e51b8152600401610d879061393e565b670de0b6b3a76400006103e8611b0760025490565b611b12906005613989565b611b1c91906139a8565b611b2691906139a8565b811015611b815760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610d87565b611b9381670de0b6b3a7640000613989565b600c5550565b6005546001600160a01b03163314611bc35760405162461bcd60e51b8152600401610d879061393e565b611bec611bd86005546001600160a01b031690565b6005546001600160a01b031660025461204f565b60005b83811015611cb557611c5133868684818110611c0d57611c0d613a9e565b9050602002016020810190611c229190613710565b611c2e6012600a613b98565b868686818110611c4057611c40613a9e565b905060200201356105989190613989565b50611c5e42610e106139ca565b600f6000878785818110611c7457611c74613a9e565b9050602002016020810190611c899190613710565b6001600160a01b0316815260208101919091526040016000205580611cad81613ba7565b915050611bef565b5050505050565b6005546000906001600160a01b03163314611ce95760405162461bcd60e51b8152600401610d879061393e565b620186a0611cf660025490565b611d01906001613989565b611d0b91906139a8565b821015611d785760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610d87565b6103e8611d8460025490565b611d8f906005613989565b611d9991906139a8565b821115611e055760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610d87565b50600b55600190565b6005546001600160a01b03163314611e385760405162461bcd60e51b8152600401610d879061393e565b601c849055601d839055601e829055601f8190558082611e5885876139ca565b611e6291906139ca565b611e6c91906139ca565b6017819055601410156110975760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610d87565b6005546000906001600160a01b03163314611eee5760405162461bcd60e51b8152600401610d879061393e565b506011805460ff19169055600190565b6005546001600160a01b03163314611f285760405162461bcd60e51b8152600401610d879061393e565b6001600160a01b038116611f8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d87565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600080611ff683856139ca565b9050838110156120485760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610d87565b9392505050565b6001600160a01b0383166120b15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d87565b6001600160a01b0382166121125760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d87565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661219a5760405162461bcd60e51b8152600401610d8790613bc2565b6001600160a01b0382166121c05760405162461bcd60e51b8152600401610d8790613c07565b6001600160a01b03821660009081526010602052604090205460ff1615801561220257506001600160a01b03831660009081526010602052604090205460ff16155b6122685760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610d87565b8061227e5761227983836000612d6e565b505050565b600d5460ff16156126d3576005546001600160a01b038481169116148015906122b557506005546001600160a01b03838116911614155b80156122c957506001600160a01b03821615155b80156122e057506001600160a01b03821661dead14155b80156122f65750600754600160a01b900460ff16155b156126d357600d54610100900460ff1661238e576001600160a01b0383166000908152602a602052604090205460ff168061234957506001600160a01b0382166000908152602a602052604090205460ff165b61238e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610d87565b60115460ff161561248d576005546001600160a01b038381169116148015906123c557506006546001600160a01b03838116911614155b80156123df57506007546001600160a01b03838116911614155b1561248d57326000908152600e6020526040902054431161247a5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610d87565b326000908152600e602052604090204390555b6001600160a01b0383166000908152602c602052604090205460ff1680156124ce57506001600160a01b0382166000908152602b602052604090205460ff16155b156125a257600a548111156125435760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610d87565b600c5461254f8361111e565b61255990836139ca565b111561259d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d87565b6126d3565b6001600160a01b0382166000908152602c602052604090205460ff1680156125e357506001600160a01b0383166000908152602b602052604090205460ff16155b1561265957600a5481111561259d5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610d87565b6001600160a01b0382166000908152602b602052604090205460ff166126d357600c546126858361111e565b61268f90836139ca565b11156126d35760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d87565b6029546126e19060026139ca565b43111580156126fe57506007546001600160a01b03838116911614155b801561272757506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15612750576001600160a01b0382166000908152601060205260409020805460ff191660011790555b6007546001600160a01b038481169116148015816127775750600d546301000000900460ff165b156128a0576001600160a01b0384166000908152600f6020526040902054158015906127c957506001600160a01b0384166000908152600f602052604090205442906127c69062278d006139ca565b11155b156127d85760006017556128f6565b6001600160a01b0384166000908152600f60205260409020541580159061282557506001600160a01b0384166000908152600f6020526040902054429061282290620151806139ca565b10155b156128725760205460198190556021546018819055602254601a819055602354601b819055929091612856916139ca565b61286091906139ca565b61286a91906139ca565b6017556128f6565b601d546019819055601c546018819055601f54601b819055601e54601a8190559092909161285691906139ca565b6001600160a01b0383166000908152600f602052604090205415806128d55750670de0b6b3a76400006128d28461111e565b11155b156128f6576001600160a01b0383166000908152600f602052604090204290555b600d546301000000900460ff1661294c57601d546019819055601c546018819055601f54601b819055601e54601a81905592909161293491906139ca565b61293e91906139ca565b61294891906139ca565b6017555b60006129573061111e565b600b54909150811080159081906129765750600d5462010000900460ff165b801561298c5750600754600160a01b900460ff16155b80156129b157506001600160a01b0386166000908152602c602052604090205460ff16155b80156129d657506001600160a01b0386166000908152602a602052604090205460ff16155b80156129fb57506001600160a01b0385166000908152602a602052604090205460ff16155b15612a29576007805460ff60a01b1916600160a01b179055612a1b612e77565b6007805460ff60a01b191690555b6007546001600160a01b0387166000908152602a602052604090205460ff600160a01b909204821615911680612a7757506001600160a01b0386166000908152602a602052604090205460ff165b15612a80575060005b60008115612ccb576001600160a01b0387166000908152602c602052604090205460ff168015612ab257506000601754115b15612ba057612ad76064612ad16017548961316a90919063ffffffff16565b906131e9565b905060175460195482612aea9190613989565b612af491906139a8565b60256000828254612b0591906139ca565b9091555050601754601a54612b1a9083613989565b612b2491906139a8565b60266000828254612b3591906139ca565b9091555050601754601854612b4a9083613989565b612b5491906139a8565b60246000828254612b6591906139ca565b9091555050601754601b54612b7a9083613989565b612b8491906139a8565b60276000828254612b9591906139ca565b90915550612cad9050565b6001600160a01b0388166000908152602c602052604090205460ff168015612bca57506000601254115b15612cad57612be96064612ad16012548961316a90919063ffffffff16565b905060125460145482612bfc9190613989565b612c0691906139a8565b60256000828254612c1791906139ca565b9091555050601254601554612c2c9083613989565b612c3691906139a8565b60266000828254612c4791906139ca565b9091555050601254601354612c5c9083613989565b612c6691906139a8565b60246000828254612c7791906139ca565b9091555050601254601654612c8c9083613989565b612c9691906139a8565b60276000828254612ca791906139ca565b90915550505b8015612cbe57612cbe883083612d6e565b612cc88187613c4a565b95505b612cd6888888612d6e565b5050505050505050565b60008184841115612d045760405162461bcd60e51b8152600401610d879190613677565b506000612d118486613c4a565b95945050505050565b6001600160a01b0382166000818152602c6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316612d945760405162461bcd60e51b8152600401610d8790613bc2565b6001600160a01b038216612dba5760405162461bcd60e51b8152600401610d8790613c07565b612df781604051806060016040528060268152602001613d38602691396001600160a01b0386166000908152602081905260409020549190612ce0565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612e269082611fe9565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101612167565b6000612e823061111e565b90506000602754602654602454602554612e9c91906139ca565b612ea691906139ca565b612eb091906139ca565b90506000821580612ebf575081155b15612ec957505050565b600b54612ed7906014613989565b831115612eef57600b54612eec906014613989565b92505b600060028360255486612f029190613989565b612f0c91906139a8565b612f1691906139a8565b90506000612f24858361322b565b905047612f308261326d565b6000612f3c478361322b565b90506000612f5987612ad16024548561316a90919063ffffffff16565b90506000612f7688612ad16026548661316a90919063ffffffff16565b90506000612f9389612ad16027548761316a90919063ffffffff16565b905060008183612fa38688613c4a565b612fad9190613c4a565b612fb79190613c4a565b600d54909150640100000000900460ff1615612fdb57612fd6826133d6565b61303a565b60405173ac8cc0525782b35aa9238f959bedeb5edc11b342908390600081818185875af1925050503d806000811461302f576040519150601f19603f3d011682016040523d82523d6000602084013e613034565b606091505b50909950505b600060258190556024819055602681905560278190556008546040516001600160a01b039091169186919081818185875af1925050503d806000811461309c576040519150601f19603f3d011682016040523d82523d6000602084013e6130a1565b606091505b509099505087158015906130b55750600081115b15613108576130c488826135a2565b602554604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6009546040516001600160a01b03909116904790600081818185875af1925050503d8060008114613155576040519150601f19603f3d011682016040523d82523d6000602084013e61315a565b606091505b5050505050505050505050505050565b60008261317957506000610d57565b60006131858385613989565b90508261319285836139a8565b146120485760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610d87565b600061204883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613649565b600061204883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612ce0565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106132a2576132a2613a9e565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156132f657600080fd5b505afa15801561330a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332e91906139e2565b8160018151811061334157613341613a9e565b6001600160a01b039283166020918202929092010152600654613367913091168461204f565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906133a0908590600090869030904290600401613ca5565b600060405180830381600087803b1580156133ba57600080fd5b505af11580156133ce573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561343b57600080fd5b505afa15801561344f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061347391906139e2565b8160008151811061348657613486613a9e565b60200260200101906001600160a01b031690816001600160a01b0316815250507395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce816001815181106134ce576134ce613a9e565b60200260200101906001600160a01b031690816001600160a01b03168152505081471115610fe05760065460285460405163b6f9de9560e01b81526001600160a01b039283169263b6f9de959286926135339260009288929116904290600401613ce1565b6000604051808303818588803b15801561354c57600080fd5b505af1158015613560573d6000803e3d6000fd5b50505050507f64a110dc43437932481f00a407f8753a0809cb5a1c16eb4c0d8f6e63cfd5aeb18282604051613596929190613d16565b60405180910390a15050565b6006546135ba9030906001600160a01b03168461204f565b60065460405163f305d71960e01b81526001600160a01b039091169063f305d7199083906135f790309087906000908190849042906004016139ff565b6060604051808303818588803b15801561361057600080fd5b505af1158015613624573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cb59190613a3a565b6000818361366a5760405162461bcd60e51b8152600401610d879190613677565b506000612d1184866139a8565b600060208083528351808285015260005b818110156136a457858101830151858201604001528201613688565b818111156136b6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146136e157600080fd5b50565b600080604083850312156136f757600080fd5b8235613702816136cc565b946020939093013593505050565b60006020828403121561372257600080fd5b8135612048816136cc565b80151581146136e157600080fd5b60006020828403121561374d57600080fd5b81356120488161372d565b60006020828403121561376a57600080fd5b5035919050565b60008060006060848603121561378657600080fd5b8335613791816136cc565b925060208401356137a1816136cc565b929592945050506040919091013590565b600080604083850312156137c557600080fd5b82356137d0816136cc565b915060208301356137e08161372d565b809150509250929050565b6000806000806080858703121561380157600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561383057600080fd5b823561383b816136cc565b915060208301356137e0816136cc565b60008083601f84011261385d57600080fd5b50813567ffffffffffffffff81111561387557600080fd5b6020830191508360208260051b850101111561389057600080fd5b9250929050565b600080600080604085870312156138ad57600080fd5b843567ffffffffffffffff808211156138c557600080fd5b6138d18883890161384b565b909650945060208701359150808211156138ea57600080fd5b506138f78782880161384b565b95989497509550505050565b600181811c9082168061391757607f821691505b6020821081141561393857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156139a3576139a3613973565b500290565b6000826139c557634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156139dd576139dd613973565b500190565b6000602082840312156139f457600080fd5b8151612048816136cc565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600080600060608486031215613a4f57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215613a7a57600080fd5b81516120488161372d565b600060208284031215613a9757600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600181815b80851115613aef578160001904821115613ad557613ad5613973565b80851615613ae257918102915b93841c9390800290613ab9565b509250929050565b600082613b0657506001610d57565b81613b1357506000610d57565b8160018114613b295760028114613b3357613b4f565b6001915050610d57565b60ff841115613b4457613b44613973565b50506001821b610d57565b5060208310610133831016604e8410600b8410161715613b72575081810a610d57565b613b7c8383613ab4565b8060001904821115613b9057613b90613973565b029392505050565b600061204860ff841683613af7565b6000600019821415613bbb57613bbb613973565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015613c5c57613c5c613973565b500390565b600081518084526020808501945080840160005b83811015613c9a5781516001600160a01b031687529582019590820190600101613c75565b509495945050505050565b85815284602082015260a060408201526000613cc460a0830186613c61565b6001600160a01b0394909416606083015250608001529392505050565b848152608060208201526000613cfa6080830186613c61565b6001600160a01b03949094166040830152506060015292915050565b828152604060208201526000613d2f6040830184613c61565b94935050505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205ca1fa44578f9c6a662a59eab76e5a21fbc0de005b7df6079d43f8ce7a555bb964736f6c63430008090033

Verified Source Code Partial Match

Compiler: v0.8.9+commit.e5eed63a EVM: london Optimization: Yes (200 runs)
SCROW.sol 1485 lines
/**
 * 
 * .d8888.  .o88b. d8888b.  .d88b.  db   d8b   db 
 * 88'  YP d8P  Y8 88  `8D .8P  Y8. 88   I8I   88 
 * `8oR.   8Y      88oobO' 88    8S 88   I8H   8I 
 *   `Y8b. 8b      88`8b   88    88 Y8   I8I   88 
 * db   8D Y8b  d8 88 `88. `8b  d8' `8b d8'8b d8' 
 * `8888Y'  `Y88P' 88   YD  `Y88P'   `8b8' `8d8'  
 *                                                
 *                                              
 *                 ▓▓▓▓▓▓                              
 *               ▓▓▓▓▓▓▓▓▓▓                            
 *             ▓▓▓▓▓▓▓▓▓▓▓▓▓▓                          
 *           ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓              ▒▒  ▒▒  ▒▒
 *           ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓            ▒▒  ▒▒  ▒▒
 *           ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓          ▒▒  ▒▒  ▒▒
 *           ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓          ▒▒  ▒▒  ▒▒
 *         ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓        ▒▒  ▒▒  ▒▒
 *       ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓        ▒▒▒▒▒▒  
 *           ██▒▒▒▒▒▒▒▒████▒▒▒▒▒▒████            ▓▓    
 *           ██▒▒▒▒▒▒▒▒▒▒████▒▒██▒▒██            ▓▓    
 *           ██▒▒▒▒▒▒▒▒▒▒████▒▒██▒▒██            ▓▓    
 *             ██▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒██          ██▓▓    
 *         ████▒▒██▒▒▒▒████▒▒▒▒▒▒██▒▒██████████▒▒██    
 *       ██▓▓▓▓▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▓▓▓▓▓▓▓▓▒▒██▒▒██  
 *     ██▓▓▓▓▓▓▓▓▒▒▒▒██████████▒▒▒▒▓▓▓▓▓▓▓▓▓▓▒▒██▒▒██  
 *   ██▓▓▓▓▓▓▓▓██▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒██▒▒██  
 *   ██▓▓▓▓██████▓▓▓▓▓▓▒▒▒▒▒▒▓▓████████████████████    
 *   ██▓▓▓▓▒▒████▓▓▓▓▓▓▓▓▓▓▓▓▓▓██                ▓▓    
 *   ██▒▒▒▒▒▒████▓▓▓▓▓▓▓▓▓▓▓▓▓▓██                ▓▓    
 *     ██████  ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒██                ▓▓    
 *           ██▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██              ▓▓    
 *         ██▓▓▓▓▓▓▓▓▓▓██▓▓▓▓▓▓▓▓▓▓██            ▓▓    
 *       ████▓▓▓▓▓▓▓▓██  ████▓▓▓▓▓▓████          ▓▓    
 *   ████▒▒▒▒▒▒▒▒▒▒██      ██▒▒▒▒▒▒▒▒▒▒████      ▓▓    
 * ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒██      ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒██    ▓▓    
 * ██████████████████      ██████████████████    ▓▓    
 *
 *  
 * ░██████╗██╗░░██╗██╗██████╗░  ██████╗░██████╗░░█████╗░████████╗███████╗░█████╗░████████╗░█████╗░██████╗░
 * ██╔════╝██║░░██║██║██╔══██╗  ██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔════╝██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗
 * ╚█████╗░███████║██║██████╦╝  ██████╔╝██████╔╝██║░░██║░░░██║░░░█████╗░░██║░░╚═╝░░░██║░░░██║░░██║██████╔╝
 * ░╚═══██╗██╔══██║██║██╔══██╗  ██╔═══╝░██╔══██╗██║░░██║░░░██║░░░██╔══╝░░██║░░██╗░░░██║░░░██║░░██║██╔══██╗
 * ██████╔╝██║░░██║██║██████╦╝  ██║░░░░░██║░░██║╚█████╔╝░░░██║░░░███████╗╚█████╔╝░░░██║░░░╚█████╔╝██║░░██║
 * ╚═════╝░╚═╝░░╚═╝╚═╝╚═════╝░  ╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░╚══════╝░╚════╝░░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝
 * 
 *
 * Eagles, Vultures, Hawks or any other Predators, it's time to scare them all.
 * SHIBARMY will never be defeated.
 * We will keep burning SHIB till eternity
 *
 * 💻 Website - https://www.shibprotector.com/
 * 🐦 Twitter: https://twitter.com/ScarecrowETH
 * 💬 Telegram: https://t.me/ScarecrowShibProtector
 * 
 * SPDX-License-Identifier: UNLICENSED 
 * 
*/

pragma solidity 0.8.9;
 
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 IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
 
    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);
 
    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
 
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);
 
    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
 
    event Mint(address indexed sender, uint amount0, uint amount1);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);
 
    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);
 
    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;
 
    function initialize(address, address) external;
}
 
interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
 
    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
 
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);
 
    function createPair(address tokenA, address tokenB) external returns (address pair);
 
    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}
 
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 {
    using SafeMath for uint256;
 
    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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }
 
    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    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");
 
        _beforeTokenTransfer(sender, recipient, amount);
 
        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);
 
        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 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 to 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 {}
}
 
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
 
        return c;
    }
 
    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
 
    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;
 
        return c;
    }
 
    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }
 
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
 
        return c;
    }
 
    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
 
    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
 
        return c;
    }
 
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }
 
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}
 
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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
 
    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }
 
    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
 
    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
 
 
 
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);
 
    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;
 
        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }
 
    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);
 
        // Solidity already throws when dividing by 0.
        return a / b;
    }
 
    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }
 
    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }
 
    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }
 
 
    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}
 
library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}
 
 
interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
 
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
 
    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
 
interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);
 
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        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 swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}
 
contract SCROW is ERC20, Ownable {
    using SafeMath for uint256;
 
    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
 
    bool private swapping;
 
    address private marketingWallet;
    address private devWallet;
 
    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;
 
    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;
    bool public enableEarlySellTax = true;
    bool public swapSHIB = true;
 
     // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
 
    // Seller Map
    mapping (address => uint256) private _holderFirstBuyTimestamp;
 
    // Blacklist Map
    mapping (address => bool) private _blacklist;
    bool public transferDelayEnabled = true;
 
    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;
    uint256 public buyShibBuyFee;
 
    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellLiquidityFee;
    uint256 public sellDevFee;
    uint256 public sellShibBuyFee;
     
    uint256 public sellGlobalMarketingFee;
    uint256 public sellGlobalLiquidityFee;
    uint256 public sellGlobalDevFee;
    uint256 public sellGlobalShibBuyFee;
 
    uint256 public earlySellLiquidityFee;
    uint256 public earlySellMarketingFee;
    uint256 public earlySellDevFee;
    uint256 public earlySellShibBuyFee;
 
    uint256 public tokensForMarketing;
    uint256 public tokensForLiquidity;
    uint256 public tokensForDev;
    uint256 public tokensForBuyingShib;
    address public constant SHIB=0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE; //mainnet
    //dead address of SHIB
    address payable private shib_burn_address = payable(0xdEAD000000000000000042069420694206942069); 

    

    // block number of opened trading
    uint256 launchedAt;
 
    /******************/
 
    // exclude 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 UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
 
    event ExcludeFromFees(address indexed account, bool isExcluded);
 
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
 
    event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet);
 
    event devWalletUpdated(address indexed newWallet, address indexed oldWallet);
    
    event BuyAndBurnShib(
        uint256 amountIn,
        address[] path
    );
 
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
 
    event AutoNukeLP();
 
    event ManualNukeLP();
 
    constructor(address payable _devFeeAddress, address payable _marketingWalletAddress) ERC20("Shib Protector", "SCROW") {
 
        uint256 _buyMarketingFee = 2;
        uint256 _buyLiquidityFee = 1;
        uint256 _buyDevFee = 1;
        uint256 _buyShibBuyFee = 2;
 
        uint256 _sellMarketingFee = 2;
        uint256 _sellLiquidityFee = 2;
        launchedAt = 2;
        uint256 _sellDevFee = 2;
        uint256 _sellShibBuyFee = 2;
 
        uint256 _earlySellLiquidityFee = 6;
        uint256 _earlySellMarketingFee = 7;
	    uint256 _earlySellDevFee = 6;
        uint256 _earlyShibBuyFee = 6;
 
        uint256 totalSupply = 1 * 1e12 * 1e18;

        maxTransactionAmount = totalSupply * 5 / 1000; // 0.5% maxTransactionAmountTxn
        maxWallet = totalSupply * 15 / 1000; // 1.5% maxWallet
        swapTokensAtAmount = totalSupply * 10 / 10000; // 0.1% swap wallet
 
        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyShibBuyFee = _buyShibBuyFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee + buyShibBuyFee;
 
        sellGlobalMarketingFee = _sellMarketingFee;
        sellGlobalLiquidityFee = _sellLiquidityFee;
        sellGlobalDevFee = _sellDevFee;
        sellGlobalShibBuyFee = _sellShibBuyFee;
        sellTotalFees = sellGlobalMarketingFee + sellGlobalLiquidityFee + sellGlobalDevFee + sellGlobalShibBuyFee;
 
        earlySellLiquidityFee = _earlySellLiquidityFee;
        earlySellMarketingFee = _earlySellMarketingFee;
	    earlySellDevFee = _earlySellDevFee;
        earlySellShibBuyFee = _earlyShibBuyFee;
 
        marketingWallet = _marketingWalletAddress; 
        devWallet = _devFeeAddress; 
 
        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(address(shib_burn_address), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(devWallet, true);
 
        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(address(shib_burn_address), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(devWallet, true);
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }
 
    receive() external payable {
 
    }
 
    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        require(!tradingActive,"Trading is already open");
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;
        _approve(address(this), address(_uniswapV2Router), totalSupply());
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); 
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
        launchedAt += block.number;
        tradingActive = true;
        swapEnabled = true;
    }
 
    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool){
        limitsInEffect = false;
        return true;
    }
 
    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner returns (bool){
        transferDelayEnabled = false;
        return true;
    }
 
    function setEarlySellTax(bool onoff) external onlyOwner  {
        enableEarlySellTax = onoff;
    }
 
     // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){
        require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply.");
        require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% total supply.");
        swapTokensAtAmount = newAmount;
        return true;
    }
 
    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set maxTransactionAmount lower than 0.1%");
        maxTransactionAmount = newNum * (10**18);
    }
 
    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 5 / 1000)/1e18, "Cannot set maxWallet lower than 0.5%");
        maxWallet = newNum * (10**18);
    }
 
    function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }
 
    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner(){
        swapEnabled = enabled;
    }

    //Worst case if the SHIB autoswap doesn't work on mainnet
    function updateDirectSwapShib(bool enabled) external onlyOwner() {
        swapSHIB = enabled;
    }

    function updateSellFees(uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee, uint256 _sellShibBuyFee) external onlyOwner {	
        sellGlobalMarketingFee = _marketingFee;	
        sellGlobalLiquidityFee = _liquidityFee;	
        sellGlobalDevFee = _devFee;	
        sellGlobalShibBuyFee = _sellShibBuyFee;
        sellTotalFees = sellGlobalMarketingFee + sellGlobalLiquidityFee + sellGlobalDevFee + sellGlobalShibBuyFee;	
        require(sellTotalFees <= 20, "Must keep fees at 20% or less");	
    }

    function updateBuyFees(uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee, uint256 _buyShibBuyFee) external onlyOwner {	
        buyMarketingFee = _marketingFee;	
        buyLiquidityFee = _liquidityFee;	
        buyDevFee = _devFee;	
        buyShibBuyFee = _buyShibBuyFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee + buyShibBuyFee;	
        require(buyTotalFees <= 20, "Must keep fees at 20% or less");	
    }
 
 
    function updateEarlySellFees(uint256 _earlySellLiquidityFee, uint256 _earlySellMarketingFee, uint256 _earlySellDevFee, uint256 _earlyShibBuyFee) external onlyOwner {
        earlySellLiquidityFee = _earlySellLiquidityFee;
        earlySellMarketingFee = _earlySellMarketingFee;
	    earlySellDevFee = _earlySellDevFee;
        earlySellShibBuyFee = _earlyShibBuyFee;
        require(earlySellLiquidityFee + earlySellMarketingFee + earlySellDevFee + _earlyShibBuyFee <= 25, "Must keep fees at 25% or less");
    }
 
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }
 
    function blacklistAccount(address account, bool isBlacklisted) public onlyOwner {
        //Cannot blacklist after 100 blocks, roughly 25 mins 
        if (block.number <= launchedAt + 100) {
            _blacklist[account] = isBlacklisted;
        }
    }

    function unblacklistAccount(address account) public onlyOwner {
        _blacklist[account] = false;
    }

    function checkIfBlacklisted(address ad) public view returns (bool) {
        return _blacklist[ad];
    }

    function getholderFirstBuyTimestamp(address ad) public view returns (uint256) {
        return _holderFirstBuyTimestamp[ad];
    }
 
    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
    }
 
    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }
 
    function updateMarketingWallet(address newMarketingWallet) external onlyOwner {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }
 
    function updateDevWallet(address newWallet) external onlyOwner {
        emit devWalletUpdated(newWallet, devWallet);
        devWallet = newWallet;
    }
 
 
    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }
 
    event BoughtEarly(address indexed sniper);
 
    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(!_blacklist[to] && !_blacklist[from], "You have been blacklisted from transfering tokens");
         if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
 
        if(limitsInEffect){
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ){
                if(!tradingActive){
                    require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
                }
 
                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.  
                if (transferDelayEnabled){
                    if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)){
                        require(_holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed.");
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                    }
                }
 
                //when buy
                if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                        require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                        require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                }
 
                //when sell
                else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                        require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
                }
                else if(!_isExcludedMaxTransactionAmount[to]){
                    require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                }
            }
        }
 
        // anti bot logic
        if (block.number <= (launchedAt + 2) && 
                to != uniswapV2Pair && 
                to != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D)
  ...

// [truncated — 58265 bytes total]

Read Contract

SHIB 0xe24b85e7 → address
_isExcludedMaxTransactionAmount 0x10d5de53 → bool
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
buyDevFee 0x9c3b4fdc → uint256
buyLiquidityFee 0xf11a24d3 → uint256
buyMarketingFee 0x7bce5a04 → uint256
buyShibBuyFee 0xfce9483a → uint256
buyTotalFees 0xd85ba063 → uint256
checkIfBlacklisted 0xc3251b40 → bool
decimals 0x313ce567 → uint8
earlySellDevFee 0xa7fc9e21 → uint256
earlySellLiquidityFee 0x541a43cf → uint256
earlySellMarketingFee 0x2bf3d42d → uint256
earlySellShibBuyFee 0x9e9044c3 → uint256
enableEarlySellTax 0xa4d15b64 → bool
getholderFirstBuyTimestamp 0x49fa79d5 → uint256
isExcludedFromFees 0x4fbee193 → bool
limitsInEffect 0x4a62bb65 → bool
maxTransactionAmount 0xc8c8ebe4 → uint256
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellDevFee 0xa0d82dc5 → uint256
sellGlobalDevFee 0xa6b6fe2e → uint256
sellGlobalLiquidityFee 0x48920252 → uint256
sellGlobalMarketingFee 0x0cef919a → uint256
sellGlobalShibBuyFee 0x700cb8fb → uint256
sellLiquidityFee 0xf6374342 → uint256
sellMarketingFee 0x92136913 → uint256
sellShibBuyFee 0xe768fd67 → uint256
sellTotalFees 0x6a486a8e → uint256
swapEnabled 0x6ddd1713 → bool
swapSHIB 0x7d28b47d → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
tokensForBuyingShib 0xf42fafdc → uint256
tokensForDev 0x9fccce32 → uint256
tokensForLiquidity 0x1a8145bb → uint256
tokensForMarketing 0x1f3fed8f → uint256
totalSupply 0x18160ddd → uint256
tradingActive 0xbbc0c742 → bool
transferDelayEnabled 0xc876d0b9 → bool

Write Contract 28 functions

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

Airdrop 0xc558ae6b
address[] recipients
uint256[] values
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
blacklistAccount 0x2d5a5d34
address account
bool isBlacklisted
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableTransferDelay 0xe884f260
No parameters
returns: bool
enableTrading 0x8a8c523c
No parameters
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeLimits 0x751039fc
No parameters
returns: bool
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setEarlySellTax 0xa2657778
bool onoff
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferERC20 0x9066e7c3
address token
address to
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
unblacklistAccount 0x6d7331ed
address account
updateBuyFees 0x2e6ed7ef
uint256 _marketingFee
uint256 _liquidityFee
uint256 _devFee
uint256 _buyShibBuyFee
updateDevWallet 0x1816467f
address newWallet
updateDirectSwapShib 0x1c7ebb28
bool enabled
updateEarlySellFees 0xbbe18d33
uint256 _earlySellLiquidityFee
uint256 _earlySellMarketingFee
uint256 _earlySellDevFee
uint256 _earlyShibBuyFee
updateMarketingWallet 0xaacebbe3
address newMarketingWallet
updateMaxTxnAmount 0x203e727e
uint256 newNum
updateMaxWalletAmount 0xc18bc195
uint256 newNum
updateSellFees 0xe7ad9fcd
uint256 _marketingFee
uint256 _liquidityFee
uint256 _devFee
uint256 _sellShibBuyFee
updateSwapEnabled 0x924de9b7
bool enabled
updateSwapTokensAtAmount 0xd257b34f
uint256 newAmount
returns: bool

Recent Transactions

No transactions found for this address