ETH Price: $2,287.08 (-3.37%)

Token

EverApe (EAPE)
 

Overview

Max Total Supply

994,513,729,395,610.56971617251942384 EAPE

Holders

86

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
EverApe

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : EverApe.sol
pragma solidity 0.8.11;
// SPDX-License-Identifier: MIT

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";

library SafeMathInt {
  function mul(int256 a, int256 b) internal pure returns (int256) {

    require(!(a == - 2**255 && b == -1) && !(b == - 2**255 && a == -1));

    int256 c = a * b;
    require((b == 0) || (c / b == a));
    return c;
  }

  function div(int256 a, int256 b) internal pure returns (int256) {

    require(!(a == - 2**255 && b == -1) && (b > 0));

    return a / b;
  }

  function sub(int256 a, int256 b) internal pure returns (int256) {
    require((b >= 0 && a - b <= a) || (b < 0 && a - b > a));

    return a - b;
  }

  function add(int256 a, int256 b) internal pure returns (int256) {
    int256 c = a + b;
    require((b >= 0 && c >= a) || (b < 0 && c < a));
    return c;
  }

  function toUint256Safe(int256 a) internal pure returns (uint256) {
    require(a >= 0);
    return uint256(a);
  }
}

library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}

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

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

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

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

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

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

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

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

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

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

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

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

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

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

interface IDividendPayingTokenOptional {

  function withdrawableDividendOf(address _owner) external view returns(uint256);

  function withdrawnDividendOf(address _owner) external view returns(uint256);

  function accumulativeDividendOf(address _owner) external view returns(uint256);
}

interface IDividendPayingToken {

  function dividendOf(address _owner) external view returns(uint256);

  function distributeDividends(address _owner, uint256 amount) external payable returns(uint256);

  function withdrawDividend() external;

  event DividendsDistributed(
    address indexed from,
    uint256 weiAmount
  );

  event DividendWithdrawn(
    address indexed to,
    uint256 weiAmount
  );
}

contract DividendPayingToken is ERC20, IDividendPayingToken, IDividendPayingTokenOptional, Ownable {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;

  uint256 constant internal magnitude = 2**128;
  uint256 public tokenSupply;

  uint256 internal magnifiedDividendPerShare;
  uint256 internal lastAmount;

  address public dividendToken;

  mapping(address => int256) internal magnifiedDividendCorrections;
  mapping(address => uint256) internal withdrawnDividends;
  mapping(address => uint256) internal dividendHolderAmount;

  uint256 public totalDividendsDistributed;

  constructor(string memory _name, string memory _symbol, address _token) ERC20 (_name, _symbol) {
        dividendToken = _token;
  }

  receive() external payable {
  }
  
  function updateDividendToken(address _dividendToken) public onlyOwner {
      dividendToken = _dividendToken;
  }

  function distributeDividends(address account, uint256 amount) public payable onlyOwner returns(uint256) {

    if (amount > 0) {
      magnifiedDividendPerShare = magnifiedDividendPerShare.add(
        (amount).mul(magnitude) / tokenSupply
      );
      emit DividendsDistributed(account, amount);

      totalDividendsDistributed = totalDividendsDistributed.add(amount);
    }

    return(amount);
  }

  function withdrawDividend() public virtual override onlyOwner {
    _withdrawDividendOfUser(payable(msg.sender));
  }

  function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
    uint256 _withdrawableDividend = withdrawableDividendOf(user);
    if (_withdrawableDividend > 0) {
      withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
      emit DividendWithdrawn(user, _withdrawableDividend);
      bool success = IERC20(dividendToken).transfer(user, _withdrawableDividend);

      if(!success) {
        withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
        return 0;
      }

      return _withdrawableDividend;
    }

    return 0;
  }

  function dividendOf(address _owner) public view override returns(uint256) {
    return withdrawableDividendOf(_owner);
  }

  function withdrawableDividendOf(address _owner) public view override returns(uint256) {
    return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
  }

  function withdrawnDividendOf(address _owner) public view override returns(uint256) {
    return withdrawnDividends[_owner];
  }

  function accumulativeDividendOf(address _owner) public view override returns(uint256) {
    return magnifiedDividendPerShare.mul(dividendHolderAmount[_owner]).toInt256Safe()
      .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
  }

  function _transfer(address from, address to, uint256 value) internal virtual override {
      require(false);

    int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe();
    magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection);
    magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection);
  }

  function _setBalance(address account, uint256 newBalance) internal returns(uint256) {
    uint256 currentBalance = dividendHolderAmount[account];

        if(newBalance > currentBalance) {
            uint256 newAmount = newBalance.add(currentBalance);
            dividendHolderAmount[account] = newAmount;
            tokenSupply = tokenSupply.add(newBalance);
            return(newAmount);
        } else {
            tokenSupply = tokenSupply.sub(currentBalance);
            dividendHolderAmount[account] = newBalance;
            tokenSupply = tokenSupply.add(newBalance);
            return(newBalance);
        }
    }
}

