Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0xfD1450a131599ff34f3Be1775D8c8Bf79E353D8c
Balance 0.169634 ETH
Nonce 1
Code Size 11682 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

11682 bytes
0x6080604052600436106103545760003560e01c8063715018a6116101c6578063a457c2d7116100f7578063c49b9a8011610095578063ec1c14f11161006f578063ec1c14f11461097b578063ec28438a14610991578063f2fde38b146109b1578063fb201b1d146109d157600080fd5b8063c49b9a80146108f5578063dd62ed3e14610915578063ea2f0b371461095b57600080fd5b8063ade44a8f116100d1578063ade44a8f1461088a578063aee50b1e146108aa578063b70ee799146108ca578063b863864c146108df57600080fd5b8063a457c2d714610834578063a9059cbb14610854578063aa13008f1461087457600080fd5b806383ac614d116101645780638da5cb5b1161013e5780638da5cb5b146107c15780638ea5220f146107df57806395d89b41146107ff578063a0e47bf61461081457600080fd5b806383ac614d14610757578063848ad89e1461077757806384ee9d9c1461078d57600080fd5b80637560a8d9116101a05780637560a8d9146106f557806375f0a8741461070b578063794fbd2e1461072b57806383a9f0c71461074157600080fd5b8063715018a6146106aa5780637409c4ea146106bf578063749e8cb6146106d557600080fd5b8063437823ec116102a05780634e3c06b11161023e57806363553e7c1161021857806363553e7c1461063f5780636f4b6f0c146106555780636fee4f7a1461067557806370a082311461068a57600080fd5b80634e3c06b1146105df5780635342acb4146105ff5780635d098b381461061f57600080fd5b8063476643461161027a578063476643461461056b57806348990b7a1461058b5780634a74bb02146105a05780634b880e88146105bf57600080fd5b8063437823ec1461050f57806344d4225f1461053157806347535d7b1461055157600080fd5b806323b872dd1161030d57806332972e46116102e757806332972e461461047757806334302720146104c357806339509351146104d95780634197d5ca146104f957600080fd5b806323b872dd1461041f57806323e6958a1461043f578063313ce5671461045557600080fd5b806306fdde0314610360578063095ea7b31461038b5780630e2351e2146103bb57806313114a9d146103df57806318160ddd146103f45780631e25abbb1461040957600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b506103756109e6565b60405161038291906128e7565b60405180910390f35b34801561039757600080fd5b506103ab6103a636600461294a565b610a78565b6040519015158152602001610382565b3480156103c757600080fd5b506103d160245481565b604051908152602001610382565b3480156103eb57600080fd5b506015546103d1565b34801561040057600080fd5b506013546103d1565b34801561041557600080fd5b506103d160205481565b34801561042b57600080fd5b506103ab61043a366004612976565b610a8f565b34801561044b57600080fd5b506103d1601b5481565b34801561046157600080fd5b5060125460405160ff9091168152602001610382565b34801561048357600080fd5b506104ab7f000000000000000000000000bef860db27fc2f9668d13d624563d859c65a2b2581565b6040516001600160a01b039091168152602001610382565b3480156104cf57600080fd5b506103d160195481565b3480156104e557600080fd5b506103ab6104f436600461294a565b610af8565b34801561050557600080fd5b506103d160175481565b34801561051b57600080fd5b5061052f61052a3660046129b7565b610b2e565b005b34801561053d57600080fd5b5061052f61054c3660046129d4565b610b85565b34801561055d57600080fd5b506003546103ab9060ff1681565b34801561057757600080fd5b5061052f6105863660046129b7565b610c13565b34801561059757600080fd5b506025546103d1565b3480156105ac57600080fd5b506026546103ab90610100900460ff1681565b3480156105cb57600080fd5b5061052f6105da3660046129b7565b610c5f565b3480156105eb57600080fd5b5061052f6105fa3660046129fd565b610cad565b34801561060b57600080fd5b506103ab61061a3660046129b7565b610d02565b34801561062b57600080fd5b5061052f61063a3660046129b7565b610d50565b34801561064b57600080fd5b506103d160235481565b34801561066157600080fd5b506007546104ab906001600160a01b031681565b34801561068157600080fd5b5061052f610d9c565b34801561069657600080fd5b506103d16106a53660046129b7565b610e51565b3480156106b657600080fd5b5061052f610eb0565b3480156106cb57600080fd5b506103d1601d5481565b3480156106e157600080fd5b5061052f6106f0366004612a32565b610f24565b34801561070157600080fd5b506103d160215481565b34801561071757600080fd5b506005546104ab906001600160a01b031681565b34801561073757600080fd5b506103d160185481565b34801561074d57600080fd5b506103d160165481565b34801561076357600080fd5b5061052f610772366004612a32565b610fbd565b34801561078357600080fd5b506103d1601f5481565b34801561079957600080fd5b506104ab7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156107cd57600080fd5b506000546001600160a01b03166104ab565b3480156107eb57600080fd5b506006546104ab906001600160a01b031681565b34801561080b57600080fd5b50610375611073565b34801561082057600080fd5b506008546104ab906001600160a01b031681565b34801561084057600080fd5b506103ab61084f36600461294a565b611082565b34801561086057600080fd5b506103ab61086f36600461294a565b6110d1565b34801561088057600080fd5b506103d1601c5481565b34801561089657600080fd5b5061052f6108a5366004612a32565b6110de565b3480156108b657600080fd5b5061052f6108c53660046129d4565b611162565b3480156108d657600080fd5b5061052f611191565b3480156108eb57600080fd5b506103d160225481565b34801561090157600080fd5b5061052f610910366004612a5e565b6111a7565b34801561092157600080fd5b506103d1610930366004612a79565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b34801561096757600080fd5b5061052f6109763660046129b7565b611225565b34801561098757600080fd5b506103d1601e5481565b34801561099d57600080fd5b5061052f6109ac3660046129d4565b611270565b3480156109bd57600080fd5b5061052f6109cc3660046129b7565b6112ee565b3480156109dd57600080fd5b5061052f6113d8565b6060601080546109f590612ab2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2190612ab2565b8015610a6e5780601f10610a4357610100808354040283529160200191610a6e565b820191906000526020600020905b815481529060010190602001808311610a5157829003601f168201915b5050505050905090565b6000610a85338484611411565b5060015b92915050565b6000610a9c848484611535565b610aee8433610ae985604051806060016040528060288152602001612d20602891396001600160a01b038a166000908152600b602090815260408083203384529091529020549190611869565b611411565b5060019392505050565b336000818152600b602090815260408083206001600160a01b03871684529091528120549091610a85918590610ae990866118a3565b6000546001600160a01b03163314610b615760405162461bcd60e51b8152600401610b5890612aec565b60405180910390fd5b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6000546001600160a01b03163314610baf5760405162461bcd60e51b8152600401610b5890612aec565b6024819055601354610bcf90600190610bc9906064611909565b9061194b565b60245411610c105760405162461bcd60e51b815260206004820152600e60248201526d151bdbc81b195cdcc81b1a5b5a5d60921b6044820152606401610b58565b50565b6000546001600160a01b03163314610c3d5760405162461bcd60e51b8152600401610b5890612aec565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c895760405162461bcd60e51b8152600401610b5890612aec565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000546001600160a01b03163314610cd75760405162461bcd60e51b8152600401610b5890612aec565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b600080546001600160a01b03163314610d2d5760405162461bcd60e51b8152600401610b5890612aec565b506001600160a01b0381166000908152600c602052604090205460ff165b919050565b6000546001600160a01b03163314610d7a5760405162461bcd60e51b8152600401610b5890612aec565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610dc65760405162461bcd60e51b8152600401610b5890612aec565b604051600090339047908381818185875af1925050503d8060008114610e08576040519150601f19603f3d011682016040523d82523d6000602084013e610e0d565b606091505b5050905080610c105760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610b58565b6001600160a01b0381166000908152600e602052604081205460ff1615610e8e57506001600160a01b03166000908152600a602052604090205490565b6001600160a01b038216600090815260096020526040902054610a89906119cd565b6000546001600160a01b03163314610eda5760405162461bcd60e51b8152600401610b5890612aec565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610f4e5760405162461bcd60e51b8152600401610b5890612aec565b601b839055601c829055601d8190556000610f7382610f6d86866118a3565b906118a3565b9050601d54601c54601b54610f889190612b37565b610f929190612b37565b601e556102bc811115610fb75760405162461bcd60e51b8152600401610b5890612b4a565b50505050565b6000546001600160a01b03163314610fe75760405162461bcd60e51b8152600401610b5890612aec565b601683905560178290556018819055604080516060810182528481526020810184905290810182905261101e90601a906003612887565b50600061102f82610f6d86866118a3565b90506018546017546016546110449190612b37565b61104e9190612b37565b6019556102bc811115610fb75760405162461bcd60e51b8152600401610b5890612b4a565b6060601180546109f590612ab2565b6000610a853384610ae985604051806060016040528060258152602001612d4860259139336000908152600b602090815260408083206001600160a01b038d1684529091529020549190611869565b6000610a85338484611535565b6000546001600160a01b031633146111085760405162461bcd60e51b8152600401610b5890612aec565b601f83905560208290556021819055806111228385612b37565b61112c9190612b37565b602255600061113f82610f6d86866118a3565b90506064811115610fb75760405162461bcd60e51b8152600401610b5890612b4a565b6000546001600160a01b0316331461118c5760405162461bcd60e51b8152600401610b5890612aec565b602555565b600061119c30610e51565b9050610c1081611a4a565b6000546001600160a01b031633146111d15760405162461bcd60e51b8152600401610b5890612aec565b602680548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061121a90831515815260200190565b60405180910390a150565b6000546001600160a01b0316331461124f5760405162461bcd60e51b8152600401610b5890612aec565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b6000546001600160a01b0316331461129a5760405162461bcd60e51b8152600401610b5890612aec565b60238190556013546112ad906005611909565b6023541015610c105760405162461bcd60e51b815260206004820152600d60248201526c151bdbc81b1bddc81b1a5b5a5d609a1b6044820152606401610b58565b6000546001600160a01b031633146113185760405162461bcd60e51b8152600401610b5890612aec565b6001600160a01b03811661137d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b58565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146114025760405162461bcd60e51b8152600401610b5890612aec565b6003805460ff19166001179055565b6001600160a01b0383166114735760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b58565b6001600160a01b0382166114d45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b58565b6001600160a01b038381166000818152600b602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6003548390839060ff168061156257506001600160a01b03821660009081526004602052604090205460ff165b8061158557506001600160a01b03811660009081526004602052604090205460ff165b6115bc5760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610b58565b6001600160a01b0385166116205760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b58565b6001600160a01b0384166116825760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b58565b600083116116e45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610b58565b6000546001600160a01b0386811691161480159061171057506000546001600160a01b03858116911614155b15611778576023548311156117785760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610b58565b600061178330610e51565b602554909150811015611797878787611c06565b60265460ff161580156117b15750602654610100900460ff165b80156117ef57507f000000000000000000000000bef860db27fc2f9668d13d624563d859c65a2b256001600160a01b0316876001600160a01b031614155b1561180857801561180857602554915061180882611a4a565b6001600160a01b0387166000908152600c602052604090205460019060ff168061184a57506001600160a01b0387166000908152600c602052604090205460ff165b15611853575060005b61185f88888884611d02565b5050505050505050565b6000818484111561188d5760405162461bcd60e51b8152600401610b5891906128e7565b50600061189a8486612b70565b95945050505050565b6000806118b08385612b37565b9050838110156119025760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b58565b9392505050565b600061190283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f0a565b60008260000361195d57506000610a89565b60006119698385612b83565b9050826119768583612b9a565b146119025760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b58565b6000601454821115611a345760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610b58565b6000611a3e611f38565b90506119028382611909565b6026805460ff19166001179055601854601754601654600092611a72929091610f6d916118a3565b90506000611a93601d54610f6d601c54601b546118a390919063ffffffff16565b90506000611aa183836118a3565b90506000611ace6002611ac884611ac8601b54601654611ac19190612b37565b8a9061194b565b90611909565b90506000611adc8683611f5b565b9050611ae781611f9d565b60004790506000611b116002611ac887611ac8601b54601654611b0a9190612b37565b879061194b565b9050600084118015611b235750600081115b15611b3257611b328482612196565b6000611b5286611ac8601c54601754611b4b9190612b37565b869061194b565b90508015611b96576005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611b94573d6000803e3d6000fd5b505b6000611bac82611ba68686611f5b565b90611f5b565b90508015611bf0576006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611bee573d6000803e3d6000fd5b505b50506026805460ff191690555050505050505050565b6000611c1582610f6d85610e51565b6001600160a01b0385166000908152600d602052604090205490915060ff16158015611c5a57506001600160a01b0383166000908152600d602052604090205460ff16155b15611c8157602454811115611c815760405162461bcd60e51b8152600401610b5890612bbc565b7f000000000000000000000000bef860db27fc2f9668d13d624563d859c65a2b256001600160a01b0316846001600160a01b0316148015611cdb57506001600160a01b0383166000908152600d602052604090205460ff16155b15610fb757602454811115610fb75760405162461bcd60e51b8152600401610b5890612bbc565b80611d2057611d1b600060168190556017819055601855565b611e00565b7f000000000000000000000000bef860db27fc2f9668d13d624563d859c65a2b256001600160a01b0316836001600160a01b031603611d7057611d70601b54601655601c54601755601d54601855565b7f000000000000000000000000bef860db27fc2f9668d13d624563d859c65a2b256001600160a01b0316846001600160a01b031614158015611de457507f000000000000000000000000bef860db27fc2f9668d13d624563d859c65a2b256001600160a01b0316836001600160a01b031614155b15611e0057611e00601f54601655602054601755602154601855565b6001600160a01b0384166000908152600e602052604090205460ff168015611e4157506001600160a01b0383166000908152600e602052604090205460ff16155b15611e5657611e5184848461229c565b611f02565b6001600160a01b0384166000908152600e602052604090205460ff16158015611e9757506001600160a01b0383166000908152600e602052604090205460ff165b15611ea757611e518484846123f5565b6001600160a01b0384166000908152600e602052604090205460ff168015611ee757506001600160a01b0383166000908152600e602052604090205460ff165b15611ef757611e51848484612496565b611f02848484612501565b610fb761253d565b60008183611f2b5760405162461bcd60e51b8152600401610b5891906128e7565b50600061189a8486612b9a565b6000806000611f456125ac565b9092509050611f548282611909565b9250505090565b600061190283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611869565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fd257611fd2612c04565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612050573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120749190612c1a565b8160018151811061208757612087612c04565b60200260200101906001600160a01b031690816001600160a01b0316815250506120d2307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611411565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612127908590600090869030904290600401612c7b565b600060405180830381600087803b15801561214157600080fd5b505af1158015612155573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a7828260405161218a929190612cb7565b60405180910390a15050565b6121c1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611411565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7198230856000806122086000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015612270573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906122959190612cd8565b5050505050565b6000806000806122ab8561272e565b6001600160a01b038b166000908152600a6020526040902054939750919550935091506122d89086611f5b565b6001600160a01b0388166000908152600a60209081526040808320939093556009905220546123079085611f5b565b6001600160a01b03808916600090815260096020526040808220939093559088168152205461233690846118a3565b6001600160a01b0387166000908152600960205260409020556123588161276c565b856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161239d91815260200190565b60405180910390a380156123ec5760405181815230906001600160a01b038916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b50505050505050565b6000806000806124048561272e565b6001600160a01b038b16600090815260096020526040902054939750919550935091506124319085611f5b565b6001600160a01b038089166000908152600960209081526040808320949094559189168152600a909152205461246790836118a3565b6001600160a01b0387166000908152600a602090815260408083209390935560099052205461233690846118a3565b6000806000806124a58561272e565b6001600160a01b038b166000908152600a6020526040902054939750919550935091506124d29086611f5b565b6001600160a01b0388166000908152600a60209081526040808320939093556009905220546124319085611f5b565b6000806000806125108561272e565b6001600160a01b038b16600090815260096020526040902054939750919550935091506123079085611f5b565b601a60008154811061255157612551612c04565b9060005260206000200154601681905550601a60018154811061257657612576612c04565b9060005260206000200154601781905550601a60028154811061259b5761259b612c04565b600091825260209091200154601855565b6014546013546000918291825b600f548110156126fe578260096000600f84815481106125db576125db612c04565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612646575081600a6000600f848154811061261f5761261f612c04565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561265c57601454601354945094505050509091565b6126a260096000600f848154811061267657612676612c04565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611f5b565b92506126ea600a6000600f84815481106126be576126be612c04565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611f5b565b9150806126f681612d06565b9150506125b9565b5060135460145461270e91611909565b821015612725576014546013549350935050509091565b90939092509050565b600080600080600080612740876127f5565b915091506000806127598984612754611f38565b61281c565b909a909950939750919550919350505050565b6000612776611f38565b90506000612784838361194b565b306000908152600960205260409020549091506127a190826118a3565b30600090815260096020908152604080832093909355600e9052205460ff16156127f057306000908152600a60205260409020546127df90846118a3565b306000908152600a60205260409020555b505050565b600080600061280384612855565b905060006128118583611f5b565b959194509092505050565b6000808061282a868561194b565b90506000612838868661194b565b905060006128468383611f5b565b92989297509195505050505050565b600080612875601854610f6d6017546016546118a390919063ffffffff16565b90506119026103e8611ac8858461194b565b8280548282559060005260206000209081019282156128c2579160200282015b828111156128c25782518255916020019190600101906128a7565b506128ce9291506128d2565b5090565b5b808211156128ce57600081556001016128d3565b600060208083528351808285015260005b81811015612914578581018301518582016040015282016128f8565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c1057600080fd5b6000806040838503121561295d57600080fd5b823561296881612935565b946020939093013593505050565b60008060006060848603121561298b57600080fd5b833561299681612935565b925060208401356129a681612935565b929592945050506040919091013590565b6000602082840312156129c957600080fd5b813561190281612935565b6000602082840312156129e657600080fd5b5035919050565b80358015158114610d4b57600080fd5b60008060408385031215612a1057600080fd5b8235612a1b81612935565b9150612a29602084016129ed565b90509250929050565b600080600060608486031215612a4757600080fd5b505081359360208301359350604090920135919050565b600060208284031215612a7057600080fd5b611902826129ed565b60008060408385031215612a8c57600080fd5b8235612a9781612935565b91506020830135612aa781612935565b809150509250929050565b600181811c90821680612ac657607f821691505b602082108103612ae657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a8957610a89612b21565b6020808252600c908201526b546f6f20486967682046656560a01b604082015260600190565b81810381811115610a8957610a89612b21565b8082028115828204841417610a8957610a89612b21565b600082612bb757634e487b7160e01b600052601260045260246000fd5b500490565b60208082526028908201527f457863656564696e67206d617820746f6b656e73206c696d697420696e20746860408201526719481dd85b1b195d60c21b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612c2c57600080fd5b815161190281612935565b600081518084526020808501945080840160005b83811015612c705781516001600160a01b031687529582019590820190600101612c4b565b509495945050505050565b85815284602082015260a060408201526000612c9a60a0830186612c37565b6001600160a01b0394909416606083015250608001529392505050565b828152604060208201526000612cd06040830184612c37565b949350505050565b600080600060608486031215612ced57600080fd5b8351925060208401519150604084015190509250925092565b600060018201612d1857612d18612b21565b506001019056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212203c982c1b969520e55fbae99318994a31bbcc03b0782145ca66a823cd333aa48c64736f6c63430008130033

