Contract 0xd25631648e3ad4863332319e8e0d6f2a8ec6f267 6

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa9a5d94a93e618f97ffbd713244125e0d28fb5c82d1dff9594e6bb71078fededApprove132821432021-12-07 22:07:301 min ago0x70457158a326a057cf1c868956068952371d5f9b IN  BNB Heroes: BNBH Token0 BNB0.000222625
0xb3579b2302932c003f0363a1a37aaeea97853c4833c3f5f5b3628211ae1abd4aApprove132820822021-12-07 22:04:264 mins ago0xf37600bcc338408c79fa22caf40f1d820f60d47e IN  BNB Heroes: BNBH Token0 BNB0.000072855
0x952711d1eb4be2d40df5e357e6f226e5fdc995f1d83d74717f86dd5a9ec1dce9Transfer132820782021-12-07 22:04:144 mins ago0x3836a9f7cc672aff82e746cf477e5f1572ffa52c IN  BNB Heroes: BNBH Token0 BNB0.001977635
0x63fd92968b99bd8c68f9f258d8123b9c9f9fc717ece2687e67ff3c18ae14f014Approve132820612021-12-07 22:03:235 mins ago0x227db5d33a602acde939ce5e6aba36f40637281d IN  BNB Heroes: BNBH Token0 BNB0.0000757692
0x5ed28edbb1dee9b47fed32633bbdc97e827a39c74711ab055cee6dee4eff142dApprove132820372021-12-07 22:02:116 mins ago0x9838f088eeec8c65c93a5b46739debf793dc28ee IN  BNB Heroes: BNBH Token0 BNB0.000072855
0x2171d1130377a26125601796e22e8aa2b263b4ed22ac963eed0abcd06073fa66Approve132820222021-12-07 22:01:267 mins ago0xf37600bcc338408c79fa22caf40f1d820f60d47e IN  BNB Heroes: BNBH Token0 BNB0.000124705
0x4323d17d944ae7fef7d28c2dee58b1dfc324ffe4c3b99af013d222cd76b4311aApprove132820202021-12-07 22:01:207 mins ago0xf37600bcc338408c79fa22caf40f1d820f60d47e IN  BNB Heroes: BNBH Token0 BNB0.000124705
0x7d771645dcc4235fe3f98c31b9d2db6968246ffd1ef25c0f907909484528944fApprove132820062021-12-07 22:00:388 mins ago0x28ab6a2a6c21c44876499e9eb6fb965f718d3537 IN  BNB Heroes: BNBH Token0 BNB0.000222625
0xb9535c37143eef42ae7cc7c5c7e91597c8ab1585b8b35c950ef46cee2b3b455cApprove132820052021-12-07 22:00:358 mins ago0x9838f088eeec8c65c93a5b46739debf793dc28ee IN  BNB Heroes: BNBH Token0 BNB0.000124705
0xd31ccbafd81fcf442f542b697b381e37cfda9b4b7a940efd48e7a148cf5d235fApprove132820022021-12-07 22:00:268 mins ago0xf37600bcc338408c79fa22caf40f1d820f60d47e IN  BNB Heroes: BNBH Token0 BNB0.000222625
0x5415d7485fe48d0593deea9134968e9e04a983ed14eda999dfb53cf84514e357Approve132819902021-12-07 21:59:508 mins ago0xcec242c069e12248e0a14fd6fd5678af607395d2 IN  BNB Heroes: BNBH Token0 BNB0.000222625
0x1a3a46cf4e95605c9a897ba86a50e6047d54f0da1f321617ed0cdeca6faeb6edApprove132819792021-12-07 21:59:179 mins ago0x9838f088eeec8c65c93a5b46739debf793dc28ee IN  BNB Heroes: BNBH Token0 BNB0.000072855
0xf72d51bc09d172299b89f389b99333395addce00728fb6bc4d7623eaa40cd59cApprove132819702021-12-07 21:58:509 mins ago0x27ea7c1ebb7129ba574a52bcfcd12329639cb5b6 IN  BNB Heroes: BNBH Token0 BNB0.000222625
0x487fdc5b9d3c9564e2b1aa6125218d2fedb35b02c141ea8e421fe686399a64e3Approve132819702021-12-07 21:58:509 mins ago0xf37600bcc338408c79fa22caf40f1d820f60d47e IN  BNB Heroes: BNBH Token0 BNB0.000072855
0x77bb6626c5ade248c650a7b3c7cf16a3851e7e30d8590fcd8607de7d313ad294Approve132819592021-12-07 21:58:1710 mins ago0x1ea33acb9387956ae5958c0ad7cb0754e05bb3ca IN  BNB Heroes: BNBH Token0 BNB0.000222625
0xe6c31342251978718d634c60f9429345dd65e19e7b0bce84e51a1d21dd125d43Approve132819562021-12-07 21:58:0810 mins ago0x8416887b8821a70d04deeb22120833eeace8ccc8 IN  BNB Heroes: BNBH Token0 BNB0.000222625
0x4ffea4b326a3a2f143804dbbba93ff70a239a8459764cd6aac8a0a7fcc5fbc47Transfer132818912021-12-07 21:54:5313 mins ago0x580f65b0296b906301436ce763fdb1d2580cc0a5 IN  BNB Heroes: BNBH Token0 BNB0.000275335
0xa79ba1ffd1fa8411a04e9636ab436721fafc8734837b84d7c1966bfa1d942c3eTransfer132818912021-12-07 21:54:5313 mins ago0x0ef4239988ee2ac99b59bbec4edcf0a344d53bf3 IN  BNB Heroes: BNBH Token0 BNB0.000275335
0x8ad5b9915c7307c157c8046ea2ed42f3cdc8eb34f59c01251244617f4b26b274Transfer132818912021-12-07 21:54:5313 mins ago0xb5682c6d1d5a93c65086efa520f9c977435682e8 IN  BNB Heroes: BNBH Token0 BNB0.000275335
0x50de2ed42e6b2df5e34c36594914ead377ac01bc998c6bbaac7e351b3b91e9f3Transfer132818912021-12-07 21:54:5313 mins ago0x71456a2f3d785819984a45b5283ff4474d03d20a IN  BNB Heroes: BNBH Token0 BNB0.000275335
0x5983a9fc784e396cd8d633af8181b77d8b30fabe3acdf36e8a2667e377194a5eTransfer132818912021-12-07 21:54:5313 mins ago0x1757b359b05d19866edc4aaf1d361395ac853538 IN  BNB Heroes: BNBH Token0 BNB0.000275395
0xebe980b4cf93b2508a2db3e1c652fc477451ee5c8abeca4407eed4f1d1d1441aTransfer132818912021-12-07 21:54:5313 mins ago0xf2e166a1af99b7d4f2350867273b702514f4cfd8 IN  BNB Heroes: BNBH Token0 BNB0.000275335
0x2c8f1fdfd60fae571216583f409b5907061e186a7765be3de26a38e2dbb296c5Transfer132818912021-12-07 21:54:5313 mins ago0x3a6b7107dae8d95c12ef7db155fedb9b8d4e19d6 IN  BNB Heroes: BNBH Token0 BNB0.000275335
0x3ea1188fb1e6c7ec7ce0998e6ad50b2217d9a0a1db3524acbb4af37efd5cdc2aTransfer132818912021-12-07 21:54:5313 mins ago0x34f47a1913bf2cb2d9576d33aba9e04b9b98a550 IN  BNB Heroes: BNBH Token0 BNB0.000275335
0x4a0b19cb75da086d7e284c654648b83875aded45b05ccfb633df6883bf851509Transfer132818912021-12-07 21:54:5313 mins ago0x60d42053db9704d33a897afae1a3730c58b03b86 IN  BNB Heroes: BNBH Token0 BNB0.000275335
[ Download CSV Export 

OVERVIEW

BNB HEROES is an Oracle based NFT collectible card game which focuses on game economy, expansion and sustainability. Our goal is to make this game durable and reliable for many players to earn BNB directly while playing.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x952711d1eb4be2d40df5e357e6f226e5fdc995f1d83d74717f86dd5a9ec1dce9132820782021-12-07 22:04:144 mins ago BNB Heroes: BNBH Token 0xde8c58d082d39d04dc2e5241a3a65911454674cd1.438922194962342031 BNB
0x952711d1eb4be2d40df5e357e6f226e5fdc995f1d83d74717f86dd5a9ec1dce9132820782021-12-07 22:04:144 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065405554316470092 BNB
0x952711d1eb4be2d40df5e357e6f226e5fdc995f1d83d74717f86dd5a9ec1dce9132820782021-12-07 22:04:144 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.504327749278812123 BNB
0xa2f20f921e44d35c247154a099cffc868b77bb9ee3b7f0f56791f038574f07fd132818912021-12-07 21:54:5313 mins ago BNB Heroes: BNBH Token 0xde8c58d082d39d04dc2e5241a3a65911454674cd1.439533659904354198 BNB
0xa2f20f921e44d35c247154a099cffc868b77bb9ee3b7f0f56791f038574f07fd132818912021-12-07 21:54:5313 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065433348177470645 BNB
0xa2f20f921e44d35c247154a099cffc868b77bb9ee3b7f0f56791f038574f07fd132818912021-12-07 21:54:5313 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.504967008081824843 BNB
0xea05d283c2006cd18994a8e20c0e83cfccb35972b00fb17924d8c2036679ec36132818872021-12-07 21:54:4114 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065436963967430208 BNB
0xea05d283c2006cd18994a8e20c0e83cfccb35972b00fb17924d8c2036679ec36132818872021-12-07 21:54:4114 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.505050171250894799 BNB
0x678e0ba54a275c01351d6ce59674ec333f3f04b00f97d3bd56c88bfa7efef565132817402021-12-07 21:47:2021 mins ago BNB Heroes: BNBH Token 0xde8c58d082d39d04dc2e5241a3a65911454674cd1.44096136143086529 BNB
0x678e0ba54a275c01351d6ce59674ec333f3f04b00f97d3bd56c88bfa7efef565132817402021-12-07 21:47:2021 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065498243701402967 BNB
0x678e0ba54a275c01351d6ce59674ec333f3f04b00f97d3bd56c88bfa7efef565132817402021-12-07 21:47:2021 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.506459605132268257 BNB
0xe02e80635a0b8c3a602c952259a764f4eaf6e5e19cb0560e66c6eeb2ab7fc895132815982021-12-07 21:39:5628 mins ago BNB Heroes: BNBH Token 0xde8c58d082d39d04dc2e5241a3a65911454674cd1.44192829003281481 BNB
0xe02e80635a0b8c3a602c952259a764f4eaf6e5e19cb0560e66c6eeb2ab7fc895132815982021-12-07 21:39:5628 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065542195001491582 BNB
0xe02e80635a0b8c3a602c952259a764f4eaf6e5e19cb0560e66c6eeb2ab7fc895132815982021-12-07 21:39:5628 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.507470485034306392 BNB
0x7c008491959160830a0607140cbadd1966a2e313e8eaa6893fa0bc584e98b0f9132815902021-12-07 21:39:3029 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065542195001491582 BNB
0x7c008491959160830a0607140cbadd1966a2e313e8eaa6893fa0bc584e98b0f9132815902021-12-07 21:39:3029 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.507470485034306392 BNB
0xeacfcda84604080ff666dd525da5d4aced33177466308746e877e598ef77a8a4132814302021-12-07 21:30:5137 mins ago BNB Heroes: BNBH Token 0xde8c58d082d39d04dc2e5241a3a65911454674cd1.442874397807882859 BNB
0xeacfcda84604080ff666dd525da5d4aced33177466308746e877e598ef77a8a4132814302021-12-07 21:30:5137 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065585199900358311 BNB
0xeacfcda84604080ff666dd525da5d4aced33177466308746e877e598ef77a8a4132814302021-12-07 21:30:5137 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.50845959770824117 BNB
0xaa9eb77b0bedd004f2f5090ec089ca872344968656801b8973df2388961eb207132812712021-12-07 21:22:5045 mins ago BNB Heroes: BNBH Token 0xde8c58d082d39d04dc2e5241a3a65911454674cd1.444122160584028317 BNB
0xaa9eb77b0bedd004f2f5090ec089ca872344968656801b8973df2388961eb207132812712021-12-07 21:22:5045 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065641916390183105 BNB
0xaa9eb77b0bedd004f2f5090ec089ca872344968656801b8973df2388961eb207132812712021-12-07 21:22:5045 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.509764076974211422 BNB
0x249ded45fc040b276f2744b0d2c4ca61bc397154b1b6a13271a19b3597deddee132812532021-12-07 21:21:5646 mins ago BNB Heroes: BNBH Token 0xde8c58d082d39d04dc2e5241a3a65911454674cd1.444111754356445371 BNB
0x249ded45fc040b276f2744b0d2c4ca61bc397154b1b6a13271a19b3597deddee132812532021-12-07 21:21:5646 mins ago BNB Heroes: BNBH Token PancakeSwap: Router v20.065641443379838425 BNB
0x249ded45fc040b276f2744b0d2c4ca61bc397154b1b6a13271a19b3597deddee132812532021-12-07 21:21:5646 mins ago PancakeSwap: Router v2 BNB Heroes: BNBH Token1.509753197736283796 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BNBHeroToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 8 : BNBH.sol
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.0;

import "./IBEP20.sol";
import "./SafeMath.sol";
import "./Context.sol";
import "./Ownable.sol";
import "./IPancakeswapV2Factory.sol";
import "./IPancakeswapV2Router02.sol";

contract BNBHeroToken is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;

    mapping (address => bool) private _isExcludedFromFee;

    address public bnbPoolAddress;
    
    uint256 private _tTotal = 100 * 10**6 * 10**18;
    uint256 private constant MAX = ~uint256(0);
    string private _name = "BNBHeroToken";
    string private _symbol = "BNBH";
    uint8 private _decimals = 18;
    
    uint256 public _BNBFee = 13;
    uint256 private _previousBNBFee = _BNBFee;
    
    uint256 public _liquidityFee = 2;
    uint256 private _previousLiquidityFee = _liquidityFee;


    IPancakeswapV2Router02 public pancakeswapV2Router;
    address public pancakeswapV2Pair;
    
    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    bool public presaleEnded = false;
    
    uint256 public _maxTxAmount =  2 * 10**5 * 10**18;
    uint256 private numTokensToSwap =  3 * 10**3 * 10**18;
    uint256 public swapCoolDownTime = 20;
    // uint256 public swapCoolDownTimeForUser = 60;
    uint256 private lastSwapTime;
    mapping(address => uint256) private lastTxTimes;

    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
    event ExcludedFromFee(address account);
    event IncludedToFee(address account);
    event UpdateFees(uint256 bnbFee, uint256 liquidityFee);
    event UpdatedMaxTxAmount(uint256 maxTxAmount);
    event UpdateNumtokensToSwap(uint256 amount);
    event UpdateBNBPoolAddress(address account);
    event SwapAndCharged(uint256 token, uint256 liquidAmount, uint256 bnbPool,  uint256 bnbLiquidity);
    event UpdatedCoolDowntime(uint256 timeForContract);
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }
    
    constructor () {
        //Test Net
        //IPancakeswapV2Router02 _pancakeswapV2Router = IPancakeswapV2Router02(0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3);
        //Mian Net
        IPancakeswapV2Router02 _pancakeswapV2Router = IPancakeswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
        
        pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory())
            .createPair(address(this), _pancakeswapV2Router.WETH());

        // set the rest of the contract variables
        pancakeswapV2Router = _pancakeswapV2Router;
        
        //exclude owner and this contract from fee
        _isExcludedFromFee[_msgSender()] = true;
        _isExcludedFromFee[address(this)] = true;
        _balances[_msgSender()] = _tTotal;
        emit Transfer(address(0), owner(), _tTotal);
    }
    
    function symbol() external view override returns (string memory) {
        return _symbol;
    }

    function name() external view override returns (string memory) {
        return _name;
    }
    
    function decimals() external view override returns (uint8) {
        return _decimals;
    }

    function totalSupply() external view override returns (uint256) {
        return _tTotal;
    }
    
    function getOwner() external view override returns (address) {
        return owner();
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[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, "BEP20: 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, "BEP20: decreased allowance below zero"));
        return true;
    }

    function setBNBPoolAddress(address account) external onlyOwner {
        require(account != bnbPoolAddress, 'This address was already used');
        bnbPoolAddress = account;
        emit UpdateBNBPoolAddress(account);
    }
    function setCoolDownTime(uint256 timeForContract) external onlyOwner {
        require(swapCoolDownTime != timeForContract);
        swapCoolDownTime = timeForContract;
        emit UpdatedCoolDowntime(timeForContract);
    }
    function updatePresaleStatus(bool status) external onlyOwner {
        presaleEnded = status;
    }
    
    function excludeFromFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = true;
        emit ExcludedFromFee(account);
    }
    
    function includeInFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = false;
        emit IncludedToFee(account);
    }
    
    function setFees(uint256 bnbFee, uint256 liquidityFee) external onlyOwner() {
        require(_BNBFee != bnbFee || _liquidityFee != liquidityFee);
        _BNBFee = bnbFee;
        _liquidityFee = liquidityFee;
        emit UpdateFees(bnbFee, liquidityFee);
    }
   
    function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner() {
        _maxTxAmount = maxTxAmount;
        emit UpdatedMaxTxAmount(maxTxAmount);
    }
    
    function setNumTokensToSwap(uint256 amount) external onlyOwner() {
        require(numTokensToSwap != amount);
        numTokensToSwap = amount;
        emit UpdateNumtokensToSwap(amount);
    }


    function setSwapAndLiquifyEnabled(bool _enabled) external onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }
    
     //to receive ETH from pancakeswapV2Router when swapping
    receive() external payable {}

    function _getFeeValues(uint256 tAmount) private view returns (uint256) {
        uint256 fee = tAmount.mul(_BNBFee + _liquidityFee).div(10**2);
        uint256 tTransferAmount = tAmount.sub(fee);
        return tTransferAmount;
    }

    function removeAllFee() private {
        if(_BNBFee == 0 && _liquidityFee == 0) return;
        
        _previousBNBFee = _BNBFee;
        _previousLiquidityFee = _liquidityFee;
        
        _BNBFee = 0;
        _liquidityFee = 0;
    }
    
    function restoreAllFee() private {
        _BNBFee = _previousBNBFee;
        _liquidityFee = _previousLiquidityFee;
    }
    
    function isExcludedFromFee(address account) external view returns(bool) {
        return _isExcludedFromFee[account];
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "BEP20: approve from the zero address");
        require(spender != address(0), "BEP20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "BEP20: transfer from the zero address");
        require(to != address(0), "BEP20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if (to == pancakeswapV2Pair && balanceOf(pancakeswapV2Pair) == 0) {
            require(presaleEnded == true, "You are not allowed to add liquidity before presale is ended");
        }
        if(
            !_isExcludedFromFee[from] && 
            !_isExcludedFromFee[to] && 
            balanceOf(pancakeswapV2Pair) > 0 && 
            !inSwapAndLiquify &&
            from != address(pancakeswapV2Router) && 
            (from == pancakeswapV2Pair || to == pancakeswapV2Pair)
        ) {
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");          
        }

        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is pancakeswap pair.
        uint256 tokenBalance = balanceOf(address(this));
        if(tokenBalance >= _maxTxAmount)
        {
            tokenBalance = _maxTxAmount;
        }
        
        bool overMinTokenBalance = tokenBalance >= numTokensToSwap;
        if (
            overMinTokenBalance &&
            !inSwapAndLiquify &&
            from != pancakeswapV2Pair &&
            swapAndLiquifyEnabled &&
            block.timestamp >= lastSwapTime + swapCoolDownTime
        ) {
            tokenBalance = numTokensToSwap;
            swapAndCharge(tokenBalance);
            lastSwapTime = block.timestamp;
        }
        
        //indicates if fee should be deducted from transfer
        bool takeFee = false;
        if (balanceOf(pancakeswapV2Pair) > 0 && (from == pancakeswapV2Pair || to == pancakeswapV2Pair)) {
            takeFee = true;
        }
        
        //if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]){
            takeFee = false;
        }
        
        //transfer amount, it will take tax, burn, liquidity fee
        _tokenTransfer(from,to,amount,takeFee);
    }

    function swapAndCharge(uint256 tokenBalance) private lockTheSwap {
        uint256 initialBalance = address(this).balance;

        uint256 liquidBalance = tokenBalance.mul(_liquidityFee).div(_liquidityFee + _BNBFee).div(2);
        tokenBalance = tokenBalance.sub(liquidBalance);
        swapTokensForEth(tokenBalance); 

        uint256 newBalance = address(this).balance.sub(initialBalance);
        uint256 bnbForLiquid = newBalance.mul(liquidBalance).div(tokenBalance);
        addLiquidity(liquidBalance, bnbForLiquid);

        (bool success, ) = payable(bnbPoolAddress).call{value: address(this).balance}("");
        require(success == true, "Transfer failed.");
        emit SwapAndCharged(tokenBalance, liquidBalance, address(this).balance, bnbForLiquid);
    }


    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the pancakeswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = pancakeswapV2Router.WETH();

        _approve(address(this), address(pancakeswapV2Router), tokenAmount);

        // make the swap
        pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

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

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

    //this method is responsible for taking all fee, if takeFee is true
    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
        if(!takeFee)
            removeAllFee();
        uint256 tTransferAmount = _getFeeValues(amount);
        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(tTransferAmount);   
        _balances[address(this)] = _balances[address(this)].add(amount.sub(tTransferAmount));
        emit Transfer(sender, recipient, tTransferAmount);
        
        if(!takeFee)
            restoreAllFee();
    }
}

