Contract Address Details

0x4A194B6A25a0d29B860D7D71e015EC15a1E26c99

Token
CronicShiba (CRONIC)
Creator
0xd3c3d3–863103 at 0x2739d1–e07755
Balance
0 CRO ( )
Tokens
Fetching tokens...
Transactions
1,491 Transactions
Transfers
2,069 Transfers
Gas Used
62,000,816
Last Balance Update
5741852
Contract name:
CronicShiba




Optimization enabled
true
Compiler version
v0.6.12+commit.27d51765




Optimization runs
200
EVM Version
default




Verified at
2021-11-30T20:23:19.348990Z

Constructor Arguments

00000000000000000000000040da1dd681ec6175c3bcfe1641cd2826a99ebdd8000000000000000000000000ec0a7a0c2439e8cb67b992b12ecd020ea943c7be

Arg [0] (address) : 0x40da1dd681ec6175c3bcfe1641cd2826a99ebdd8
Arg [1] (address) : 0xec0a7a0c2439e8cb67b992b12ecd020ea943c7be

              

Contract source code

/**
  
   CronicShiba
   Cronic Shiba on Cronos
   
   Continuing the legacy of crypto's favourite dog on the Cronos network. 
   
   Website:     https://cronicshiba.com/
   Telegram:    https://t.me/cronicshiba
   Twitter:     https://twitter.com/CronicShiba
   
 */

pragma solidity ^0.6.12;
// SPDX-License-Identifier: UNLICENSED
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(msg.sender);
    }

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


interface IERC20 {

    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

}

library SafeMath {

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }


    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

