ETH Price: $3,673.60 (+2.70%)

Token

ERC-20: Shed Coin (SHED)
 

Overview

Max Total Supply

1,000,000,000,000 SHED

Holders

256

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Filtered by Token Holder
Uniswap V2: SHED
Balance
0.000004458 SHED

Value
$0.00
0x93154cb8556d12c0d54aab77d3ede2ea0ed42237
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:
SHED

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : SHED.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';

contract SHED is Context, IERC20, Ownable {
  using SafeMath for uint256;
  using Address for address;

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

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

  uint256 private constant MAX = ~uint256(0);
  uint256 private _tTotal = 1000000000000 * 10**9;
  uint256 public _supplyToStopBurning = _tTotal.div(10**6);
  uint256 private _rTotal = (MAX - (MAX % _tTotal));
  uint256 private _tFeeTotal;

  string private _name = 'Shed Coin';
  string private _symbol = 'SHED';
  uint8 private _decimals = 9;

  uint256 public _taxFee = 0;
  uint256 private _previousTaxFee = _taxFee;

  uint256 public _liquidityFee = 2;
  uint256 private _previousLiquidityFee = _liquidityFee;

  uint256 public _burnFee = 4;
  uint256 private _previousBurnFee = _burnFee;

  uint256 private _maxPriceImpPerc = 2;

  uint256 private _maxBuyPercent = 1;
  uint256 private _maxBuySeconds = 2 * 60 * 60; // 2 hours in seconds after launch
  bool public overrideMaxBuy = false;

  uint256 public launchTime;

  IUniswapV2Router02 public uniswapV2Router;
  address public uniswapV2Pair;

  // PancakeSwap: 0x10ED43C718714eb63d5aA57B78B54704E256024E
  // Uniswap V2: 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
  address private _uniswapRouterAddress =
    0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

  bool inSwapAndLiquify;

  bool tradingOpen = false;

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

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

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

  constructor() {
    _rOwned[_msgSender()] = _rTotal;
    emit Transfer(address(0), _msgSender(), _tTotal);
  }

  function initContract() external onlyOwner {
    IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
      _uniswapRouterAddress
    );
    uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(
      address(this),
      _uniswapV2Router.WETH()
    );

    uniswapV2Router = _uniswapV2Router;

    _isExcludedFromFee[owner()] = true;
    _isExcludedFromFee[address(this)] = true;
  }

  function openTrading() external onlyOwner {
    _liquidityFee = _previousLiquidityFee;
    _taxFee = _previousTaxFee;
    _burnFee = _previousBurnFee;
    tradingOpen = true;
    launchTime = block.timestamp;
  }

  function closeTrading() external onlyOwner {
    tradingOpen = false;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  function isEnforcingMaxBuy() public view returns (bool) {
    return !overrideMaxBuy && block.timestamp <= launchTime.add(_maxBuySeconds);
  }

  function overrideMaxRestriction(bool canBuyAnyAmount) external {
    overrideMaxBuy = canBuyAnyAmount;
  }

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

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

  function excludeFromReward(address account) public onlyOwner {
    require(!_isExcluded[account], 'Account is already excluded');
    if (_rOwned[account] > 0) {
      _tOwned[account] = tokenFromReflection(_rOwned[account]);
    }
    _isExcluded[account] = true;
    _excluded.push(account);
  }

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

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

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

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

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

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

      // check max buy restriction after launch
      if (isEnforcingMaxBuy()) {
        require(
          amount <= balanceOf(uniswapV2Pair).mul(_maxBuyPercent).div(100),
          'you have exceeded the maximum you can buy immediately after launch'
        );
      }
    }

    uint256 contractTokenBalance = balanceOf(address(this));

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

    bool takeFee = false;

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

    _checkAndStopBurning();

    _tokenTransfer(from, to, amount, takeFee);
  }

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

    //Send to Marketing address
    uint256 contractETHBalance = address(this).balance;
    if (contractETHBalance > 0) {
      sendETHToMarketing(address(this).balance);
    }
  }

  function _checkAndStopBurning() private {
    if (_burnFee == 0) return;
    uint256 _supplyNotBurned = totalSupply().sub(balanceOf(deadAddress));
    if (_supplyNotBurned <= _supplyToStopBurning) {
      setBurnFeePercent(0);
    }
  }

  function sendETHToMarketing(uint256 amount) private {
    // marketingAddress.transfer(amount);
    // Ignore the boolean return value. If it gets stuck, then retrieve via `emergencyWithdraw`.
    marketingAddress.call{ value: amount }('');
  }

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

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

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

    emit SwapTokensForETH(tokenAmount, path);
  }

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

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

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

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

    if (!takeFee) restoreAllFee();
  }

  function _transferStandard(
    address sender,
    address recipient,
    uint256 tAmount
  ) private {
    (
      uint256 rAmount,
      uint256 rTransferAmount,
      uint256 rFee,
      ,
      uint256 tFee,
      uint256 tLiquidity
    ) = _getValues(tAmount);
    _rOwned[sender] = _rOwned[sender].sub(rAmount);

    uint256 _recipientBalBefore = balanceOf(recipient);
    uint256 _deadBalBefore = balanceOf(deadAddress);

    (uint256 rBurnAmount, ) = _adjustReflectBalanceRefs(
      recipient,
      rTransferAmount
    );
    _takeLiquidityReflectAndEmitTransfers(
      sender,
      recipient,
      _recipientBalBefore,
      _deadBalBefore,
      rBurnAmount,
      tLiquidity,
      rFee,
      tFee
    );
  }

  function _transferToExcluded(
    address sender,
    address recipient,
    uint256 tAmount
  ) private {
    (
      uint256 rAmount,
      uint256 rTransferAmount,
      uint256 rFee,
      uint256 tTransferAmount,
      uint256 tFee,
      uint256 tLiquidity
    ) = _getValues(tAmount);
    _rOwned[sender] = _rOwned[sender].sub(rAmount);

    uint256 _recipientBalBefore = balanceOf(recipient);
    uint256 _deadBalBefore = balanceOf(deadAddress);

    _adjustTotalBalanceRefs(recipient, tTransferAmount, rTransferAmount);
    (uint256 rBurnAmount, ) = _adjustReflectBalanceRefs(
      recipient,
      rTransferAmount
    );
    _takeLiquidityReflectAndEmitTransfers(
      sender,
      recipient,
      _recipientBalBefore,
      _deadBalBefore,
      rBurnAmount,
      tLiquidity,
      rFee,
      tFee
    );
  }

  function _transferFromExcluded(
    address sender,
    address recipient,
    uint256 tAmount
  ) private {
    (
      uint256 rAmount,
      uint256 rTransferAmount,
      uint256 rFee,
      ,
      uint256 tFee,
      uint256 tLiquidity
    ) = _getValues(tAmount);
    _tOwned[sender] = _tOwned[sender].sub(tAmount);
    _rOwned[sender] = _rOwned[sender].sub(rAmount);

    uint256 _recipientBalBefore = balanceOf(recipient);
    uint256 _deadBalBefore = balanceOf(deadAddress);

    (uint256 rBurnAmount, ) = _adjustReflectBalanceRefs(
      recipient,
      rTransferAmount
    );
    _takeLiquidityReflectAndEmitTransfers(
      sender,
      recipient,
      _recipientBalBefore,
      _deadBalBefore,
      rBurnAmount,
      tLiquidity,
      rFee,
      tFee
    );
  }

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

    uint256 _recipientBalBefore = balanceOf(recipient);
    uint256 _deadBalBefore = balanceOf(deadAddress);

    _adjustTotalBalanceRefs(recipient, tTransferAmount, rTransferAmount);
    (uint256 rBurnAmount, ) = _adjustReflectBalanceRefs(
      recipient,
      rTransferAmount
    );
    _takeLiquidityReflectAndEmitTransfers(
      sender,
      recipient,
      _recipientBalBefore,
      _deadBalBefore,
      rBurnAmount,
      tLiquidity,
      rFee,
      tFee
    );
  }

  function _adjustTotalBalanceRefs(
    address recipient,
    uint256 tTransferAmount,
    uint256 rTransferAmount
  ) private {
    uint256 tBurnAmount = calculateBurnFee(tTransferAmount);
    uint256 tRecipientAmount = rTransferAmount.sub(tBurnAmount);
    _tOwned[recipient] = _tOwned[recipient].add(tRecipientAmount);
    _tOwned[deadAddress] = _tOwned[deadAddress].add(tBurnAmount);
  }

  function _adjustReflectBalanceRefs(address recipient, uint256 rTransferAmount)
    private
    returns (uint256, uint256)
  {
    uint256 rBurnAmount = calculateBurnFee(rTransferAmount);
    uint256 rRecipientAmount = rTransferAmount.sub(rBurnAmount);
    _rOwned[recipient] = _rOwned[recipient].add(rRecipientAmount);
    _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount);
    return (rBurnAmount, rRecipientAmount);
  }

  function _takeLiquidityReflectAndEmitTransfers(
    address sender,
    address recipient,
    uint256 recipientBalBefore,
    uint256 deadBalBefore,
    uint256 rBurnAmount,
    uint256 tLiquidity,
    uint256 rFee,
    uint256 tFee
  ) private {
    _takeLiquidity(tLiquidity);
    _reflectFee(rFee, tFee);
    emit Transfer(
      sender,
      recipient,
      balanceOf(recipient).sub(recipientBalBefore)
    );
    if (rBurnAmount > 0) {
      emit Transfer(
        sender,
        deadAddress,
        balanceOf(deadAddress).sub(deadBalBefore)
      );
    }
  }

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

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

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

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

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

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

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

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

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

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

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

    _previousTaxFee = _taxFee;
    _previousLiquidityFee = _liquidityFee;
    _previousBurnFee = _burnFee;

    _taxFee = 0;
    _liquidityFee = 0;
    _burnFee = 0;
  }

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

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

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

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

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

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

  function setBurnFeePercent(uint256 burnFee) public onlyOwner {
    _burnFee = burnFee;
  }

  function setSupplyToStopBurning(uint256 supplyToStopBurning)
    external
    onlyOwner
  {
    _supplyToStopBurning = supplyToStopBurning;
  }

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

  function transferToAddressETH(address payable recipient, uint256 amount)
    private
  {
    // recipient.transfer(amount);
    // Ignore the boolean return value. If it gets stuck, then retrieve via `emergencyWithdraw`.
    recipient.call{ value: amount }('');
  }

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

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

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

  function setMaxPriceImpPerc(uint256 rate) external onlyOwner {
    _maxPriceImpPerc = rate;
  }

  // Withdraw ETH that gets stuck in contract by accident
  function emergencyWithdraw() external onlyOwner {
    payable(owner()).send(address(this).balance);
  }

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