File 2 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

    /**
     * @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 a - b;
    }

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards 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).
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Context.sol";
abstract contract Ownable is Context {
    address private _owner;
    address private _previousOwner;
    uint256 private _lockTime;

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

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        _previousOwner = _owner;
        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 newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
    
    function geUnlockTime() public view returns (uint256) {
        return _lockTime;
    }

    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = block.timestamp + time;
        emit OwnershipTransferred(_owner, address(0));
    }

    function unlock() public virtual {
        require(_previousOwner == msg.sender, "You don't have permission to unlock");
        require(block.timestamp > _lockTime , "Contract is locked until 0 days");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;
    }
}

File 4 of 8 : IPancakeswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IPancakeswapV2Router01.sol";

interface IPancakeswapV2Router02 is IPancakeswapV2Router01 {
    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;
}

File 5 of 8 : IPancakeswapV2Router01.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IPancakeswapV2Router01 {
    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);
}

File 6 of 8 : IPancakeswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


interface IPancakeswapV2Factory {
    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;
}

File 7 of 8 : IBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
/**
 * @dev Interface of the BEP standard.
 */
interface IBEP20 {
  /**
   * @dev Returns the amount of tokens in existence.
   */
  function totalSupply() external view returns (uint256);

  /**
   * @dev Returns the token decimals.
   */
  function decimals() external view returns (uint8);