Verified Source Code Full Match

Compiler: v0.8.19+commit.7dd6d404 EVM: paris Optimization: Yes (200 runs)
SHIBA.sol 886 lines
/* The Doge Killer Rebirthed

Telegram: https://t.me/Shiba_Portal
Twitter: https://twitter.com/RebirthOfShiba
Website: https://www.shibacoin.tech/
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(msg.sender);
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(
        address recipient,
        uint256 amount
    ) external returns (bool);

    function allowance(
        address owner,
        address spender
    ) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by 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;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by 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;
    address private _previousOwner;
    uint256 private _lockTime;

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwnr
    );

    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() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwnr) public virtual onlyOwner {
        require(
            newOwnr != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwnr);
        _owner = newOwnr;
    }
}

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint
    );

    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

interface IUniswapV2Pair {
    function permit(
        address owner,
        address spender,
        uint value,
        uint deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function factory() external view returns (address);
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    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 LockToken is Ownable {
    bool public isOpen = false;
    mapping(address => bool) private _whiteList;
    modifier open(address from, address to) {
        require(isOpen || _whiteList[from] || _whiteList[to], "Not Open");
        _;
    }

    constructor() {
        _whiteList[msg.sender] = true;
        _whiteList[address(this)] = true;
    }

    function openTrade() external onlyOwner {
        isOpen = true;
    }

    function includeToWhiteList(address _address) public onlyOwner {
        _whiteList[_address] = true;
    }
}

contract SHIBA is Context, IERC20, LockToken {
    using SafeMath for uint256;
    address payable public marketingWallet =
        payable(0x44343Bae9f6d8dB1d5b0614783EE22a0A36D5F5b);
    address payable public devWallet =
        payable(0x44343Bae9f6d8dB1d5b0614783EE22a0A36D5F5b);
    address public newOwnr = 0xb640b82989Ba33B221685f0305Fa29b2Bfa2F11E;
    address public uniRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _feeWhitelisted;
    mapping(address => bool) private _limitWhitelisted;
    mapping(address => bool) private _isExcluded;
    address[] private _excluded;
    string private _name = "Shiba";
    string private _symbol = "SHIBA";
    uint8 private _decimals = 18;
    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 1000000000000000 * 10 ** 18;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;
    uint256 public _liquidityFeeBuys = 0;
    uint256 public _marketingFeeBuys = 300;
    uint256 public _devFeeBuys = 0;
    uint256 public _totalFeeBuys =
        _liquidityFeeBuys + _marketingFeeBuys + _devFeeBuys;
    uint256[] buyFeesBackup = [_liquidityFeeBuys, _marketingFeeBuys, _devFeeBuys];
    uint256 public _liquidityFeeSells = 0;
    uint256 public _marketingFeeSells = 300;
    uint256 public _devFeeSells = 0;
    uint256 public _totalFeeSells =
        _liquidityFeeSells + _marketingFeeSells + _devFeeSells;

    uint256 public _liquidityTokens = 0;
    uint256 public _marketingTokens = 0;
    uint256 public _devTokens = 0;
    uint256 public transferTotalFee =
        _liquidityTokens + _marketingTokens + _devTokens;

    uint256 public _txLimit = _tTotal.div(100).mul(1); //x% of total supply
    uint256 public _walletLimit = _tTotal.div(100).mul(2); //x% of total supply
    uint256 private _minBalanceForSwapback = 10000000000000 * 10 ** 18;

    IUniswapV2Router02 public immutable uniRouterContract;
    address public immutable uniPair;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;

    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SwapTokensForETH(uint256 amountIn, address[] path);

    modifier lockTheSwap() {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor() {
        _rOwned[newOwnr] = _rTotal;
        IUniswapV2Router02 _uniRouterContract = IUniswapV2Router02(uniRouter);
        uniPair = IUniswapV2Factory(_uniRouterContract.factory())
            .createPair(address(this), _uniRouterContract.WETH());
        uniRouterContract = _uniRouterContract;
        _feeWhitelisted[newOwnr] = true;
        _feeWhitelisted[address(this)] = true;
        includeToWhiteList(newOwnr);
        _limitWhitelisted[newOwnr] = true;
        emit Transfer(address(0), newOwnr, _tTotal);
        excludeWalletsFromWhales();

        transferOwnership(newOwnr);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(
        address owner,
        address spender
    ) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(
        address spender,
        uint256 amount
    ) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public virtual returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    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;
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function _minBalanceForSwapbackAmount() public view returns (uint256) {
        return _minBalanceForSwapback;
    }

    function tokenFromReflection(
        uint256 rAmount
    ) private view returns (uint256) {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private open(from, to) {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if (from != owner() && to != owner()) {
            require(
                amount <= _txLimit,
                "Transfer amount exceeds the maxTxAmount."
            );
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinimumTokenBalance = contractTokenBalance >=
            _minBalanceForSwapback;

        checkForWhale(from, to, amount);

        if (
            !inSwapAndLiquify && swapAndLiquifyEnabled && from != uniPair
        ) {
            if (overMinimumTokenBalance) {
                contractTokenBalance = _minBalanceForSwapback;
                swapTokens(contractTokenBalance);
            }
        }

        bool takeFee = true;

        //if any account belongs to _feeWhitelisted account then remove the fee
        if (_feeWhitelisted[from] || _feeWhitelisted[to]) {
            takeFee = false;
        }
        _tokenTransfer(from, to, amount, takeFee);
    }

    function swapTokens(uint256 contractTokenBalance) private lockTheSwap {
        uint256 ___totalFeeBuys = _liquidityFeeBuys.add(_marketingFeeBuys).add(
            _devFeeBuys
        );
        uint256 ___totalFeeSells = _liquidityFeeSells.add(_marketingFeeSells).add(
            _devFeeSells
        );
        uint256 totalSwapableFees = ___totalFeeBuys.add(___totalFeeSells);

        uint256 halfLiquidityTokens = contractTokenBalance
            .mul(_liquidityFeeBuys + _liquidityFeeSells)
            .div(totalSwapableFees)
            .div(2);
        uint256 swapableTokens = contractTokenBalance.sub(halfLiquidityTokens);
        swapTokensForEth(swapableTokens);

        uint256 newBalance = address(this).balance;
        uint256 ethForLiquidity = newBalance
            .mul(_liquidityFeeBuys + _liquidityFeeSells)
            .div(totalSwapableFees)
            .div(2);

        if (halfLiquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(halfLiquidityTokens, ethForLiquidity);
        }

        uint256 ethForMarketing = newBalance
            .mul(_marketingFeeBuys + _marketingFeeSells)
            .div(totalSwapableFees);
        if (ethForMarketing > 0) {
            marketingWallet.transfer(ethForMarketing);
        }

        uint256 ethForDev = newBalance.sub(ethForLiquidity).sub(
            ethForMarketing
        );
        if (ethForDev > 0) {
            devWallet.transfer(ethForDev);
        }
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniRouterContract.WETH();
        _approve(address(this), address(uniRouterContract), tokenAmount);
        uniRouterContract.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
        emit SwapTokensForETH(tokenAmount, path);
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniRouterContract), tokenAmount);

        // add the liquidity
        uniRouterContract.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            owner(),
            block.timestamp
        );
    }

    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount,
        bool takeFee
    ) private {
        if (!takeFee) {
            removeAllFee();
        } else {
            if (recipient == uniPair) {
                setSellFee();
            }

            if (sender != uniPair && recipient != uniPair) {
                setWalletToWalletTransferFee();
            }
        }

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        restoreAllFee();
    }

    function _transferStandard(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 tTransferAmount,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        emit Transfer(sender, recipient, tTransferAmount);
        if (tLiquidity > 0) {
            emit Transfer(sender, address(this), tLiquidity);
        }
    }

    function _transferToExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 tTransferAmount,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        emit Transfer(sender, recipient, tTransferAmount);
        if (tLiquidity > 0) {
            emit Transfer(sender, address(this), tLiquidity);
        }
    }

    function _transferFromExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 tTransferAmount,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        emit Transfer(sender, recipient, tTransferAmount);
        if (tLiquidity > 0) {
            emit Transfer(sender, address(this), tLiquidity);
        }
    }

    function _transferBothExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 tTransferAmount,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        emit Transfer(sender, recipient, tTransferAmount);
        if (tLiquidity > 0) {
            emit Transfer(sender, address(this), tLiquidity);
        }
    }

    function _getValues(
        uint256 tAmount
    ) private view returns (uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tLiquidity) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount) = _getRValues(
            tAmount,
            tLiquidity,
            _getRate()
        );
        return (rAmount, rTransferAmount, tTransferAmount, tLiquidity);
    }

    function _getTValues(
        uint256 tAmount
    ) private view returns (uint256, uint256) {
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tLiquidity);
        return (tTransferAmount, tLiquidity);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tLiquidity,
        uint256 currentRate
    ) private pure returns (uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rLiquidity);
        return (rAmount, rTransferAmount);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (
                _rOwned[_excluded[i]] > rSupply ||
                _tOwned[_excluded[i]] > tSupply
            ) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if (_isExcluded[address(this)]) {
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
        }
    }

    function calculateLiquidityFee(
        uint256 _amount
    ) private view returns (uint256) {
        uint256 fees = _liquidityFeeBuys.add(_marketingFeeBuys).add(_devFeeBuys);
        return _amount.mul(fees).div(1000);
    }

    function isExcludedFromFee(
        address account
    ) public view onlyOwner returns (bool) {
        return _feeWhitelisted[account];
    }

    function excludeFromFee(address account) public onlyOwner {
        _feeWhitelisted[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _feeWhitelisted[account] = false;
    }

    function removeAllFee() private {
        _liquidityFeeBuys = 0;
        _marketingFeeBuys = 0;
        _devFeeBuys = 0;
    }

    function restoreAllFee() private {
        _liquidityFeeBuys = buyFeesBackup[0];
        _marketingFeeBuys = buyFeesBackup[1];
        _devFeeBuys = buyFeesBackup[2];
    }

    function setSellFee() private {
        _liquidityFeeBuys = _liquidityFeeSells;
        _marketingFeeBuys = _marketingFeeSells;
        _devFeeBuys = _devFeeSells;
    }

    function setWalletToWalletTransferFee() private {
        _liquidityFeeBuys = _liquidityTokens;
        _marketingFeeBuys = _marketingTokens;
        _devFeeBuys = _devTokens;
    }

    function _setBuyFees(
        uint256 _liquidityFee,
        uint256 _marketingFee,
        uint256 _devFee
    ) external onlyOwner {
        _liquidityFeeBuys = _liquidityFee;
        _marketingFeeBuys = _marketingFee;
        _devFeeBuys = _devFee;
        buyFeesBackup = [_liquidityFeeBuys, _marketingFeeBuys, _devFeeBuys];
        uint256 totalFee = _liquidityFee.add(_marketingFee).add(_devFee);
        _totalFeeBuys = _liquidityFeeBuys + _marketingFeeBuys + _devFeeBuys;
        require(totalFee <= 700, "Too High Fee");
    }

    function _setSellFees(
        uint256 _liquidityFee,
        uint256 _marketingFee,
        uint256 _devFee
    ) external onlyOwner {
        _liquidityFeeSells = _liquidityFee;
        _marketingFeeSells = _marketingFee;
        _devFeeSells = _devFee;
        uint256 totalFee = _liquidityFee.add(_marketingFee).add(_devFee);
        _totalFeeSells = _liquidityFeeSells + _marketingFeeSells + _devFeeSells;
        require(totalFee <= 700, "Too High Fee");
    }

    function _setTransferFees(
        uint256 _liquidityFee,
        uint256 _marketingFee,
        uint256 _devFee
    ) external onlyOwner {
        _liquidityTokens = _liquidityFee;
        _marketingTokens = _marketingFee;
        _devTokens = _devFee;
        transferTotalFee = _liquidityTokens + _marketingTokens + _devTokens;
        uint256 totalFee = _liquidityFee.add(_marketingFee).add(_devFee);
        require(totalFee <= 100, "Too High Fee");
    }

    function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner {
        _txLimit = maxTxAmount;
        require(_txLimit >= _tTotal.div(5), "Too low limit");
    }

    function setMinimumTokensBeforeSwap(
        uint256 __minBalanceForSwapback
    ) external onlyOwner {
        _minBalanceForSwapback = __minBalanceForSwapback;
    }

    function setMarketingWallet(address _marketingWallet) external onlyOwner {
        marketingWallet = payable(_marketingWallet);
    }

    function setDevAWallet(address _devWallet) external onlyOwner {
        devWallet = payable(_devWallet);
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function excludeWalletsFromWhales() private {
        _limitWhitelisted[owner()] = true;
        _limitWhitelisted[address(this)] = true;
        _limitWhitelisted[uniPair] = true;
        _limitWhitelisted[devWallet] = true;
        _limitWhitelisted[marketingWallet] = true;
    }

    function checkForWhale(
        address from,
        address to,
        uint256 amount
    ) private view {
        uint256 newBalance = balanceOf(to).add(amount);
        if (!_limitWhitelisted[from] && !_limitWhitelisted[to]) {
            require(
                newBalance <= _walletLimit,
                "Exceeding max tokens limit in the wallet"
            );
        }
        if (from == uniPair && !_limitWhitelisted[to]) {
            require(
                newBalance <= _walletLimit,
                "Exceeding max tokens limit in the wallet"
            );
        }
    }

    function setExcludedFromWhale(
        address account,
        bool _enabled
    ) public onlyOwner {
        _limitWhitelisted[account] = _enabled;
    }

    function setWalletMaxHoldingLimit(uint256 _amount) public onlyOwner {
        _walletLimit = _amount;
        require(
            _walletLimit > _tTotal.div(100).mul(1),
            "Too less limit"
        ); //min 1%
    }

    function rescueStuckBalance() public onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function triggerSwapback() public {
        uint256 allBalance = balanceOf(address(this));
        swapTokens(allBalance);
    }

    receive() external payable {}
}

Read Contract

_devFeeBuys 0x794fbd2e → uint256
_devFeeSells 0x7409c4ea → uint256
_devTokens 0x7560a8d9 → uint256
_liquidityFeeBuys 0x83a9f0c7 → uint256
_liquidityFeeSells 0x23e6958a → uint256
_liquidityTokens 0x848ad89e → uint256
_marketingFeeBuys 0x4197d5ca → uint256
_marketingFeeSells 0xaa13008f → uint256
_marketingTokens 0x1e25abbb → uint256
_minBalanceForSwapbackAmount 0x48990b7a → uint256
_totalFeeBuys 0x34302720 → uint256
_totalFeeSells 0xec1c14f1 → uint256
_txLimit 0x63553e7c → uint256
_walletLimit 0x0e2351e2 → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
devWallet 0x8ea5220f → address
isExcludedFromFee 0x5342acb4 → bool
isOpen 0x47535d7b → bool
marketingWallet 0x75f0a874 → address
name 0x06fdde03 → string
newOwnr 0x6f4b6f0c → address
owner 0x8da5cb5b → address
swapAndLiquifyEnabled 0x4a74bb02 → bool
symbol 0x95d89b41 → string
totalFees 0x13114a9d → uint256
totalSupply 0x18160ddd → uint256
transferTotalFee 0xb863864c → uint256
uniPair 0x32972e46 → address
uniRouter 0xa0e47bf6 → address
uniRouterContract 0x84ee9d9c → address

Write Contract 23 functions

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

_setBuyFees 0x83ac614d
uint256 _liquidityFee
uint256 _marketingFee
uint256 _devFee
_setSellFees 0x749e8cb6
uint256 _liquidityFee
uint256 _marketingFee
uint256 _devFee
_setTransferFees 0xade44a8f
uint256 _liquidityFee
uint256 _marketingFee
uint256 _devFee
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
excludeFromFee 0x437823ec
address account
includeInFee 0xea2f0b37
address account
includeToWhiteList 0x4b880e88
address _address
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
openTrade 0xfb201b1d
No parameters
renounceOwnership 0x715018a6
No parameters
rescueStuckBalance 0x6fee4f7a
No parameters
setDevAWallet 0x47664346
address _devWallet
setExcludedFromWhale 0x4e3c06b1
address account
bool _enabled
setMarketingWallet 0x5d098b38
address _marketingWallet
setMaxTxAmount 0xec28438a
uint256 maxTxAmount
setMinimumTokensBeforeSwap 0xaee50b1e
uint256 __minBalanceForSwapback
setSwapAndLiquifyEnabled 0xc49b9a80
bool _enabled
setWalletMaxHoldingLimit 0x44d4225f
uint256 _amount
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwnr
triggerSwapback 0xb70ee799
No parameters

Recent Transactions

No transactions found for this address