library Address {

    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {codehash := extcodehash(account)}
        return (codehash != accountHash && codehash != 0x0);
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success,) = recipient.call{value : amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }


    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value : weiValue}(data);
        if (success) {
            return returndata;
        } else {

            if (returndata.length > 0) {
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

contract Ownable is Context {
    address private _owner;
    address private _previousOwner;
    uint256 private _lockTime;

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

    constructor () public {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

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

// pragma solidity >=0.5.0;

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


// pragma solidity >=0.5.0;

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

// pragma solidity >=0.6.2;

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



// pragma solidity >=0.6.2;

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 CronicShiba is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    address payable public marketingAddress = payable(0x40da1dd681eC6175C3BCFe1641CD2826A99EBdD8); // Marketing Address
    address public immutable deadAddress = 0x000000000000000000000000000000000000dEaD;
    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isSniper;
    address[] private _confirmedSnipers;

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcluded;
    address[] private _excluded;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 10000000000000 * 10 ** 9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = "CronicShiba";
    string private _symbol = "CRONIC";
    uint8 private _decimals = 9;


    uint256 public _taxFee = 3; // 3%
    uint256 private _previousTaxFee = _taxFee;

    uint256 public _liquidityFee = 6; // 6%
    uint256 private _previousLiquidityFee = _liquidityFee;

    uint256 private _feeRate = 2;
    uint256 launchTime;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool inSwapAndLiquify;

    bool tradingOpen = false;

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

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

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


    constructor (address treasure, address router) public {
        _rOwned[msg.sender] = _rTotal;
        emit Transfer(address(0), _msgSender(), _tTotal);
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router = _uniswapV2Router;
        _isExcludedFromFee[msg.sender] = true;
        _isExcludedFromFee[treasure] = true;
        _isExcludedFromFee[address(this)] = true;
    }

    function openTrading() external onlyOwner() {
        tradingOpen = true;
        launchTime = block.timestamp;
    }

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

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

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

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

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

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

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

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

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

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

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

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


    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(!_isExcluded[sender], "Excluded addresses cannot call this function");
        (uint256 rAmount,,,,,) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }


    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns (uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount,,,,,) = _getValues(tAmount);
            return rAmount;
        } else {
            (,uint256 rTransferAmount,,,,) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

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

    function excludeFromReward(address account) public onlyOwner() {

        require(!_isExcluded[account], "Account is already excluded");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

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

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        require(!_isSniper[to], "You have no power here!");
        require(!_isSniper[msg.sender], "You have no power here!");


        // buy

        if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to]) {
            require(tradingOpen, "Trading not yet enabled.");

            //antibot
            if (block.timestamp == launchTime) {
                _isSniper[to] = true;
                _confirmedSnipers.push(to);
            }
        }


        uint256 contractTokenBalance = balanceOf(address(this));
        //sell
        if (!inSwapAndLiquify && tradingOpen && to == uniswapV2Pair) {
            if (contractTokenBalance > 0) {
                if (contractTokenBalance > balanceOf(uniswapV2Pair).mul(_feeRate).div(100)) {
                    contractTokenBalance = balanceOf(uniswapV2Pair).mul(_feeRate).div(100);
                }
                swapTokens(contractTokenBalance);
            }

        }

        bool takeFee = false;

        //take fee only on swaps
        if ((from == uniswapV2Pair || to == uniswapV2Pair) && !(_isExcludedFromFee[from] || _isExcludedFromFee[to])) {
            takeFee = true;
        }
        _tokenTransfer(from, to, amount, takeFee);

    }

    function _isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }

    event SwapTokens(uint256 contractTokenBalance, uint256 contractETHBalance);

    function swapTokens(uint256 contractTokenBalance) private lockTheSwap {
        swapTokensForEth(contractTokenBalance);

        //Send to Marketing address
        uint256 contractETHBalance = address(this).balance;
        emit SwapTokens(contractTokenBalance, contractETHBalance);
        if (contractETHBalance > 0) {
            sendETHToFee(address(this).balance);
        }
    }

    event SendETHToFee(uint256 amount);

    function sendETHToFee(uint256 amount) private {
        marketingAddress.transfer(amount);
        emit SendETHToFee(amount);
    }


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

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

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

        emit SwapTokensForETH(tokenAmount, path);
    }


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

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

    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
        if (!takeFee)
            removeAllFee();

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

        if (!takeFee)
            restoreAllFee();
    }

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

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

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

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

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

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

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

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

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

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

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

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(
            10 ** 2
        );
    }

    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_liquidityFee).div(
            10 ** 2
        );
    }

    function removeAllFee() private {
        if (_taxFee == 0 && _liquidityFee == 0) return;

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;

        _taxFee = 0;
        _liquidityFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
    }

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

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

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

    function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
        _taxFee = taxFee;
    }

    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
        _liquidityFee = liquidityFee;
    }


    function setMarketingAddress(address _marketingAddress) external onlyOwner() {
        marketingAddress = payable(_marketingAddress);
    }


    function transferToAddressETH(address payable recipient, uint256 amount) private {
        recipient.transfer(amount);
    }

    function isRemovedSniper(address account) public view returns (bool) {
        return _isSniper[account];
    }

    function _removeSniper(address account) external onlyOwner() {
        require(account != 0xeC0A7a0C2439E8Cb67b992b12ecd020Ea943c7Be, 'We can not blacklist Router');
        require(!_isSniper[account], "Account is already blacklisted");
        _isSniper[account] = true;
        _confirmedSnipers.push(account);
    }

    function _amnestySniper(address account) external onlyOwner() {
        require(_isSniper[account], "Account is not blacklisted");
        for (uint256 i = 0; i < _confirmedSnipers.length; i++) {
            if (_confirmedSnipers[i] == account) {
                _confirmedSnipers[i] = _confirmedSnipers[_confirmedSnipers.length - 1];
                _isSniper[account] = false;
                _confirmedSnipers.pop();
                break;
            }
        }
    }


    function setFeeRate(uint256 rate) external onlyOwner() {
        _feeRate = rate;
    }

    function getBlockTime() public view returns (uint256) {
        return block.timestamp;
    }

    function emergencyWithdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    //to recieve ETH from uniswapV2Router when swaping
    receive() external payable {}
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"treasure","internalType":"address"},{"type":"address","name":"router","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SendETHToFee","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapETHForTokens","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256","indexed":false},{"type":"address[]","name":"path","internalType":"address[]","indexed":false}],"anonymous":false},{"type":"event","name":"SwapTokens","inputs":[{"type":"uint256","name":"contractTokenBalance","internalType":"uint256","indexed":false},{"type":"uint256","name":"contractETHBalance","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapTokensForETH","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256","indexed":false},{"type":"address[]","name":"path","internalType":"address[]","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"_amnestySniper","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_liquidityFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"_removeSniper","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_taxFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"deadAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deliver","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"emergencyWithdraw","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getBlockTime","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isRemovedSniper","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address payable"}],"name":"marketingAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"openTrading","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFromToken","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"},{"type":"bool","name":"deductTransferFee","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeRate","inputs":[{"type":"uint256","name":"rate","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketingAddress","inputs":[{"type":"address","name":"_marketingAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTaxFeePercent","inputs":[{"type":"uint256","name":"taxFee","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenFromReflection","inputs":[{"type":"uint256","name":"rAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"uniswapV2Router","inputs":[]},{"type":"receive","stateMutability":"payable"}]
            