File 2 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 3 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 10 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 7 of 10 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

File 8 of 10 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

File 9 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 10 of 10 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","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":[{"internalType":"address","name":"account","type":"address"}],"name":"_amnestySniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"_removeSniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_supplyToStopBurning","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":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"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":[],"name":"initContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isEnforcingMaxBuy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isRemovedSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"overrideMaxBuy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"canBuyAnyAmount","type":"bool"}],"name":"overrideMaxRestriction","outputs":[],"stateMutability":"nonpayable","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":"burnFee","type":"uint256"}],"name":"setBurnFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rate","type":"uint256"}],"name":"setMaxPriceImpPerc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supplyToStopBurning","type":"uint256"}],"name":"setSupplyToStopBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","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"}]

60a060405260018054732d1b8ba4a49c0338a301bd16ff43e4a6d2604dc36001600160a01b03199091161790556ddead000000000000000000000000608052683635c9adc5dea00000600a8190556200006890620f4240620001cb602090811b6200193b17901c565b600b55600a546200007c906000196200034e565b6200008a90600019620002ed565b600c556040805180820190915260098082526829b432b21021b7b4b760b91b6020909201918252620000bf91600e9162000230565b506040805180820190915260048082526314d2115160e21b6020909201918252620000ed91600f9162000230565b506010805460ff1990811660091790915560006011819055601255600260138190556014819055600460158190556016556017556001601855611c20601955601a80549091169055601e8054600161ff0160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790553480156200016957600080fd5b506200017533620001e0565b600c5433600081815260026020908152604080832094909455600a549351938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200037b565b6000620001d98284620002d6565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200023e9062000311565b90600052602060002090601f016020900481019282620002625760008555620002ad565b82601f106200027d57805160ff1916838001178555620002ad565b82800160010185558215620002ad579182015b82811115620002ad57825182559160200191906001019062000290565b50620002bb929150620002bf565b5090565b5b80821115620002bb5760008155600101620002c0565b600082620002e857620002e862000365565b500490565b6000828210156200030c57634e487b7160e01b81526011600452602481fd5b500390565b600181811c908216806200032657607f821691505b602082108114156200034857634e487b7160e01b600052602260045260246000fd5b50919050565b60008262000360576200036062000365565b500690565b634e487b7160e01b600052601260045260246000fd5b60805160601c6130bd620003d9600039600081816103f9015281816120d50152818161277501528181612839015281816129e901528181612a1b01528181612acb01528181612b2701528181612bc60152612c0001526130bd6000f3fe6080604052600436106102b25760003560e01c80636bc87c3a11610175578063a2dbab83116100dc578063cea2695811610095578063ea2f0b371161006f578063ea2f0b3714610887578063f2fde38b146108a7578063f370ca1b146108c7578063f375b253146108f557600080fd5b8063cea269581461080c578063db2e21bc1461082c578063dd62ed3e1461084157600080fd5b8063a2dbab831461076c578063a457c2d714610781578063a5ece941146107a1578063a9059cbb146107c1578063c0b0fda2146107e1578063c9567bf9146107f757600080fd5b806388f820201161012e57806388f82020146106ab5780638da5cb5b146106e45780638ee88c5314610702578063906e9dd01461072257806395d89b411461074257806397a989551461075757600080fd5b80636bc87c3a1461061b57806370a0823114610631578063715018a61461065157806377283bf714610666578063790ca413146106805780638203f5fe1461069657600080fd5b80633685d41911610219578063437823ec116101d2578063437823ec146105295780634549b0391461054957806349bd5a5e1461056957806352390c02146105895780635342acb4146105a9578063610d5b19146105e257600080fd5b80633685d4191461047d57806336fc467c1461049d57806339509351146104b35780633b124fe7146104d35780633bd5d173146104e957806340dc6be41461050957600080fd5b806318160ddd1161026b57806318160ddd146103b257806323b872dd146103c757806327c8f835146103e75780632d8381191461041b578063313ce5671461043b578063362a3c5d1461045d57600080fd5b8063061c82d0146102be57806306fdde03146102e0578063095ea7b31461030b57806313114a9d1461033b5780631420b7151461035a5780631694505e1461037a57600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d9366004612e09565b610915565b005b3480156102ec57600080fd5b506102f561094d565b6040516103029190612e8f565b60405180910390f35b34801561031757600080fd5b5061032b610326366004612dc4565b6109df565b6040519015158152602001610302565b34801561034757600080fd5b50600d545b604051908152602001610302565b34801561036657600080fd5b506102de610375366004612e09565b6109f6565b34801561038657600080fd5b50601c5461039a906001600160a01b031681565b6040516001600160a01b039091168152602001610302565b3480156103be57600080fd5b50600a5461034c565b3480156103d357600080fd5b5061032b6103e2366004612d84565b610a25565b3480156103f357600080fd5b5061039a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561042757600080fd5b5061034c610436366004612e09565b610a8e565b34801561044757600080fd5b5060105460405160ff9091168152602001610302565b34801561046957600080fd5b506102de610478366004612d14565b610b12565b34801561048957600080fd5b506102de610498366004612d14565b610cf8565b3480156104a957600080fd5b5061034c600b5481565b3480156104bf57600080fd5b5061032b6104ce366004612dc4565b610ebd565b3480156104df57600080fd5b5061034c60115481565b3480156104f557600080fd5b506102de610504366004612e09565b610ef3565b34801561051557600080fd5b506102de610524366004612e09565b610fdd565b34801561053557600080fd5b506102de610544366004612d14565b61100c565b34801561055557600080fd5b5061034c610564366004612e21565b61105a565b34801561057557600080fd5b50601d5461039a906001600160a01b031681565b34801561059557600080fd5b506102de6105a4366004612d14565b6110e7565b3480156105b557600080fd5b5061032b6105c4366004612d14565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156105ee57600080fd5b5061032b6105fd366004612d14565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561062757600080fd5b5061034c60135481565b34801561063d57600080fd5b5061034c61064c366004612d14565b61123a565b34801561065d57600080fd5b506102de611299565b34801561067257600080fd5b50601a5461032b9060ff1681565b34801561068c57600080fd5b5061034c601b5481565b3480156106a257600080fd5b506102de6112cf565b3480156106b757600080fd5b5061032b6106c6366004612d14565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156106f057600080fd5b506000546001600160a01b031661039a565b34801561070e57600080fd5b506102de61071d366004612e09565b6114dd565b34801561072e57600080fd5b506102de61073d366004612d14565b61150c565b34801561074e57600080fd5b506102f5611558565b34801561076357600080fd5b506102de611567565b34801561077857600080fd5b5061032b6115a0565b34801561078d57600080fd5b5061032b61079c366004612dc4565b6115c9565b3480156107ad57600080fd5b5060015461039a906001600160a01b031681565b3480156107cd57600080fd5b5061032b6107dc366004612dc4565b611618565b3480156107ed57600080fd5b5061034c60155481565b34801561080357600080fd5b506102de611625565b34801561081857600080fd5b506102de610827366004612e09565b61167a565b34801561083857600080fd5b506102de6116a9565b34801561084d57600080fd5b5061034c61085c366004612d4c565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561089357600080fd5b506102de6108a2366004612d14565b6116fe565b3480156108b357600080fd5b506102de6108c2366004612d14565b611749565b3480156108d357600080fd5b506102de6108e2366004612def565b601a805460ff1916911515919091179055565b34801561090157600080fd5b506102de610910366004612d14565b6117e4565b6000546001600160a01b031633146109485760405162461bcd60e51b815260040161093f90612ee2565b60405180910390fd5b601155565b6060600e805461095c90612fe2565b80601f016020809104026020016040519081016040528092919081815260200182805461098890612fe2565b80156109d55780601f106109aa576101008083540402835291602001916109d5565b820191906000526020600020905b8154815290600101906020018083116109b857829003601f168201915b5050505050905090565b60006109ec338484611947565b5060015b92915050565b6000546001600160a01b03163314610a205760405162461bcd60e51b815260040161093f90612ee2565b600b55565b6000610a32848484611a6b565b610a848433610a7f85604051806060016040528060288152602001613064602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611f73565b611947565b5060019392505050565b6000600c54821115610af55760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161093f565b6000610aff611f9f565b9050610b0b838261193b565b9392505050565b6000546001600160a01b03163314610b3c5760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03811660009081526005602052604090205460ff16610ba45760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c6973746564000000000000604482015260640161093f565b60005b600654811015610cf457816001600160a01b031660068281548110610bdc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ce25760068054610c0790600190612fcb565b81548110610c2557634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610c5f57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff191690556006805480610cbc57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610cec8161301d565b915050610ba7565b5050565b6000546001600160a01b03163314610d225760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03811660009081526008602052604090205460ff16610d8a5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161093f565b60005b600954811015610cf457816001600160a01b031660098281548110610dc257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610eab5760098054610ded90600190612fcb565b81548110610e0b57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b039092169183908110610e4557634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600890925220805460ff191690556009805480610cbc57634e487b7160e01b600052603160045260246000fd5b80610eb58161301d565b915050610d8d565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916109ec918590610a7f9086611fc2565b3360008181526008602052604090205460ff1615610f685760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161093f565b6000610f7383611fce565b505050506001600160a01b038416600090815260026020526040902054919250610f9f9190508261201d565b6001600160a01b038316600090815260026020526040902055600c54610fc5908261201d565b600c55600d54610fd59084611fc2565b600d55505050565b6000546001600160a01b031633146110075760405162461bcd60e51b815260040161093f90612ee2565b601755565b6000546001600160a01b031633146110365760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600a548311156110ae5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161093f565b816110cd5760006110be84611fce565b509395506109f0945050505050565b60006110d884611fce565b509295506109f0945050505050565b6000546001600160a01b031633146111115760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03811660009081526008602052604090205460ff161561117a5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161093f565b6001600160a01b038116600090815260026020526040902054156111d4576001600160a01b0381166000908152600260205260409020546111ba90610a8e565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff161561127757506001600160a01b031660009081526003602052604090205490565b6001600160a01b0382166000908152600260205260409020546109f090610a8e565b6000546001600160a01b031633146112c35760405162461bcd60e51b815260040161093f90612ee2565b6112cd6000612029565b565b6000546001600160a01b031633146112f95760405162461bcd60e51b815260040161093f90612ee2565b601e546040805163c45a015560e01b815290516001600160a01b0390921691829163c45a0155916004808301926020929190829003018186803b15801561133f57600080fd5b505afa158015611353573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113779190612d30565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156113bf57600080fd5b505afa1580156113d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f79190612d30565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114779190612d30565b601d80546001600160a01b03199081166001600160a01b0393841617909155601c80549091169282169290921790915560008054909116815260076020526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146115075760405162461bcd60e51b815260040161093f90612ee2565b601355565b6000546001600160a01b031633146115365760405162461bcd60e51b815260040161093f90612ee2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6060600f805461095c90612fe2565b6000546001600160a01b031633146115915760405162461bcd60e51b815260040161093f90612ee2565b601e805460ff60a81b19169055565b601a5460009060ff161580156115c45750601954601b546115c091611fc2565b4211155b905090565b60006109ec3384610a7f8560405180606001604052806025815260200161308c602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190611f73565b60006109ec338484611a6b565b6000546001600160a01b0316331461164f5760405162461bcd60e51b815260040161093f90612ee2565b601454601355601254601155601654601555601e805460ff60a81b1916600160a81b17905542601b55565b6000546001600160a01b031633146116a45760405162461bcd60e51b815260040161093f90612ee2565b601555565b6000546001600160a01b031633146116d35760405162461bcd60e51b815260040161093f90612ee2565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b6000546001600160a01b031633146117285760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146117735760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b0381166117d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161093f565b6117e181612029565b50565b6000546001600160a01b0316331461180e5760405162461bcd60e51b815260040161093f90612ee2565b601e546001600160a01b038281169116141561186c5760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e697377617000000000604482015260640161093f565b6001600160a01b03811660009081526005602052604090205460ff16156118d55760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c69737465640000604482015260640161093f565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000610b0b8284612f8c565b6001600160a01b0383166119a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161093f565b6001600160a01b038216611a0a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161093f565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611acf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161093f565b6001600160a01b038216611b315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161093f565b60008111611b935760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161093f565b6001600160a01b03821660009081526005602052604090205460ff1615611bf65760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b604482015260640161093f565b3360009081526005602052604090205460ff1615611c505760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b604482015260640161093f565b601d546001600160a01b038481169116148015611c7b5750601c546001600160a01b03838116911614155b8015611ca057506001600160a01b03821660009081526007602052604090205460ff16155b15611e2b57601e54600160a81b900460ff16611cfe5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161093f565b601b54421415611d6e576001600160a01b0382166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b611d766115a0565b15611e2b57601854601d54611dab91606491611da59190611d9f906001600160a01b031661123a565b90612079565b9061193b565b811115611e2b5760405162461bcd60e51b815260206004820152604260248201527f796f75206861766520657863656564656420746865206d6178696d756d20796f60448201527f752063616e2062757920696d6d6564696174656c79206166746572206c61756e6064820152610c6d60f31b608482015260a40161093f565b6000611e363061123a565b601e54909150600160a01b900460ff16158015611e5c5750601e54600160a81b900460ff165b8015611e755750601d546001600160a01b038481169116145b15611edb578015611edb57601754601d54611ea491606491611da59190611d9f906001600160a01b031661123a565b811115611ed257601754601d54611ecf91606491611da59190611d9f906001600160a01b031661123a565b90505b611edb81612085565b601d546000906001600160a01b0386811691161480611f075750601d546001600160a01b038581169116145b8015611f4f57506001600160a01b03851660009081526007602052604090205460ff1680611f4d57506001600160a01b03841660009081526007602052604090205460ff165b155b15611f58575060015b611f606120c2565b611f6c85858584612118565b5050505050565b60008184841115611f975760405162461bcd60e51b815260040161093f9190612e8f565b505050900390565b6000806000611fac612249565b9092509050611fbb828261193b565b9250505090565b6000610b0b8284612f74565b6000806000806000806000806000611fe58a612403565b92509250925060008060006120038d8686611ffe611f9f565b61243f565b919f909e50909c50959a5093985091965092945050505050565b6000610b0b8284612fcb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610b0b8284612fac565b601e805460ff60a01b1916600160a01b1790556120a18161248f565b4780156120b1576120b14761264d565b5050601e805460ff60a01b19169055565b6015546120cb57565b60006121036120f97f000000000000000000000000000000000000000000000000000000000000000061123a565b600a545b9061201d565b9050600b5481116117e1576117e1600061167a565b806121255761212561269a565b6001600160a01b03841660009081526008602052604090205460ff16801561216657506001600160a01b03831660009081526008602052604090205460ff16155b1561217b576121768484846126d3565b612227565b6001600160a01b03841660009081526008602052604090205460ff161580156121bc57506001600160a01b03831660009081526008602052604090205460ff165b156121cc576121768484846127c7565b6001600160a01b03841660009081526008602052604090205460ff16801561220c57506001600160a01b03831660009081526008602052604090205460ff165b1561221c57612176848484612897565b61222784848461290a565b8061224357612243601254601155601454601355601654601555565b50505050565b600c54600a546000918291825b6009548110156123d35782600260006009848154811061228657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806122ff57508160036000600984815481106122d857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561231557600c54600a54945094505050509091565b612369600260006009848154811061233d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061201d565b92506123bf600360006009848154811061239357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061201d565b9150806123cb8161301d565b915050612256565b50600a54600c546123e39161193b565b8210156123fa57600c54600a549350935050509091565b90939092509050565b6000806000806124128561294f565b9050600061241f8661296b565b90506000612431826120fd898661201d565b979296509094509092505050565b600080808061244e8886612079565b9050600061245c8887612079565b9050600061246a8888612079565b9050600061247c826120fd868661201d565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124d257634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561252657600080fd5b505afa15801561253a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255e9190612d30565b8160018151811061257f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c546125a59130911684611947565b601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906125de908590600090869030904290600401612f38565b600060405180830381600087803b1580156125f857600080fd5b505af115801561260c573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051612641929190612f17565b60405180910390a15050565b6001546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612243576040519150601f19603f3d011682016040523d82523d6000602084013e612243565b6011541580156126aa5750601354155b156126b157565b6011805460125560138054601455601580546016556000928390559082905555565b60008060008060006126e486611fce565b6001600160a01b038e16600090815260036020526040902054959a509398509196509094509092506127189190508761201d565b6001600160a01b038916600090815260036020908152604080832093909355600290522054612747908661201d565b6001600160a01b03891660009081526002602052604081209190915561276c8861123a565b905060006127997f000000000000000000000000000000000000000000000000000000000000000061123a565b905060006127a78a88612987565b5090506127ba8b8b858585898c8c612a5d565b5050505050505050505050565b6000806000806000806127d987611fce565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061280b908761201d565b6001600160a01b038a166000908152600260205260408120919091556128308961123a565b9050600061285d7f000000000000000000000000000000000000000000000000000000000000000061123a565b905061286a8a8689612b67565b60006128768b89612987565b5090506128898c8c858585898d8c612a5d565b505050505050505050505050565b6000806000806000806128a987611fce565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506128db908861201d565b6001600160a01b038a1660009081526003602090815260408083209390935560029052205461280b908761201d565b600080600080600061291b86611fce565b6001600160a01b038e16600090815260026020526040902054959a509398509196509094509092506127479190508661201d565b60006109f06064611da56011548561207990919063ffffffff16565b60006109f06064611da56013548561207990919063ffffffff16565b600080600061299584612c36565b905060006129a3858361201d565b6001600160a01b0387166000908152600260205260409020549091506129c99082611fc2565b6001600160a01b03808816600090815260026020526040808220939093557f000000000000000000000000000000000000000000000000000000000000000090911681522054612a199083611fc2565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316600090815260026020526040902055909590945092505050565b612a6683612c52565b612a708282612cdb565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef612ab2896120fd8c61123a565b60405190815260200160405180910390a38315612b5d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef612b4b886120fd7f000000000000000000000000000000000000000000000000000000000000000061123a565b60405190815260200160405180910390a35b5050505050505050565b6000612b7283612c36565b90506000612b80838361201d565b6001600160a01b038616600090815260036020526040902054909150612ba69082611fc2565b6001600160a01b03808716600090815260036020526040808220939093557f000000000000000000000000000000000000000000000000000000000000000090911681522054612bf69083611fc2565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166000908152600360205260409020555050505050565b60006109f06064611da56015548561207990919063ffffffff16565b6000612c5c611f9f565b90506000612c6a8383612079565b30600090815260026020526040902054909150612c879082611fc2565b3060009081526002602090815260408083209390935560089052205460ff1615612cd65730600090815260036020526040902054612cc59084611fc2565b306000908152600360205260409020555b505050565b600c54612ce8908361201d565b600c55600d54612cf89082611fc2565b600d555050565b80358015158114612d0f57600080fd5b919050565b600060208284031215612d25578081fd5b8135610b0b8161304e565b600060208284031215612d41578081fd5b8151610b0b8161304e565b60008060408385031215612d5e578081fd5b8235612d698161304e565b91506020830135612d798161304e565b809150509250929050565b600080600060608486031215612d98578081fd5b8335612da38161304e565b92506020840135612db38161304e565b929592945050506040919091013590565b60008060408385031215612dd6578182fd5b8235612de18161304e565b946020939093013593505050565b600060208284031215612e00578081fd5b610b0b82612cff565b600060208284031215612e1a578081fd5b5035919050565b60008060408385031215612e33578182fd5b82359150612e4360208401612cff565b90509250929050565b6000815180845260208085019450808401835b83811015612e845781516001600160a01b031687529582019590820190600101612e5f565b509495945050505050565b6000602080835283518082850152825b81811015612ebb57858101830151858201604001528201612e9f565b81811115612ecc5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b828152604060208201526000612f306040830184612e4c565b949350505050565b85815284602082015260a060408201526000612f5760a0830186612e4c565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612f8757612f87613038565b500190565b600082612fa757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612fc657612fc6613038565b500290565b600082821015612fdd57612fdd613038565b500390565b600181811c90821680612ff657607f821691505b6020821081141561301757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561303157613031613038565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146117e157600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a