  /**
   * @dev Returns the token symbol.
   */
  function symbol() external view returns (string memory);

  /**
  * @dev Returns the token name.
  */
  function name() external view returns (string memory);

  /**
   * @dev Returns the bep token owner.
   */
  function getOwner() external view returns (address);

  /**
   * @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);
}

File 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"ExcludedFromFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"IncludedToFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"token","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbPool","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbLiquidity","type":"uint256"}],"name":"SwapAndCharged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"UpdateBNBPoolAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"bnbFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"UpdateFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UpdateNumtokensToSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timeForContract","type":"uint256"}],"name":"UpdatedCoolDowntime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"UpdatedMaxTxAmount","type":"event"},{"inputs":[],"name":"_BNBFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnbPoolAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pancakeswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pancakeswapV2Router","outputs":[{"internalType":"contract IPancakeswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setBNBPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeForContract","type":"uint256"}],"name":"setCoolDownTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bnbFee","type":"uint256"},{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setNumTokensToSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapCoolDownTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"updatePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6a52b7d2dcc80cd2e400000060075560c0604052600c60808190526b2127212432b937aa37b5b2b760a11b60a09081526200003e9160089190620003c8565b50604080518082019091526004808252630849c84960e31b60209092019182526200006c91600991620003c8565b50600a805460ff19166012908117909155600d600b819055600c819055600290819055600e556010805461ffff60a81b1916600160a81b179055692a5a058fc295ed00000060115568a2a15d09519be0000090556014601355348015620000d257600080fd5b5060008054336001600160a01b031991821681178355600180549092168117909155604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060007310ed43c718714eb63d5aa57b78b54704e256024e9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200017457600080fd5b505afa15801562000189573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001af91906200046e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001f857600080fd5b505afa1580156200020d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023391906200046e565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200027c57600080fd5b505af115801562000291573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b791906200046e565b601080546001600160a01b03199081166001600160a01b0393841617909155600f8054909116918316919091179055600160056000620002f43390565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530815260059092528120805490921660011790915560075490600390620003443390565b6001600160a01b03168152602081019190915260400160002055620003716000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600754604051620003b991815260200190565b60405180910390a350620004dd565b828054620003d690620004a0565b90600052602060002090601f016020900481019282620003fa576000855562000445565b82601f106200041557805160ff191683800117855562000445565b8280016001018555821562000445579182015b828111156200044557825182559160200191906001019062000428565b506200045392915062000457565b5090565b5b8082111562000453576000815560010162000458565b6000602082840312156200048157600080fd5b81516001600160a01b03811681146200049957600080fd5b9392505050565b600181811c90821680620004b557607f821691505b60208210811415620004d757634e487b7160e01b600052602260045260246000fd5b50919050565b611edf80620004ed6000396000f3fe60806040526004361061021e5760003560e01c80638812f37411610123578063c72425ff116100ab578063e5dffed31161006f578063e5dffed31461064b578063e6844b3a1461066b578063ea2f0b3714610681578063ec28438a146106a1578063f2fde38b146106c157600080fd5b8063c72425ff1461058e578063db879c3d146105ae578063dd467064146105c4578063dd62ed3e146105e4578063e580b2b01461062a57600080fd5b8063a457c2d7116100f2578063a457c2d714610504578063a69df4b514610524578063a9059cbb14610539578063b6c5232414610559578063c49b9a801461056e57600080fd5b80638812f374146104b1578063893d20e8146104d15780638da5cb5b146104d157806395d89b41146104ef57600080fd5b8063437823ec116101a65780636bc87c3a116101755780636bc87c3a1461041a5780636e16de111461043057806370a0823114610450578063715018a6146104865780637d1db4a51461049b57600080fd5b8063437823ec146103685780634a74bb021461038857806352892884146103a95780635342acb4146103e157600080fd5b80630f569dad116101ed5780630f569dad146102c757806318160ddd146102e757806323b872dd14610306578063313ce56714610326578063395093511461034857600080fd5b806306fdde031461022a5780630888d69214610255578063095ea7b3146102775780630b78f9c0146102a757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f6106e1565b60405161024c9190611c52565b60405180910390f35b34801561026157600080fd5b50610275610270366004611bc7565b610773565b005b34801561028357600080fd5b50610297610292366004611b9b565b6107c4565b604051901515815260200161024c565b3480156102b357600080fd5b506102756102c2366004611c02565b6107da565b3480156102d357600080fd5b506102756102e2366004611be9565b610867565b3480156102f357600080fd5b506007545b60405190815260200161024c565b34801561031257600080fd5b50610297610321366004611b5a565b6108dc565b34801561033257600080fd5b50600a5460405160ff909116815260200161024c565b34801561035457600080fd5b50610297610363366004611b9b565b610945565b34801561037457600080fd5b50610275610383366004611ae7565b61097b565b34801561039457600080fd5b5060105461029790600160a81b900460ff1681565b3480156103b557600080fd5b506010546103c9906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b3480156103ed57600080fd5b506102976103fc366004611ae7565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561042657600080fd5b506102f8600d5481565b34801561043c57600080fd5b5061027561044b366004611be9565b6109f9565b34801561045c57600080fd5b506102f861046b366004611ae7565b6001600160a01b031660009081526003602052604090205490565b34801561049257600080fd5b50610275610a67565b3480156104a757600080fd5b506102f860115481565b3480156104bd57600080fd5b506006546103c9906001600160a01b031681565b3480156104dd57600080fd5b506000546001600160a01b03166103c9565b3480156104fb57600080fd5b5061023f610ac9565b34801561051057600080fd5b5061029761051f366004611b9b565b610ad8565b34801561053057600080fd5b50610275610b27565b34801561054557600080fd5b50610297610554366004611b9b565b610c2d565b34801561056557600080fd5b506002546102f8565b34801561057a57600080fd5b50610275610589366004611bc7565b610c3a565b34801561059a57600080fd5b506102756105a9366004611ae7565b610cb1565b3480156105ba57600080fd5b506102f860135481565b3480156105d057600080fd5b506102756105df366004611be9565b610d87565b3480156105f057600080fd5b506102f86105ff366004611b21565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561063657600080fd5b5060105461029790600160b01b900460ff1681565b34801561065757600080fd5b50600f546103c9906001600160a01b031681565b34801561067757600080fd5b506102f8600b5481565b34801561068d57600080fd5b5061027561069c366004611ae7565b610e0c565b3480156106ad57600080fd5b506102756106bc366004611be9565b610e87565b3480156106cd57600080fd5b506102756106dc366004611ae7565b610ee6565b6060600880546106f090611dbd565b80601f016020809104026020016040519081016040528092919081815260200182805461071c90611dbd565b80156107695780601f1061073e57610100808354040283529160200191610769565b820191906000526020600020905b81548152906001019060200180831161074c57829003601f168201915b5050505050905090565b6000546001600160a01b031633146107a65760405162461bcd60e51b815260040161079d90611ca7565b60405180910390fd5b60108054911515600160b01b0260ff60b01b19909216919091179055565b60006107d1338484610fbe565b50600192915050565b6000546001600160a01b031633146108045760405162461bcd60e51b815260040161079d90611ca7565b81600b54141580610817575080600d5414155b61082057600080fd5b600b829055600d81905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b6000546001600160a01b031633146108915760405162461bcd60e51b815260040161079d90611ca7565b8060125414156108a057600080fd5b60128190556040518181527f53f13aabd8081253b4ac09696b8c162cf43187237e3893ba84941105f1e93b2b906020015b60405180910390a150565b60006108e98484846110e2565b61093b843361093685604051806060016040528060288152602001611e3d602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611546565b610fbe565b5060019392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916107d19185906109369086611572565b6000546001600160a01b031633146109a55760405162461bcd60e51b815260040161079d90611ca7565b6001600160a01b038116600081815260056020908152604091829020805460ff1916600117905590519182527ff1d6512ec7550bf605a5a38910e48fb6a57938ed74a5afa01753fa023001005c91016108d1565b6000546001600160a01b03163314610a235760405162461bcd60e51b815260040161079d90611ca7565b806013541415610a3257600080fd5b60138190556040518181527fa1549e44f9e72c53c056ec73782f5bb2b8c2950b3f11929b746d641f91048d7f906020016108d1565b6000546001600160a01b03163314610a915760405162461bcd60e51b815260040161079d90611ca7565b600080546040516001600160a01b0390911690600080516020611e65833981519152908390a3600080546001600160a01b0319169055565b6060600980546106f090611dbd565b60006107d1338461093685604051806060016040528060258152602001611e85602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190611546565b6001546001600160a01b03163314610b8d5760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b606482015260840161079d565b6002544211610bde5760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2030206461797300604482015260640161079d565b600154600080546040516001600160a01b039384169390911691600080516020611e6583398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b60006107d13384846110e2565b6000546001600160a01b03163314610c645760405162461bcd60e51b815260040161079d90611ca7565b60108054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906108d190831515815260200190565b6000546001600160a01b03163314610cdb5760405162461bcd60e51b815260040161079d90611ca7565b6006546001600160a01b0382811691161415610d395760405162461bcd60e51b815260206004820152601d60248201527f5468697320616464726573732077617320616c72656164792075736564000000604482015260640161079d565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527f382f7e63122d8478d132ef787957aef1547aa830de7aa05913ba1c28435ee209906020016108d1565b6000546001600160a01b03163314610db15760405162461bcd60e51b815260040161079d90611ca7565b60008054600180546001600160a01b03199081166001600160a01b03841617909155169055610de08142611d4d565b600255600080546040516001600160a01b0390911690600080516020611e65833981519152908390a350565b6000546001600160a01b03163314610e365760405162461bcd60e51b815260040161079d90611ca7565b6001600160a01b038116600081815260056020908152604091829020805460ff1916905590519182527f976ff2b01cb494434f270c12da5e45ac90c699b50c2312e2bb2fead2466aa4fe91016108d1565b6000546001600160a01b03163314610eb15760405162461bcd60e51b815260040161079d90611ca7565b60118190556040518181527f9f5e246af7c18550ffbb625af523d90c3be8c2f4c33faede31f8005c517200fa906020016108d1565b6000546001600160a01b03163314610f105760405162461bcd60e51b815260040161079d90611ca7565b6001600160a01b038116610f755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161079d565b600080546040516001600160a01b0380851693921691600080516020611e6583398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166110205760405162461bcd60e51b8152602060048201526024808201527f42455032303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161079d565b6001600160a01b0382166110815760405162461bcd60e51b815260206004820152602260248201527f42455032303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161079d565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111465760405162461bcd60e51b815260206004820152602560248201527f42455032303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161079d565b6001600160a01b0382166111a85760405162461bcd60e51b815260206004820152602360248201527f42455032303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161079d565b6000811161120a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161079d565b6010546001600160a01b03838116911614801561123f57506010546001600160a01b0316600090815260036020526040902054155b156112c857601054600160b01b900460ff1615156001146112c85760405162461bcd60e51b815260206004820152603c60248201527f596f7520617265206e6f7420616c6c6f77656420746f20616464206c6971756960448201527f64697479206265666f72652070726573616c6520697320656e64656400000000606482015260840161079d565b6001600160a01b03831660009081526005602052604090205460ff1615801561130a57506001600160a01b03821660009081526005602052604090205460ff16155b801561132e57506010546001600160a01b0316600090815260036020526040812054115b80156113445750601054600160a01b900460ff16155b801561135e5750600f546001600160a01b03848116911614155b801561138e57506010546001600160a01b038481169116148061138e57506010546001600160a01b038381169116145b156113f6576011548111156113f65760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161079d565b30600090815260036020526040902054601154811061141457506011545b601254811080159081906114325750601054600160a01b900460ff16155b801561144c57506010546001600160a01b03868116911614155b80156114615750601054600160a81b900460ff165b801561147c57506013546014546114789190611d4d565b4210155b1561149457601254915061148f82611585565b426014555b6010546001600160a01b0316600090815260036020526040812054811080156114e157506010546001600160a01b03878116911614806114e157506010546001600160a01b038681169116145b156114ea575060015b6001600160a01b03861660009081526005602052604090205460ff168061152957506001600160a01b03851660009081526005602052604090205460ff165b15611532575060005b61153e86868684611703565b505050505050565b6000818484111561156a5760405162461bcd60e51b815260040161079d9190611c52565b505050900390565b600061157e8284611d4d565b9392505050565b6010805460ff60a01b1916600160a01b179055600b54600d5447916000916115cb916002916115c5916115b791611d4d565b600d546115c590889061181f565b9061182b565b90506115d78382611837565b92506115e283611843565b60006115ee4784611837565b90506000611600856115c5848661181f565b905061160c83826119a4565b6006546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611659576040519150601f19603f3d011682016040523d82523d6000602084013e61165e565b606091505b50909150506001811515146116a85760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161079d565b604080518781526020810186905247818301526060810184905290517f67a845c4857c4b721e2076a95d55789c004966c3d58ac86d61fe6c2e5f7e48e49181900360800190a150506010805460ff60a01b1916905550505050565b8061171057611710611a81565b600061171b83611aaf565b6001600160a01b0386166000908152600360205260409020549091506117419084611837565b6001600160a01b0380871660009081526003602052604080822093909355908616815220546117709082611572565b6001600160a01b0385166000908152600360205260409020556117ac6117968483611837565b3060009081526003602052604090205490611572565b3060009081526003602090815260409182902092909255518281526001600160a01b0386811692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a38161181857611818600c54600b55600e54600d55565b5050505050565b600061157e8284611d87565b600061157e8284611d65565b600061157e8284611da6565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061187857611878611e0e565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156118cc57600080fd5b505afa1580156118e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119049190611b04565b8160018151811061191757611917611e0e565b6001600160a01b039283166020918202929092010152600f5461193d9130911684610fbe565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611976908590600090869030904290600401611cdc565b600060405180830381600087803b15801561199057600080fd5b505af115801561153e573d6000803e3d6000fd5b600f546119bc9030906001600160a01b031684610fbe565b600f546001600160a01b031663f305d7198230856000806119e56000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611a4857600080fd5b505af1158015611a5c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906118189190611c24565b600b54158015611a915750600d54155b15611a9857565b600b8054600c55600d8054600e5560009182905555565b600080611ad160646115c5600d54600b54611aca9190611d4d565b869061181f565b90506000611adf8483611837565b949350505050565b600060208284031215611af957600080fd5b813561157e81611e24565b600060208284031215611b1657600080fd5b815161157e81611e24565b60008060408385031215611b3457600080fd5b8235611b3f81611e24565b91506020830135611b4f81611e24565b809150509250929050565b600080600060608486031215611b6f57600080fd5b8335611b7a81611e24565b92506020840135611b8a81611e24565b929592945050506040919091013590565b60008060408385031215611bae57600080fd5b8235611bb981611e24565b946020939093013593505050565b600060208284031215611bd957600080fd5b8135801515811461157e57600080fd5b600060208284031215611bfb57600080fd5b5035919050565b60008060408385031215611c1557600080fd5b50508035926020909101359150565b600080600060608486031215611c3957600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b81811015611c7f57858101830151858201604001528201611c63565b81811115611c91576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d2c5784516001600160a01b031683529383019391830191600101611d07565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611d6057611d60611df8565b500190565b600082611d8257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611da157611da1611df8565b500290565b600082821015611db857611db8611df8565b500390565b600181811c90821680611dd157607f821691505b60208210811415611df257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114611e3957600080fd5b5056fe42455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e042455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c5373cc1274c7fa24e9c155a43dffb55b5c7d50170a960b155897aa6119b317b64736f6c63430008070033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.