Deployed ByteCode

0x60806040526004361061023f5760003560e01c80635342acb41161012e57806395d89b41116100ab578063db2e21bc1161006f578063db2e21bc1461084b578063dd62ed3e14610860578063ea2f0b371461089b578063f2fde38b146108ce578063f375b2531461090157610246565b806395d89b411461079a578063a457c2d7146107af578063a5ece941146107e8578063a9059cbb146107fd578063c9567bf91461083657610246565b806387ceff09116100f257806387ceff09146106e057806388f82020146106f55780638da5cb5b146107285780638ee88c531461073d578063906e9dd01461076757610246565b80635342acb41461061d578063610d5b19146106505780636bc87c3a1461068357806370a0823114610698578063715018a6146106cb57610246565b8063362a3c5d116101bc578063437823ec11610180578063437823ec146105465780634549b0391461057957806345596e2e146105ab57806349bd5a5e146105d557806352390c02146105ea57610246565b8063362a3c5d146104685780633685d4191461049b57806339509351146104ce5780633b124fe7146105075780633bd5d1731461051c57610246565b806318160ddd1161020357806318160ddd146103a657806323b872dd146103bb57806327c8f835146103fe5780632d83811914610413578063313ce5671461043d57610246565b8063061c82d01461024b57806306fdde0314610277578063095ea7b31461030157806313114a9d1461034e5780631694505e1461037557610246565b3661024657005b600080fd5b34801561025757600080fd5b506102756004803603602081101561026e57600080fd5b5035610934565b005b34801561028357600080fd5b5061028c610991565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561030d57600080fd5b5061033a6004803603604081101561032457600080fd5b506001600160a01b038135169060200135610a27565b604080519115158252519081900360200190f35b34801561035a57600080fd5b50610363610a45565b60408051918252519081900360200190f35b34801561038157600080fd5b5061038a610a4b565b604080516001600160a01b039092168252519081900360200190f35b3480156103b257600080fd5b50610363610a5a565b3480156103c757600080fd5b5061033a600480360360608110156103de57600080fd5b506001600160a01b03813581169160208101359091169060400135610a60565b34801561040a57600080fd5b5061038a610ae7565b34801561041f57600080fd5b506103636004803603602081101561043657600080fd5b5035610b0b565b34801561044957600080fd5b50610452610b6d565b6040805160ff9092168252519081900360200190f35b34801561047457600080fd5b506102756004803603602081101561048b57600080fd5b50356001600160a01b0316610b76565b3480156104a757600080fd5b50610275600480360360208110156104be57600080fd5b50356001600160a01b0316610d2e565b3480156104da57600080fd5b5061033a600480360360408110156104f157600080fd5b506001600160a01b038135169060200135610ec4565b34801561051357600080fd5b50610363610f12565b34801561052857600080fd5b506102756004803603602081101561053f57600080fd5b5035610f18565b34801561055257600080fd5b506102756004803603602081101561056957600080fd5b50356001600160a01b0316610ff2565b34801561058557600080fd5b506103636004803603604081101561059c57600080fd5b5080359060200135151561106e565b3480156105b757600080fd5b50610275600480360360208110156105ce57600080fd5b5035611100565b3480156105e157600080fd5b5061038a61115d565b3480156105f657600080fd5b506102756004803603602081101561060d57600080fd5b50356001600160a01b031661116c565b34801561062957600080fd5b5061033a6004803603602081101561064057600080fd5b50356001600160a01b03166112f2565b34801561065c57600080fd5b5061033a6004803603602081101561067357600080fd5b50356001600160a01b0316611310565b34801561068f57600080fd5b5061036361132e565b3480156106a457600080fd5b50610363600480360360208110156106bb57600080fd5b50356001600160a01b0316611334565b3480156106d757600080fd5b50610275611396565b3480156106ec57600080fd5b50610363611438565b34801561070157600080fd5b5061033a6004803603602081101561071857600080fd5b50356001600160a01b031661143c565b34801561073457600080fd5b5061038a61145a565b34801561074957600080fd5b506102756004803603602081101561076057600080fd5b5035611469565b34801561077357600080fd5b506102756004803603602081101561078a57600080fd5b50356001600160a01b03166114c6565b3480156107a657600080fd5b5061028c611540565b3480156107bb57600080fd5b5061033a600480360360408110156107d257600080fd5b506001600160a01b0381351690602001356115a1565b3480156107f457600080fd5b5061038a611609565b34801561080957600080fd5b5061033a6004803603604081101561082057600080fd5b506001600160a01b038135169060200135611618565b34801561084257600080fd5b5061027561162c565b34801561085757600080fd5b5061027561169d565b34801561086c57600080fd5b506103636004803603604081101561088357600080fd5b506001600160a01b0381358116916020013516611738565b3480156108a757600080fd5b50610275600480360360208110156108be57600080fd5b50356001600160a01b0316611763565b3480156108da57600080fd5b50610275600480360360208110156108f157600080fd5b50356001600160a01b03166117dc565b34801561090d57600080fd5b506102756004803603602081101561092457600080fd5b50356001600160a01b03166118d4565b61093c611a72565b6000546001600160a01b0390811691161461098c576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b601255565b600f8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a1d5780601f106109f257610100808354040283529160200191610a1d565b820191906000526020600020905b815481529060010190602001808311610a0057829003601f168201915b5050505050905090565b6000610a3b610a34611a72565b8484611a76565b5060015b92915050565b600e5490565b6018546001600160a01b031681565b600c5490565b6000610a6d848484611b62565b610add84610a79611a72565b610ad885604051806060016040528060288152602001612c97602891396001600160a01b038a16600090815260066020526040812090610ab7611a72565b6001600160a01b031681526020810191909152604001600020549190611f61565b611a76565b5060019392505050565b7f000000000000000000000000000000000000000000000000000000000000dead81565b6000600d54821115610b4e5760405162461bcd60e51b815260040180806020018281038252602a815260200180612c04602a913960400191505060405180910390fd5b6000610b58611ff8565b9050610b64838261201b565b9150505b919050565b60115460ff1690565b610b7e611a72565b6000546001600160a01b03908116911614610bce576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff16610c3b576040805162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c6973746564000000000000604482015290519081900360640190fd5b60005b600854811015610d2a57816001600160a01b031660088281548110610c5f57fe5b6000918252602090912001546001600160a01b03161415610d2257600880546000198101908110610c8c57fe5b600091825260209091200154600880546001600160a01b039092169183908110610cb257fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600790915260409020805460ff191690556008805480610cfb57fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610d2a565b600101610c3e565b5050565b610d36611a72565b6000546001600160a01b03908116911614610d86576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6001600160a01b0381166000908152600a602052604090205460ff16610df3576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600b54811015610d2a57816001600160a01b0316600b8281548110610e1757fe5b6000918252602090912001546001600160a01b03161415610ebc57600b80546000198101908110610e4457fe5b600091825260209091200154600b80546001600160a01b039092169183908110610e6a57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055600a90925220805460ff19169055600b805480610cfb57fe5b600101610df6565b6000610a3b610ed1611a72565b84610ad88560066000610ee2611a72565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612064565b60125481565b6000610f22611a72565b6001600160a01b0381166000908152600a602052604090205490915060ff1615610f7d5760405162461bcd60e51b815260040180806020018281038252602c815260200180612d51602c913960400191505060405180910390fd5b6000610f88836120be565b505050506001600160a01b038416600090815260046020526040902054919250610fb49190508261210d565b6001600160a01b038316600090815260046020526040902055600d54610fda908261210d565b600d55600e54610fea9084612064565b600e55505050565b610ffa611a72565b6000546001600160a01b0390811691161461104a576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000600c548311156110c7576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b816110e65760006110d7846120be565b50939550610a3f945050505050565b60006110f1846120be565b50929550610a3f945050505050565b611108611a72565b6000546001600160a01b03908116911614611158576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b601655565b6019546001600160a01b031681565b611174611a72565b6000546001600160a01b039081169116146111c4576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6001600160a01b0381166000908152600a602052604090205460ff1615611232576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b0381166000908152600460205260409020541561128c576001600160a01b03811660009081526004602052604090205461127290610b0b565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152600a60205260408120805460ff19166001908117909155600b805491820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319169091179055565b6001600160a01b031660009081526009602052604090205460ff1690565b6001600160a01b031660009081526007602052604090205460ff1690565b60145481565b6001600160a01b0381166000908152600a602052604081205460ff161561137457506001600160a01b038116600090815260056020526040902054610b68565b6001600160a01b038216600090815260046020526040902054610a3f90610b0b565b61139e611a72565b6000546001600160a01b039081169116146113ee576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b4290565b6001600160a01b03166000908152600a602052604090205460ff1690565b6000546001600160a01b031690565b611471611a72565b6000546001600160a01b039081169116146114c1576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b601455565b6114ce611a72565b6000546001600160a01b0390811691161461151e576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60108054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a1d5780601f106109f257610100808354040283529160200191610a1d565b6000610a3b6115ae611a72565b84610ad885604051806060016040528060258152602001612d7d60259139600660006115d8611a72565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611f61565b6003546001600160a01b031681565b6000610a3b611625611a72565b8484611b62565b611634611a72565b6000546001600160a01b03908116911614611684576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6019805460ff60a81b1916600160a81b17905542601755565b6116a5611a72565b6000546001600160a01b039081169116146116f5576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6116fd61145a565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015611735573d6000803e3d6000fd5b50565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b61176b611a72565b6000546001600160a01b039081169116146117bb576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b6117e4611a72565b6000546001600160a01b03908116911614611834576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b6001600160a01b0381166118795760405162461bcd60e51b8152600401808060200182810382526026815260200180612c2e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6118dc611a72565b6000546001600160a01b0390811691161461192c576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbf833981519152604482015290519081900360640190fd5b73ec0a7a0c2439e8cb67b992b12ecd020ea943c7be6001600160a01b038216141561199e576040805162461bcd60e51b815260206004820152601b60248201527f57652063616e206e6f7420626c61636b6c69737420526f757465720000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff1615611a0c576040805162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c69737465640000604482015290519081900360640190fd5b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b3390565b6001600160a01b038316611abb5760405162461bcd60e51b8152600401808060200182810382526024815260200180612d2d6024913960400191505060405180910390fd5b6001600160a01b038216611b005760405162461bcd60e51b8152600401808060200182810382526022815260200180612c546022913960400191505060405180910390fd5b6001600160a01b03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611ba75760405162461bcd60e51b8152600401808060200182810382526025815260200180612d086025913960400191505060405180910390fd5b6001600160a01b038216611bec5760405162461bcd60e51b8152600401808060200182810382526023815260200180612be16023913960400191505060405180910390fd5b60008111611c2b5760405162461bcd60e51b8152600401808060200182810382526029815260200180612cdf6029913960400191505060405180910390fd5b6001600160a01b03821660009081526007602052604090205460ff1615611c93576040805162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b604482015290519081900360640190fd5b3360009081526007602052604090205460ff1615611cf2576040805162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b604482015290519081900360640190fd5b6019546001600160a01b038481169116148015611d1d57506018546001600160a01b03838116911614155b8015611d4257506001600160a01b03821660009081526009602052604090205460ff16155b15611e1557601954600160a81b900460ff16611da5576040805162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015290519081900360640190fd5b601754421415611e15576001600160a01b0382166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b03191690911790555b6000611e2030611334565b601954909150600160a01b900460ff16158015611e465750601954600160a81b900460ff165b8015611e5f57506019546001600160a01b038481169116145b15611ed1578015611ed157601654601954611e9a91606491611e949190611e8e906001600160a01b0316611334565b9061214f565b9061201b565b811115611ec857601654601954611ec591606491611e949190611e8e906001600160a01b0316611334565b90505b611ed1816121a8565b6019546000906001600160a01b0386811691161480611efd57506019546001600160a01b038581169116145b8015611f4557506001600160a01b03851660009081526009602052604090205460ff1680611f4357506001600160a01b03841660009081526009602052604090205460ff165b155b15611f4e575060015b611f5a8585858461221f565b5050505050565b60008184841115611ff05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611fb5578181015183820152602001611f9d565b50505050905090810190601f168015611fe25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000612005612341565b9092509050612014828261201b565b9250505090565b600061205d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506124a4565b9392505050565b60008282018381101561205d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008060008060008060008060006120d58a612509565b92509250925060008060006120f38d86866120ee611ff8565b61254b565b919f909e50909c50959a5093985091965092945050505050565b600061205d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f61565b60008261215e57506000610a3f565b8282028284828161216b57fe5b041461205d5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c766021913960400191505060405180910390fd5b6019805460ff60a01b1916600160a01b1790556121c48161259b565b604080518281524760208201819052825190927f738b737502df4c5f230bbb98a45ea9c2821bad262e880f883357ad3695f8dae4928290030190a1801561220e5761220e476127c6565b50506019805460ff60a01b19169055565b8061222c5761222c612837565b6001600160a01b0384166000908152600a602052604090205460ff16801561226d57506001600160a01b0383166000908152600a602052604090205460ff16155b156122825761227d848484612869565b61232e565b6001600160a01b0384166000908152600a602052604090205460ff161580156122c357506001600160a01b0383166000908152600a602052604090205460ff165b156122d35761227d84848461298d565b6001600160a01b0384166000908152600a602052604090205460ff16801561231357506001600160a01b0383166000908152600a602052604090205460ff165b156123235761227d848484612a36565b61232e848484612aa9565b8061233b5761233b612aed565b50505050565b600d54600c546000918291825b600b54811015612472578260046000600b848154811061236a57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806123cf57508160056000600b84815481106123a857fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156123e657600d54600c54945094505050506124a0565b61242660046000600b84815481106123fa57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061210d565b925061246860056000600b848154811061243c57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061210d565b915060010161234e565b50600c54600d546124829161201b565b82101561249a57600d54600c549350935050506124a0565b90925090505b9091565b600081836124f35760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611fb5578181015183820152602001611f9d565b5060008385816124ff57fe5b0495945050505050565b60008060008061251885612afb565b9050600061252586612b17565b9050600061253d82612537898661210d565b9061210d565b979296509094509092505050565b600080808061255a888661214f565b90506000612568888761214f565b90506000612576888861214f565b9050600061258882612537868661210d565b939b939a50919850919650505050505050565b604080516002808252606080830184529260208301908036833701905050905030816000815181106125c957fe5b6001600160a01b03928316602091820292909201810191909152601854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561261d57600080fd5b505afa158015612631573d6000803e3d6000fd5b505050506040513d602081101561264757600080fd5b505181518290600190811061265857fe5b6001600160a01b03928316602091820292909201015260185461267e9130911684611a76565b60185460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b838110156127045781810151838201526020016126ec565b505050509050019650505050505050600060405180830381600087803b15801561272d57600080fd5b505af1158015612741573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a782826040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156127ae578181015183820152602001612796565b50505050905001935050505060405180910390a15050565b6003546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612800573d6000803e3d6000fd5b506040805182815290517fb6b34f3cfef2b0bb0e47223ab355ff7c3615a62fe5f469444611e679411246c69181900360200190a150565b6012541580156128475750601454155b1561285157612867565b6012805460135560148054601555600091829055555b565b60008060008060008061287b876120be565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506128ad908861210d565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546128dc908761210d565b6001600160a01b03808b1660009081526004602052604080822093909355908a168152205461290b9086612064565b6001600160a01b03891660009081526004602052604090205561292d81612b33565b6129378483612bbc565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050505050565b60008060008060008061299f876120be565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506129d1908761210d565b6001600160a01b03808b16600090815260046020908152604080832094909455918b16815260059091522054612a079084612064565b6001600160a01b03891660009081526005602090815260408083209390935560049052205461290b9086612064565b600080600080600080612a48876120be565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612a7a908861210d565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546129d1908761210d565b600080600080600080612abb876120be565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506128dc908761210d565b601354601255601554601455565b6000610a3f6064611e946012548561214f90919063ffffffff16565b6000610a3f6064611e946014548561214f90919063ffffffff16565b6000612b3d611ff8565b90506000612b4b838361214f565b30600090815260046020526040902054909150612b689082612064565b30600090815260046020908152604080832093909355600a9052205460ff1615612bb75730600090815260056020526040902054612ba69084612064565b306000908152600560205260409020555b505050565b600d54612bc9908361210d565b600d55600e54612bd99082612064565b600e55505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220afdd1546bbc26edaf4134f9b40721b30a5ef89adbabb772efefa9df88d918b8e64736f6c634300060c0033