Deployed Bytecode

0x6080604052600436106102b25760003560e01c80636bc87c3a11610175578063a2dbab83116100dc578063cea2695811610095578063ea2f0b371161006f578063ea2f0b3714610887578063f2fde38b146108a7578063f370ca1b146108c7578063f375b253146108f557600080fd5b8063cea269581461080c578063db2e21bc1461082c578063dd62ed3e1461084157600080fd5b8063a2dbab831461076c578063a457c2d714610781578063a5ece941146107a1578063a9059cbb146107c1578063c0b0fda2146107e1578063c9567bf9146107f757600080fd5b806388f820201161012e57806388f82020146106ab5780638da5cb5b146106e45780638ee88c5314610702578063906e9dd01461072257806395d89b411461074257806397a989551461075757600080fd5b80636bc87c3a1461061b57806370a0823114610631578063715018a61461065157806377283bf714610666578063790ca413146106805780638203f5fe1461069657600080fd5b80633685d41911610219578063437823ec116101d2578063437823ec146105295780634549b0391461054957806349bd5a5e1461056957806352390c02146105895780635342acb4146105a9578063610d5b19146105e257600080fd5b80633685d4191461047d57806336fc467c1461049d57806339509351146104b35780633b124fe7146104d35780633bd5d173146104e957806340dc6be41461050957600080fd5b806318160ddd1161026b57806318160ddd146103b257806323b872dd146103c757806327c8f835146103e75780632d8381191461041b578063313ce5671461043b578063362a3c5d1461045d57600080fd5b8063061c82d0146102be57806306fdde03146102e0578063095ea7b31461030b57806313114a9d1461033b5780631420b7151461035a5780631694505e1461037a57600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d9366004612e09565b610915565b005b3480156102ec57600080fd5b506102f561094d565b6040516103029190612e8f565b60405180910390f35b34801561031757600080fd5b5061032b610326366004612dc4565b6109df565b6040519015158152602001610302565b34801561034757600080fd5b50600d545b604051908152602001610302565b34801561036657600080fd5b506102de610375366004612e09565b6109f6565b34801561038657600080fd5b50601c5461039a906001600160a01b031681565b6040516001600160a01b039091168152602001610302565b3480156103be57600080fd5b50600a5461034c565b3480156103d357600080fd5b5061032b6103e2366004612d84565b610a25565b3480156103f357600080fd5b5061039a7f000000000000000000000000000000000000000000000000000000000000dead81565b34801561042757600080fd5b5061034c610436366004612e09565b610a8e565b34801561044757600080fd5b5060105460405160ff9091168152602001610302565b34801561046957600080fd5b506102de610478366004612d14565b610b12565b34801561048957600080fd5b506102de610498366004612d14565b610cf8565b3480156104a957600080fd5b5061034c600b5481565b3480156104bf57600080fd5b5061032b6104ce366004612dc4565b610ebd565b3480156104df57600080fd5b5061034c60115481565b3480156104f557600080fd5b506102de610504366004612e09565b610ef3565b34801561051557600080fd5b506102de610524366004612e09565b610fdd565b34801561053557600080fd5b506102de610544366004612d14565b61100c565b34801561055557600080fd5b5061034c610564366004612e21565b61105a565b34801561057557600080fd5b50601d5461039a906001600160a01b031681565b34801561059557600080fd5b506102de6105a4366004612d14565b6110e7565b3480156105b557600080fd5b5061032b6105c4366004612d14565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156105ee57600080fd5b5061032b6105fd366004612d14565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561062757600080fd5b5061034c60135481565b34801561063d57600080fd5b5061034c61064c366004612d14565b61123a565b34801561065d57600080fd5b506102de611299565b34801561067257600080fd5b50601a5461032b9060ff1681565b34801561068c57600080fd5b5061034c601b5481565b3480156106a257600080fd5b506102de6112cf565b3480156106b757600080fd5b5061032b6106c6366004612d14565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156106f057600080fd5b506000546001600160a01b031661039a565b34801561070e57600080fd5b506102de61071d366004612e09565b6114dd565b34801561072e57600080fd5b506102de61073d366004612d14565b61150c565b34801561074e57600080fd5b506102f5611558565b34801561076357600080fd5b506102de611567565b34801561077857600080fd5b5061032b6115a0565b34801561078d57600080fd5b5061032b61079c366004612dc4565b6115c9565b3480156107ad57600080fd5b5060015461039a906001600160a01b031681565b3480156107cd57600080fd5b5061032b6107dc366004612dc4565b611618565b3480156107ed57600080fd5b5061034c60155481565b34801561080357600080fd5b506102de611625565b34801561081857600080fd5b506102de610827366004612e09565b61167a565b34801561083857600080fd5b506102de6116a9565b34801561084d57600080fd5b5061034c61085c366004612d4c565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561089357600080fd5b506102de6108a2366004612d14565b6116fe565b3480156108b357600080fd5b506102de6108c2366004612d14565b611749565b3480156108d357600080fd5b506102de6108e2366004612def565b601a805460ff1916911515919091179055565b34801561090157600080fd5b506102de610910366004612d14565b6117e4565b6000546001600160a01b031633146109485760405162461bcd60e51b815260040161093f90612ee2565b60405180910390fd5b601155565b6060600e805461095c90612fe2565b80601f016020809104026020016040519081016040528092919081815260200182805461098890612fe2565b80156109d55780601f106109aa576101008083540402835291602001916109d5565b820191906000526020600020905b8154815290600101906020018083116109b857829003601f168201915b5050505050905090565b60006109ec338484611947565b5060015b92915050565b6000546001600160a01b03163314610a205760405162461bcd60e51b815260040161093f90612ee2565b600b55565b6000610a32848484611a6b565b610a848433610a7f85604051806060016040528060288152602001613064602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611f73565b611947565b5060019392505050565b6000600c54821115610af55760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161093f565b6000610aff611f9f565b9050610b0b838261193b565b9392505050565b6000546001600160a01b03163314610b3c5760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03811660009081526005602052604090205460ff16610ba45760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c6973746564000000000000604482015260640161093f565b60005b600654811015610cf457816001600160a01b031660068281548110610bdc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ce25760068054610c0790600190612fcb565b81548110610c2557634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610c5f57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff191690556006805480610cbc57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610cec8161301d565b915050610ba7565b5050565b6000546001600160a01b03163314610d225760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03811660009081526008602052604090205460ff16610d8a5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161093f565b60005b600954811015610cf457816001600160a01b031660098281548110610dc257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610eab5760098054610ded90600190612fcb565b81548110610e0b57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b039092169183908110610e4557634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600890925220805460ff191690556009805480610cbc57634e487b7160e01b600052603160045260246000fd5b80610eb58161301d565b915050610d8d565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916109ec918590610a7f9086611fc2565b3360008181526008602052604090205460ff1615610f685760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161093f565b6000610f7383611fce565b505050506001600160a01b038416600090815260026020526040902054919250610f9f9190508261201d565b6001600160a01b038316600090815260026020526040902055600c54610fc5908261201d565b600c55600d54610fd59084611fc2565b600d55505050565b6000546001600160a01b031633146110075760405162461bcd60e51b815260040161093f90612ee2565b601755565b6000546001600160a01b031633146110365760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600a548311156110ae5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161093f565b816110cd5760006110be84611fce565b509395506109f0945050505050565b60006110d884611fce565b509295506109f0945050505050565b6000546001600160a01b031633146111115760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03811660009081526008602052604090205460ff161561117a5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161093f565b6001600160a01b038116600090815260026020526040902054156111d4576001600160a01b0381166000908152600260205260409020546111ba90610a8e565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff161561127757506001600160a01b031660009081526003602052604090205490565b6001600160a01b0382166000908152600260205260409020546109f090610a8e565b6000546001600160a01b031633146112c35760405162461bcd60e51b815260040161093f90612ee2565b6112cd6000612029565b565b6000546001600160a01b031633146112f95760405162461bcd60e51b815260040161093f90612ee2565b601e546040805163c45a015560e01b815290516001600160a01b0390921691829163c45a0155916004808301926020929190829003018186803b15801561133f57600080fd5b505afa158015611353573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113779190612d30565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156113bf57600080fd5b505afa1580156113d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f79190612d30565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114779190612d30565b601d80546001600160a01b03199081166001600160a01b0393841617909155601c80549091169282169290921790915560008054909116815260076020526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146115075760405162461bcd60e51b815260040161093f90612ee2565b601355565b6000546001600160a01b031633146115365760405162461bcd60e51b815260040161093f90612ee2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6060600f805461095c90612fe2565b6000546001600160a01b031633146115915760405162461bcd60e51b815260040161093f90612ee2565b601e805460ff60a81b19169055565b601a5460009060ff161580156115c45750601954601b546115c091611fc2565b4211155b905090565b60006109ec3384610a7f8560405180606001604052806025815260200161308c602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190611f73565b60006109ec338484611a6b565b6000546001600160a01b0316331461164f5760405162461bcd60e51b815260040161093f90612ee2565b601454601355601254601155601654601555601e805460ff60a81b1916600160a81b17905542601b55565b6000546001600160a01b031633146116a45760405162461bcd60e51b815260040161093f90612ee2565b601555565b6000546001600160a01b031633146116d35760405162461bcd60e51b815260040161093f90612ee2565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b6000546001600160a01b031633146117285760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146117735760405162461bcd60e51b815260040161093f90612ee2565b6001600160a01b0381166117d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161093f565b6117e181612029565b50565b6000546001600160a01b0316331461180e5760405162461bcd60e51b815260040161093f90612ee2565b601e546001600160a01b038281169116141561186c5760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e697377617000000000604482015260640161093f565b6001600160a01b03811660009081526005602052604090205460ff16156118d55760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c69737465640000604482015260640161093f565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000610b0b8284612f8c565b6001600160a01b0383166119a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161093f565b6001600160a01b038216611a0a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161093f565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611acf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161093f565b6001600160a01b038216611b315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161093f565b60008111611b935760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161093f565b6001600160a01b03821660009081526005602052604090205460ff1615611bf65760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b604482015260640161093f565b3360009081526005602052604090205460ff1615611c505760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b604482015260640161093f565b601d546001600160a01b038481169116148015611c7b5750601c546001600160a01b03838116911614155b8015611ca057506001600160a01b03821660009081526007602052604090205460ff16155b15611e2b57601e54600160a81b900460ff16611cfe5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161093f565b601b54421415611d6e576001600160a01b0382166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b611d766115a0565b15611e2b57601854601d54611dab91606491611da59190611d9f906001600160a01b031661123a565b90612079565b9061193b565b811115611e2b5760405162461bcd60e51b815260206004820152604260248201527f796f75206861766520657863656564656420746865206d6178696d756d20796f60448201527f752063616e2062757920696d6d6564696174656c79206166746572206c61756e6064820152610c6d60f31b608482015260a40161093f565b6000611e363061123a565b601e54909150600160a01b900460ff16158015611e5c5750601e54600160a81b900460ff165b8015611e755750601d546001600160a01b038481169116145b15611edb578015611edb57601754601d54611ea491606491611da59190611d9f906001600160a01b031661123a565b811115611ed257601754601d54611ecf91606491611da59190611d9f906001600160a01b031661123a565b90505b611edb81612085565b601d546000906001600160a01b0386811691161480611f075750601d546001600160a01b038581169116145b8015611f4f57506001600160a01b03851660009081526007602052604090205460ff1680611f4d57506001600160a01b03841660009081526007602052604090205460ff165b155b15611f58575060015b611f606120c2565b611f6c85858584612118565b5050505050565b60008184841115611f975760405162461bcd60e51b815260040161093f9190612e8f565b505050900390565b6000806000611fac612249565b9092509050611fbb828261193b565b9250505090565b6000610b0b8284612f74565b6000806000806000806000806000611fe58a612403565b92509250925060008060006120038d8686611ffe611f9f565b61243f565b919f909e50909c50959a5093985091965092945050505050565b6000610b0b8284612fcb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610b0b8284612fac565b601e805460ff60a01b1916600160a01b1790556120a18161248f565b4780156120b1576120b14761264d565b5050601e805460ff60a01b19169055565b6015546120cb57565b60006121036120f97f000000000000000000000000000000000000000000000000000000000000dead61123a565b600a545b9061201d565b9050600b5481116117e1576117e1600061167a565b806121255761212561269a565b6001600160a01b03841660009081526008602052604090205460ff16801561216657506001600160a01b03831660009081526008602052604090205460ff16155b1561217b576121768484846126d3565b612227565b6001600160a01b03841660009081526008602052604090205460ff161580156121bc57506001600160a01b03831660009081526008602052604090205460ff165b156121cc576121768484846127c7565b6001600160a01b03841660009081526008602052604090205460ff16801561220c57506001600160a01b03831660009081526008602052604090205460ff165b1561221c57612176848484612897565b61222784848461290a565b8061224357612243601254601155601454601355601654601555565b50505050565b600c54600a546000918291825b6009548110156123d35782600260006009848154811061228657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806122ff57508160036000600984815481106122d857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561231557600c54600a54945094505050509091565b612369600260006009848154811061233d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061201d565b92506123bf600360006009848154811061239357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061201d565b9150806123cb8161301d565b915050612256565b50600a54600c546123e39161193b565b8210156123fa57600c54600a549350935050509091565b90939092509050565b6000806000806124128561294f565b9050600061241f8661296b565b90506000612431826120fd898661201d565b979296509094509092505050565b600080808061244e8886612079565b9050600061245c8887612079565b9050600061246a8888612079565b9050600061247c826120fd868661201d565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124d257634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561252657600080fd5b505afa15801561253a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255e9190612d30565b8160018151811061257f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c546125a59130911684611947565b601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906125de908590600090869030904290600401612f38565b600060405180830381600087803b1580156125f857600080fd5b505af115801561260c573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051612641929190612f17565b60405180910390a15050565b6001546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612243576040519150601f19603f3d011682016040523d82523d6000602084013e612243565b6011541580156126aa5750601354155b156126b157565b6011805460125560138054601455601580546016556000928390559082905555565b60008060008060006126e486611fce565b6001600160a01b038e16600090815260036020526040902054959a509398509196509094509092506127189190508761201d565b6001600160a01b038916600090815260036020908152604080832093909355600290522054612747908661201d565b6001600160a01b03891660009081526002602052604081209190915561276c8861123a565b905060006127997f000000000000000000000000000000000000000000000000000000000000dead61123a565b905060006127a78a88612987565b5090506127ba8b8b858585898c8c612a5d565b5050505050505050505050565b6000806000806000806127d987611fce565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061280b908761201d565b6001600160a01b038a166000908152600260205260408120919091556128308961123a565b9050600061285d7f000000000000000000000000000000000000000000000000000000000000dead61123a565b905061286a8a8689612b67565b60006128768b89612987565b5090506128898c8c858585898d8c612a5d565b505050505050505050505050565b6000806000806000806128a987611fce565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506128db908861201d565b6001600160a01b038a1660009081526003602090815260408083209390935560029052205461280b908761201d565b600080600080600061291b86611fce565b6001600160a01b038e16600090815260026020526040902054959a509398509196509094509092506127479190508661201d565b60006109f06064611da56011548561207990919063ffffffff16565b60006109f06064611da56013548561207990919063ffffffff16565b600080600061299584612c36565b905060006129a3858361201d565b6001600160a01b0387166000908152600260205260409020549091506129c99082611fc2565b6001600160a01b03808816600090815260026020526040808220939093557f000000000000000000000000000000000000000000000000000000000000dead90911681522054612a199083611fc2565b7f000000000000000000000000000000000000000000000000000000000000dead6001600160a01b0316600090815260026020526040902055909590945092505050565b612a6683612c52565b612a708282612cdb565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef612ab2896120fd8c61123a565b60405190815260200160405180910390a38315612b5d577f000000000000000000000000000000000000000000000000000000000000dead6001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef612b4b886120fd7f000000000000000000000000000000000000000000000000000000000000dead61123a565b60405190815260200160405180910390a35b5050505050505050565b6000612b7283612c36565b90506000612b80838361201d565b6001600160a01b038616600090815260036020526040902054909150612ba69082611fc2565b6001600160a01b03808716600090815260036020526040808220939093557f000000000000000000000000000000000000000000000000000000000000dead90911681522054612bf69083611fc2565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000dead166000908152600360205260409020555050505050565b60006109f06064611da56015548561207990919063ffffffff16565b6000612c5c611f9f565b90506000612c6a8383612079565b30600090815260026020526040902054909150612c879082611fc2565b3060009081526002602090815260408083209390935560089052205460ff1615612cd65730600090815260036020526040902054612cc59084611fc2565b306000908152600360205260409020555b505050565b600c54612ce8908361201d565b600c55600d54612cf89082611fc2565b600d555050565b80358015158114612d0f57600080fd5b919050565b600060208284031215612d25578081fd5b8135610b0b8161304e565b600060208284031215612d41578081fd5b8151610b0b8161304e565b60008060408385031215612d5e578081fd5b8235612d698161304e565b91506020830135612d798161304e565b809150509250929050565b600080600060608486031215612d98578081fd5b8335612da38161304e565b92506020840135612db38161304e565b929592945050506040919091013590565b60008060408385031215612dd6578182fd5b8235612de18161304e565b946020939093013593505050565b600060208284031215612e00578081fd5b610b0b82612cff565b600060208284031215612e1a578081fd5b5035919050565b60008060408385031215612e33578182fd5b82359150612e4360208401612cff565b90509250929050565b6000815180845260208085019450808401835b83811015612e845781516001600160a01b031687529582019590820190600101612e5f565b509495945050505050565b6000602080835283518082850152825b81811015612ebb57858101830151858201604001528201612e9f565b81811115612ecc5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b828152604060208201526000612f306040830184612e4c565b949350505050565b85815284602082015260a060408201526000612f5760a0830186612e4c565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612f8757612f87613038565b500190565b600082612fa757634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612fc657612fc6613038565b500290565b600082821015612fdd57612fdd613038565b500390565b600181811c90821680612ff657607f821691505b6020821081141561301757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561303157613031613038565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146117e157600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a

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.