ETH Price: $3,180.70 (+5.06%)

Token

$Variable Token ($VARIABLE)
 

Overview

Max Total Supply

1,000,000,000,000,000 $VARIABLE

Holders

305

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
14,734,544,686.610948651066198298 $VARIABLE

Value
$0.00
0x51ed35285b2caf765a559d66658b1bb26911d547
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Variable

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : VARIABLE.sol
// SPDX-License-Identifier:  Apache


pragma solidity 0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";




  /****************************************|
  |         Interfaces                     |
  |_______________________________________*/


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 Mint(address indexed sender, uint amount0, uint amount1);
    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 mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}


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


  /****************************************|
  |         Variable Contract              |
  |_______________________________________*/

contract Variable is IERC20, Ownable {

    string private constant _name = "$Variable Token";
    string private constant _symbol = "$VARIABLE";
    uint256 private constant _decimals = 18;
    
    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = (1 * 10 ** 15) * 10 ** _decimals;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    
    mapping (address => uint256) private _rOwned;
    mapping (address => uint256) private _tOwned;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private _isExcluded;
    address[] private _excluded;
    
    address public _marketingWalletAddress = 0x505643cCF42ABa996bcA215E9578efEcEE2089C5;     // TODO - marketing wallet here
    address public _devWalletAddress = 0x505643cCF42ABa996bcA215E9578efEcEE2089C5;     // TODO - dev wallet here
    
    uint256 private _tFeeTotal;
    uint256 public _taxFee = 4;
    uint256 private _previousTaxFee = 4;
    uint256 public _liquidityFee = 3;
    uint256 private _previousLiquidityFee = 3;
    
    uint256 private _otherFee = 3;
    uint256 private _previousOtherFee = 3;
    uint256 public _marketingFee = 2;
    uint256 private _previousmarketingFee = 2;
    uint256 public _devFee = 1;
    uint256 private _previousdevFee = 1;
    
    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair=address(0);
    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    uint256 public _maxTxAmount  = (_tTotal * 2 / 1000);
    uint256 public numTokensSellToAddToLiquidity = (_tTotal * 5 / 10000);
    
    
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
    
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    
    constructor () public payable{
        
        _rOwned[msg.sender] = _rTotal;
        
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
         // Create a uniswap pair for this new token
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;
        
        //exclude owner, this contract and the zero address from fee
        _isExcludedFromFee[msg.sender] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[address(0)] = true;
        emit Transfer(address(0), msg.sender, _tTotal);
    }

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

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

    function decimals() public view returns (uint256) {
        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 approve(address tokenAddress, address spender, uint256 amount) public onlyOwner returns (bool) {
        IERC20(tokenAddress).approve(spender, 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()]-amount);
        return true;
    }

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

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender]-subtractedValue);
        return true;
    }

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

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


    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/(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 included");
        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 _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]-(tAmount);
        _rOwned[sender] = _rOwned[sender]-(rAmount);
        _tOwned[recipient] = _tOwned[recipient]+(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);        
        _takeLiquidity(tLiquidity);
        _takeOther(tAmount);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }
    
    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }
    
    function setReflectionFeePercent(uint256 taxFee) external onlyOwner() {
         require(taxFee<=10,"Upper Limit Of Fee Reached");
        _taxFee = taxFee;
    }
    
    function setmarketingFeePercent(uint256 marketingFee) external onlyOwner() {
        require(marketingFee<=3,"Upper Limit Of Fee Reached");
        _marketingFee = marketingFee;
        _otherFee = _marketingFee+(_devFee);
    }
    
    function setdevFeePercent(uint256 devFee) external onlyOwner() {
        require(devFee<=5,"Upper Limit Of Fee Reached");
        _devFee = devFee;
        _otherFee = _marketingFee+(_devFee);
    }
    
    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
        require(liquidityFee<=12,"Upper Limit Of Fee Reached");
        _liquidityFee = liquidityFee;
    }
   
    function setMaxTxPercent(uint256 maxTxAmount) public onlyOwner {
        _maxTxAmount = maxTxAmount  * 10 ** _decimals;
    }
    
    function setmarketingWalletAddress(address _addr) public onlyOwner {
        require(address(0) != _addr, "set marketing wallet to the zero address");
        _marketingWalletAddress = _addr;
    }
    
    function setdevWalletAddress(address _addr) public onlyOwner {
        require(address(0) != _addr, "set dev wallet to the zero address");
        _devWalletAddress = _addr;
    }
    
    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }
    
      function adminWithdraw(address token) public onlyOwner{
    IERC20(token).transfer(msg.sender,IERC20(token).balanceOf(address(this)));
  }

   function adminWithdrawETH(address payable admin) public onlyOwner{
    admin.transfer(address(this).balance);
  }

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

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal-(rFee);
        _tFeeTotal = _tFeeTotal+(tFee);
    }

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

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

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tOther, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount*(currentRate);
        uint256 rFee = tFee*(currentRate);
        uint256 rLiquidity = tLiquidity*(currentRate);
        uint256 rOther = tOther*(currentRate);
        uint256 rTransferAmount = rAmount-(rFee)-(rLiquidity)-(rOther);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply/(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-(_rOwned[_excluded[i]]);
            tSupply = tSupply-(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal/(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }
    
    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate =  _getRate();
        uint256 rLiquidity = tLiquidity*(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)]+(rLiquidity);
        if(_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)]+(tLiquidity);
    }
    
    function _takeOther(uint256 tAmount) private {
     uint256 currentRate = _getRate();
    uint256 tOther = calculateOtherFee(tAmount);
    uint256 tmarketing = calculatemarketingFee(tAmount);
    uint256 tdev = tOther - tmarketing;
    uint256 rOther = tOther*(currentRate);
    uint256 rdev = tdev*(currentRate);
    uint256 rmarketing = rOther - rdev;


        _rOwned[_devWalletAddress] = _rOwned[_devWalletAddress]+(rdev);
        _rOwned[_marketingWalletAddress] = _rOwned[_marketingWalletAddress]+(rmarketing);
        
        if(_isExcluded[_devWalletAddress])
            _tOwned[_devWalletAddress] = _tOwned[_devWalletAddress]+(tdev);
        if(_isExcluded[_marketingWalletAddress])
            _tOwned[_marketingWalletAddress] = _tOwned[_marketingWalletAddress]+(tmarketing);
    }
    
    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_taxFee)/(
            10**2
        );
    }

    function calculateOtherFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_otherFee)/(
            10**2
        );
    }

    function calculatedevFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_devFee)/(
            10**2
        );
    }
    
    function calculatemarketingFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_marketingFee)/(
            10**2
        );
    }
    
    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_liquidityFee)/(
            10**2
        );
    }
    
    function removeAllFee() private { 
        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;
        _previousOtherFee = _otherFee;
        _previousmarketingFee = _marketingFee;
        _previousdevFee = _devFee;
        
        _taxFee = 0;
        _liquidityFee = 0;
        _otherFee = 0;
        _marketingFee = 0;
        _devFee = 0;
    }
    
    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
        _otherFee = _previousOtherFee;
        _marketingFee = _previousmarketingFee;
        _devFee = _previousdevFee;
    }
    
    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

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

    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");
        if(from != owner() && to != owner())
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");

        uint256 contractTokenBalance = balanceOf(address(this));
        
        if(contractTokenBalance >= _maxTxAmount)
        {
            contractTokenBalance = _maxTxAmount;
        }
        
        bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
        if (
            overMinTokenBalance &&
            !inSwapAndLiquify &&
            from != uniswapV2Pair &&
            swapAndLiquifyEnabled
        ) {
            contractTokenBalance = numTokensSellToAddToLiquidity;
            swapAndLiquify(contractTokenBalance);
        }
        
        bool takeFee = true;
        if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){
            takeFee = false;
        }
        
        _tokenTransfer(from,to,amount,takeFee);
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        uint256 half = contractTokenBalance/(2);
        uint256 otherHalf = contractTokenBalance-(half);
        uint256 initialBalance = address(this).balance;
        swapTokensForEth(half); 
        uint256 newBalance = address(this).balance-(initialBalance);
        addLiquidity(otherHalf, newBalance);
        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(0),
            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]) {
            _transferStandard(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else if  (!_isExcluded[sender] && !_isExcluded[recipient]) {
            _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]-(rAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _takeOther(tAmount);
        _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]-(rAmount);
        _tOwned[recipient] = _tOwned[recipient]+(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);           
        _takeLiquidity(tLiquidity);
        _takeOther(tAmount);
        _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]-(tAmount);
        _rOwned[sender] = _rOwned[sender]-(rAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);   
        _takeLiquidity(tLiquidity);
        _takeOther(tAmount);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
    function setRouterAddress(address newRouter) external onlyOwner {
        require(newRouter!=address(0),"Can't Set Zero Address");
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(newRouter);
        address get_pair =
    IUniswapV2Factory(_uniswapV2Router.factory()).getPair(address(this),
    _uniswapV2Router.WETH());
        if(get_pair == address(0)){
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());

        }
        uniswapV2Router = _uniswapV2Router;
    }

    function setNumTokensSellToAddToLiquidity(uint256 amountToUpdate) external onlyOwner {
        numTokensSellToAddToLiquidity = amountToUpdate * (10 ** decimals());
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","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":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":"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"},{"inputs":[],"name":"_devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"adminWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"admin","type":"address"}],"name":"adminWithdrawETH","outputs":[],"stateMutability":"nonpayable","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":"tokenAddress","type":"address"},{"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":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","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":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToUpdate","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setReflectionFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"devFee","type":"uint256"}],"name":"setdevFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setdevWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"}],"name":"setmarketingFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setmarketingWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052620000126012600a62000466565b620000259066038d7ea4c6800062000524565b6001819055620000389060001962000560565b620000469060001962000546565b6002908155600980546001600160a01b031990811673505643ccf42aba996bca215e9578efecee2089c5908117909255600a805490911690911790556004600c819055600d556003600e819055600f81905560108190556011556012819055601381905560016014819055601581905560178054600161ff0160a01b031916600160a81b179055546103e891620000de919062000524565b620000ea919062000406565b601855612710600154600562000101919062000524565b6200010d919062000406565b6019556200011b3362000384565b6002543360009081526003602090815260409182902092909255805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d92839263c45a01559260048083019392829003018186803b1580156200017d57600080fd5b505afa15801562000192573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b89190620003d4565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020157600080fd5b505afa15801562000216573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023c9190620003d4565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028557600080fd5b505af11580156200029a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c09190620003d4565b601780546001600160a01b03199081166001600160a01b039384161790915560168054909116918316919091179055336000818152600660209081526040808320805460ff19908116600190811790925530855282852080548216831790558480527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f88054909116821790555490519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350620005a3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620003e757600080fd5b81516001600160a01b0381168114620003ff57600080fd5b9392505050565b6000826200041857620004186200058d565b500490565b600181815b808511156200045e57816000190482111562000442576200044262000577565b808516156200045057918102915b93841c939080029062000422565b509250929050565b6000620003ff83836000826200047f575060016200051e565b816200048e575060006200051e565b8160018114620004a75760028114620004b257620004d2565b60019150506200051e565b60ff841115620004c657620004c662000577565b50506001821b6200051e565b5060208310610133831016604e8410600b8410161715620004f7575081810a6200051e565b6200050383836200041d565b80600019048211156200051a576200051a62000577565b0290505b92915050565b600081600019048311821515161562000541576200054162000577565b500290565b6000828210156200055b576200055b62000577565b500390565b6000826200057257620005726200058d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b612f0b80620005b36000396000f3fe60806040526004361061028c5760003560e01c806370a082311161015a578063aa45026b116100c1578063dd62ed3e1161007a578063dd62ed3e146107f0578063e1f21c6714610836578063e5c5369314610856578063ea2f0b3714610876578063f0f165af14610896578063f2fde38b146108b657600080fd5b8063aa45026b14610744578063b425bac31461075a578063bfb9f0561461077a578063c49b9a801461079a578063d12a7688146107ba578063d543dbeb146107d057600080fd5b80638ee88c53116101135780638ee88c531461067257806395d89b41146106925780639b58d54c146106c4578063a28835b6146106e4578063a457c2d714610704578063a9059cbb1461072457600080fd5b806370a08231146105b0578063715018a6146105d05780637c19a573146105e55780637d1db4a51461060557806388f820201461061b5780638da5cb5b1461065457600080fd5b80633685d419116101fe5780634549b039116101b75780634549b039146104e057806349bd5a5e146105005780634a74bb021461052057806352390c02146105415780635342acb4146105615780636bc87c3a1461059a57600080fd5b80633685d4191461042a578063395093511461044a5780633b124fe71461046a5780634144d9e41461048057806341cb87fc146104a0578063437823ec146104c057600080fd5b806318160ddd1161025057806318160ddd1461038b5780631f7ede2b146103a057806322976e0d146103c057806323b872dd146103d65780632d838119146103f6578063313ce5671461041657600080fd5b806306fdde0314610298578063095ea7b3146102e25780630cd7c4781461031257806313114a9d146103345780631694505e1461035357600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b5060408051808201909152600f81526e122b30b934b0b13632902a37b5b2b760891b60208201525b6040516102d99190612bc8565b60405180910390f35b3480156102ee57600080fd5b506103026102fd366004612add565b6108d6565b60405190151581526020016102d9565b34801561031e57600080fd5b5061033261032d366004612b43565b6108ed565b005b34801561034057600080fd5b50600b545b6040519081526020016102d9565b34801561035f57600080fd5b50601654610373906001600160a01b031681565b6040516001600160a01b0390911681526020016102d9565b34801561039757600080fd5b50600154610345565b3480156103ac57600080fd5b506103326103bb366004612b43565b610959565b3480156103cc57600080fd5b5061034560125481565b3480156103e257600080fd5b506103026103f1366004612a9c565b6109a9565b34801561040257600080fd5b50610345610411366004612b43565b6109fb565b34801561042257600080fd5b506012610345565b34801561043657600080fd5b50610332610445366004612a29565b610a7f565b34801561045657600080fd5b50610302610465366004612add565b610c36565b34801561047657600080fd5b50610345600c5481565b34801561048c57600080fd5b50600954610373906001600160a01b031681565b3480156104ac57600080fd5b506103326104bb366004612a29565b610c6d565b3480156104cc57600080fd5b506103326104db366004612a29565b611022565b3480156104ec57600080fd5b506103456104fb366004612b75565b611070565b34801561050c57600080fd5b50601754610373906001600160a01b031681565b34801561052c57600080fd5b5060175461030290600160a81b900460ff1681565b34801561054d57600080fd5b5061033261055c366004612a29565b6110ff565b34801561056d57600080fd5b5061030261057c366004612a29565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156105a657600080fd5b50610345600e5481565b3480156105bc57600080fd5b506103456105cb366004612a29565b611252565b3480156105dc57600080fd5b506103326112b1565b3480156105f157600080fd5b50610332610600366004612b43565b6112e7565b34801561061157600080fd5b5061034560185481565b34801561062757600080fd5b50610302610636366004612a29565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561066057600080fd5b506000546001600160a01b0316610373565b34801561067e57600080fd5b5061033261068d366004612b43565b611345565b34801561069e57600080fd5b50604080518082019091526009815268245641524941424c4560b81b60208201526102cc565b3480156106d057600080fd5b506103326106df366004612a29565b611395565b3480156106f057600080fd5b506103326106ff366004612a29565b6113f4565b34801561071057600080fd5b5061030261071f366004612add565b61151d565b34801561073057600080fd5b5061030261073f366004612add565b611554565b34801561075057600080fd5b5061034560145481565b34801561076657600080fd5b50600a54610373906001600160a01b031681565b34801561078657600080fd5b50610332610795366004612a29565b611561565b3480156107a657600080fd5b506103326107b5366004612b09565b611614565b3480156107c657600080fd5b5061034560195481565b3480156107dc57600080fd5b506103326107eb366004612b43565b611696565b3480156107fc57600080fd5b5061034561080b366004612a63565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561084257600080fd5b50610302610851366004612a9c565b6116dc565b34801561086257600080fd5b50610332610871366004612a29565b611794565b34801561088257600080fd5b50610332610891366004612a29565b611841565b3480156108a257600080fd5b506103326108b1366004612b43565b61188c565b3480156108c257600080fd5b506103326108d1366004612a29565b6118d2565b60006108e333848461196d565b5060015b92915050565b6000546001600160a01b031633146109205760405162461bcd60e51b815260040161091790612c54565b60405180910390fd5b60038111156109415760405162461bcd60e51b815260040161091790612c1d565b60128190556014546109539082612cfa565b60105550565b6000546001600160a01b031633146109835760405162461bcd60e51b815260040161091790612c54565b600a8111156109a45760405162461bcd60e51b815260040161091790612c1d565b600c55565b60006109b6848484611a5c565b6001600160a01b0384166000908152600560209081526040808320338085529252909120546109f19186916109ec908690612e3e565b61196d565b5060019392505050565b6000600254821115610a625760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610917565b6000610a6c611cf2565b9050610a788184612d12565b9392505050565b6000546001600160a01b03163314610aa95760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03811660009081526007602052604090205460ff16610b115760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610917565b60005b600854811015610c3257816001600160a01b031660088281548110610b3b57610b3b612e9c565b6000918252602090912001546001600160a01b03161415610c205760088054610b6690600190612e3e565b81548110610b7657610b76612e9c565b600091825260209091200154600880546001600160a01b039092169183908110610ba257610ba2612e9c565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610bfa57610bfa612e86565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c2a81612e55565b915050610b14565b5050565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916108e39185906109ec908690612cfa565b6000546001600160a01b03163314610c975760405162461bcd60e51b815260040161091790612c54565b6001600160a01b038116610ce65760405162461bcd60e51b815260206004820152601660248201527543616e277420536574205a65726f204164647265737360501b6044820152606401610917565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d2657600080fd5b505afa158015610d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5e9190612a46565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610da657600080fd5b505afa158015610dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dde9190612a46565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015610e2457600080fd5b505afa158015610e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5c9190612a46565b90506001600160a01b038116610ffe57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610ea557600080fd5b505afa158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd9190612a46565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2557600080fd5b505afa158015610f39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5d9190612a46565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610fa557600080fd5b505af1158015610fb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdd9190612a46565b601780546001600160a01b0319166001600160a01b03929092169190911790555b50601680546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b0316331461104c5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b60006001548311156110c45760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610917565b816110e45760006110d484611d15565b509496506108e795505050505050565b60006110ef84611d15565b509396506108e795505050505050565b6000546001600160a01b031633146111295760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03811660009081526007602052604090205460ff16156111925760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610917565b6001600160a01b038116600090815260036020526040902054156111ec576001600160a01b0381166000908152600360205260409020546111d2906109fb565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b03811660009081526007602052604081205460ff161561128f57506001600160a01b031660009081526004602052604090205490565b6001600160a01b0382166000908152600360205260409020546108e7906109fb565b6000546001600160a01b031633146112db5760405162461bcd60e51b815260040161091790612c54565b6112e56000611d70565b565b6000546001600160a01b031633146113115760405162461bcd60e51b815260040161091790612c54565b60058111156113325760405162461bcd60e51b815260040161091790612c1d565b6014819055601254610953908290612cfa565b6000546001600160a01b0316331461136f5760405162461bcd60e51b815260040161091790612c54565b600c8111156113905760405162461bcd60e51b815260040161091790612c1d565b600e55565b6000546001600160a01b031633146113bf5760405162461bcd60e51b815260040161091790612c54565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610c32573d6000803e3d6000fd5b6000546001600160a01b0316331461141e5760405162461bcd60e51b815260040161091790612c54565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b15801561146757600080fd5b505afa15801561147b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149f9190612b5c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156114e557600080fd5b505af11580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c329190612b26565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916108e39185906109ec908690612e3e565b60006108e3338484611a5c565b6000546001600160a01b0316331461158b5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b0381166115f25760405162461bcd60e51b815260206004820152602860248201527f736574206d61726b6574696e672077616c6c657420746f20746865207a65726f604482015267206164647265737360c01b6064820152608401610917565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461163e5760405162461bcd60e51b815260040161091790612c54565b60178054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061168b90831515815260200190565b60405180910390a150565b6000546001600160a01b031633146116c05760405162461bcd60e51b815260040161091790612c54565b6116cc6012600a612d77565b6116d69082612e1f565b60185550565b600080546001600160a01b031633146117075760405162461bcd60e51b815260040161091790612c54565b60405163095ea7b360e01b81526001600160a01b0384811660048301526024820184905285169063095ea7b390604401602060405180830381600087803b15801561175157600080fd5b505af1158015611765573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117899190612b26565b506001949350505050565b6000546001600160a01b031633146117be5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03811661181f5760405162461bcd60e51b815260206004820152602260248201527f736574206465762077616c6c657420746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610917565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461186b5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b031633146118b65760405162461bcd60e51b815260040161091790612c54565b6118c26012600a612d77565b6118cc9082612e1f565b60195550565b6000546001600160a01b031633146118fc5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b0381166119615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610917565b61196a81611d70565b50565b6001600160a01b0383166119cf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610917565b6001600160a01b038216611a305760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610917565b6001600160a01b0392831660009081526005602090815260408083209490951682529290925291902055565b6001600160a01b038316611ac05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610917565b6001600160a01b038216611b225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610917565b60008111611b845760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610917565b6000546001600160a01b03848116911614801590611bb057506000546001600160a01b03838116911614155b15611c1857601854811115611c185760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610917565b6000611c2330611252565b90506018548110611c3357506018545b60195481108015908190611c515750601754600160a01b900460ff16155b8015611c6b57506017546001600160a01b03868116911614155b8015611c805750601754600160a81b900460ff165b15611c93576019549150611c9382611dc0565b6001600160a01b03851660009081526006602052604090205460019060ff1680611cd557506001600160a01b03851660009081526006602052604090205460ff165b15611cde575060005b611cea86868684611e67565b505050505050565b6000806000611cff61206f565b9092509050611d0e8183612d12565b9250505090565b6000806000806000806000806000806000611d2f8c6121f2565b93509350935093506000806000611d508f878787611d4b611cf2565b612251565b919f509d509b509599509397509195509350505050919395979092949650565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6017805460ff60a01b1916600160a01b1790556000611de0600283612d12565b90506000611dee8284612e3e565b905047611dfa836122c3565b6000611e068247612e3e565b9050611e128382612424565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506017805460ff60a01b19169055505050565b80611ea657611ea6600c8054600d55600e8054600f55601080546011556012805460135560148054601555600094859055928490559083905582905555565b6001600160a01b03841660009081526007602052604090205460ff168015611ee757506001600160a01b03831660009081526007602052604090205460ff16155b15611efc57611ef78484846124e4565b612041565b6001600160a01b03841660009081526007602052604090205460ff16158015611f3d57506001600160a01b03831660009081526007602052604090205460ff165b15611f4d57611ef7848484612617565b6001600160a01b03841660009081526007602052604090205460ff16158015611f8f57506001600160a01b03831660009081526007602052604090205460ff16155b15611f9f57611ef78484846126c4565b6001600160a01b03841660009081526007602052604090205460ff168015611fdf57506001600160a01b03831660009081526007602052604090205460ff165b15611fef57611ef784848461270a565b6001600160a01b03841660009081526007602052604090205460ff1615801561203157506001600160a01b03831660009081526007602052604090205460ff16155b15612041576120418484846126c4565b8061206957612069600d54600c55600f54600e55601154601055601354601255601554601455565b50505050565b6002546001546000918291825b6008548110156121c15782600360006008848154811061209e5761209e612e9c565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061210957508160046000600884815481106120e2576120e2612e9c565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561211f57600254600154945094505050509091565b600360006008838154811061213657612136612e9c565b60009182526020808320909101546001600160a01b031683528201929092526040019020546121659084612e3e565b9250600460006008838154811061217e5761217e612e9c565b60009182526020808320909101546001600160a01b031683528201929092526040019020546121ad9083612e3e565b9150806121b981612e55565b91505061207c565b506001546002546121d29190612d12565b8210156121e9576002546001549350935050509091565b90939092509050565b600080600080600061220386612780565b905060006122108761279c565b9050600061221d886127ae565b90506000818361222d868c612e3e565b6122379190612e3e565b6122419190612e3e565b9993985091965094509092505050565b6000808080612260858a612e1f565b9050600061226e868a612e1f565b9050600061227c878a612e1f565b9050600061228a888a612e1f565b90506000818361229a8688612e3e565b6122a49190612e3e565b6122ae9190612e3e565b949d949c50929a509298505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122f8576122f8612e9c565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561234c57600080fd5b505afa158015612360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123849190612a46565b8160018151811061239757612397612e9c565b6001600160a01b0392831660209182029290920101526016546123bd913091168461196d565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac947906123f6908590600090869030904290600401612c89565b600060405180830381600087803b15801561241057600080fd5b505af1158015611cea573d6000803e3d6000fd5b60165461243c9030906001600160a01b03168461196d565b60165460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b1580156124a457600080fd5b505af11580156124b8573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906124dd9190612b9a565b5050505050565b6000806000806000806124f687611d15565b506001600160a01b038f16600090815260046020526040902054959b5093995091975095509350915061252a908890612e3e565b6001600160a01b038a1660009081526004602090815260408083209390935560039052205461255a908790612e3e565b6001600160a01b03808b1660009081526003602052604080822093909355908a168152205461258a908690612cfa565b6001600160a01b0389166000908152600360205260409020556125ac816127c0565b6125b58761284b565b6125bf84836129f1565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161260491815260200190565b60405180910390a3505050505050505050565b60008060008060008061262987611d15565b506001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061265d908790612e3e565b6001600160a01b03808b16600090815260036020908152604080832094909455918b16815260049091522054612694908490612cfa565b6001600160a01b03891660009081526004602090815260408083209390935560039052205461258a908690612cfa565b6000806000806000806126d687611d15565b506001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061255a908790612e3e565b60008060008060008061271c87611d15565b506001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150612750908890612e3e565b6001600160a01b038a1660009081526004602090815260408083209390935560039052205461265d908790612e3e565b60006064600c54836127929190612e1f565b6108e79190612d12565b60006064600e54836127929190612e1f565b60006064601054836127929190612e1f565b60006127ca611cf2565b905060006127d88284612e1f565b306000908152600360205260409020549091506127f6908290612cfa565b3060009081526003602090815260408083209390935560079052205460ff16156128465730600090815260046020526040902054612835908490612cfa565b306000908152600460205260409020555b505050565b6000612855611cf2565b90506000612862836127ae565b9050600061286f84612a17565b9050600061287d8284612e3e565b9050600061288b8585612e1f565b905060006128998684612e1f565b905060006128a78284612e3e565b600a546001600160a01b03166000908152600360205260409020549091506128d0908390612cfa565b600a546001600160a01b039081166000908152600360205260408082209390935560095490911681522054612906908290612cfa565b6009546001600160a01b03908116600090815260036020908152604080832094909455600a5490921681526007909152205460ff161561298257600a546001600160a01b0316600090815260046020526040902054612966908590612cfa565b600a546001600160a01b03166000908152600460205260409020555b6009546001600160a01b031660009081526007602052604090205460ff16156129e7576009546001600160a01b03166000908152600460205260409020546129cb908690612cfa565b6009546001600160a01b03166000908152600460205260409020555b5050505050505050565b816002546129ff9190612e3e565b600255600b54612a10908290612cfa565b600b555050565b60006064601254836127929190612e1f565b600060208284031215612a3b57600080fd5b8135610a7881612eb2565b600060208284031215612a5857600080fd5b8151610a7881612eb2565b60008060408385031215612a7657600080fd5b8235612a8181612eb2565b91506020830135612a9181612eb2565b809150509250929050565b600080600060608486031215612ab157600080fd5b8335612abc81612eb2565b92506020840135612acc81612eb2565b929592945050506040919091013590565b60008060408385031215612af057600080fd5b8235612afb81612eb2565b946020939093013593505050565b600060208284031215612b1b57600080fd5b8135610a7881612ec7565b600060208284031215612b3857600080fd5b8151610a7881612ec7565b600060208284031215612b5557600080fd5b5035919050565b600060208284031215612b6e57600080fd5b5051919050565b60008060408385031215612b8857600080fd5b823591506020830135612a9181612ec7565b600080600060608486031215612baf57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b81811015612bf557858101830151858201604001528201612bd9565b81811115612c07576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252601a908201527f5570706572204c696d6974204f66204665652052656163686564000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612cd95784516001600160a01b031683529383019391830191600101612cb4565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115612d0d57612d0d612e70565b500190565b600082612d2f57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115612d6f578160001904821115612d5557612d55612e70565b80851615612d6257918102915b93841c9390800290612d39565b509250929050565b6000610a788383600082612d8d575060016108e7565b81612d9a575060006108e7565b8160018114612db05760028114612dba57612dd6565b60019150506108e7565b60ff841115612dcb57612dcb612e70565b50506001821b6108e7565b5060208310610133831016604e8410600b8410161715612df9575081810a6108e7565b612e038383612d34565b8060001904821115612e1757612e17612e70565b029392505050565b6000816000190483118215151615612e3957612e39612e70565b500290565b600082821015612e5057612e50612e70565b500390565b6000600019821415612e6957612e69612e70565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461196a57600080fd5b801515811461196a57600080fdfea2646970667358221220b75fb7250f924ff3d847ded95c6f4aa1f11c2c4c45b78b48d9f5489d736a22b764736f6c63430008070033

Deployed Bytecode

0x60806040526004361061028c5760003560e01c806370a082311161015a578063aa45026b116100c1578063dd62ed3e1161007a578063dd62ed3e146107f0578063e1f21c6714610836578063e5c5369314610856578063ea2f0b3714610876578063f0f165af14610896578063f2fde38b146108b657600080fd5b8063aa45026b14610744578063b425bac31461075a578063bfb9f0561461077a578063c49b9a801461079a578063d12a7688146107ba578063d543dbeb146107d057600080fd5b80638ee88c53116101135780638ee88c531461067257806395d89b41146106925780639b58d54c146106c4578063a28835b6146106e4578063a457c2d714610704578063a9059cbb1461072457600080fd5b806370a08231146105b0578063715018a6146105d05780637c19a573146105e55780637d1db4a51461060557806388f820201461061b5780638da5cb5b1461065457600080fd5b80633685d419116101fe5780634549b039116101b75780634549b039146104e057806349bd5a5e146105005780634a74bb021461052057806352390c02146105415780635342acb4146105615780636bc87c3a1461059a57600080fd5b80633685d4191461042a578063395093511461044a5780633b124fe71461046a5780634144d9e41461048057806341cb87fc146104a0578063437823ec146104c057600080fd5b806318160ddd1161025057806318160ddd1461038b5780631f7ede2b146103a057806322976e0d146103c057806323b872dd146103d65780632d838119146103f6578063313ce5671461041657600080fd5b806306fdde0314610298578063095ea7b3146102e25780630cd7c4781461031257806313114a9d146103345780631694505e1461035357600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b5060408051808201909152600f81526e122b30b934b0b13632902a37b5b2b760891b60208201525b6040516102d99190612bc8565b60405180910390f35b3480156102ee57600080fd5b506103026102fd366004612add565b6108d6565b60405190151581526020016102d9565b34801561031e57600080fd5b5061033261032d366004612b43565b6108ed565b005b34801561034057600080fd5b50600b545b6040519081526020016102d9565b34801561035f57600080fd5b50601654610373906001600160a01b031681565b6040516001600160a01b0390911681526020016102d9565b34801561039757600080fd5b50600154610345565b3480156103ac57600080fd5b506103326103bb366004612b43565b610959565b3480156103cc57600080fd5b5061034560125481565b3480156103e257600080fd5b506103026103f1366004612a9c565b6109a9565b34801561040257600080fd5b50610345610411366004612b43565b6109fb565b34801561042257600080fd5b506012610345565b34801561043657600080fd5b50610332610445366004612a29565b610a7f565b34801561045657600080fd5b50610302610465366004612add565b610c36565b34801561047657600080fd5b50610345600c5481565b34801561048c57600080fd5b50600954610373906001600160a01b031681565b3480156104ac57600080fd5b506103326104bb366004612a29565b610c6d565b3480156104cc57600080fd5b506103326104db366004612a29565b611022565b3480156104ec57600080fd5b506103456104fb366004612b75565b611070565b34801561050c57600080fd5b50601754610373906001600160a01b031681565b34801561052c57600080fd5b5060175461030290600160a81b900460ff1681565b34801561054d57600080fd5b5061033261055c366004612a29565b6110ff565b34801561056d57600080fd5b5061030261057c366004612a29565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156105a657600080fd5b50610345600e5481565b3480156105bc57600080fd5b506103456105cb366004612a29565b611252565b3480156105dc57600080fd5b506103326112b1565b3480156105f157600080fd5b50610332610600366004612b43565b6112e7565b34801561061157600080fd5b5061034560185481565b34801561062757600080fd5b50610302610636366004612a29565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561066057600080fd5b506000546001600160a01b0316610373565b34801561067e57600080fd5b5061033261068d366004612b43565b611345565b34801561069e57600080fd5b50604080518082019091526009815268245641524941424c4560b81b60208201526102cc565b3480156106d057600080fd5b506103326106df366004612a29565b611395565b3480156106f057600080fd5b506103326106ff366004612a29565b6113f4565b34801561071057600080fd5b5061030261071f366004612add565b61151d565b34801561073057600080fd5b5061030261073f366004612add565b611554565b34801561075057600080fd5b5061034560145481565b34801561076657600080fd5b50600a54610373906001600160a01b031681565b34801561078657600080fd5b50610332610795366004612a29565b611561565b3480156107a657600080fd5b506103326107b5366004612b09565b611614565b3480156107c657600080fd5b5061034560195481565b3480156107dc57600080fd5b506103326107eb366004612b43565b611696565b3480156107fc57600080fd5b5061034561080b366004612a63565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561084257600080fd5b50610302610851366004612a9c565b6116dc565b34801561086257600080fd5b50610332610871366004612a29565b611794565b34801561088257600080fd5b50610332610891366004612a29565b611841565b3480156108a257600080fd5b506103326108b1366004612b43565b61188c565b3480156108c257600080fd5b506103326108d1366004612a29565b6118d2565b60006108e333848461196d565b5060015b92915050565b6000546001600160a01b031633146109205760405162461bcd60e51b815260040161091790612c54565b60405180910390fd5b60038111156109415760405162461bcd60e51b815260040161091790612c1d565b60128190556014546109539082612cfa565b60105550565b6000546001600160a01b031633146109835760405162461bcd60e51b815260040161091790612c54565b600a8111156109a45760405162461bcd60e51b815260040161091790612c1d565b600c55565b60006109b6848484611a5c565b6001600160a01b0384166000908152600560209081526040808320338085529252909120546109f19186916109ec908690612e3e565b61196d565b5060019392505050565b6000600254821115610a625760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610917565b6000610a6c611cf2565b9050610a788184612d12565b9392505050565b6000546001600160a01b03163314610aa95760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03811660009081526007602052604090205460ff16610b115760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610917565b60005b600854811015610c3257816001600160a01b031660088281548110610b3b57610b3b612e9c565b6000918252602090912001546001600160a01b03161415610c205760088054610b6690600190612e3e565b81548110610b7657610b76612e9c565b600091825260209091200154600880546001600160a01b039092169183908110610ba257610ba2612e9c565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610bfa57610bfa612e86565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c2a81612e55565b915050610b14565b5050565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916108e39185906109ec908690612cfa565b6000546001600160a01b03163314610c975760405162461bcd60e51b815260040161091790612c54565b6001600160a01b038116610ce65760405162461bcd60e51b815260206004820152601660248201527543616e277420536574205a65726f204164647265737360501b6044820152606401610917565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d2657600080fd5b505afa158015610d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5e9190612a46565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610da657600080fd5b505afa158015610dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dde9190612a46565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015610e2457600080fd5b505afa158015610e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5c9190612a46565b90506001600160a01b038116610ffe57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610ea557600080fd5b505afa158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd9190612a46565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2557600080fd5b505afa158015610f39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5d9190612a46565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610fa557600080fd5b505af1158015610fb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdd9190612a46565b601780546001600160a01b0319166001600160a01b03929092169190911790555b50601680546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b0316331461104c5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b60006001548311156110c45760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610917565b816110e45760006110d484611d15565b509496506108e795505050505050565b60006110ef84611d15565b509396506108e795505050505050565b6000546001600160a01b031633146111295760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03811660009081526007602052604090205460ff16156111925760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610917565b6001600160a01b038116600090815260036020526040902054156111ec576001600160a01b0381166000908152600360205260409020546111d2906109fb565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b03811660009081526007602052604081205460ff161561128f57506001600160a01b031660009081526004602052604090205490565b6001600160a01b0382166000908152600360205260409020546108e7906109fb565b6000546001600160a01b031633146112db5760405162461bcd60e51b815260040161091790612c54565b6112e56000611d70565b565b6000546001600160a01b031633146113115760405162461bcd60e51b815260040161091790612c54565b60058111156113325760405162461bcd60e51b815260040161091790612c1d565b6014819055601254610953908290612cfa565b6000546001600160a01b0316331461136f5760405162461bcd60e51b815260040161091790612c54565b600c8111156113905760405162461bcd60e51b815260040161091790612c1d565b600e55565b6000546001600160a01b031633146113bf5760405162461bcd60e51b815260040161091790612c54565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610c32573d6000803e3d6000fd5b6000546001600160a01b0316331461141e5760405162461bcd60e51b815260040161091790612c54565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b15801561146757600080fd5b505afa15801561147b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149f9190612b5c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156114e557600080fd5b505af11580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c329190612b26565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916108e39185906109ec908690612e3e565b60006108e3338484611a5c565b6000546001600160a01b0316331461158b5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b0381166115f25760405162461bcd60e51b815260206004820152602860248201527f736574206d61726b6574696e672077616c6c657420746f20746865207a65726f604482015267206164647265737360c01b6064820152608401610917565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461163e5760405162461bcd60e51b815260040161091790612c54565b60178054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061168b90831515815260200190565b60405180910390a150565b6000546001600160a01b031633146116c05760405162461bcd60e51b815260040161091790612c54565b6116cc6012600a612d77565b6116d69082612e1f565b60185550565b600080546001600160a01b031633146117075760405162461bcd60e51b815260040161091790612c54565b60405163095ea7b360e01b81526001600160a01b0384811660048301526024820184905285169063095ea7b390604401602060405180830381600087803b15801561175157600080fd5b505af1158015611765573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117899190612b26565b506001949350505050565b6000546001600160a01b031633146117be5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03811661181f5760405162461bcd60e51b815260206004820152602260248201527f736574206465762077616c6c657420746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610917565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461186b5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b031633146118b65760405162461bcd60e51b815260040161091790612c54565b6118c26012600a612d77565b6118cc9082612e1f565b60195550565b6000546001600160a01b031633146118fc5760405162461bcd60e51b815260040161091790612c54565b6001600160a01b0381166119615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610917565b61196a81611d70565b50565b6001600160a01b0383166119cf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610917565b6001600160a01b038216611a305760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610917565b6001600160a01b0392831660009081526005602090815260408083209490951682529290925291902055565b6001600160a01b038316611ac05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610917565b6001600160a01b038216611b225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610917565b60008111611b845760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610917565b6000546001600160a01b03848116911614801590611bb057506000546001600160a01b03838116911614155b15611c1857601854811115611c185760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610917565b6000611c2330611252565b90506018548110611c3357506018545b60195481108015908190611c515750601754600160a01b900460ff16155b8015611c6b57506017546001600160a01b03868116911614155b8015611c805750601754600160a81b900460ff165b15611c93576019549150611c9382611dc0565b6001600160a01b03851660009081526006602052604090205460019060ff1680611cd557506001600160a01b03851660009081526006602052604090205460ff165b15611cde575060005b611cea86868684611e67565b505050505050565b6000806000611cff61206f565b9092509050611d0e8183612d12565b9250505090565b6000806000806000806000806000806000611d2f8c6121f2565b93509350935093506000806000611d508f878787611d4b611cf2565b612251565b919f509d509b509599509397509195509350505050919395979092949650565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6017805460ff60a01b1916600160a01b1790556000611de0600283612d12565b90506000611dee8284612e3e565b905047611dfa836122c3565b6000611e068247612e3e565b9050611e128382612424565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506017805460ff60a01b19169055505050565b80611ea657611ea6600c8054600d55600e8054600f55601080546011556012805460135560148054601555600094859055928490559083905582905555565b6001600160a01b03841660009081526007602052604090205460ff168015611ee757506001600160a01b03831660009081526007602052604090205460ff16155b15611efc57611ef78484846124e4565b612041565b6001600160a01b03841660009081526007602052604090205460ff16158015611f3d57506001600160a01b03831660009081526007602052604090205460ff165b15611f4d57611ef7848484612617565b6001600160a01b03841660009081526007602052604090205460ff16158015611f8f57506001600160a01b03831660009081526007602052604090205460ff16155b15611f9f57611ef78484846126c4565b6001600160a01b03841660009081526007602052604090205460ff168015611fdf57506001600160a01b03831660009081526007602052604090205460ff165b15611fef57611ef784848461270a565b6001600160a01b03841660009081526007602052604090205460ff1615801561203157506001600160a01b03831660009081526007602052604090205460ff16155b15612041576120418484846126c4565b8061206957612069600d54600c55600f54600e55601154601055601354601255601554601455565b50505050565b6002546001546000918291825b6008548110156121c15782600360006008848154811061209e5761209e612e9c565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061210957508160046000600884815481106120e2576120e2612e9c565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561211f57600254600154945094505050509091565b600360006008838154811061213657612136612e9c565b60009182526020808320909101546001600160a01b031683528201929092526040019020546121659084612e3e565b9250600460006008838154811061217e5761217e612e9c565b60009182526020808320909101546001600160a01b031683528201929092526040019020546121ad9083612e3e565b9150806121b981612e55565b91505061207c565b506001546002546121d29190612d12565b8210156121e9576002546001549350935050509091565b90939092509050565b600080600080600061220386612780565b905060006122108761279c565b9050600061221d886127ae565b90506000818361222d868c612e3e565b6122379190612e3e565b6122419190612e3e565b9993985091965094509092505050565b6000808080612260858a612e1f565b9050600061226e868a612e1f565b9050600061227c878a612e1f565b9050600061228a888a612e1f565b90506000818361229a8688612e3e565b6122a49190612e3e565b6122ae9190612e3e565b949d949c50929a509298505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122f8576122f8612e9c565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561234c57600080fd5b505afa158015612360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123849190612a46565b8160018151811061239757612397612e9c565b6001600160a01b0392831660209182029290920101526016546123bd913091168461196d565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac947906123f6908590600090869030904290600401612c89565b600060405180830381600087803b15801561241057600080fd5b505af1158015611cea573d6000803e3d6000fd5b60165461243c9030906001600160a01b03168461196d565b60165460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b1580156124a457600080fd5b505af11580156124b8573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906124dd9190612b9a565b5050505050565b6000806000806000806124f687611d15565b506001600160a01b038f16600090815260046020526040902054959b5093995091975095509350915061252a908890612e3e565b6001600160a01b038a1660009081526004602090815260408083209390935560039052205461255a908790612e3e565b6001600160a01b03808b1660009081526003602052604080822093909355908a168152205461258a908690612cfa565b6001600160a01b0389166000908152600360205260409020556125ac816127c0565b6125b58761284b565b6125bf84836129f1565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161260491815260200190565b60405180910390a3505050505050505050565b60008060008060008061262987611d15565b506001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061265d908790612e3e565b6001600160a01b03808b16600090815260036020908152604080832094909455918b16815260049091522054612694908490612cfa565b6001600160a01b03891660009081526004602090815260408083209390935560039052205461258a908690612cfa565b6000806000806000806126d687611d15565b506001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061255a908790612e3e565b60008060008060008061271c87611d15565b506001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150612750908890612e3e565b6001600160a01b038a1660009081526004602090815260408083209390935560039052205461265d908790612e3e565b60006064600c54836127929190612e1f565b6108e79190612d12565b60006064600e54836127929190612e1f565b60006064601054836127929190612e1f565b60006127ca611cf2565b905060006127d88284612e1f565b306000908152600360205260409020549091506127f6908290612cfa565b3060009081526003602090815260408083209390935560079052205460ff16156128465730600090815260046020526040902054612835908490612cfa565b306000908152600460205260409020555b505050565b6000612855611cf2565b90506000612862836127ae565b9050600061286f84612a17565b9050600061287d8284612e3e565b9050600061288b8585612e1f565b905060006128998684612e1f565b905060006128a78284612e3e565b600a546001600160a01b03166000908152600360205260409020549091506128d0908390612cfa565b600a546001600160a01b039081166000908152600360205260408082209390935560095490911681522054612906908290612cfa565b6009546001600160a01b03908116600090815260036020908152604080832094909455600a5490921681526007909152205460ff161561298257600a546001600160a01b0316600090815260046020526040902054612966908590612cfa565b600a546001600160a01b03166000908152600460205260409020555b6009546001600160a01b031660009081526007602052604090205460ff16156129e7576009546001600160a01b03166000908152600460205260409020546129cb908690612cfa565b6009546001600160a01b03166000908152600460205260409020555b5050505050505050565b816002546129ff9190612e3e565b600255600b54612a10908290612cfa565b600b555050565b60006064601254836127929190612e1f565b600060208284031215612a3b57600080fd5b8135610a7881612eb2565b600060208284031215612a5857600080fd5b8151610a7881612eb2565b60008060408385031215612a7657600080fd5b8235612a8181612eb2565b91506020830135612a9181612eb2565b809150509250929050565b600080600060608486031215612ab157600080fd5b8335612abc81612eb2565b92506020840135612acc81612eb2565b929592945050506040919091013590565b60008060408385031215612af057600080fd5b8235612afb81612eb2565b946020939093013593505050565b600060208284031215612b1b57600080fd5b8135610a7881612ec7565b600060208284031215612b3857600080fd5b8151610a7881612ec7565b600060208284031215612b5557600080fd5b5035919050565b600060208284031215612b6e57600080fd5b5051919050565b60008060408385031215612b8857600080fd5b823591506020830135612a9181612ec7565b600080600060608486031215612baf57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b81811015612bf557858101830151858201604001528201612bd9565b81811115612c07576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252601a908201527f5570706572204c696d6974204f66204665652052656163686564000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612cd95784516001600160a01b031683529383019391830191600101612cb4565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115612d0d57612d0d612e70565b500190565b600082612d2f57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115612d6f578160001904821115612d5557612d55612e70565b80851615612d6257918102915b93841c9390800290612d39565b509250929050565b6000610a788383600082612d8d575060016108e7565b81612d9a575060006108e7565b8160018114612db05760028114612dba57612dd6565b60019150506108e7565b60ff841115612dcb57612dcb612e70565b50506001821b6108e7565b5060208310610133831016604e8410600b8410161715612df9575081810a6108e7565b612e038383612d34565b8060001904821115612e1757612e17612e70565b029392505050565b6000816000190483118215151615612e3957612e39612e70565b500290565b600082821015612e5057612e50612e70565b500390565b6000600019821415612e6957612e69612e70565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461196a57600080fd5b801515811461196a57600080fdfea2646970667358221220b75fb7250f924ff3d847ded95c6f4aa1f11c2c4c45b78b48d9f5489d736a22b764736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.