contract EverApe is Context, ERC20, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    IUniswapV2Router02 public uniswapV2Router;
    address public immutable uniswapV2Pair;

    address public DividendsToken = address(0x4d224452801ACEd8B2F0aebE155379bb5D594381);

    bool private swapping;
	bool private trading;
    bool private starting;

   DividendTracker public dividendTracker;

	address public marketingWallet;
    address private liquidityWallet;
    address public deadAddress;
    address private deployer;
    address private developmentWallet1;
    address private developmentWallet2;

    uint256 public swapTokensAtAmount;
    uint256 private buyBackTimes;

    uint256 private _buyLiquidityFee;
    uint256 private _buyRewardsFee;
    uint256 private _buyMarketingFee;
    uint256 private _buyBurnFee;
    uint256 private _buyDevFee;

    uint256 private _sellRewardsFee;
    uint256 private _sellLiquidityFee;
	uint256 private _sellMarketingFee;
    uint256 private _sellBurnFee;
    uint256 private _sellDevFee;

    uint256 private _elonRent;

    uint256 public _maxWallet;
    uint256 public _maxBuy;
    uint256 public _maxSell;
    uint256 private _previousMaxWallet;
    uint256 private _previousMaxSell;
    uint256 private _previousMaxBuy;

    uint256 public totalBuyFees;
    uint256 public totalSellFees;

	uint256 public contractTokenBalanceAmount;

    uint256 public gasForProcessing = 300000;

    uint256 private DefaultTime;

    mapping (address => bool) private _isExcludedFromFees;
    mapping (address => bool) public automatedMarketMakerPairs;
    mapping (address => bool) public _isElon;

    event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress);
    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
    event UpdateDividendsToken(address indexed newAddress, address indexed oldAddress);
    event isElon(address indexed account, bool isExcluded);
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event blacklist(address indexed account, bool isBlacklisted);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
    event Rewards(bool _enabled);
    event tradingUpdated(bool _enabled);
    event burningUpdated(bool _enabled);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet);
    event MarketingWalletUpdated(address indexed newMarketingWallet, address indexed oldMarketingWallet);
    event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SendDividends(
    	uint256 tokensSwapped,
    	uint256 amount
    );

    event ProcessedDividendTracker(
    	uint256 iterations,
    	uint256 claims,
        uint256 lastProcessedIndex,
    	bool indexed automatic,
    	uint256 gas,
    	address indexed processor
    );

    constructor() ERC20 ("EverApe", "EAPE") {
        _buyRewardsFee = 1;
        _buyLiquidityFee = 1;
		_buyMarketingFee = 1;
        _buyBurnFee = 1;
        _buyDevFee = 1;

        _sellRewardsFee = 1;
        _sellLiquidityFee = 1;
		_sellMarketingFee = 1;
        _sellBurnFee = 1;
        _sellDevFee = 1;

        _elonRent = 99;

		contractTokenBalanceAmount = totalSupply().mul(25).div(10000);

        swapTokensAtAmount = totalSupply().mul(25).div(10000);
        _maxWallet = 2000000000000 * (10**18);
        _maxBuy = 20000000000000 * (10**18);
        _maxSell = 10000000000000 * (10**18);

        totalBuyFees = _buyRewardsFee.add(_buyLiquidityFee).add(_buyMarketingFee).add(_buyBurnFee).add(_buyDevFee);
        totalSellFees = _sellRewardsFee.add(_sellLiquidityFee).add(_sellMarketingFee).add(_sellBurnFee).add(_sellDevFee);

    	dividendTracker = new DividendTracker();

    	liquidityWallet = owner();
		marketingWallet = address(payable(0xd7cE2EeC83ce6015D2EE30acC46986EEaA9f1dcD));
        developmentWallet1 = address(payable(0xF7F2c1668e9e2818A571c8E09D1aC7A12EA64067));
        developmentWallet2 = address(payable(0x14A5114204b7a27a9d87de029cA16364cA0D72Da));
        deadAddress = payable(0x000000000000000000000000000000000000dEaD);
        deployer = owner();

    	IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    	//0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3 Testnet
    	//0x10ED43C718714eb63d5aA57B78B54704E256024E Mainnet
    	//0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D Ropsten
    	//0xCDe540d7eAFE93aC5fE6233Bee57E1270D3E330F BakerySwap
         // Create a uniswap pair for this new token
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker));
        dividendTracker.excludeFromDividends(address(this));
        dividendTracker.excludeFromDividends(address(_uniswapV2Router));
        dividendTracker.excludeFromDividends(address(deadAddress));

        // exclude from paying fees or having max transaction amount
        excludeFromFees(liquidityWallet, true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(address(this), true);
        
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 1000000000000000 * (10**18));
        
    }

    receive() external payable {

  	}

    function excludeFromDividends(address _toExclude) public onlyOwner {
        if(!dividendTracker.IsExcludedFromDividends(_toExclude)) {
            dividendTracker.excludeFromDividends(address(_toExclude));
        }
      }

	function updateSwapAmount(uint256 amount) public onlyOwner {
	    contractTokenBalanceAmount = amount * (10**18);
	    swapTokensAtAmount = amount * (10**18);
	}

    function updatedividendTracker(address newAddress) public onlyOwner {
        require(newAddress != address(dividendTracker), "EverApe The dividend tracker already has that address");

        DividendTracker newdividendTracker = DividendTracker(payable(newAddress));

        require(newdividendTracker.owner() == address(this), "EverApe: The new dividend tracker must be owned by the EverApe token contract");

        newdividendTracker.excludeFromDividends(address(newdividendTracker));
        newdividendTracker.excludeFromDividends(address(this));
        newdividendTracker.excludeFromDividends(address(uniswapV2Router));

        emit UpdateDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newdividendTracker;
    }

    function updateDividendToken(address newAddress) public onlyOwner {
        require(newAddress != address(DividendsToken), "EverApe: The router already has that address");
        emit UpdateDividendsToken(newAddress, address(DividendsToken));
        DividendsToken = address(newAddress);
        dividendTracker.updateDividendToken(newAddress);
    }
    
    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(newAddress != address(uniswapV2Router), "EverApe: The router already has that address");
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(_isExcludedFromFees[account] != excluded, "EverApe: Account is already the value of 'excluded'");
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "EverApe: The PancakeSwap pair cannot be removed from automatedMarketMakerPairs");

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(automatedMarketMakerPairs[pair] != value, "EverApe: Automated market maker pair is already set to that value");
        automatedMarketMakerPairs[pair] = value;

        if(value) {
            dividendTracker.excludeFromDividends(pair);
        }

        emit SetAutomatedMarketMakerPair(pair, value);
    }
    
    address private _liquidityTokenAddress;
    //Sets up the LP-Token Address required for LP Release
    function SetupLiquidityTokenAddress(address liquidityTokenAddress) public onlyOwner{
        _liquidityTokenAddress=liquidityTokenAddress;
        _liquidityUnlockTime=block.timestamp+DefaultTime;
    }

    ////////////////////////////////////////////////////////////////////////////////////////////////////////
    //Liquidity Lock////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////
    //the timestamp when Liquidity unlocks
     uint256 private _liquidityUnlockTime;

    //Sets Liquidity Release to 20% at a time and prolongs liquidity Lock for a Week after Release.
    //Should be called once start was successful.
    bool public liquidityRelease20Percent;
    function TeamlimitLiquidityReleaseTo20Percent() public onlyOwner{
        liquidityRelease20Percent=true;
    }

    function TeamUnlockLiquidityInSeconds(uint256 secondsUntilUnlock) public onlyOwner{
        _prolongLiquidityLock(secondsUntilUnlock+block.timestamp);
    }
    function _prolongLiquidityLock(uint256 newUnlockTime) private{
        // require new unlock time to be longer than old one
        require(newUnlockTime>_liquidityUnlockTime);
        _liquidityUnlockTime=newUnlockTime;
    }

    //Release Liquidity Tokens once unlock time is over
    function TeamReleaseLiquidity() public {
        require(msg.sender == address(deployer), "Only the deployer can trigger this function");


        //Only callable if liquidity Unlock time is over
        require(block.timestamp >= _liquidityUnlockTime, "Not yet unlocked");

        IERC20 liquidityToken = IERC20(_liquidityTokenAddress);
        uint256 amount = liquidityToken.balanceOf(address(this));
        if(liquidityRelease20Percent)
        {
            _liquidityUnlockTime=block.timestamp+DefaultTime;
            //regular liquidity release, only releases 20% at a time and locks liquidity for another week
            amount=amount*2/10;
            liquidityToken.transfer(liquidityWallet, amount);
        }
        else
        {
            //Liquidity release if something goes wrong at start
            //liquidityRelease20Percent should be called once everything is clear
            liquidityToken.transfer(liquidityWallet, amount);
        }
    }

    function updateLiquidityWallet(address newLiquidityWallet) public onlyOwner {
        require(newLiquidityWallet != liquidityWallet, "EverApe: The liquidity wallet is already this address");
        excludeFromFees(newLiquidityWallet, true);
        emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet);
        liquidityWallet = newLiquidityWallet;
    }

    function updateMarketingWallet(address newMarketingWallet) public onlyOwner {
        require(newMarketingWallet != marketingWallet, "EverApe: The marketing wallet is already this address");
        excludeFromFees(newMarketingWallet, true);
        emit MarketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

    function getLiquidityReleaseTimeInSeconds() public view returns (uint256){
        if(block.timestamp<_liquidityUnlockTime){
            return _liquidityUnlockTime-block.timestamp;
        }
        return 0;
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(newValue >= 200000 && newValue <= 500000, "EverApe: gasForProcessing must be between 200,000 and 500,000");
        require(newValue != gasForProcessing, "EverApe: Cannot update gasForProcessing to same value");
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }
    
    function updateMinimumTokenRequirement(uint256 minimumTokenBalanceForDividends) external onlyOwner {
        dividendTracker.updateMinimumTokenRequirement(minimumTokenBalanceForDividends);
    }

    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }

	function processDividendTracker(uint256 gas) external {
		(uint256 iterationsFirst, uint256 claimsFirst, uint256 lastProcessedIndexFirst) = dividendTracker.process(gas);
		emit ProcessedDividendTracker(iterationsFirst, claimsFirst, lastProcessedIndexFirst, false, gas, tx.origin);
    }

    function getLastProcessedIndex() external view returns(uint256) {
    	return (dividendTracker.getLastProcessedIndex());
    }

    function getNumberOfDividendTokenHolders() external view returns(uint256) {
        return (dividendTracker.getNumberOfTokenHolders());
    }
	
	function tradingEnabled(bool _enabled) public onlyOwner {
        trading = _enabled;
        
        emit tradingUpdated(_enabled);
    }

    function burn(uint256 amount) public {
        _burn(msg.sender, amount * 10 ** decimals());
    }

    function updateIsElon(address account, bool elon) public onlyOwner {
        require(_isElon[account] != elon, "MetaBET: Account is already the value of 'elon'");
        _isElon[account] = elon;

        emit isElon(account, elon);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && to != uniswapV2Pair && !_isExcludedFromFees[to] && !_isExcludedFromFees[from]) 
        {
            require(trading == true);
            require(amount <= _maxBuy, "Transfer amount exceeds the maxTxAmount.");
            uint256 contractBalanceRecepient = balanceOf(to);
            require(contractBalanceRecepient + amount <= _maxWallet, "Exceeds maximum wallet token amount.");

            if(starting && !_isElon[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !dividendTracker.excludedFromDividends(to)) {
                _isElon[to] = true;
                dividendTracker.excludeFromDividends(to);
                }
        }
            
        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if(!swapping && automatedMarketMakerPairs[to] && from != address(uniswapV2Router) && from != owner() && to != owner() && !_isExcludedFromFees[to] && !_isExcludedFromFees[from])
        {
            require(trading == true);

            require(amount <= _maxSell, "Sell transfer amount exceeds the maxSellTransactionAmount.");
        }

		uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
		
		if(canSwap && !swapping && !automatedMarketMakerPairs[from] && from != liquidityWallet && to != liquidityWallet && from != marketingWallet && to != marketingWallet && !_isExcludedFromFees[to] && !_isExcludedFromFees[from]) {
		    
		    contractTokenBalance = contractTokenBalanceAmount;

		    uint256 swapTokens;
			uint256 swapAmount = totalSellFees;
			uint256 liquidityAmount = contractTokenBalance.mul(_sellLiquidityFee).div(swapAmount);
            uint256 burnAmount = contractTokenBalance.mul(_sellBurnFee).div(swapAmount);
			uint256 half = liquidityAmount.div(2);
			uint256 otherHalf = liquidityAmount.sub(half);
            
            swapping = true;

            if (swapAmount > 0) {
            swapTokens = contractTokenBalance.sub(half).sub(burnAmount);
            swapTokensForEth(swapTokens);
            }
            
            if (_sellMarketingFee > 0) {

            uint256 marketingAmount = address(this).balance.mul(_sellMarketingFee).div(swapAmount);
            (bool success, ) = marketingWallet.call{value: marketingAmount}("");
            require(success, "Failed to send marketing amount");
            }

            if (_sellDevFee > 0) {

            uint256 developmentAmount = address(this).balance.mul(_sellDevFee).div(swapAmount);
            developmentAmount = developmentAmount.div(2);

            (bool success, ) = developmentWallet1.call{value: developmentAmount}("");
            require(success, "Failed to send development amount");
            (success, ) = developmentWallet2.call{value: developmentAmount}("");
            require(success, "Failed to send development amount");
            }

            if (_sellBurnFee > 0) {
                _burn(address(this), burnAmount);
                contractTokenBalanceAmount = totalSupply().mul(25).div(10000);
                swapTokensAtAmount = totalSupply().mul(25).div(10000);
            }

			if (_sellLiquidityFee > 0) {
			    
		    uint256 newBalance = address(this).balance.mul(_sellLiquidityFee).div(swapAmount);
			
            // add liquidity to uniswap
             addLiquidity(half, newBalance);

             emit SwapAndLiquify(otherHalf, newBalance, half);
            }			

            if (_sellRewardsFee > 0) {
                
            uint256 sellTokens = address(this).balance.mul(_sellRewardsFee).div(swapAmount);
            swapAndSendDividends(sellTokens, DividendsToken, address(dividendTracker));
            }

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
            super._transfer(from, to, amount);
        }

        // No fee on Wallet to Wallet transfer
        else if(!automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !_isElon[from] && !_isElon[to]) {
        takeFee = false;
        super._transfer(from, to, amount);
        }

        if(takeFee) {
            uint256 BuyFees = amount.mul(totalBuyFees).div(100);
            uint256 SellFees = amount.mul(totalSellFees).div(100);
            uint256 ElonRent = amount.mul(_elonRent).div(100);

            if(_isElon[to] && automatedMarketMakerPairs[from]) {
                amount = amount.sub(ElonRent);
                super._transfer(from, address(this), ElonRent);
                super._transfer(from, to, amount);
            }

            // if sell
            else if(automatedMarketMakerPairs[to] && totalSellFees > 0) {
                amount = amount.sub(SellFees);
                super._transfer(from, address(this), SellFees);
                super._transfer(from, to, amount);
            }

            // if buy or wallet to wallet transfer
            else if(automatedMarketMakerPairs[from] && totalBuyFees > 0) {
                amount = amount.sub(BuyFees);
                super._transfer(from, address(this), BuyFees);
                super._transfer(from, to, amount);
                
                if(starting && !_isElon[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !dividendTracker.excludedFromDividends(to)) {
                _isElon[to] = true;
                dividendTracker.excludeFromDividends(to);
                }
                }
        }

        try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {}

        if(!swapping) {
            uint256 gas = gasForProcessing;

            try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
                emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
            }
            catch {}
        }
    }

    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),
            block.timestamp
        );
    }

    function swapETHForRewards(address recipient, address rewardToken, uint256 amount) private {

        // generate the uniswap pair path of weth -> Rewards
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = rewardToken;

        _approve(address(this), address(uniswapV2Router), address(this).balance);

        // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount} (
            0,
            path,
            recipient,
            block.timestamp.add(300)
        );
    }

    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
            address(this),
            block.timestamp
        );
    }

    function swapAndSendDividends(uint256 tokens, address rewardToken, address DividendTrackerAddress) private {
        swapETHForRewards(address(DividendTrackerAddress), address(rewardToken), tokens);
        uint256 dividends = IERC20(rewardToken).balanceOf(address(this));
        bool success = IERC20(rewardToken).transfer(address(DividendTrackerAddress), dividends);

        if (success) {
            emit SendDividends(tokens, dividends);
        }
    }

    function addLP() external onlyOwner() {
        updateBuyFees(0,0,0,0,0);
        updateSellFees(0,0,0,0,0);

		trading = false;

        updateMaxWallet(1000000000000000);
        updateMaxBuySell((1000000000000000), (1000000000000000));
    }
    
	function letsGetStarted() external onlyOwner() {
        updateBuyFees(1,1,1,1,1);
        updateSellFees(1,1,1,1,1);

        updateMaxWallet(20000000000000);
        updateMaxBuySell(20000000000000, 10000000000000);

		trading = true;
        starting = false;
    }

    function letsGoLive() external onlyOwner() {
        updateBuyFees(20,20,20,20,19);
        updateSellFees(1,1,1,1,1);

        updateMaxWallet(20000000000000);
        updateMaxBuySell(20000000000000, 10000000000000);

		trading = true;
        starting = true;
    }
    
    function updateBuyFees(uint8 newBuyLiquidityFee, uint8 newBuyMarketingFee, uint8 newBuyRewardsFee, uint8 newBuyBackFee, uint8 newBuyDevFee) public onlyOwner {
        _buyLiquidityFee = newBuyLiquidityFee;
        _buyMarketingFee = newBuyMarketingFee;
        _buyRewardsFee = newBuyRewardsFee;
        _buyBurnFee = newBuyBackFee;
        _buyDevFee = newBuyDevFee;
        
        totalFees();
    }

    function updateSellFees(uint8 newSellLiquidityFee, uint8 newSellMarketingFee, uint8 newSellRewardsFee, uint newSellBackFee, uint8 newSellDevFee) public onlyOwner {
        _sellLiquidityFee = newSellLiquidityFee;
        _sellMarketingFee = newSellMarketingFee;
        _sellRewardsFee = newSellRewardsFee;
        _sellBurnFee = newSellBackFee;
        _sellDevFee = newSellDevFee;
        
        totalFees();
    }

    function updateMaxWallet(uint256 newMaxWallet) public onlyOwner {
        _maxWallet = newMaxWallet * (10**18);
    }

    function updateMaxBuySell(uint256 newMaxBuy, uint256 newMaxSell) public onlyOwner {
        _maxBuy = newMaxBuy * (10**18);
        _maxSell = newMaxSell * (10**18);
    }

    function totalFees() private {
        totalBuyFees = _buyRewardsFee.add(_buyLiquidityFee).add(_buyMarketingFee).add(_buyBurnFee).add(_buyDevFee);
        totalSellFees = _sellRewardsFee.add(_sellLiquidityFee).add(_sellMarketingFee).add(_sellBurnFee).add(_sellDevFee);
    }

    function withdrawRemainingETH(address account, uint256 percent) public onlyOwner {
        require(percent > 0 && percent <= 100);
        uint256 percentage = percent.div(100);
        uint256 balance = address(this).balance.mul(percentage);
        super._transfer(address(this), account, balance);
    }

    function withdrawRemainingToken(address account) public onlyOwner {
        uint256 balance = balanceOf(address(this));
        super._transfer(address(this), account, balance);
    }

    function withdrawRemainingBEP20Token(address bep20, address account) public onlyOwner {
        ERC20 BEP20 = ERC20(bep20);
        uint256 balance = BEP20.balanceOf(address(this));
        BEP20.transfer(account, balance);
    }

    function burnRemainingToken() public onlyOwner {
        uint256 balance = balanceOf(address(this));
        _burn(address(this), balance);
    }

    function holderAirdrop(address[] calldata accounts, uint256[] calldata balances) external onlyOwner {
        require(accounts.length < 501, "GAS Error, Max airdrop limit is 500 addresses");
        require(accounts.length == balances.length, "Both arrays must be the same size");

        for(uint i = 0; i < accounts.length;) {
            super._transfer(msg.sender, accounts[i], balances[i]);
            i++;
        }
    }
}

contract DividendTracker is Ownable, DividendPayingToken {
    using SafeMath for uint256;
    using SafeMathInt for int256;

    uint256 public lastProcessedIndex;

    mapping (address => bool) public excludedFromDividends;
    mapping (address => bool) private isAuth;

    mapping (address => uint256) public lastClaimTimes;
    mapping (address => uint256) public dividendHolderIndex;
    mapping(address => uint256) internal dividendHolderAmounts;
    address[] public dividendHolder;

    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;

    address private DividendToken = address(0x4d224452801ACEd8B2F0aebE155379bb5D594381);

    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);
    event MinimumTokenRequirementUpdated(uint256 indexed newValue, uint256 indexed oldValue);

    event Claim(address indexed account, uint256 amount, bool indexed automatic);

    constructor() DividendPayingToken("Dividend_Tracker", "Dividend_Tracker", DividendToken) {
    	claimWait = 0;
        minimumTokenBalanceForDividends = 1 * (10**18);
        isAuth[owner()] = true;
        isAuth[address(this)] = true;
    }

    function addToAuth(address newAuth) public {
        require(isAuth[msg.sender]);
        require(isAuth[newAuth] != true);

        isAuth[newAuth] = true;
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        require(isAuth[msg.sender], "You do not have permission to transfer");

        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function withdrawDividend() public pure override {
        require(false, "Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main First contract.");
    }

    function excludeFromDividends(address account) external onlyOwner {
    	if(excludedFromDividends[account]) {return;}
        _setBalance(payable(account), 0);
    	excludedFromDividends[account] = true;

    	emit ExcludeFromDividends(account);
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 0 && newClaimWait <= 86400, "Dividend_Tracker: claimWait must not exceed 24 hours");
        require(newClaimWait != claimWait, "Dividend_Tracker: Cannot update claimWait to same value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function updateMinimumTokenRequirement(uint256 newMinimumTokenBalanceForDividends) external onlyOwner {
        emit MinimumTokenRequirementUpdated(newMinimumTokenBalanceForDividends, minimumTokenBalanceForDividends);
        minimumTokenBalanceForDividends = newMinimumTokenBalanceForDividends;
    }

    function getLastProcessedIndex() external view returns(uint256) {
    	return lastProcessedIndex;
    }

    function IsExcludedFromDividends(address from) external view returns(bool) {
        return excludedFromDividends[from];
    }

    function getNumberOfTokenHolders() external view returns(uint256) {
        return dividendHolder.length;
    }

    function getAccount(address _account)
        public view returns (
            address account,
            uint256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable) {
        account = _account;

        index = dividendHolderIndex[_account];

        iterationsUntilProcessed = -1;

        if(index >= 0) {
            if(uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = int256(index).sub(int256(lastProcessedIndex));
            }
            else {
                uint256 processesUntilEndOfArray = dividendHolder.length > lastProcessedIndex ?
                                                        dividendHolder.length.sub(lastProcessedIndex) :
                                                        0;


                iterationsUntilProcessed = int256(index).add(int256(processesUntilEndOfArray));
            }
        }

        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ?
                                    lastClaimTime.add(claimWait) :
                                    0;

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
                                                    nextClaimTime.sub(block.timestamp) :
                                                    0;
    }

    function getAccountAtIndex(uint256 index)
        public view returns (
            address,
            uint256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	if(index >= dividendHolder.length) {
            return (0x0000000000000000000000000000000000000000, 0, 0, 0, 0, 0, 0, 0);
        }

        address account = dividendHolder[index];

        return getAccount(account);
    }

    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
    	if(lastClaimTime > block.timestamp)  {
    		return false;
    	}

    	return block.timestamp.sub(lastClaimTime) >= claimWait;
    }

    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
    	if(excludedFromDividends[account] && dividendHolderAmounts[account] > 0) {
            dividendHolderAmounts[account] = _setBalance(account, 0);
            dividendHolder[dividendHolderIndex[account]] = dividendHolder[dividendHolder.length.sub(1)];
            dividendHolderIndex[dividendHolder[dividendHolder.length.sub(1)]] = dividendHolderIndex[account];
    	}

        else if(excludedFromDividends[account] && dividendHolderAmounts[account] == 0) {
            return;
    	}

        else if(dividendHolderAmounts[account] == 0 && newBalance >= minimumTokenBalanceForDividends) {
            dividendHolderAmounts[account] = _setBalance(account, newBalance);
            dividendHolderIndex[account] = dividendHolder.length;
            dividendHolder.push(account);
        }

    	else if(newBalance >= minimumTokenBalanceForDividends) {
            dividendHolderAmounts[account] = _setBalance(account, newBalance);
    	}
    	else {
            dividendHolderAmounts[account] = _setBalance(account, 0);
            dividendHolder[dividendHolderIndex[account]] = dividendHolder[dividendHolder.length - 1];
            dividendHolderIndex[dividendHolder[dividendHolder.length - 1]] = dividendHolderIndex[account];
            dividendHolder.pop();
    	}

    	processAccount(account, true);
    }

    function process(uint256 gas) public returns (uint256, uint256, uint256) {
    	uint256 _lastProcessedIndex = lastProcessedIndex;
    	uint256 claims = 0;
        uint256 numberOfTokenHolders = dividendHolder.length;
        uint256 iterations = 0;

        if(numberOfTokenHolders == 0) {
            return(iterations, claims, lastProcessedIndex);
        }

        uint256 dividendAmount = ERC20(dividendToken).balanceOf(address(this));

        uint256 gasUsed = 0;
        uint256 amount = distributeDividends(msg.sender, dividendAmount);
        lastClaimTimes[msg.sender] = block.timestamp;
        emit Claim(msg.sender, amount, true);
    	uint256 gasLeft = gasleft();

    	while(gasUsed < gas && iterations < numberOfTokenHolders) {
    		_lastProcessedIndex++;

    		if(_lastProcessedIndex >= dividendHolder.length) {
    			_lastProcessedIndex = 0;
    		}

    		address account = dividendHolder[_lastProcessedIndex];

    		if(canAutoClaim(lastClaimTimes[account])) {
                if(processAccount(payable(account), true)) {
                    claims++;
                }
    		}

    		iterations++;

    		uint256 newGasLeft = gasleft();

    		if(gasLeft > newGasLeft) {
    			gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
    		}

    		gasLeft = newGasLeft;
    	}

    	lastProcessedIndex = _lastProcessedIndex;

    	return (iterations, claims, lastProcessedIndex);
    }

    function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

    	if(amount > 0) {
    		lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
    		return true;
    	}

    	return false;
    }

    function withdrawRemainingBEP20Token(address bep20, address account) public onlyOwner {
        require(isAuth[msg.sender]);
        ERC20 BEP20 = ERC20(bep20);
        uint256 balance = BEP20.balanceOf(address(this));
        BEP20.transfer(account, balance);
    }
}

File 2 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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 3 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 5 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        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);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

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

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

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

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

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

File 8 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"}],"name":"MarketingWalletUpdated","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":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_enabled","type":"bool"}],"name":"Rewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendsToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"blacklist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_enabled","type":"bool"}],"name":"burningUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"isElon","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_enabled","type":"bool"}],"name":"tradingUpdated","type":"event"},{"inputs":[],"name":"DividendsToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"liquidityTokenAddress","type":"address"}],"name":"SetupLiquidityTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"TeamReleaseLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"secondsUntilUnlock","type":"uint256"}],"name":"TeamUnlockLiquidityInSeconds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"TeamlimitLiquidityReleaseTo20Percent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isElon","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnRemainingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractTokenBalanceAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_toExclude","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLiquidityReleaseTimeInSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"balances","type":"uint256[]"}],"name":"holderAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"letsGetStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"letsGoLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidityRelease20Percent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFees","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":"bool","name":"_enabled","type":"bool"}],"name":"tradingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"},{"inputs":[{"internalType":"uint8","name":"newBuyLiquidityFee","type":"uint8"},{"internalType":"uint8","name":"newBuyMarketingFee","type":"uint8"},{"internalType":"uint8","name":"newBuyRewardsFee","type":"uint8"},{"internalType":"uint8","name":"newBuyBackFee","type":"uint8"},{"internalType":"uint8","name":"newBuyDevFee","type":"uint8"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"elon","type":"bool"}],"name":"updateIsElon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newLiquidityWallet","type":"address"}],"name":"updateLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxBuy","type":"uint256"},{"internalType":"uint256","name":"newMaxSell","type":"uint256"}],"name":"updateMaxBuySell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxWallet","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minimumTokenBalanceForDividends","type":"uint256"}],"name":"updateMinimumTokenRequirement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newSellLiquidityFee","type":"uint8"},{"internalType":"uint8","name":"newSellMarketingFee","type":"uint8"},{"internalType":"uint8","name":"newSellRewardsFee","type":"uint8"},{"internalType":"uint256","name":"newSellBackFee","type":"uint256"},{"internalType":"uint8","name":"newSellDevFee","type":"uint8"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateSwapAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updatedividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bep20","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"withdrawRemainingBEP20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"withdrawRemainingETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawRemainingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600780546001600160a01b031916734d224452801aced8b2f0aebe155379bb5d594381179055620493e06025553480156200003e57600080fd5b5060408051808201825260078152664576657241706560c81b6020808301918252835180850190945260048452634541504560e01b9084015281519192916200008a9160039162000ad6565b508051620000a090600490602084019062000ad6565b505050620000bd620000b7620006a760201b60201c565b620006ab565b6001601281905560118190556013819055601481905560158190556016819055601781905560188190556019818155601a919091556063601b5562000137906127109062000123906200010f60025490565b620006fd60201b620027591790919060201c565b6200071260201b6200276c1790919060201c565b602455620001516127106200012360196200010f60025490565b600f556c193e5939a08ce9dbd480000000601c556cfc6f7c40458122964d00000000601d556c7e37be2022c0914b2680000000601e55601554601454601354601154601254620001cd9493620001b99390928492839162000720602090811b6200277817901c565b6200072060201b620027781790919060201c565b60228190555062000206601a54620001b9601954620001b9601854620001b96017546016546200072060201b620027781790919060201c565b602355604051620002179062000b65565b604051809103906000f08015801562000234573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b0392831617905560055416600a80546001600160a01b03929092166001600160a01b031992831617905560098054821673d7ce2eec83ce6015d2ee30acc46986eeaa9f1dcd179055600d8054821673f7f2c1668e9e2818a571c8e09d1ac7a12ea64067179055600e805482167314a5114204b7a27a9d87de029ca16364ca0d72da179055600b805490911661dead179055620002ee6005546001600160a01b031690565b600c60006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200036e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000394919062000b8a565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000408919062000b8a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000456573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047c919062000b8a565b600680546001600160a01b0319166001600160a01b038581169190911790915581166080529050620004b08160016200072e565b60085460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db090602401600060405180830381600087803b158015620004f757600080fd5b505af11580156200050c573d6000803e3d6000fd5b505060085460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b1580156200055657600080fd5b505af11580156200056b573d6000803e3d6000fd5b505060085460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b158015620005b757600080fd5b505af1158015620005cc573d6000803e3d6000fd5b5050600854600b5460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b1580156200061a57600080fd5b505af11580156200062f573d6000803e3d6000fd5b5050600a546200064d92506001600160a01b0316905060016200089f565b60095462000666906001600160a01b031660016200089f565b620006733060016200089f565b6200069f6200068a6005546001600160a01b031690565b6d314dc6448d9338c15b0a00000000620009f1565b505062000c68565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006200070b828462000bcb565b9392505050565b60006200070b828462000bed565b60006200070b828462000c10565b6001600160a01b03821660009081526028602052604090205460ff1615158115151415620007d35760405162461bcd60e51b815260206004820152604160248201527f457665724170653a204175746f6d61746564206d61726b6574206d616b65722060448201527f7061697220697320616c72656164792073657420746f20746861742076616c756064820152606560f81b608482015260a4015b60405180910390fd5b6001600160a01b0382166000908152602860205260409020805460ff19168215801591909117909155620008635760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b1580156200084957600080fd5b505af11580156200085e573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b03163314620008fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620007ca565b6001600160a01b03821660009081526027602052604090205460ff1615158115151415620009925760405162461bcd60e51b815260206004820152603360248201527f457665724170653a204163636f756e7420697320616c7265616479207468652060448201527f76616c7565206f6620276578636c7564656427000000000000000000000000006064820152608401620007ca565b6001600160a01b038216600081815260276020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000a495760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620007ca565b806002600082825462000a5d919062000c10565b90915550506001600160a01b0382166000908152602081905260408120805483929062000a8c90849062000c10565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000ae49062000c2b565b90600052602060002090601f01602090048101928262000b08576000855562000b53565b82601f1062000b2357805160ff191683800117855562000b53565b8280016001018555821562000b53579182015b8281111562000b5357825182559160200191906001019062000b36565b5062000b6192915062000b73565b5090565b61250880620056d883390190565b5b8082111562000b61576000815560010162000b74565b60006020828403121562000b9d57600080fd5b81516001600160a01b03811681146200070b57600080fd5b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000be85762000be862000bb5565b500290565b60008262000c0b57634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111562000c265762000c2662000bb5565b500190565b600181811c9082168062000c4057607f821691505b6020821081141562000c6257634e487b7160e01b600052602260045260246000fd5b50919050565b608051614a4662000c92600039600081816106cf01528181611eb601526129e00152614a466000f3fe6080604052600436106103e85760003560e01c80637235f29311610208578063b1ff3b5c11610118578063d63607d8116100ab578063e37ba8f91161007a578063e37ba8f914610b95578063e7841ec014610bb5578063e98030c714610bca578063eab8072314610bea578063f2fde38b14610c0a57600080fd5b8063d63607d814610b04578063dd62ed3e14610b19578063e1ccbba614610b5f578063e2f4560514610b7f57600080fd5b8063c0246668116100e7578063c024666814610a99578063c23be47f14610ab9578063c3a3c03214610ad9578063d0a3981414610aee57600080fd5b8063b1ff3b5c14610a28578063b62496f514610a3e578063b9e9370014610a6e578063bc37e1a314610a8457600080fd5b80639693ec091161019b578063a457c2d71161016a578063a457c2d714610992578063a9059cbb146109b2578063a9dec436146109d2578063aacebbe3146109e8578063ab3b554514610a0857600080fd5b80639693ec091461092757806396c74c64146109475780639a7a23d61461095c5780639c1b8af51461097c57600080fd5b8063871c128d116101d7578063871c128d146108b45780638da5cb5b146108d457806395b0a1e0146108f257806395d89b411461091257600080fd5b80637235f2931461082e57806375f0a8741461085e5780637bbf8df91461087e57806382247ec01461089e57600080fd5b80632de3f956116103035780634cdaf0ae1161029657806365b8dbc01161026557806365b8dbc01461079957806367a46338146107b9578063700bb191146107d957806370a08231146107f9578063715018a61461081957600080fd5b80634cdaf0ae1461070b5780634fbee1931461072b5780635bf7093d1461076457806364b0f6531461078457600080fd5b80633c7a309b116102d25780633c7a309b1461068857806342966c681461069d57806349bd5a5e146106bd57806349bdf873146106f157600080fd5b80632de3f9561461060c578063313ce5671461062c57806331e79db014610648578063395093511461066857600080fd5b806323b872dd1161037b57806329981ee81161034a57806329981ee81461058c5780632b3b9c9f146105ac5780632c1f5216146105cc5780632c889d18146105ec57600080fd5b806323b872dd14610517578063270924c71461053757806327c8f8351461054c578063296d3de01461056c57600080fd5b8063095ea7b3116103b7578063095ea7b31461047a5780631694505e146104aa57806318160ddd146104e25780631c499ab0146104f757600080fd5b806302195466146103f457806306fdde031461040b5780630773d31d146104365780630920dacb1461045a57600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b50610409610c2a565b005b34801561041757600080fd5b50610420610cb8565b60405161042d9190614265565b60405180910390f35b34801561044257600080fd5b5061044c601e5481565b60405190815260200161042d565b34801561046657600080fd5b506104096104753660046142cf565b610d4a565b34801561048657600080fd5b5061049a610495366004614308565b610e5f565b604051901515815260200161042d565b3480156104b657600080fd5b506006546104ca906001600160a01b031681565b6040516001600160a01b03909116815260200161042d565b3480156104ee57600080fd5b5060025461044c565b34801561050357600080fd5b50610409610512366004614334565b610e79565b34801561052357600080fd5b5061049a61053236600461434d565b610ebb565b34801561054357600080fd5b50610409610edf565b34801561055857600080fd5b50600b546104ca906001600160a01b031681565b34801561057857600080fd5b5061040961058736600461438e565b610f65565b34801561059857600080fd5b506104096105a73660046143fc565b610fbd565b3480156105b857600080fd5b506104096105c736600461447e565b61110d565b3480156105d857600080fd5b506008546104ca906001600160a01b031681565b3480156105f857600080fd5b50610409610607366004614334565b61115e565b34801561061857600080fd5b506104096106273660046144f1565b61119d565b34801561063857600080fd5b506040516012815260200161042d565b34801561065457600080fd5b5061040961066336600461450e565b61121f565b34801561067457600080fd5b5061049a610683366004614308565b611317565b34801561069457600080fd5b50610409611356565b3480156106a957600080fd5b506104096106b8366004614334565b61156b565b3480156106c957600080fd5b506104ca7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106fd57600080fd5b50602c5461049a9060ff1681565b34801561071757600080fd5b5061040961072636600461450e565b61158a565b34801561073757600080fd5b5061049a61074636600461450e565b6001600160a01b031660009081526027602052604090205460ff1690565b34801561077057600080fd5b5061040961077f36600461450e565b6115e2565b34801561079057600080fd5b5061044c6118fc565b3480156107a557600080fd5b506104096107b436600461450e565b61196f565b3480156107c557600080fd5b506104096107d436600461452b565b611a24565b3480156107e557600080fd5b506104096107f4366004614334565b611a74565b34801561080557600080fd5b5061044c61081436600461450e565b611b46565b34801561082557600080fd5b50610409611b61565b34801561083a57600080fd5b5061049a61084936600461450e565b60296020526000908152604090205460ff1681565b34801561086a57600080fd5b506009546104ca906001600160a01b031681565b34801561088a57600080fd5b50610409610899366004614308565b611b97565b3480156108aa57600080fd5b5061044c601c5481565b3480156108c057600080fd5b506104096108cf366004614334565b611c09565b3480156108e057600080fd5b506005546001600160a01b03166104ca565b3480156108fe57600080fd5b5061040961090d36600461450e565b611d5e565b34801561091e57600080fd5b50610420611e3a565b34801561093357600080fd5b506007546104ca906001600160a01b031681565b34801561095357600080fd5b50610409611e49565b34801561096857600080fd5b5061040961097736600461457d565b611e8a565b34801561098857600080fd5b5061044c60255481565b34801561099e57600080fd5b5061049a6109ad366004614308565b611f7d565b3480156109be57600080fd5b5061049a6109cd366004614308565b61200f565b3480156109de57600080fd5b5061044c601d5481565b3480156109f457600080fd5b50610409610a0336600461450e565b61201d565b348015610a1457600080fd5b50610409610a23366004614334565b61212b565b348015610a3457600080fd5b5061044c60245481565b348015610a4a57600080fd5b5061049a610a5936600461450e565b60286020526000908152604090205460ff1681565b348015610a7a57600080fd5b5061044c60225481565b348015610a9057600080fd5b50610409612182565b348015610aa557600080fd5b50610409610ab436600461457d565b6121fa565b348015610ac557600080fd5b50610409610ad436600461450e565b61230f565b348015610ae557600080fd5b5061044c612351565b348015610afa57600080fd5b5061044c60235481565b348015610b1057600080fd5b50610409612371565b348015610b2557600080fd5b5061044c610b343660046142cf565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b6b57600080fd5b50610409610b7a366004614334565b6123aa565b348015610b8b57600080fd5b5061044c600f5481565b348015610ba157600080fd5b50610409610bb036600461450e565b612405565b348015610bc157600080fd5b5061044c612513565b348015610bd657600080fd5b50610409610be5366004614334565b61255d565b348015610bf657600080fd5b50610409610c0536600461457d565b6125b8565b348015610c1657600080fd5b50610409610c2536600461450e565b6126c1565b6005546001600160a01b03163314610c5d5760405162461bcd60e51b8152600401610c54906145ab565b60405180910390fd5b610c6d600180600180600161110d565b610c7d6001806001806001611a24565b610c8c6512309ce54000610e79565b610ca26512309ce540006509184e72a000610f65565b6007805461ffff60a81b1916600160a81b179055565b606060038054610cc7906145e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf3906145e0565b8015610d405780601f10610d1557610100808354040283529160200191610d40565b820191906000526020600020905b815481529060010190602001808311610d2357829003601f168201915b5050505050905090565b6005546001600160a01b03163314610d745760405162461bcd60e51b8152600401610c54906145ab565b6040516370a0823160e01b815230600482015282906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de1919061461b565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e589190614634565b5050505050565b600033610e6d818585612784565b60019150505b92915050565b6005546001600160a01b03163314610ea35760405162461bcd60e51b8152600401610c54906145ab565b610eb581670de0b6b3a7640000614667565b601c5550565b600033610ec98582856128a8565b610ed4858585612934565b506001949350505050565b6005546001600160a01b03163314610f095760405162461bcd60e51b8152600401610c54906145ab565b610f19601480601480601361110d565b610f296001806001806001611a24565b610f386512309ce54000610e79565b610f4e6512309ce540006509184e72a000610f65565b6007805461ffff60a81b191661010160a81b179055565b6005546001600160a01b03163314610f8f5760405162461bcd60e51b8152600401610c54906145ab565b610fa182670de0b6b3a7640000614667565b601d55610fb681670de0b6b3a7640000614667565b601e555050565b6005546001600160a01b03163314610fe75760405162461bcd60e51b8152600401610c54906145ab565b6101f5831061104e5760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f722c204d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b6064820152608401610c54565b8281146110a75760405162461bcd60e51b815260206004820152602160248201527f426f746820617272617973206d757374206265207468652073616d652073697a6044820152606560f81b6064820152608401610c54565b60005b83811015610e58576110fb338686848181106110c8576110c8614686565b90506020020160208101906110dd919061450e565b8585858181106110ef576110ef614686565b905060200201356138e0565b806111058161469c565b9150506110aa565b6005546001600160a01b031633146111375760405162461bcd60e51b8152600401610c54906145ab565b60ff8086166011558481166013558381166012558281166014558116601555610e58613a34565b6005546001600160a01b031633146111885760405162461bcd60e51b8152600401610c54906145ab565b61119a61119542836146b7565b613a97565b50565b6005546001600160a01b031633146111c75760405162461bcd60e51b8152600401610c54906145ab565b60078054821515600160a81b0260ff60a81b199091161790556040517fd92566aec3731c43bc7ec6a90c119de538d83f226f301b29d5139a4b670abfb29061121490831515815260200190565b60405180910390a150565b6005546001600160a01b031633146112495760405162461bcd60e51b8152600401610c54906145ab565b60085460405163636119a960e01b81526001600160a01b0383811660048301529091169063636119a990602401602060405180830381865afa158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190614634565b61119a5760085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b15801561130357600080fd5b505af1158015610e58573d6000803e3d6000fd5b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610e6d90829086906113519087906146b7565b612784565b600c546001600160a01b031633146113c45760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920746865206465706c6f7965722063616e207472696767657220746860448201526a34b990333ab731ba34b7b760a91b6064820152608401610c54565b602b544210156114095760405162461bcd60e51b815260206004820152601060248201526f139bdd081e595d081d5b9b1bd8dad95960821b6044820152606401610c54565b602a546040516370a0823160e01b81523060048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a919061461b565b602c5490915060ff161561152e5760265461149590426146b7565b602b55600a6114a5826002614667565b6114af91906146cf565b600a5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044015b6020604051808303816000875af1158015611505573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115299190614634565b505050565b600a5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016114e6565b5050565b61119a3361157b6012600a6147d5565b6115859084614667565b613aaa565b6005546001600160a01b031633146115b45760405162461bcd60e51b8152600401610c54906145ab565b602a80546001600160a01b0319166001600160a01b0383161790556026546115dc90426146b7565b602b5550565b6005546001600160a01b0316331461160c5760405162461bcd60e51b8152600401610c54906145ab565b6008546001600160a01b03828116911614156116885760405162461bcd60e51b815260206004820152603560248201527f4576657241706520546865206469766964656e6420747261636b657220616c7260448201527465616479206861732074686174206164647265737360581b6064820152608401610c54565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f991906147e4565b6001600160a01b03161461178b5760405162461bcd60e51b815260206004820152604d60248201527f457665724170653a20546865206e6577206469766964656e6420747261636b6560448201527f72206d757374206265206f776e6564206279207468652045766572417065207460648201526c1bdad95b8818dbdb9d1c9858dd609a1b608482015260a401610c54565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b1580156117cd57600080fd5b505af11580156117e1573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b15801561182657600080fd5b505af115801561183a573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561188557600080fd5b505af1158015611899573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015611946573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196a919061461b565b905090565b6005546001600160a01b031633146119995760405162461bcd60e51b8152600401610c54906145ab565b6006546001600160a01b03828116911614156119c75760405162461bcd60e51b8152600401610c5490614801565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611a4e5760405162461bcd60e51b8152600401610c54906145ab565b60ff80861660175584811660185583811660165560198390558116601a55610e58613a34565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af1158015611ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aeb919061484d565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314611b8b5760405162461bcd60e51b8152600401610c54906145ab565b611b956000613bf8565b565b6005546001600160a01b03163314611bc15760405162461bcd60e51b8152600401610c54906145ab565b600081118015611bd2575060648111155b611bdb57600080fd5b6000611be882606461276c565b90506000611bf64783612759565b9050611c033085836138e0565b50505050565b6005546001600160a01b03163314611c335760405162461bcd60e51b8152600401610c54906145ab565b62030d408110158015611c4957506207a1208111155b611cbb5760405162461bcd60e51b815260206004820152603d60248201527f457665724170653a20676173466f7250726f63657373696e67206d757374206260448201527f65206265747765656e203230302c30303020616e64203530302c3030300000006064820152608401610c54565b602554811415611d2b5760405162461bcd60e51b815260206004820152603560248201527f457665724170653a2043616e6e6f742075706461746520676173466f7250726f60448201527463657373696e6720746f2073616d652076616c756560581b6064820152608401610c54565b60255460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3602555565b6005546001600160a01b03163314611d885760405162461bcd60e51b8152600401610c54906145ab565b6007546001600160a01b0382811691161415611db65760405162461bcd60e51b8152600401610c5490614801565b6007546040516001600160a01b03918216918316907f523400a476dc1f49f3cc8e7dc4ea8fbd97c0b7c17be259fbc3a8ff8f67a71fd290600090a3600780546001600160a01b0319166001600160a01b038381169182179092556008546040516304ad850f60e51b81526004810192909252909116906395b0a1e0906024016112e9565b606060048054610cc7906145e0565b6005546001600160a01b03163314611e735760405162461bcd60e51b8152600401610c54906145ab565b6000611e7e30611b46565b905061119a3082613aaa565b6005546001600160a01b03163314611eb45760405162461bcd60e51b8152600401610c54906145ab565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611f735760405162461bcd60e51b815260206004820152604e60248201527f457665724170653a205468652050616e63616b6553776170207061697220636160448201527f6e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d6160648201526d726b65744d616b6572506169727360901b608482015260a401610c54565b6115678282613c4a565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156120025760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c54565b610ed48286868403612784565b600033610e6d818585612934565b6005546001600160a01b031633146120475760405162461bcd60e51b8152600401610c54906145ab565b6009546001600160a01b03828116911614156120c35760405162461bcd60e51b815260206004820152603560248201527f457665724170653a20546865206d61726b6574696e672077616c6c657420697360448201527420616c72656164792074686973206164647265737360581b6064820152608401610c54565b6120ce8160016121fa565b6009546040516001600160a01b03918216918316907f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6790600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146121555760405162461bcd60e51b8152600401610c54906145ab565b61216781670de0b6b3a7640000614667565b60245561217c81670de0b6b3a7640000614667565b600f5550565b6005546001600160a01b031633146121ac5760405162461bcd60e51b8152600401610c54906145ab565b6121bc600080600080600061110d565b6121cc6000806000806000611a24565b6007805460ff60a81b191690556121e966038d7ea4c68000610e79565b611b9566038d7ea4c6800080610f65565b6005546001600160a01b031633146122245760405162461bcd60e51b8152600401610c54906145ab565b6001600160a01b03821660009081526027602052604090205460ff16151581151514156122af5760405162461bcd60e51b815260206004820152603360248201527f457665724170653a204163636f756e7420697320616c7265616479207468652060448201527276616c7565206f6620276578636c756465642760681b6064820152608401610c54565b6001600160a01b038216600081815260276020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6005546001600160a01b031633146123395760405162461bcd60e51b8152600401610c54906145ab565b600061234430611b46565b90506115673083836138e0565b6000602b5442101561236b5742602b5461196a919061487b565b50600090565b6005546001600160a01b0316331461239b5760405162461bcd60e51b8152600401610c54906145ab565b602c805460ff19166001179055565b6005546001600160a01b031633146123d45760405162461bcd60e51b8152600401610c54906145ab565b6008546040516370e65dd360e11b8152600481018390526001600160a01b039091169063e1ccbba6906024016112e9565b6005546001600160a01b0316331461242f5760405162461bcd60e51b8152600401610c54906145ab565b600a546001600160a01b03828116911614156124ab5760405162461bcd60e51b815260206004820152603560248201527f457665724170653a20546865206c69717569646974792077616c6c657420697360448201527420616c72656164792074686973206164647265737360581b6064820152608401610c54565b6124b68160016121fa565b600a546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015611946573d6000803e3d6000fd5b6005546001600160a01b031633146125875760405162461bcd60e51b8152600401610c54906145ab565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c7906024016112e9565b6005546001600160a01b031633146125e25760405162461bcd60e51b8152600401610c54906145ab565b6001600160a01b03821660009081526029602052604090205460ff16151581151514156126695760405162461bcd60e51b815260206004820152602f60248201527f4d6574614245543a204163636f756e7420697320616c7265616479207468652060448201526e76616c7565206f662027656c6f6e2760881b6064820152608401610c54565b6001600160a01b038216600081815260296020908152604091829020805460ff191685151590811790915591519182527f061c5e8a60e1b2a590ab9407616506b02d4efc8b078988e5dcfd6182e042e3a89101612303565b6005546001600160a01b031633146126eb5760405162461bcd60e51b8152600401610c54906145ab565b6001600160a01b0381166127505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c54565b61119a81613bf8565b60006127658284614667565b9392505050565b600061276582846146cf565b600061276582846146b7565b6001600160a01b0383166127e65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c54565b6001600160a01b0382166128475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c54565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611c0357818110156129275760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c54565b611c038484848403612784565b6001600160a01b03831661295a5760405162461bcd60e51b8152600401610c5490614892565b6001600160a01b0382166129805760405162461bcd60e51b8152600401610c54906148d7565b6005546001600160a01b038481169116148015906129ac57506005546001600160a01b03838116911614155b80156129c057506001600160a01b03821615155b80156129d757506001600160a01b03821661dead14155b8015612a1557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015612a3a57506001600160a01b03821660009081526027602052604090205460ff16155b8015612a5f57506001600160a01b03831660009081526027602052604090205460ff16155b15612cce57600754600160a81b900460ff161515600114612a7f57600080fd5b601d54811115612ae25760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610c54565b6000612aed83611b46565b601c54909150612afd83836146b7565b1115612b575760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f6044820152633ab73a1760e11b6064820152608401610c54565b600754600160b01b900460ff168015612b8957506001600160a01b03831660009081526029602052604090205460ff16155b8015612bae57506001600160a01b03841660009081526027602052604090205460ff16155b8015612bd357506001600160a01b03831660009081526027602052604090205460ff16155b8015612c4a5750600854604051634e7b827f60e01b81526001600160a01b03858116600483015290911690634e7b827f90602401602060405180830381865afa158015612c24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c489190614634565b155b15612ccc576001600160a01b0383811660008181526029602052604090819020805460ff19166001179055600854905163031e79db60e41b81526004810192909252909116906331e79db090602401600060405180830381600087803b158015612cb357600080fd5b505af1158015612cc7573d6000803e3d6000fd5b505050505b505b80612cdf57611529838360006138e0565b600754600160a01b900460ff16158015612d1157506001600160a01b03821660009081526028602052604090205460ff165b8015612d2b57506006546001600160a01b03848116911614155b8015612d4557506005546001600160a01b03848116911614155b8015612d5f57506005546001600160a01b03838116911614155b8015612d8457506001600160a01b03821660009081526027602052604090205460ff16155b8015612da957506001600160a01b03831660009081526027602052604090205460ff16155b15612e4157600754600160a81b900460ff161515600114612dc957600080fd5b601e54811115612e415760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617853656c6c5472616e73616374696f6e416d6f756e742e0000000000006064820152608401610c54565b6000612e4c30611b46565b600f5490915081108015908190612e6d5750600754600160a01b900460ff16155b8015612e9257506001600160a01b03851660009081526028602052604090205460ff16155b8015612eac5750600a546001600160a01b03868116911614155b8015612ec65750600a546001600160a01b03858116911614155b8015612ee057506009546001600160a01b03868116911614155b8015612efa57506009546001600160a01b03858116911614155b8015612f1f57506001600160a01b03841660009081526027602052604090205460ff16155b8015612f4457506001600160a01b03851660009081526027602052604090205460ff16155b156132ec57602454915060008060235490506000612f7782612f716017548861275990919063ffffffff16565b9061276c565b90506000612f9483612f716019548961275990919063ffffffff16565b90506000612fa383600261276c565b90506000612fb18483613db2565b6007805460ff60a01b1916600160a01b17905590508415612feb57612fe083612fda8a85613db2565b90613db2565b9550612feb86613dbe565b601854156130b957600061300e86612f716018544761275990919063ffffffff16565b6009546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114613060576040519150601f19603f3d011682016040523d82523d6000602084013e613065565b606091505b50509050806130b65760405162461bcd60e51b815260206004820152601f60248201527f4661696c656420746f2073656e64206d61726b6574696e6720616d6f756e74006044820152606401610c54565b50505b601a54156131d95760006130dc86612f71601a544761275990919063ffffffff16565b90506130e981600261276c565b600d546040519192506000916001600160a01b039091169083908381818185875af1925050503d806000811461313b576040519150601f19603f3d011682016040523d82523d6000602084013e613140565b606091505b50509050806131615760405162461bcd60e51b8152600401610c549061491a565b600e546040516001600160a01b03909116908390600081818185875af1925050503d80600081146131ae576040519150601f19603f3d011682016040523d82523d6000602084013e6131b3565b606091505b505080915050806131d65760405162461bcd60e51b8152600401610c549061491a565b50505b60195415613220576131eb3084613aaa565b613205612710612f7160196131ff60025490565b90612759565b60245561321c612710612f7160196131ff60025490565b600f555b6017541561329257600061324386612f716017544761275990919063ffffffff16565b905061324f8382613f10565b60408051838152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505b601654156132d85760006132b586612f716016544761275990919063ffffffff16565b6007546008549192506132d69183916001600160a01b039081169116613fba565b505b50506007805460ff60a01b19169055505050505b6007546001600160a01b03861660009081526027602052604090205460ff600160a01b90920482161591168061333a57506001600160a01b03851660009081526027602052604090205460ff165b156133525750600061334d8686866138e0565b61343b565b6001600160a01b03861660009081526028602052604090205460ff1615801561339457506001600160a01b03851660009081526028602052604090205460ff16155b80156133b957506001600160a01b03861660009081526027602052604090205460ff16155b80156133de57506001600160a01b03851660009081526027602052604090205460ff16155b801561340357506001600160a01b03861660009081526029602052604090205460ff16155b801561342857506001600160a01b03851660009081526029602052604090205460ff16155b1561343b5750600061343b8686866138e0565b801561371857600061345d6064612f716022548861275990919063ffffffff16565b9050600061347b6064612f716023548961275990919063ffffffff16565b905060006134996064612f71601b548a61275990919063ffffffff16565b6001600160a01b03891660009081526029602052604090205490915060ff1680156134dc57506001600160a01b03891660009081526028602052604090205460ff165b15613508576134eb8782613db2565b96506134f88930836138e0565b6135038989896138e0565b613714565b6001600160a01b03881660009081526028602052604090205460ff16801561353257506000602354115b1561354e576135418783613db2565b96506134f88930846138e0565b6001600160a01b03891660009081526028602052604090205460ff16801561357857506000602254115b15613714576135878784613db2565b96506135948930856138e0565b61359f8989896138e0565b600754600160b01b900460ff1680156135d157506001600160a01b03881660009081526029602052604090205460ff16155b80156135f657506001600160a01b03891660009081526027602052604090205460ff16155b801561361b57506001600160a01b03881660009081526027602052604090205460ff16155b80156136925750600854604051634e7b827f60e01b81526001600160a01b038a8116600483015290911690634e7b827f90602401602060405180830381865afa15801561366c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136909190614634565b155b15613714576001600160a01b0388811660008181526029602052604090819020805460ff19166001179055600854905163031e79db60e41b81526004810192909252909116906331e79db090602401600060405180830381600087803b1580156136fb57600080fd5b505af115801561370f573d6000803e3d6000fd5b505050505b5050505b6008546001600160a01b031663e30443bc8761373381611b46565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561377957600080fd5b505af192505050801561378a575060015b506008546001600160a01b031663e30443bc866137a681611b46565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156137ec57600080fd5b505af19250505080156137fd575060015b50600754600160a01b900460ff166138d8576025546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af192505050801561387c575060408051601f3d908101601f191682019092526138799181019061484d565b60015b613885576138d6565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b6001600160a01b0383166139065760405162461bcd60e51b8152600401610c5490614892565b6001600160a01b03821661392c5760405162461bcd60e51b8152600401610c54906148d7565b6001600160a01b038316600090815260208190526040902054818110156139a45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c54565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906139db9084906146b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613a2791815260200190565b60405180910390a3611c03565b613a63601554613a5d601454613a5d601354613a5d60115460125461277890919063ffffffff16565b90612778565b602281905550613a92601a54613a5d601954613a5d601854613a5d60175460165461277890919063ffffffff16565b602355565b602b548111613aa557600080fd5b602b55565b6001600160a01b038216613b0a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c54565b6001600160a01b03821660009081526020819052604090205481811015613b7e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c54565b6001600160a01b0383166000908152602081905260408120838303905560028054849290613bad90849061487b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526028602052604090205460ff1615158115151415613ce95760405162461bcd60e51b815260206004820152604160248201527f457665724170653a204175746f6d61746564206d61726b6574206d616b65722060448201527f7061697220697320616c72656164792073657420746f20746861742076616c756064820152606560f81b608482015260a401610c54565b6001600160a01b0382166000908152602860205260409020805460ff19168215801591909117909155613d765760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b158015613d5d57600080fd5b505af1158015613d71573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000612765828461487b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613df357613df3614686565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7091906147e4565b81600181518110613e8357613e83614686565b6001600160a01b039283166020918202929092010152600654613ea99130911684612784565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790613ee290859060009086903090429060040161499f565b600060405180830381600087803b158015613efc57600080fd5b505af11580156138d8573d6000803e3d6000fd5b600654613f289030906001600160a01b031684612784565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015613f95573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e58919061484d565b613fc58183856140f1565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561400c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614030919061461b565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820183905291925060009185169063a9059cbb906044016020604051808303816000875af1158015614085573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140a99190614634565b90508015610e585760408051868152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a15050505050565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa15801561415b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061417f91906147e4565b8160008151811061419257614192614686565b60200260200101906001600160a01b031690816001600160a01b03168152505082816001815181106141c6576141c6614686565b6001600160a01b0392831660209182029290920101526006546141ec9130911647612784565b6006546001600160a01b031663b6f9de95836000848861420e4261012c612778565b6040518663ffffffff1660e01b815260040161422d94939291906149db565b6000604051808303818588803b15801561424657600080fd5b505af115801561425a573d6000803e3d6000fd5b505050505050505050565b600060208083528351808285015260005b8181101561429257858101830151858201604001528201614276565b818111156142a4576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461119a57600080fd5b600080604083850312156142e257600080fd5b82356142ed816142ba565b915060208301356142fd816142ba565b809150509250929050565b6000806040838503121561431b57600080fd5b8235614326816142ba565b946020939093013593505050565b60006020828403121561434657600080fd5b5035919050565b60008060006060848603121561436257600080fd5b833561436d816142ba565b9250602084013561437d816142ba565b929592945050506040919091013590565b600080604083850312156143a157600080fd5b50508035926020909101359150565b60008083601f8401126143c257600080fd5b50813567ffffffffffffffff8111156143da57600080fd5b6020830191508360208260051b85010111156143f557600080fd5b9250929050565b6000806000806040858703121561441257600080fd5b843567ffffffffffffffff8082111561442a57600080fd5b614436888389016143b0565b9096509450602087013591508082111561444f57600080fd5b5061445c878288016143b0565b95989497509550505050565b803560ff8116811461447957600080fd5b919050565b600080600080600060a0868803121561449657600080fd5b61449f86614468565b94506144ad60208701614468565b93506144bb60408701614468565b92506144c960608701614468565b91506144d760808701614468565b90509295509295909350565b801515811461119a57600080fd5b60006020828403121561450357600080fd5b8135612765816144e3565b60006020828403121561452057600080fd5b8135612765816142ba565b600080600080600060a0868803121561454357600080fd5b61454c86614468565b945061455a60208701614468565b935061456860408701614468565b9250606086013591506144d760808701614468565b6000806040838503121561459057600080fd5b823561459b816142ba565b915060208301356142fd816144e3565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806145f457607f821691505b6020821081141561461557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561462d57600080fd5b5051919050565b60006020828403121561464657600080fd5b8151612765816144e3565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561468157614681614651565b500290565b634e487b7160e01b600052603260045260246000fd5b60006000198214156146b0576146b0614651565b5060010190565b600082198211156146ca576146ca614651565b500190565b6000826146ec57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561472c57816000190482111561471257614712614651565b8085161561471f57918102915b93841c93908002906146f6565b509250929050565b60008261474357506001610e73565b8161475057506000610e73565b816001811461476657600281146147705761478c565b6001915050610e73565b60ff84111561478157614781614651565b50506001821b610e73565b5060208310610133831016604e8410600b84101617156147af575081810a610e73565b6147b983836146f1565b80600019048211156147cd576147cd614651565b029392505050565b600061276560ff841683614734565b6000602082840312156147f657600080fd5b8151612765816142ba565b6020808252602c908201527f457665724170653a2054686520726f7574657220616c7265616479206861732060408201526b74686174206164647265737360a01b606082015260800190565b60008060006060848603121561486257600080fd5b8351925060208401519150604084015190509250925092565b60008282101561488d5761488d614651565b500390565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f4661696c656420746f2073656e6420646576656c6f706d656e7420616d6f756e6040820152601d60fa1b606082015260800190565b600081518084526020808501945080840160005b838110156149945781516001600160a01b03168752958201959082019060010161496f565b509495945050505050565b85815284602082015260a0604082015260006149be60a083018661495b565b6001600160a01b0394909416606083015250608001529392505050565b8481526080602082015260006149f4608083018661495b565b6001600160a01b0394909416604083015250606001529291505056fea2646970667358221220e34ec1c5d64a0350633f091fba3a40a8c4622d60ee3dfb2012330ad9938f578564736f6c634300080b00336080604052601780546001600160a01b031916734d224452801aced8b2f0aebe155379bb5d5943811790553480156200003757600080fd5b5060408051808201825260108082526f2234bb34b232b7322faa3930b1b5b2b960811b6020808401828152855180870190965292855284015260175482519293926001600160a01b0390911691849184916200009791600391906200018b565b508051620000ad9060049060208401906200018b565b505050620000ca620000c46200013560201b60201c565b62000139565b600980546001600160a01b0319166001600160a01b0392831617905560006015819055670de0b6b3a7640000601655600554909116815260106020526040808220805460ff1990811660019081179092553084529190922080549091169091179055506200026e9050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001999062000231565b90600052602060002090601f016020900481019282620001bd576000855562000208565b82601f10620001d857805160ff191683800117855562000208565b8280016001018555821562000208579182015b8281111562000208578251825591602001919060010190620001eb565b50620002169291506200021a565b5090565b5b808211156200021657600081556001016200021b565b600181811c908216806200024657607f821691505b602082108114156200026857634e487b7160e01b600052602260045260246000fd5b50919050565b61228a806200027e6000396000f3fe60806040526004361061026b5760003560e01c8063715018a611610144578063aafd847a116100b6578063e30443bc1161007a578063e30443bc146107d4578063e7841ec0146107f4578063e98030c714610809578063f2fde38b14610829578063fbcbc0f114610849578063ffb2c4791461086957600080fd5b8063aafd847a14610702578063bc4c4b3714610738578063be10b61414610758578063dd62ed3e1461076e578063e1ccbba6146107b457600080fd5b8063927bf1e911610108578063927bf1e91461064d57806395b0a1e01461066d57806395d89b411461068d578063a457c2d7146106a2578063a8b9d240146106c2578063a9059cbb146106e257600080fd5b8063715018a6146105ce5780637824407f146105e357806385a6b3ae146105f95780638da5cb5b1461060f57806391b89fba1461062d57600080fd5b80633009a609116101dd5780635183d6fd116101a15780635183d6fd146104bc578063636119a91461052157806364b7571f1461055a5780636a4740021461056d5780636f2789ec1461058257806370a082311461059857600080fd5b80633009a6091461041a578063313ce5671461043057806331e79db01461044c578063395093511461046c5780634e7b827f1461048c57600080fd5b80631582358e1161022f5780631582358e1461034b57806318160ddd1461036b578063184edf7214610380578063226cfa3d146103ad57806323b872dd146103da57806327ce0147146103fa57600080fd5b806306fdde031461027757806309063e82146102a25780630920dacb146102da578063095ea7b3146102fc57806309bbedde1461032c57600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061028c6108a4565b6040516102999190611ee5565b60405180910390f35b3480156102ae57600080fd5b506102c26102bd366004611f3a565b610936565b6040516001600160a01b039091168152602001610299565b3480156102e657600080fd5b506102fa6102f5366004611f68565b610960565b005b34801561030857600080fd5b5061031c610317366004611fa1565b610a9a565b6040519015158152602001610299565b34801561033857600080fd5b506014545b604051908152602001610299565b34801561035757600080fd5b506009546102c2906001600160a01b031681565b34801561037757600080fd5b5060025461033d565b34801561038c57600080fd5b5061033d61039b366004611fcd565b60126020526000908152604090205481565b3480156103b957600080fd5b5061033d6103c8366004611fcd565b60116020526000908152604090205481565b3480156103e657600080fd5b5061031c6103f5366004611fea565b610ab4565b34801561040657600080fd5b5061033d610415366004611fcd565b610ad8565b34801561042657600080fd5b5061033d600e5481565b34801561043c57600080fd5b5060405160128152602001610299565b34801561045857600080fd5b506102fa610467366004611fcd565b610b35565b34801561047857600080fd5b5061031c610487366004611fa1565b610bdc565b34801561049857600080fd5b5061031c6104a7366004611fcd565b600f6020526000908152604090205460ff1681565b3480156104c857600080fd5b506104dc6104d7366004611f3a565b610c1b565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610299565b34801561052d57600080fd5b5061031c61053c366004611fcd565b6001600160a01b03166000908152600f602052604090205460ff1690565b61033d610568366004611fa1565b610ca2565b34801561057957600080fd5b506102fa610d55565b34801561058e57600080fd5b5061033d60155481565b3480156105a457600080fd5b5061033d6105b3366004611fcd565b6001600160a01b031660009081526020819052604090205490565b3480156105da57600080fd5b506102fa610df5565b3480156105ef57600080fd5b5061033d60065481565b34801561060557600080fd5b5061033d600d5481565b34801561061b57600080fd5b506005546001600160a01b03166102c2565b34801561063957600080fd5b5061033d610648366004611fcd565b610e29565b34801561065957600080fd5b506102fa610668366004611fcd565b610e34565b34801561067957600080fd5b506102fa610688366004611fcd565b610e9f565b34801561069957600080fd5b5061028c610eeb565b3480156106ae57600080fd5b5061031c6106bd366004611fa1565b610efa565b3480156106ce57600080fd5b5061033d6106dd366004611fcd565b610f8c565b3480156106ee57600080fd5b5061031c6106fd366004611fa1565b610fb8565b34801561070e57600080fd5b5061033d61071d366004611fcd565b6001600160a01b03166000908152600b602052604090205490565b34801561074457600080fd5b5061031c610753366004612039565b61103a565b34801561076457600080fd5b5061033d60165481565b34801561077a57600080fd5b5061033d610789366004611f68565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107c057600080fd5b506102fa6107cf366004611f3a565b6110e8565b3480156107e057600080fd5b506102fa6107ef366004611fa1565b611145565b34801561080057600080fd5b50600e5461033d565b34801561081557600080fd5b506102fa610824366004611f3a565b611520565b34801561083557600080fd5b506102fa610844366004611fcd565b611665565b34801561085557600080fd5b506104dc610864366004611fcd565b6116fd565b34801561087557600080fd5b50610889610884366004611f3a565b6117e6565b60408051938452602084019290925290820152606001610299565b6060600380546108b390612067565b80601f01602080910402602001604051908101604052809291908181526020018280546108df90612067565b801561092c5780601f106109015761010080835404028352916020019161092c565b820191906000526020600020905b81548152906001019060200180831161090f57829003601f168201915b5050505050905090565b6014818154811061094657600080fd5b6000918252602090912001546001600160a01b0316905081565b6005546001600160a01b031633146109935760405162461bcd60e51b815260040161098a9061209c565b60405180910390fd5b3360009081526010602052604090205460ff166109af57600080fd5b6040516370a0823160e01b815230600482015282906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1c91906120d1565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015610a6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9391906120ea565b5050505050565b600033610aa88185856119d1565b60019150505b92915050565b600033610ac2858285611af5565b610acd858585600080fd5b506001949350505050565b6001600160a01b0381166000908152600a6020908152604080832054600c909252822054600754600160801b92610b2b92610b2692610b2091610b1b9190611b87565b611b9a565b90611baa565b611be8565b610aae919061211d565b6005546001600160a01b03163314610b5f5760405162461bcd60e51b815260040161098a9061209c565b6001600160a01b0381166000908152600f602052604090205460ff1615610b835750565b610b8e816000611bfb565b506001600160a01b0381166000818152600f6020526040808220805460ff19166001179055517fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259190a25b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610aa89082908690610c1690879061213f565b6119d1565b6000806000806000806000806014805490508910610c5057506000965086955085945084935083925082915081905080610c97565b600060148a81548110610c6557610c65612157565b6000918252602090912001546001600160a01b03169050610c85816116fd565b98509850985098509850985098509850505b919395975091939597565b6005546000906001600160a01b03163314610ccf5760405162461bcd60e51b815260040161098a9061209c565b8115610d4f57600654610cfd90610cea84600160801b611b87565b610cf4919061211d565b60075490611ca3565b6007556040518281526001600160a01b038416907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600d54610d4b9083611ca3565b600d555b50919050565b60405162461bcd60e51b815260206004820152606160248201527f4469766964656e645f547261636b65723a20776974686472617744697669646560448201527f6e642064697361626c65642e20557365207468652027636c61696d272066756e60648201527f6374696f6e206f6e20746865206d61696e20466972737420636f6e74726163746084820152601760f91b60a482015260c40161098a565b565b6005546001600160a01b03163314610e1f5760405162461bcd60e51b815260040161098a9061209c565b610df36000611caf565b6000610aae82610f8c565b3360009081526010602052604090205460ff16610e5057600080fd5b6001600160a01b03811660009081526010602052604090205460ff16151560011415610e7b57600080fd5b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b6005546001600160a01b03163314610ec95760405162461bcd60e51b815260040161098a9061209c565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546108b390612067565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f7f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161098a565b610acd82868684036119d1565b6001600160a01b0381166000908152600b6020526040812054610aae90610fb284610ad8565b90611d01565b3360009081526010602052604081205460ff166110265760405162461bcd60e51b815260206004820152602660248201527f596f7520646f206e6f742068617665207065726d697373696f6e20746f20747260448201526530b739b332b960d11b606482015260840161098a565b611031338484600080fd5b50600192915050565b6005546000906001600160a01b031633146110675760405162461bcd60e51b815260040161098a9061209c565b600061107284611d0d565b905080156110de576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906110cc9085815260200190565b60405180910390a36001915050610aae565b5060009392505050565b6005546001600160a01b031633146111125760405162461bcd60e51b815260040161098a9061209c565b60165460405182907f512469f9f8a9fc56d42c21fcb6664be0954f18a308cebed44dc3bcf34add033090600090a3601655565b6005546001600160a01b0316331461116f5760405162461bcd60e51b815260040161098a9061209c565b6001600160a01b0382166000908152600f602052604090205460ff1680156111ae57506001600160a01b03821660009081526013602052604090205415155b156112b9576111be826000611bfb565b6001600160a01b038316600090815260136020526040902055601480546111e6906001611d01565b815481106111f6576111f6612157565b60009182526020808320909101546001600160a01b038581168452601290925260409092205460148054929093169291811061123457611234612157565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905591841681526012918290526040812054601480549193929161127f906001611d01565b8154811061128f5761128f612157565b60009182526020808320909101546001600160a01b03168352820192909252604001902055611510565b6001600160a01b0382166000908152600f602052604090205460ff1680156112f757506001600160a01b038216600090815260136020526040902054155b15611300575050565b6001600160a01b03821660009081526013602052604090205415801561132857506016548110155b156113a8576113378282611bfb565b6001600160a01b0383166000818152601360209081526040808320949094556014805460129092529382208190556001810184559290527fce6d7b5282bd9a3661ae061feed1dbda4e52ab073b1f9285be6e155d9c38d4ec90910180546001600160a01b0319169091179055611510565b60165481106113d9576113bb8282611bfb565b6001600160a01b038316600090815260136020526040902055611510565b6113e4826000611bfb565b6001600160a01b0383166000908152601360205260409020556014805461140d9060019061216d565b8154811061141d5761141d612157565b60009182526020808320909101546001600160a01b038581168452601290925260409092205460148054929093169291811061145b5761145b612157565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152601291829052604081205460148054919392916114a79060019061216d565b815481106114b7576114b7612157565b60009182526020808320909101546001600160a01b0316835282019290925260400190205560148054806114ed576114ed612184565b600082815260209020810160001990810180546001600160a01b03191690550190555b61151b82600161103a565b505050565b6005546001600160a01b0316331461154a5760405162461bcd60e51b815260040161098a9061209c565b620151808111156115ba5760405162461bcd60e51b815260206004820152603460248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d757374604482015273206e6f742065786365656420323420686f75727360601b606482015260840161098a565b6015548114156116325760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c7565000000000000000000606482015260840161098a565b60155460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601555565b6005546001600160a01b0316331461168f5760405162461bcd60e51b815260040161098a9061209c565b6001600160a01b0381166116f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161098a565b610bd981611caf565b6001600160a01b03811660009081526012602052604081205482916000199080808080600e5487111561173f57600e54611738908890611e72565b9550611773565b600e5460145460009110611754576000611763565b600e5460145461176391611d01565b905061176f8882611baa565b9650505b61177c88610f8c565b945061178788610ad8565b6001600160a01b0389166000908152601160205260409020549094509250826117b15760006117bf565b6015546117bf908490611ca3565b91504282116117cf5760006117d9565b6117d98242611d01565b9050919395975091939597565b600e54601454600091829182919082908181611810578083600e54965096509650505050506119ca565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187d91906120d1565b905060008061188c3384610ca2565b3360008181526011602052604090819020429055519192506001917fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906118d69085815260200190565b60405180910390a360005a90505b8b831080156118f257508585105b156119b757876119018161219a565b6014549099508910905061191457600097505b60006014898154811061192957611929612157565b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061195a90611ebe565b1561197d5761196a81600161103a565b1561197d57876119798161219a565b9850505b856119878161219a565b96505060005a9050808311156119ae576119ab6119a48483611d01565b8690611ca3565b94505b91506118e49050565b505050600e859055509550909350909150505b9193909250565b6001600160a01b038316611a335760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161098a565b6001600160a01b038216611a945760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161098a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611b815781811015611b745760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161098a565b611b8184848484036119d1565b50505050565b6000611b9382846121b5565b9392505050565b60008181811215610aae57600080fd5b600080611bb783856121d4565b905060008312158015611bca5750838112155b80611bdf5750600083128015611bdf57508381125b611b9357600080fd5b600080821215611bf757600080fd5b5090565b6001600160a01b0382166000908152600c602052604081205480831115611c5f576000611c288483611ca3565b6001600160a01b0386166000908152600c60205260409020819055600654909150611c539085611ca3565b6006559150610aae9050565b600654611c6c9082611d01565b60069081556001600160a01b0385166000908152600c6020526040902084905554611c979084611ca3565b60065550819050610aae565b6000611b93828461213f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611b93828461216d565b600080611d1983610f8c565b90508015611e69576001600160a01b0383166000908152600b6020526040902054611d449082611ca3565b6001600160a01b0384166000818152600b6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611d939084815260200190565b60405180910390a260095460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015611def573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1391906120ea565b905080611e62576001600160a01b0384166000908152600b6020526040902054611e3d9083611d01565b6001600160a01b039094166000908152600b6020526040812094909455509192915050565b5092915050565b50600092915050565b6000808212158015611e8d575082611e8a8382612215565b13155b80611eab5750600082128015611eab575082611ea98382612215565b135b611eb457600080fd5b611b938284612215565b600042821115611ed057506000919050565b601554611edd4284611d01565b101592915050565b600060208083528351808285015260005b81811015611f1257858101830151858201604001528201611ef6565b81811115611f24576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215611f4c57600080fd5b5035919050565b6001600160a01b0381168114610bd957600080fd5b60008060408385031215611f7b57600080fd5b8235611f8681611f53565b91506020830135611f9681611f53565b809150509250929050565b60008060408385031215611fb457600080fd5b8235611fbf81611f53565b946020939093013593505050565b600060208284031215611fdf57600080fd5b8135611b9381611f53565b600080600060608486031215611fff57600080fd5b833561200a81611f53565b9250602084013561201a81611f53565b929592945050506040919091013590565b8015158114610bd957600080fd5b6000806040838503121561204c57600080fd5b823561205781611f53565b91506020830135611f968161202b565b600181811c9082168061207b57607f821691505b60208210811415610d4f57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156120e357600080fd5b5051919050565b6000602082840312156120fc57600080fd5b8151611b938161202b565b634e487b7160e01b600052601160045260246000fd5b60008261213a57634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561215257612152612107565b500190565b634e487b7160e01b600052603260045260246000fd5b60008282101561217f5761217f612107565b500390565b634e487b7160e01b600052603160045260246000fd5b60006000198214156121ae576121ae612107565b5060010190565b60008160001904831182151516156121cf576121cf612107565b500290565b600080821280156001600160ff1b03849003851316156121f6576121f6612107565b600160ff1b839003841281161561220f5761220f612107565b50500190565b60008083128015600160ff1b85018412161561223357612233612107565b6001600160ff1b038401831381161561224e5761224e612107565b5050039056fea26469706673582212203c39338fd092ad50d916e9e5bb23374a20427b059e00e424a7f97288c7d6f91364736f6c634300080b0033

Deployed Bytecode

0x6080604052600436106103e85760003560e01c80637235f29311610208578063b1ff3b5c11610118578063d63607d8116100ab578063e37ba8f91161007a578063e37ba8f914610b95578063e7841ec014610bb5578063e98030c714610bca578063eab8072314610bea578063f2fde38b14610c0a57600080fd5b8063d63607d814610b04578063dd62ed3e14610b19578063e1ccbba614610b5f578063e2f4560514610b7f57600080fd5b8063c0246668116100e7578063c024666814610a99578063c23be47f14610ab9578063c3a3c03214610ad9578063d0a3981414610aee57600080fd5b8063b1ff3b5c14610a28578063b62496f514610a3e578063b9e9370014610a6e578063bc37e1a314610a8457600080fd5b80639693ec091161019b578063a457c2d71161016a578063a457c2d714610992578063a9059cbb146109b2578063a9dec436146109d2578063aacebbe3146109e8578063ab3b554514610a0857600080fd5b80639693ec091461092757806396c74c64146109475780639a7a23d61461095c5780639c1b8af51461097c57600080fd5b8063871c128d116101d7578063871c128d146108b45780638da5cb5b146108d457806395b0a1e0146108f257806395d89b411461091257600080fd5b80637235f2931461082e57806375f0a8741461085e5780637bbf8df91461087e57806382247ec01461089e57600080fd5b80632de3f956116103035780634cdaf0ae1161029657806365b8dbc01161026557806365b8dbc01461079957806367a46338146107b9578063700bb191146107d957806370a08231146107f9578063715018a61461081957600080fd5b80634cdaf0ae1461070b5780634fbee1931461072b5780635bf7093d1461076457806364b0f6531461078457600080fd5b80633c7a309b116102d25780633c7a309b1461068857806342966c681461069d57806349bd5a5e146106bd57806349bdf873146106f157600080fd5b80632de3f9561461060c578063313ce5671461062c57806331e79db014610648578063395093511461066857600080fd5b806323b872dd1161037b57806329981ee81161034a57806329981ee81461058c5780632b3b9c9f146105ac5780632c1f5216146105cc5780632c889d18146105ec57600080fd5b806323b872dd14610517578063270924c71461053757806327c8f8351461054c578063296d3de01461056c57600080fd5b8063095ea7b3116103b7578063095ea7b31461047a5780631694505e146104aa57806318160ddd146104e25780631c499ab0146104f757600080fd5b806302195466146103f457806306fdde031461040b5780630773d31d146104365780630920dacb1461045a57600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b50610409610c2a565b005b34801561041757600080fd5b50610420610cb8565b60405161042d9190614265565b60405180910390f35b34801561044257600080fd5b5061044c601e5481565b60405190815260200161042d565b34801561046657600080fd5b506104096104753660046142cf565b610d4a565b34801561048657600080fd5b5061049a610495366004614308565b610e5f565b604051901515815260200161042d565b3480156104b657600080fd5b506006546104ca906001600160a01b031681565b6040516001600160a01b03909116815260200161042d565b3480156104ee57600080fd5b5060025461044c565b34801561050357600080fd5b50610409610512366004614334565b610e79565b34801561052357600080fd5b5061049a61053236600461434d565b610ebb565b34801561054357600080fd5b50610409610edf565b34801561055857600080fd5b50600b546104ca906001600160a01b031681565b34801561057857600080fd5b5061040961058736600461438e565b610f65565b34801561059857600080fd5b506104096105a73660046143fc565b610fbd565b3480156105b857600080fd5b506104096105c736600461447e565b61110d565b3480156105d857600080fd5b506008546104ca906001600160a01b031681565b3480156105f857600080fd5b50610409610607366004614334565b61115e565b34801561061857600080fd5b506104096106273660046144f1565b61119d565b34801561063857600080fd5b506040516012815260200161042d565b34801561065457600080fd5b5061040961066336600461450e565b61121f565b34801561067457600080fd5b5061049a610683366004614308565b611317565b34801561069457600080fd5b50610409611356565b3480156106a957600080fd5b506104096106b8366004614334565b61156b565b3480156106c957600080fd5b506104ca7f00000000000000000000000046d158d5310e38be2839f0de21f6535c8abea29581565b3480156106fd57600080fd5b50602c5461049a9060ff1681565b34801561071757600080fd5b5061040961072636600461450e565b61158a565b34801561073757600080fd5b5061049a61074636600461450e565b6001600160a01b031660009081526027602052604090205460ff1690565b34801561077057600080fd5b5061040961077f36600461450e565b6115e2565b34801561079057600080fd5b5061044c6118fc565b3480156107a557600080fd5b506104096107b436600461450e565b61196f565b3480156107c557600080fd5b506104096107d436600461452b565b611a24565b3480156107e557600080fd5b506104096107f4366004614334565b611a74565b34801561080557600080fd5b5061044c61081436600461450e565b611b46565b34801561082557600080fd5b50610409611b61565b34801561083a57600080fd5b5061049a61084936600461450e565b60296020526000908152604090205460ff1681565b34801561086a57600080fd5b506009546104ca906001600160a01b031681565b34801561088a57600080fd5b50610409610899366004614308565b611b97565b3480156108aa57600080fd5b5061044c601c5481565b3480156108c057600080fd5b506104096108cf366004614334565b611c09565b3480156108e057600080fd5b506005546001600160a01b03166104ca565b3480156108fe57600080fd5b5061040961090d36600461450e565b611d5e565b34801561091e57600080fd5b50610420611e3a565b34801561093357600080fd5b506007546104ca906001600160a01b031681565b34801561095357600080fd5b50610409611e49565b34801561096857600080fd5b5061040961097736600461457d565b611e8a565b34801561098857600080fd5b5061044c60255481565b34801561099e57600080fd5b5061049a6109ad366004614308565b611f7d565b3480156109be57600080fd5b5061049a6109cd366004614308565b61200f565b3480156109de57600080fd5b5061044c601d5481565b3480156109f457600080fd5b50610409610a0336600461450e565b61201d565b348015610a1457600080fd5b50610409610a23366004614334565b61212b565b348015610a3457600080fd5b5061044c60245481565b348015610a4a57600080fd5b5061049a610a5936600461450e565b60286020526000908152604090205460ff1681565b348015610a7a57600080fd5b5061044c60225481565b348015610a9057600080fd5b50610409612182565b348015610aa557600080fd5b50610409610ab436600461457d565b6121fa565b348015610ac557600080fd5b50610409610ad436600461450e565b61230f565b348015610ae557600080fd5b5061044c612351565b348015610afa57600080fd5b5061044c60235481565b348015610b1057600080fd5b50610409612371565b348015610b2557600080fd5b5061044c610b343660046142cf565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b6b57600080fd5b50610409610b7a366004614334565b6123aa565b348015610b8b57600080fd5b5061044c600f5481565b348015610ba157600080fd5b50610409610bb036600461450e565b612405565b348015610bc157600080fd5b5061044c612513565b348015610bd657600080fd5b50610409610be5366004614334565b61255d565b348015610bf657600080fd5b50610409610c0536600461457d565b6125b8565b348015610c1657600080fd5b50610409610c2536600461450e565b6126c1565b6005546001600160a01b03163314610c5d5760405162461bcd60e51b8152600401610c54906145ab565b60405180910390fd5b610c6d600180600180600161110d565b610c7d6001806001806001611a24565b610c8c6512309ce54000610e79565b610ca26512309ce540006509184e72a000610f65565b6007805461ffff60a81b1916600160a81b179055565b606060038054610cc7906145e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf3906145e0565b8015610d405780601f10610d1557610100808354040283529160200191610d40565b820191906000526020600020905b815481529060010190602001808311610d2357829003601f168201915b5050505050905090565b6005546001600160a01b03163314610d745760405162461bcd60e51b8152600401610c54906145ab565b6040516370a0823160e01b815230600482015282906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de1919061461b565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e589190614634565b5050505050565b600033610e6d818585612784565b60019150505b92915050565b6005546001600160a01b03163314610ea35760405162461bcd60e51b8152600401610c54906145ab565b610eb581670de0b6b3a7640000614667565b601c5550565b600033610ec98582856128a8565b610ed4858585612934565b506001949350505050565b6005546001600160a01b03163314610f095760405162461bcd60e51b8152600401610c54906145ab565b610f19601480601480601361110d565b610f296001806001806001611a24565b610f386512309ce54000610e79565b610f4e6512309ce540006509184e72a000610f65565b6007805461ffff60a81b191661010160a81b179055565b6005546001600160a01b03163314610f8f5760405162461bcd60e51b8152600401610c54906145ab565b610fa182670de0b6b3a7640000614667565b601d55610fb681670de0b6b3a7640000614667565b601e555050565b6005546001600160a01b03163314610fe75760405162461bcd60e51b8152600401610c54906145ab565b6101f5831061104e5760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f722c204d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b6064820152608401610c54565b8281146110a75760405162461bcd60e51b815260206004820152602160248201527f426f746820617272617973206d757374206265207468652073616d652073697a6044820152606560f81b6064820152608401610c54565b60005b83811015610e58576110fb338686848181106110c8576110c8614686565b90506020020160208101906110dd919061450e565b8585858181106110ef576110ef614686565b905060200201356138e0565b806111058161469c565b9150506110aa565b6005546001600160a01b031633146111375760405162461bcd60e51b8152600401610c54906145ab565b60ff8086166011558481166013558381166012558281166014558116601555610e58613a34565b6005546001600160a01b031633146111885760405162461bcd60e51b8152600401610c54906145ab565b61119a61119542836146b7565b613a97565b50565b6005546001600160a01b031633146111c75760405162461bcd60e51b8152600401610c54906145ab565b60078054821515600160a81b0260ff60a81b199091161790556040517fd92566aec3731c43bc7ec6a90c119de538d83f226f301b29d5139a4b670abfb29061121490831515815260200190565b60405180910390a150565b6005546001600160a01b031633146112495760405162461bcd60e51b8152600401610c54906145ab565b60085460405163636119a960e01b81526001600160a01b0383811660048301529091169063636119a990602401602060405180830381865afa158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190614634565b61119a5760085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b15801561130357600080fd5b505af1158015610e58573d6000803e3d6000fd5b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610e6d90829086906113519087906146b7565b612784565b600c546001600160a01b031633146113c45760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920746865206465706c6f7965722063616e207472696767657220746860448201526a34b990333ab731ba34b7b760a91b6064820152608401610c54565b602b544210156114095760405162461bcd60e51b815260206004820152601060248201526f139bdd081e595d081d5b9b1bd8dad95960821b6044820152606401610c54565b602a546040516370a0823160e01b81523060048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a919061461b565b602c5490915060ff161561152e5760265461149590426146b7565b602b55600a6114a5826002614667565b6114af91906146cf565b600a5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044015b6020604051808303816000875af1158015611505573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115299190614634565b505050565b600a5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016114e6565b5050565b61119a3361157b6012600a6147d5565b6115859084614667565b613aaa565b6005546001600160a01b031633146115b45760405162461bcd60e51b8152600401610c54906145ab565b602a80546001600160a01b0319166001600160a01b0383161790556026546115dc90426146b7565b602b5550565b6005546001600160a01b0316331461160c5760405162461bcd60e51b8152600401610c54906145ab565b6008546001600160a01b03828116911614156116885760405162461bcd60e51b815260206004820152603560248201527f4576657241706520546865206469766964656e6420747261636b657220616c7260448201527465616479206861732074686174206164647265737360581b6064820152608401610c54565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f991906147e4565b6001600160a01b03161461178b5760405162461bcd60e51b815260206004820152604d60248201527f457665724170653a20546865206e6577206469766964656e6420747261636b6560448201527f72206d757374206265206f776e6564206279207468652045766572417065207460648201526c1bdad95b8818dbdb9d1c9858dd609a1b608482015260a401610c54565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b1580156117cd57600080fd5b505af11580156117e1573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b15801561182657600080fd5b505af115801561183a573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561188557600080fd5b505af1158015611899573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015611946573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196a919061461b565b905090565b6005546001600160a01b031633146119995760405162461bcd60e51b8152600401610c54906145ab565b6006546001600160a01b03828116911614156119c75760405162461bcd60e51b8152600401610c5490614801565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611a4e5760405162461bcd60e51b8152600401610c54906145ab565b60ff80861660175584811660185583811660165560198390558116601a55610e58613a34565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af1158015611ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aeb919061484d565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314611b8b5760405162461bcd60e51b8152600401610c54906145ab565b611b956000613bf8565b565b6005546001600160a01b03163314611bc15760405162461bcd60e51b8152600401610c54906145ab565b600081118015611bd2575060648111155b611bdb57600080fd5b6000611be882606461276c565b90506000611bf64783612759565b9050611c033085836138e0565b50505050565b6005546001600160a01b03163314611c335760405162461bcd60e51b8152600401610c54906145ab565b62030d408110158015611c4957506207a1208111155b611cbb5760405162461bcd60e51b815260206004820152603d60248201527f457665724170653a20676173466f7250726f63657373696e67206d757374206260448201527f65206265747765656e203230302c30303020616e64203530302c3030300000006064820152608401610c54565b602554811415611d2b5760405162461bcd60e51b815260206004820152603560248201527f457665724170653a2043616e6e6f742075706461746520676173466f7250726f60448201527463657373696e6720746f2073616d652076616c756560581b6064820152608401610c54565b60255460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3602555565b6005546001600160a01b03163314611d885760405162461bcd60e51b8152600401610c54906145ab565b6007546001600160a01b0382811691161415611db65760405162461bcd60e51b8152600401610c5490614801565b6007546040516001600160a01b03918216918316907f523400a476dc1f49f3cc8e7dc4ea8fbd97c0b7c17be259fbc3a8ff8f67a71fd290600090a3600780546001600160a01b0319166001600160a01b038381169182179092556008546040516304ad850f60e51b81526004810192909252909116906395b0a1e0906024016112e9565b606060048054610cc7906145e0565b6005546001600160a01b03163314611e735760405162461bcd60e51b8152600401610c54906145ab565b6000611e7e30611b46565b905061119a3082613aaa565b6005546001600160a01b03163314611eb45760405162461bcd60e51b8152600401610c54906145ab565b7f00000000000000000000000046d158d5310e38be2839f0de21f6535c8abea2956001600160a01b0316826001600160a01b03161415611f735760405162461bcd60e51b815260206004820152604e60248201527f457665724170653a205468652050616e63616b6553776170207061697220636160448201527f6e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d6160648201526d726b65744d616b6572506169727360901b608482015260a401610c54565b6115678282613c4a565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156120025760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c54565b610ed48286868403612784565b600033610e6d818585612934565b6005546001600160a01b031633146120475760405162461bcd60e51b8152600401610c54906145ab565b6009546001600160a01b03828116911614156120c35760405162461bcd60e51b815260206004820152603560248201527f457665724170653a20546865206d61726b6574696e672077616c6c657420697360448201527420616c72656164792074686973206164647265737360581b6064820152608401610c54565b6120ce8160016121fa565b6009546040516001600160a01b03918216918316907f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6790600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146121555760405162461bcd60e51b8152600401610c54906145ab565b61216781670de0b6b3a7640000614667565b60245561217c81670de0b6b3a7640000614667565b600f5550565b6005546001600160a01b031633146121ac5760405162461bcd60e51b8152600401610c54906145ab565b6121bc600080600080600061110d565b6121cc6000806000806000611a24565b6007805460ff60a81b191690556121e966038d7ea4c68000610e79565b611b9566038d7ea4c6800080610f65565b6005546001600160a01b031633146122245760405162461bcd60e51b8152600401610c54906145ab565b6001600160a01b03821660009081526027602052604090205460ff16151581151514156122af5760405162461bcd60e51b815260206004820152603360248201527f457665724170653a204163636f756e7420697320616c7265616479207468652060448201527276616c7565206f6620276578636c756465642760681b6064820152608401610c54565b6001600160a01b038216600081815260276020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6005546001600160a01b031633146123395760405162461bcd60e51b8152600401610c54906145ab565b600061234430611b46565b90506115673083836138e0565b6000602b5442101561236b5742602b5461196a919061487b565b50600090565b6005546001600160a01b0316331461239b5760405162461bcd60e51b8152600401610c54906145ab565b602c805460ff19166001179055565b6005546001600160a01b031633146123d45760405162461bcd60e51b8152600401610c54906145ab565b6008546040516370e65dd360e11b8152600481018390526001600160a01b039091169063e1ccbba6906024016112e9565b6005546001600160a01b0316331461242f5760405162461bcd60e51b8152600401610c54906145ab565b600a546001600160a01b03828116911614156124ab5760405162461bcd60e51b815260206004820152603560248201527f457665724170653a20546865206c69717569646974792077616c6c657420697360448201527420616c72656164792074686973206164647265737360581b6064820152608401610c54565b6124b68160016121fa565b600a546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015611946573d6000803e3d6000fd5b6005546001600160a01b031633146125875760405162461bcd60e51b8152600401610c54906145ab565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c7906024016112e9565b6005546001600160a01b031633146125e25760405162461bcd60e51b8152600401610c54906145ab565b6001600160a01b03821660009081526029602052604090205460ff16151581151514156126695760405162461bcd60e51b815260206004820152602f60248201527f4d6574614245543a204163636f756e7420697320616c7265616479207468652060448201526e76616c7565206f662027656c6f6e2760881b6064820152608401610c54565b6001600160a01b038216600081815260296020908152604091829020805460ff191685151590811790915591519182527f061c5e8a60e1b2a590ab9407616506b02d4efc8b078988e5dcfd6182e042e3a89101612303565b6005546001600160a01b031633146126eb5760405162461bcd60e51b8152600401610c54906145ab565b6001600160a01b0381166127505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c54565b61119a81613bf8565b60006127658284614667565b9392505050565b600061276582846146cf565b600061276582846146b7565b6001600160a01b0383166127e65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c54565b6001600160a01b0382166128475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c54565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611c0357818110156129275760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c54565b611c038484848403612784565b6001600160a01b03831661295a5760405162461bcd60e51b8152600401610c5490614892565b6001600160a01b0382166129805760405162461bcd60e51b8152600401610c54906148d7565b6005546001600160a01b038481169116148015906129ac57506005546001600160a01b03838116911614155b80156129c057506001600160a01b03821615155b80156129d757506001600160a01b03821661dead14155b8015612a1557507f00000000000000000000000046d158d5310e38be2839f0de21f6535c8abea2956001600160a01b0316826001600160a01b031614155b8015612a3a57506001600160a01b03821660009081526027602052604090205460ff16155b8015612a5f57506001600160a01b03831660009081526027602052604090205460ff16155b15612cce57600754600160a81b900460ff161515600114612a7f57600080fd5b601d54811115612ae25760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610c54565b6000612aed83611b46565b601c54909150612afd83836146b7565b1115612b575760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f6044820152633ab73a1760e11b6064820152608401610c54565b600754600160b01b900460ff168015612b8957506001600160a01b03831660009081526029602052604090205460ff16155b8015612bae57506001600160a01b03841660009081526027602052604090205460ff16155b8015612bd357506001600160a01b03831660009081526027602052604090205460ff16155b8015612c4a5750600854604051634e7b827f60e01b81526001600160a01b03858116600483015290911690634e7b827f90602401602060405180830381865afa158015612c24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c489190614634565b155b15612ccc576001600160a01b0383811660008181526029602052604090819020805460ff19166001179055600854905163031e79db60e41b81526004810192909252909116906331e79db090602401600060405180830381600087803b158015612cb357600080fd5b505af1158015612cc7573d6000803e3d6000fd5b505050505b505b80612cdf57611529838360006138e0565b600754600160a01b900460ff16158015612d1157506001600160a01b03821660009081526028602052604090205460ff165b8015612d2b57506006546001600160a01b03848116911614155b8015612d4557506005546001600160a01b03848116911614155b8015612d5f57506005546001600160a01b03838116911614155b8015612d8457506001600160a01b03821660009081526027602052604090205460ff16155b8015612da957506001600160a01b03831660009081526027602052604090205460ff16155b15612e4157600754600160a81b900460ff161515600114612dc957600080fd5b601e54811115612e415760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617853656c6c5472616e73616374696f6e416d6f756e742e0000000000006064820152608401610c54565b6000612e4c30611b46565b600f5490915081108015908190612e6d5750600754600160a01b900460ff16155b8015612e9257506001600160a01b03851660009081526028602052604090205460ff16155b8015612eac5750600a546001600160a01b03868116911614155b8015612ec65750600a546001600160a01b03858116911614155b8015612ee057506009546001600160a01b03868116911614155b8015612efa57506009546001600160a01b03858116911614155b8015612f1f57506001600160a01b03841660009081526027602052604090205460ff16155b8015612f4457506001600160a01b03851660009081526027602052604090205460ff16155b156132ec57602454915060008060235490506000612f7782612f716017548861275990919063ffffffff16565b9061276c565b90506000612f9483612f716019548961275990919063ffffffff16565b90506000612fa383600261276c565b90506000612fb18483613db2565b6007805460ff60a01b1916600160a01b17905590508415612feb57612fe083612fda8a85613db2565b90613db2565b9550612feb86613dbe565b601854156130b957600061300e86612f716018544761275990919063ffffffff16565b6009546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114613060576040519150601f19603f3d011682016040523d82523d6000602084013e613065565b606091505b50509050806130b65760405162461bcd60e51b815260206004820152601f60248201527f4661696c656420746f2073656e64206d61726b6574696e6720616d6f756e74006044820152606401610c54565b50505b601a54156131d95760006130dc86612f71601a544761275990919063ffffffff16565b90506130e981600261276c565b600d546040519192506000916001600160a01b039091169083908381818185875af1925050503d806000811461313b576040519150601f19603f3d011682016040523d82523d6000602084013e613140565b606091505b50509050806131615760405162461bcd60e51b8152600401610c549061491a565b600e546040516001600160a01b03909116908390600081818185875af1925050503d80600081146131ae576040519150601f19603f3d011682016040523d82523d6000602084013e6131b3565b606091505b505080915050806131d65760405162461bcd60e51b8152600401610c549061491a565b50505b60195415613220576131eb3084613aaa565b613205612710612f7160196131ff60025490565b90612759565b60245561321c612710612f7160196131ff60025490565b600f555b6017541561329257600061324386612f716017544761275990919063ffffffff16565b905061324f8382613f10565b60408051838152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505b601654156132d85760006132b586612f716016544761275990919063ffffffff16565b6007546008549192506132d69183916001600160a01b039081169116613fba565b505b50506007805460ff60a01b19169055505050505b6007546001600160a01b03861660009081526027602052604090205460ff600160a01b90920482161591168061333a57506001600160a01b03851660009081526027602052604090205460ff165b156133525750600061334d8686866138e0565b61343b565b6001600160a01b03861660009081526028602052604090205460ff1615801561339457506001600160a01b03851660009081526028602052604090205460ff16155b80156133b957506001600160a01b03861660009081526027602052604090205460ff16155b80156133de57506001600160a01b03851660009081526027602052604090205460ff16155b801561340357506001600160a01b03861660009081526029602052604090205460ff16155b801561342857506001600160a01b03851660009081526029602052604090205460ff16155b1561343b5750600061343b8686866138e0565b801561371857600061345d6064612f716022548861275990919063ffffffff16565b9050600061347b6064612f716023548961275990919063ffffffff16565b905060006134996064612f71601b548a61275990919063ffffffff16565b6001600160a01b03891660009081526029602052604090205490915060ff1680156134dc57506001600160a01b03891660009081526028602052604090205460ff165b15613508576134eb8782613db2565b96506134f88930836138e0565b6135038989896138e0565b613714565b6001600160a01b03881660009081526028602052604090205460ff16801561353257506000602354115b1561354e576135418783613db2565b96506134f88930846138e0565b6001600160a01b03891660009081526028602052604090205460ff16801561357857506000602254115b15613714576135878784613db2565b96506135948930856138e0565b61359f8989896138e0565b600754600160b01b900460ff1680156135d157506001600160a01b03881660009081526029602052604090205460ff16155b80156135f657506001600160a01b03891660009081526027602052604090205460ff16155b801561361b57506001600160a01b03881660009081526027602052604090205460ff16155b80156136925750600854604051634e7b827f60e01b81526001600160a01b038a8116600483015290911690634e7b827f90602401602060405180830381865afa15801561366c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136909190614634565b155b15613714576001600160a01b0388811660008181526029602052604090819020805460ff19166001179055600854905163031e79db60e41b81526004810192909252909116906331e79db090602401600060405180830381600087803b1580156136fb57600080fd5b505af115801561370f573d6000803e3d6000fd5b505050505b5050505b6008546001600160a01b031663e30443bc8761373381611b46565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561377957600080fd5b505af192505050801561378a575060015b506008546001600160a01b031663e30443bc866137a681611b46565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156137ec57600080fd5b505af19250505080156137fd575060015b50600754600160a01b900460ff166138d8576025546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af192505050801561387c575060408051601f3d908101601f191682019092526138799181019061484d565b60015b613885576138d6565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b6001600160a01b0383166139065760405162461bcd60e51b8152600401610c5490614892565b6001600160a01b03821661392c5760405162461bcd60e51b8152600401610c54906148d7565b6001600160a01b038316600090815260208190526040902054818110156139a45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c54565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906139db9084906146b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613a2791815260200190565b60405180910390a3611c03565b613a63601554613a5d601454613a5d601354613a5d60115460125461277890919063ffffffff16565b90612778565b602281905550613a92601a54613a5d601954613a5d601854613a5d60175460165461277890919063ffffffff16565b602355565b602b548111613aa557600080fd5b602b55565b6001600160a01b038216613b0a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c54565b6001600160a01b03821660009081526020819052604090205481811015613b7e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c54565b6001600160a01b0383166000908152602081905260408120838303905560028054849290613bad90849061487b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526028602052604090205460ff1615158115151415613ce95760405162461bcd60e51b815260206004820152604160248201527f457665724170653a204175746f6d61746564206d61726b6574206d616b65722060448201527f7061697220697320616c72656164792073657420746f20746861742076616c756064820152606560f81b608482015260a401610c54565b6001600160a01b0382166000908152602860205260409020805460ff19168215801591909117909155613d765760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b158015613d5d57600080fd5b505af1158015613d71573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000612765828461487b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613df357613df3614686565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7091906147e4565b81600181518110613e8357613e83614686565b6001600160a01b039283166020918202929092010152600654613ea99130911684612784565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790613ee290859060009086903090429060040161499f565b600060405180830381600087803b158015613efc57600080fd5b505af11580156138d8573d6000803e3d6000fd5b600654613f289030906001600160a01b031684612784565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015613f95573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e58919061484d565b613fc58183856140f1565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561400c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614030919061461b565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820183905291925060009185169063a9059cbb906044016020604051808303816000875af1158015614085573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140a99190614634565b90508015610e585760408051868152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a15050505050565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa15801561415b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061417f91906147e4565b8160008151811061419257614192614686565b60200260200101906001600160a01b031690816001600160a01b03168152505082816001815181106141c6576141c6614686565b6001600160a01b0392831660209182029290920101526006546141ec9130911647612784565b6006546001600160a01b031663b6f9de95836000848861420e4261012c612778565b6040518663ffffffff1660e01b815260040161422d94939291906149db565b6000604051808303818588803b15801561424657600080fd5b505af115801561425a573d6000803e3d6000fd5b505050505050505050565b600060208083528351808285015260005b8181101561429257858101830151858201604001528201614276565b818111156142a4576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461119a57600080fd5b600080604083850312156142e257600080fd5b82356142ed816142ba565b915060208301356142fd816142ba565b809150509250929050565b6000806040838503121561431b57600080fd5b8235614326816142ba565b946020939093013593505050565b60006020828403121561434657600080fd5b5035919050565b60008060006060848603121561436257600080fd5b833561436d816142ba565b9250602084013561437d816142ba565b929592945050506040919091013590565b600080604083850312156143a157600080fd5b50508035926020909101359150565b60008083601f8401126143c257600080fd5b50813567ffffffffffffffff8111156143da57600080fd5b6020830191508360208260051b85010111156143f557600080fd5b9250929050565b6000806000806040858703121561441257600080fd5b843567ffffffffffffffff8082111561442a57600080fd5b614436888389016143b0565b9096509450602087013591508082111561444f57600080fd5b5061445c878288016143b0565b95989497509550505050565b803560ff8116811461447957600080fd5b919050565b600080600080600060a0868803121561449657600080fd5b61449f86614468565b94506144ad60208701614468565b93506144bb60408701614468565b92506144c960608701614468565b91506144d760808701614468565b90509295509295909350565b801515811461119a57600080fd5b60006020828403121561450357600080fd5b8135612765816144e3565b60006020828403121561452057600080fd5b8135612765816142ba565b600080600080600060a0868803121561454357600080fd5b61454c86614468565b945061455a60208701614468565b935061456860408701614468565b9250606086013591506144d760808701614468565b6000806040838503121561459057600080fd5b823561459b816142ba565b915060208301356142fd816144e3565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806145f457607f821691505b6020821081141561461557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561462d57600080fd5b5051919050565b60006020828403121561464657600080fd5b8151612765816144e3565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561468157614681614651565b500290565b634e487b7160e01b600052603260045260246000fd5b60006000198214156146b0576146b0614651565b5060010190565b600082198211156146ca576146ca614651565b500190565b6000826146ec57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561472c57816000190482111561471257614712614651565b8085161561471f57918102915b93841c93908002906146f6565b509250929050565b60008261474357506001610e73565b8161475057506000610e73565b816001811461476657600281146147705761478c565b6001915050610e73565b60ff84111561478157614781614651565b50506001821b610e73565b5060208310610133831016604e8410600b84101617156147af575081810a610e73565b6147b983836146f1565b80600019048211156147cd576147cd614651565b029392505050565b600061276560ff841683614734565b6000602082840312156147f657600080fd5b8151612765816142ba565b6020808252602c908201527f457665724170653a2054686520726f7574657220616c7265616479206861732060408201526b74686174206164647265737360a01b606082015260800190565b60008060006060848603121561486257600080fd5b8351925060208401519150604084015190509250925092565b60008282101561488d5761488d614651565b500390565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f4661696c656420746f2073656e6420646576656c6f706d656e7420616d6f756e6040820152601d60fa1b606082015260800190565b600081518084526020808501945080840160005b838110156149945781516001600160a01b03168752958201959082019060010161496f565b509495945050505050565b85815284602082015260a0604082015260006149be60a083018661495b565b6001600160a01b0394909416606083015250608001529392505050565b8481526080602082015260006149f4608083018661495b565b6001600160a01b0394909416604083015250606001529291505056fea2646970667358221220e34ec1c5d64a0350633f091fba3a40a8c4622d60ee3dfb2012330ad9938f578564736f6c634300080b0033

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.