ETH Price: $2,926.04 (+4.73%)
 

Overview

Max Total Supply

1,000,000,000 BANKETH

Holders

2,461

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
15,000 BANKETH

Value
$0.00
0x8356b8fe150d97f202da271033a3451ab968dabf
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:
BankEth

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : BankEth.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "./DividendPayingToken.sol";
import "./SafeMath.sol";
import "./IterableMapping.sol";
import "./Ownable.sol";
import "./IUniswapV2Pair.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Router.sol";
import "./IFTPAntiBot.sol";

contract BankEth is ERC20, Ownable {
    using SafeMath for uint256;

    IFTPAntiBot private antiBot;
    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool private swapping;
    bool private reinvesting;
    bool public antibotEnabled = false;
    bool public maxPurchaseEnabled = true;

    BankEthDividendTracker public dividendTracker;

    address payable public devAddress = 0x7555De0c971C73C85460F5Fb6f53aA6c4FCD7FAE;
    
    uint256 public maxDailyTransferAmount = 2000000 * (10**18);
    uint256 public swapTokensAtAmount = 200000 * (10**18);

    uint256 public immutable bankFee = 10;
    uint256 public immutable devFee = 1;
    uint256 public immutable totalFee = 11;
    
    uint256 public tradingStartTime = 1657685042;

    uint256 minimumTokenBalanceForDividends = 10000 * (10**18);

    //maximum purchase amount for initial launch
    uint256 maxPurchaseAmount = 5000000 * (10**18);

    // exlcude from fees and max transaction amount
    mapping (address => bool) private _isExcludedFromFees;

    // addresses that can make transfers before presale is over
    mapping (address => bool) public canTransferBeforeTradingIsEnabled;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public automatedMarketMakerPairs;
    
    // store the amount traded for each account every day 
    // to ensure that the account has not exceeded the daily threshold
    mapping (uint256 => mapping(address => uint256)) public dailyTransfers;

    // the last time an address transferred
    // used to detect if an account can be reinvest inactive funds to the vault
    mapping (address => uint256) public lastTransfer;
    
    mapping (address => bool) public isExcludedFromDailyLimit;
    
    event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress);
    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event SendDividends(uint256 amount);
    event DividendClaimed(uint256 ethAmount, uint256 tokenAmount, address account);

    constructor() public ERC20("BankEth", "BANKETH") {
        IFTPAntiBot _antiBot = IFTPAntiBot(0x590C2B20f7920A2D21eD32A21B616906b4209A43);
        antiBot = _antiBot;

    	dividendTracker = new BankEthDividendTracker();
    	
    	IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
         // 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(owner());
        dividendTracker.excludeFromDividends(address(_uniswapV2Router));

        // exclude from paying fees or having max transaction amount
        excludeFromFees(address(this), true);
        excludeFromFees(owner(), true);

        // enable owner and fixed-sale wallet to send tokens before presales are over
        canTransferBeforeTradingIsEnabled[owner()] = true;

        isExcludedFromDailyLimit[address(this)] = true;
        isExcludedFromDailyLimit[owner()] = true;

        _mint(owner(), 1000000000 * (10**18));
    }

    receive() external payable {

  	}
  	
  	function setTradingStartTime(uint256 newStartTime) public onlyOwner {
  	    require(tradingStartTime > block.timestamp, "Trading has already started");
  	    require(newStartTime > block.timestamp, "Start time must be in the future");
  	    
  	    tradingStartTime = newStartTime;
  	}
  	
    function updateDividendTracker(address newAddress) public onlyOwner {
        require(newAddress != address(dividendTracker), "BankEth: The dividend tracker already has that address");

        BankEthDividendTracker newDividendTracker = BankEthDividendTracker(payable(newAddress));

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

        newDividendTracker.excludeFromDividends(address(newDividendTracker));
        newDividendTracker.excludeFromDividends(address(this));
        newDividendTracker.excludeFromDividends(owner());
        newDividendTracker.excludeFromDividends(address(uniswapV2Router));

        emit UpdateDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newDividendTracker;
    }

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(newAddress != address(uniswapV2Router), "BankEth: 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, "BankEth: Account is already the value of 'excluded'");
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner {
        for(uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = excluded;
        }

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }
    
    function excludeFromDailyLimit(address account, bool excluded) public onlyOwner {
        require(isExcludedFromDailyLimit[account] != excluded, "BankEth: Daily limit exclusion is already the value of 'excluded'");
        isExcludedFromDailyLimit[account] = excluded;
    }

    function allowPreTrading(address account, bool allowed) public onlyOwner {
        // used for owner and pre sale addresses
        require(canTransferBeforeTradingIsEnabled[account] != allowed, "BankEth: Pre trading is already the value of 'excluded'");
        canTransferBeforeTradingIsEnabled[account] = allowed;
    }

    function setMaxPurchaseEnabled(bool enabled) public onlyOwner {
        require(maxPurchaseEnabled != enabled, "BankEth: Max purchase enabled is already the value of 'enabled'");
        maxPurchaseEnabled = enabled;
    }

    function setMaxPurchaseAmount(uint256 newAmount) public onlyOwner {
        maxPurchaseAmount = newAmount;
    }

    function updateDevAddress(address payable newAddress) public onlyOwner {
        devAddress = newAddress;
    }

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

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

    function withdrawableDividendOf(address account) public view returns(uint256) {
    	return dividendTracker.withdrawableDividendOf(account);
  	}

	function dividendTokenBalanceOf(address account) public view returns (uint256) {
		return dividendTracker.balanceOf(account);
	}

    function reinvestInactive(address payable account) public onlyOwner {
        uint256 tokenBalance = dividendTracker.balanceOf(account);
        require(tokenBalance <= minimumTokenBalanceForDividends, "BankEth: Account balance must be less then minimum token balance for dividends");

        uint256 _lastTransfer = lastTransfer[account];
        require(block.timestamp.sub(_lastTransfer) > 12 weeks, "BankEth: Account must have been inactive for at least 12 weeks");
        		
        dividendTracker.processAccount(account, address(this));
        uint256 dividends = address(this).balance;
        (bool success,) = address(dividendTracker).call{value: dividends}("");

        if(success) {
   	 		emit SendDividends(dividends);
            try dividendTracker.setBalance(account, 0) {} catch {}        
        }
    }

    function claim(bool reinvest, uint256 minTokens) external {
        _claim(msg.sender, reinvest, minTokens);
    }
    
    function _claim(address payable account, bool reinvest, uint256 minTokens) private {
        uint256 withdrawableAmount = dividendTracker.withdrawableDividendOf(account);
        require(withdrawableAmount > 0, "BankEth: Claimer has no withdrawable dividend");

        if (!reinvest) {
            uint256 ethAmount = dividendTracker.processAccount(account, account);
            if (ethAmount > 0) {
                emit DividendClaimed(ethAmount, 0, account);
            }
            return;
        }
        
		uint256 ethAmount = dividendTracker.processAccount(account, address(this));
	
		if (ethAmount > 0) {
		    reinvesting = true;
		    uint256 tokenAmount = swapEthForTokens(ethAmount, minTokens, account);
		    reinvesting = false;
		    emit DividendClaimed(ethAmount, tokenAmount, account);
        }
    }
    
    function getNumberOfDividendTokenHolders() external view returns(uint256) {
        return dividendTracker.getNumberOfTokenHolders();
    }
    
    function getAccount(address _account)
        public view returns (
            uint256 withdrawableDividends,
            uint256 withdrawnDividends,
            uint256 balance
            ) {
        (withdrawableDividends, withdrawnDividends) = dividendTracker.getAccount(_account);
        return (withdrawableDividends, withdrawnDividends, balanceOf(_account));
    }

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

        // address must be permitted to transfer before tradingStartTime
        if(tradingStartTime > block.timestamp) {
            require(canTransferBeforeTradingIsEnabled[from], "BankEth: This account cannot send tokens until trading is enabled");
        }

        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
        
        if(antibotEnabled) {
            if(automatedMarketMakerPairs[from]){
                require(!antiBot.scanAddress(to, from, tx.origin), "Beep Beep Boop, You're a piece of poop");                                          
            }
            if(automatedMarketMakerPairs[to]){
                require(!antiBot.scanAddress(from, to, tx.origin), "Beep Beep Boop, You're a piece of poop");                                          
            }
        }
        
        // make sure that the sender has not exceeded their daily transfer limit
        // automated market pairs do not have a daily transfer limit
        if (!isExcludedFromDailyLimit[from] && !automatedMarketMakerPairs[from]) {
            require(dailyTransfers[getDay()][from].add(amount) <= maxDailyTransferAmount, "BankEth: This account has exceeded max daily limit");
        }
        dailyTransfers[getDay()][from] = dailyTransfers[getDay()][from].add(amount);

        // make sure amount does not exceed max on a purchase
        if (maxPurchaseEnabled && !isExcludedFromDailyLimit[to] && automatedMarketMakerPairs[from]) {
            require(amount <= maxPurchaseAmount, "BankEth: Exceeds max purchase amount");
        }

		uint256 contractTokenBalance = balanceOf(address(this));
        
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if(
            canSwap &&
            !swapping &&
            !reinvesting &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
            swapAndDistribute();
            swapping = false;
        }


        bool takeFee = !swapping && !reinvesting;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        // don't take a fee unless it's a buy / sell
        if((_isExcludedFromFees[from] || _isExcludedFromFees[to]) || (!automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to])) {
            takeFee = false;
        }

        if(takeFee) {
        	uint256 fees = amount.mul(totalFee).div(100);
        	amount = amount.sub(fees);

            super._transfer(from, address(this), fees);
        }

        super._transfer(from, to, amount);

        try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {}        
        
        if(antibotEnabled) {
            try antiBot.registerBlock(from, to) {} catch {}                    
        }

        lastTransfer[from] = block.timestamp;
        lastTransfer[to] = block.timestamp;
    }

    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 swapEthForTokens(uint256 ethAmount, uint256 minTokens, address account) internal returns(uint256) {
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = address(this);
        
        uint256 balanceBefore = balanceOf(account);
        
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(
            minTokens,
            path,
            account,
            block.timestamp
        );
        
        uint256 tokenAmount = balanceOf(account).sub(balanceBefore);
        return tokenAmount;
    }
    
    function swapAndDistribute() private {
        uint256 tokenBalance = balanceOf(address(this));
        swapTokensForEth(tokenBalance);
        
        uint256 ethBalance = address(this).balance;
        uint256 devPortion = ethBalance.mul(devFee).div(totalFee);
        devAddress.transfer(devPortion);

        uint256 dividends = address(this).balance;
        (bool success,) = address(dividendTracker).call{value: dividends}("");

        if(success) {
   	 		emit SendDividends(dividends);
        }
    }
    
    function assignAntiBot(address _address) external onlyOwner() {
        IFTPAntiBot _antiBot = IFTPAntiBot(_address);                 
        antiBot = _antiBot;
    }
    
    function toggleAntiBot() external onlyOwner() {
        if(antibotEnabled){
            antibotEnabled = false;
        }
        else{
            antibotEnabled = true;
        }
    }

    function getDay() internal view returns(uint256){
        return block.timestamp.div(1 days);
    }
}

contract BankEthDividendTracker is DividendPayingToken, Ownable {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;

    mapping (address => bool) public excludedFromDividends;

    uint256 public immutable minimumTokenBalanceForDividends;

    event ExcludeFromDividends(address indexed account);

    constructor() public DividendPayingToken("BankEth_Dividend_Tracker", "BankEth_Dividend_Tracker") {
        minimumTokenBalanceForDividends = 10000 * (10**18); //must hold 10000+ tokens
    }

    function _approve(address, address, uint256) internal override {
        require(false, "BankEth_Dividend_Tracker: No approvals allowed");
    }

    function _transfer(address, address, uint256) internal override {
        require(false, "BankEth_Dividend_Tracker: No transfers allowed");
    }

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

    function excludeFromDividends(address account) external onlyOwner {
    	require(!excludedFromDividends[account]);
    	excludedFromDividends[account] = true;

    	_setBalance(account, 0);
    	tokenHoldersMap.remove(account);

    	emit ExcludeFromDividends(account);
    }

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

    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
    	if(excludedFromDividends[account]) {
    		return;
    	}

    	if(newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
    		tokenHoldersMap.set(account, newBalance);
    	}
    	else {
            _setBalance(account, 0);
    		tokenHoldersMap.remove(account);
    	}
    }

    function processAccount(address payable account, address payable toAccount) public onlyOwner returns (uint256) {
        uint256 amount = _withdrawDividendOfUser(account, toAccount);
        return amount;
    }
}

File 2 of 17 : DividendPayingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "./ERC20.sol";
import "./SafeMath.sol";
import "./SafeMathUint.sol";
import "./SafeMathInt.sol";
import "./DividendPayingTokenInterface.sol";
import "./DividendPayingTokenOptionalInterface.sol";

/// @title Dividend-Paying Token
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev A mintable ERC20 token that allows anyone to pay and distribute ether
///  to token holders as dividends and allows token holders to withdraw their dividends.
///  Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code
contract DividendPayingToken is ERC20, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;

  // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
  // For more discussion about choosing the value of `magnitude`,
  //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
  uint256 constant internal magnitude = 2**128;

  uint256 internal magnifiedDividendPerShare;

  // About dividendCorrection:
  // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
  //   `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
  // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
  //   `dividendOf(_user)` should not be changed,
  //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
  // To keep the `dividendOf(_user)` unchanged, we add a correction term:
  //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
  //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
  //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
  // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
  mapping(address => int256) internal magnifiedDividendCorrections;
  mapping(address => uint256) internal withdrawnDividends;

  uint256 public totalDividendsDistributed;

  constructor(string memory _name, string memory _symbol) public ERC20(_name, _symbol) {

  }

  /// @dev Distributes dividends whenever ether is paid to this contract.
  receive() external payable {
    distributeDividends();
  }

  /// @notice Distributes ether to token holders as dividends.
  /// @dev It reverts if the total supply of tokens is 0.
  /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0.
  /// About undistributed ether:
  ///   In each distribution, there is a small amount of ether not distributed,
  ///     the magnified amount of which is
  ///     `(msg.value * magnitude) % totalSupply()`.
  ///   With a well-chosen `magnitude`, the amount of undistributed ether
  ///     (de-magnified) in a distribution can be less than 1 wei.
  ///   We can actually keep track of the undistributed ether in a distribution
  ///     and try to distribute it in the next distribution,
  ///     but keeping track of such data on-chain costs much more than
  ///     the saved ether, so we don't do that.
  function distributeDividends() public override payable {
    require(totalSupply() > 0);

    if (msg.value > 0) {
      magnifiedDividendPerShare = magnifiedDividendPerShare.add(
        (msg.value).mul(magnitude) / totalSupply()
      );
      emit DividendsDistributed(msg.sender, msg.value);

      totalDividendsDistributed = totalDividendsDistributed.add(msg.value);
    }
  }

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
  function withdrawDividend() public virtual override {
    _withdrawDividendOfUser(msg.sender, msg.sender);
  }

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
  function _withdrawDividendOfUser(address payable user, address payable to) internal returns (uint256) {
    uint256 _withdrawableDividend = withdrawableDividendOf(user);
    if (_withdrawableDividend > 0) {
      withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
      emit DividendWithdrawn(user, _withdrawableDividend, to);
      (bool success,) = to.call{value: _withdrawableDividend}("");

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

      return _withdrawableDividend;
    }

    return 0;
  }


  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function dividendOf(address _owner) public view override returns(uint256) {
    return withdrawableDividendOf(_owner);
  }

  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function withdrawableDividendOf(address _owner) public view override returns(uint256) {
    return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
  }

  /// @notice View the amount of dividend in wei that an address has withdrawn.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has withdrawn.
  function withdrawnDividendOf(address _owner) public view override returns(uint256) {
    return withdrawnDividends[_owner];
  }


  /// @notice View the amount of dividend in wei that an address has earned in total.
  /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
  /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has earned in total.
  function accumulativeDividendOf(address _owner) public view override returns(uint256) {
    return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
      .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
  }

  /// @dev Internal function that mints tokens to an account.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param account The account that will receive the created tokens.
  /// @param value The amount that will be created.
  function _mint(address account, uint256 value) internal override {
    super._mint(account, value);

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

  /// @dev Internal function that burns an amount of the token of a given account.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param account The account whose tokens will be burnt.
  /// @param value The amount that will be burnt.
  function _burn(address account, uint256 value) internal override {
    super._burn(account, value);
    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .add((magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

  function _setBalance(address account, uint256 newBalance) internal {
    uint256 currentBalance = balanceOf(account);

    if(newBalance > currentBalance) {
      uint256 mintAmount = newBalance.sub(currentBalance);
      _mint(account, mintAmount);
    } else if(newBalance < currentBalance) {
      uint256 burnAmount = currentBalance.sub(newBalance);
      _burn(account, burnAmount);
    }
  }
  
  function getAccount(address _account)
        public view returns (
            uint256 _withdrawableDividends,
            uint256 _withdrawnDividends
            ) {
        _withdrawableDividends = withdrawableDividendOf(_account);
        _withdrawnDividends = withdrawnDividends[_account];
    }

}

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

pragma solidity ^0.6.2;

library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

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

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 4 of 17 : IterableMapping.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;

library IterableMapping {
    // Iterable mapping from address to uint;
    struct Map {
        address[] keys;
        mapping(address => uint) values;
        mapping(address => uint) indexOf;
        mapping(address => bool) inserted;
    }

    function get(Map storage map, address key) public view returns (uint) {
        return map.values[key];
    }

    function getIndexOfKey(Map storage map, address key) public view returns (int) {
        if(!map.inserted[key]) {
            return -1;
        }
        return int(map.indexOf[key]);
    }

    function getKeyAtIndex(Map storage map, uint index) public view returns (address) {
        return map.keys[index];
    }



    function size(Map storage map) public view returns (uint) {
        return map.keys.length;
    }

    function set(Map storage map, address key, uint val) public {
        if (map.inserted[key]) {
            map.values[key] = val;
        } else {
            map.inserted[key] = true;
            map.values[key] = val;
            map.indexOf[key] = map.keys.length;
            map.keys.push(key);
        }
    }

    function remove(Map storage map, address key) public {
        if (!map.inserted[key]) {
            return;
        }

        delete map.inserted[key];
        delete map.values[key];

        uint index = map.indexOf[key];
        uint lastIndex = map.keys.length - 1;
        address lastKey = map.keys[lastIndex];

        map.indexOf[lastKey] = index;
        delete map.indexOf[key];

        map.keys[index] = lastKey;
        map.keys.pop();
    }
}

File 5 of 17 : Ownable.sol
pragma solidity ^0.6.2;

// SPDX-License-Identifier: MIT License

import "./Context.sol";

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 () public {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 6 of 17 : IUniswapV2Pair.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

File 7 of 17 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

File 8 of 17 : IUniswapV2Router.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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



// pragma solidity >=0.6.2;

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

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

File 9 of 17 : IFTPAntiBot.sol
pragma solidity ^0.6.2;

interface IFTPAntiBot {                                                                          // Here we create the interface to interact with AntiBot
    function scanAddress(address _address, address _safeAddress, address _origin) external returns (bool);
    function registerBlock(address _recipient, address _sender) external;
}

File 10 of 17 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./Context.sol";
import "./SafeMath.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 guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    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_) public {
        _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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 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 to 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 {}
}

File 11 of 17 : SafeMathUint.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}

File 12 of 17 : SafeMathInt.sol
// SPDX-License-Identifier: MIT

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity ^0.6.2;

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    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;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }


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

File 13 of 17 : DividendPayingTokenInterface.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;


/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
interface DividendPayingTokenInterface {
  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function dividendOf(address _owner) external view returns(uint256);

  /// @notice Distributes ether to token holders as dividends.
  /// @dev SHOULD distribute the paid ether to token holders as dividends.
  ///  SHOULD NOT directly transfer ether to token holders in this function.
  ///  MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0.
  function distributeDividends() external payable;

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
  ///  MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
  function withdrawDividend() external;

  /// @dev This event MUST emit when ether is distributed to token holders.
  /// @param from The address which sends ether to this contract.
  /// @param weiAmount The amount of distributed ether in wei.
  event DividendsDistributed(
    address indexed from,
    uint256 weiAmount
  );

  /// @dev This event MUST emit when an address withdraws their dividend.
  /// @param to The address which withdraws ether from this contract.
  /// @param weiAmount The amount of withdrawn ether in wei.
  event DividendWithdrawn(
    address indexed to,
    uint256 weiAmount,
    address received
  );
}

File 14 of 17 : DividendPayingTokenOptionalInterface.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;


/// @title Dividend-Paying Token Optional Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface {
  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function withdrawableDividendOf(address _owner) external view returns(uint256);

  /// @notice View the amount of dividend in wei that an address has withdrawn.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has withdrawn.
  function withdrawnDividendOf(address _owner) external view returns(uint256);

  /// @notice View the amount of dividend in wei that an address has earned in total.
  /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has earned in total.
  function accumulativeDividendOf(address _owner) external view returns(uint256);
}

File 15 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

File 16 of 17 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

pragma solidity ^0.6.2;

/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {
    "contracts/IterableMapping.sol": {
      "IterableMapping": "0xEe0103e0293Dfb46294363027F9fd64aFF762BaB"
    }
  }
}

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":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"DividendClaimed","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":"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":"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":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":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"allowPreTrading","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":[],"name":"antibotEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_address","type":"address"}],"name":"assignAntiBot","outputs":[],"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":[],"name":"bankFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"canTransferBeforeTradingIsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"reinvest","type":"bool"},{"internalType":"uint256","name":"minTokens","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"dailyTransfers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"devAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract BankEthDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromDailyLimit","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":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"withdrawnDividends","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"","type":"address"}],"name":"isExcludedFromDailyLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDailyTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchaseEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"reinvestInactive","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":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setMaxPurchaseAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setMaxPurchaseEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"setTradingStartTime","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":"toggleAntiBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddress","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040526008805461ffff60b01b1916600160b81b179055600a80546001600160a01b031916737555de0c971c73c85460f5fb6f53aa6c4fcd7fae1781556a01a784379d99db42000000600b908155692a5a058fc295ed000000600c55608091909152600160a05260c0526362ce4432600d5569021e19e0c9bab2400000600e556a0422ca8b0a00a425000000600f553480156200009d57600080fd5b5060405180604001604052806007815260200166084c2dcd68ae8d60cb1b81525060405180604001604052806007815260200166084829c968aa8960cb1b8152508160039080519060200190620000f692919062000a16565b5080516200010c90600490602084019062000a16565b5050506000620001216200062d60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b03191673590c2b20f7920a2d21ed32a21b616906b4209a43908117909155604051620001a69062000a9b565b604051809103906000f080158015620001c3573d6000803e3d6000fd5b50600960006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200023f57600080fd5b505afa15801562000254573d6000803e3d6000fd5b505050506040513d60208110156200026b57600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929187169163ad5c464891600480820192602092909190829003018186803b158015620002bc57600080fd5b505afa158015620002d1573d6000803e3d6000fd5b505050506040513d6020811015620002e857600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200033b57600080fd5b505af115801562000350573d6000803e3d6000fd5b505050506040513d60208110156200036757600080fd5b5051600780546001600160a01b038086166001600160a01b03199283161790925560088054928416929091169190911790559050620003a881600162000631565b6009546040805163031e79db60e41b81526001600160a01b0390921660048301819052905190916331e79db091602480830192600092919082900301818387803b158015620003f657600080fd5b505af11580156200040b573d6000803e3d6000fd5b50506009546040805163031e79db60e41b815230600482015290516001600160a01b0390921693506331e79db0925060248082019260009290919082900301818387803b1580156200045c57600080fd5b505af115801562000471573d6000803e3d6000fd5b50506009546001600160a01b031691506331e79db090506200049262000764565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015620004d257600080fd5b505af1158015620004e7573d6000803e3d6000fd5b50506009546040805163031e79db60e41b81526001600160a01b03878116600483015291519190921693506331e79db09250602480830192600092919082900301818387803b1580156200053a57600080fd5b505af11580156200054f573d6000803e3d6000fd5b50505050620005663060016200077360201b60201c565b6200057c6200057462000764565b600162000773565b6001601160006200058c62000764565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530815260159283905290812080549093166001908117909355620005db62000764565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620006246200061162000764565b6b033b2e3c9fd0803ce8000000620008a0565b50505062000ac0565b3390565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415620006915760405162461bcd60e51b81526004018080602001828103825260418152602001806200657c6041913960600191505060405180910390fd5b6001600160a01b0382166000908152601260205260409020805460ff1916821580159190911790915562000728576009546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b1580156200070e57600080fd5b505af115801562000723573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031690565b6200077d6200062d565b6005546001600160a01b03908116911614620007e0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03821660009081526010602052604090205460ff1615158115151415620008405760405162461bcd60e51b8152600401808060200182810382526033815260200180620065496033913960400191505060405180910390fd5b6001600160a01b038216600081815260106020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b6001600160a01b038216620008fc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200090a60008383620009af565b6200092681600254620009b460201b6200241c1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620009599183906200241c620009b4821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000a0f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000a5957805160ff191683800117855562000a89565b8280016001018555821562000a89579182015b8281111562000a8957825182559160200191906001019062000a6c565b5062000a9792915062000aa9565b5090565b611b7880620049d183390190565b5b8082111562000a97576000815560010162000aaa565b60805160a05160c051613ed562000afc60003980610d355280612bc852806133e7525080611787528061340c5250806112a55250613ed56000f3fe6080604052600436106103035760003560e01c806370a0823111610190578063a5fa12f0116100dc578063c492f04611610095578063e2f456051161006f578063e2f4560514610b9e578063f2fde38b14610bb3578063f3f647fc14610be6578063fbcbc0f114610c195761030a565b8063c492f04614610ab2578063d505a36414610b31578063dd62ed3e14610b635761030a565b8063a5fa12f014610999578063a8b9d240146109c3578063a9059cbb146109f6578063af74ff5b14610a2f578063b62496f514610a44578063c024666814610a775761030a565b806388bdd9be1161014957806395d89b411161012357806395d89b41146108d757806398982ccf146108ec5780639a7a23d614610925578063a457c2d7146109605761030a565b806388bdd9be1461087a5780638da5cb5b146108ad5780638db038f5146108c25761030a565b806370a08231146107a257806370b7b80c146107d5578063715018a6146107ea5780637e0e155c146107ff57806385033762146108325780638873cd53146108655761030a565b80633ad10ef61161024f578063606294861161020857806364b0f653116101e257806364b0f6531461071257806365b8dbc0146107275780636827e7641461075a5780636843cd841461076f5761030a565b8063606294861461069757806362caa704146106ac57806363c6ad76146106df5761030a565b80633ad10ef6146105c857806341bf9fdc146105dd57806349bd5a5e146105f25780634ef901dc146106075780634fbee193146106315780635b6612ad146106645761030a565b806323b872dd116102bc57806330bb4cff1161029657806330bb4cff14610514578063313ce5671461052957806337f7c6f914610554578063395093511461058f5761030a565b806323b872dd146104815780632c1f5216146104c45780632f9c4569146104d95761030a565b806306fdde031461030f578063095ea7b3146103995780631694505e146103e657806318160ddd146104175780631df4ccfc1461043e5780632354a17c146104535761030a565b3661030a57005b600080fd5b34801561031b57600080fd5b50610324610c6a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561035e578181015183820152602001610346565b50505050905090810190601f16801561038b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a557600080fd5b506103d2600480360360408110156103bc57600080fd5b506001600160a01b038135169060200135610d00565b604080519115158252519081900360200190f35b3480156103f257600080fd5b506103fb610d1e565b604080516001600160a01b039092168252519081900360200190f35b34801561042357600080fd5b5061042c610d2d565b60408051918252519081900360200190f35b34801561044a57600080fd5b5061042c610d33565b34801561045f57600080fd5b5061047f6004803603602081101561047657600080fd5b50351515610d57565b005b34801561048d57600080fd5b506103d2600480360360608110156104a457600080fd5b506001600160a01b03813581169160208101359091169060400135610e1d565b3480156104d057600080fd5b506103fb610ea4565b3480156104e557600080fd5b5061047f600480360360408110156104fc57600080fd5b506001600160a01b0381351690602001351515610eb3565b34801561052057600080fd5b5061042c610f94565b34801561053557600080fd5b5061053e61100a565b6040805160ff9092168252519081900360200190f35b34801561056057600080fd5b5061047f6004803603604081101561057757600080fd5b506001600160a01b038135169060200135151561100f565b34801561059b57600080fd5b506103d2600480360360408110156105b257600080fd5b506001600160a01b0381351690602001356110f0565b3480156105d457600080fd5b506103fb61113e565b3480156105e957600080fd5b506103d261114d565b3480156105fe57600080fd5b506103fb61115d565b34801561061357600080fd5b5061047f6004803603602081101561062a57600080fd5b503561116c565b34801561063d57600080fd5b506103d26004803603602081101561065457600080fd5b50356001600160a01b0316611273565b34801561067057600080fd5b5061042c6004803603602081101561068757600080fd5b50356001600160a01b0316611291565b3480156106a357600080fd5b5061042c6112a3565b3480156106b857600080fd5b5061047f600480360360208110156106cf57600080fd5b50356001600160a01b03166112c7565b3480156106eb57600080fd5b5061047f6004803603602081101561070257600080fd5b50356001600160a01b0316611341565b34801561071e57600080fd5b5061042c61163e565b34801561073357600080fd5b5061047f6004803603602081101561074a57600080fd5b50356001600160a01b0316611683565b34801561076657600080fd5b5061042c611785565b34801561077b57600080fd5b5061042c6004803603602081101561079257600080fd5b50356001600160a01b03166117a9565b3480156107ae57600080fd5b5061042c600480360360208110156107c557600080fd5b50356001600160a01b031661182c565b3480156107e157600080fd5b5061042c611847565b3480156107f657600080fd5b5061047f61184d565b34801561080b57600080fd5b506103d26004803603602081101561082257600080fd5b50356001600160a01b03166118ef565b34801561083e57600080fd5b5061047f6004803603602081101561085557600080fd5b50356001600160a01b0316611904565b34801561087157600080fd5b5061042c61197e565b34801561088657600080fd5b5061047f6004803603602081101561089d57600080fd5b50356001600160a01b0316611984565b3480156108b957600080fd5b506103fb611cdb565b3480156108ce57600080fd5b506103d2611cea565b3480156108e357600080fd5b50610324611cfa565b3480156108f857600080fd5b5061042c6004803603604081101561090f57600080fd5b50803590602001356001600160a01b0316611d5b565b34801561093157600080fd5b5061047f6004803603604081101561094857600080fd5b506001600160a01b0381351690602001351515611d78565b34801561096c57600080fd5b506103d26004803603604081101561098357600080fd5b506001600160a01b038135169060200135611e2b565b3480156109a557600080fd5b5061047f600480360360208110156109bc57600080fd5b5035611e93565b3480156109cf57600080fd5b5061042c600480360360208110156109e657600080fd5b50356001600160a01b0316611ef0565b348015610a0257600080fd5b506103d260048036036040811015610a1957600080fd5b506001600160a01b038135169060200135611f41565b348015610a3b57600080fd5b5061047f611f55565b348015610a5057600080fd5b506103d260048036036020811015610a6757600080fd5b50356001600160a01b0316611fe7565b348015610a8357600080fd5b5061047f60048036036040811015610a9a57600080fd5b506001600160a01b0381351690602001351515611ffc565b348015610abe57600080fd5b5061047f60048036036040811015610ad557600080fd5b810190602081018135640100000000811115610af057600080fd5b820183602082011115610b0257600080fd5b80359060200191846020830284011164010000000083111715610b2457600080fd5b9193509150351515612112565b348015610b3d57600080fd5b5061047f60048036036040811015610b5457600080fd5b50803515159060200135612232565b348015610b6f57600080fd5b5061042c60048036036040811015610b8657600080fd5b506001600160a01b038135811691602001351661223d565b348015610baa57600080fd5b5061042c612268565b348015610bbf57600080fd5b5061047f60048036036020811015610bd657600080fd5b50356001600160a01b031661226e565b348015610bf257600080fd5b506103d260048036036020811015610c0957600080fd5b50356001600160a01b0316612367565b348015610c2557600080fd5b50610c4c60048036036020811015610c3c57600080fd5b50356001600160a01b031661237c565b60408051938452602084019290925282820152519081900360600190f35b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf65780601f10610ccb57610100808354040283529160200191610cf6565b820191906000526020600020905b815481529060010190602001808311610cd957829003601f168201915b5050505050905090565b6000610d14610d0d61247d565b8484612481565b5060015b92915050565b6007546001600160a01b031681565b60025490565b7f000000000000000000000000000000000000000000000000000000000000000081565b610d5f61247d565b6005546001600160a01b03908116911614610daf576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b60085460ff600160b81b9091041615158115151415610dff5760405162461bcd60e51b815260040180806020018281038252603f815260200180613b5e603f913960400191505060405180910390fd5b60088054911515600160b81b0260ff60b81b19909216919091179055565b6000610e2a84848461256d565b610e9a84610e3661247d565b610e9585604051806060016040528060288152602001613cc5602891396001600160a01b038a16600090815260016020526040812090610e7461247d565b6001600160a01b031681526020810191909152604001600020549190612da9565b612481565b5060019392505050565b6009546001600160a01b031681565b610ebb61247d565b6005546001600160a01b03908116911614610f0b576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526011602052604090205460ff1615158115151415610f695760405162461bcd60e51b8152600401808060200182810382526037815260200180613ac06037913960400191505060405180910390fd5b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b600954604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610fd957600080fd5b505afa158015610fed573d6000803e3d6000fd5b505050506040513d602081101561100357600080fd5b5051905090565b601290565b61101761247d565b6005546001600160a01b03908116911614611067576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526015602052604090205460ff16151581151514156110c55760405162461bcd60e51b8152600401808060200182810382526041815260200180613af76041913960600191505060405180910390fd5b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6000610d146110fd61247d565b84610e95856001600061110e61247d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061241c565b600a546001600160a01b031681565b600854600160b01b900460ff1681565b6008546001600160a01b031681565b61117461247d565b6005546001600160a01b039081169116146111c4576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b42600d541161121a576040805162461bcd60e51b815260206004820152601b60248201527f54726164696e672068617320616c726561647920737461727465640000000000604482015290519081900360640190fd5b42811161126e576040805162461bcd60e51b815260206004820181905260248201527f53746172742074696d65206d75737420626520696e2074686520667574757265604482015290519081900360640190fd5b600d55565b6001600160a01b031660009081526010602052604090205460ff1690565b60146020526000908152604090205481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6112cf61247d565b6005546001600160a01b0390811691161461131f576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61134961247d565b6005546001600160a01b03908116911614611399576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600954604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b1580156113ea57600080fd5b505afa1580156113fe573d6000803e3d6000fd5b505050506040513d602081101561141457600080fd5b5051600e5490915081111561145a5760405162461bcd60e51b815260040180806020018281038252604e815260200180613d0d604e913960600191505060405180910390fd5b6001600160a01b038216600090815260146020526040902054626ebe006114814283612e40565b116114bd5760405162461bcd60e51b815260040180806020018281038252603e815260200180613d5b603e913960400191505060405180910390fd5b600954604080516352b5f81d60e01b81526001600160a01b038681166004830152306024830152915191909216916352b5f81d9160448083019260209291908290030181600087803b15801561151257600080fd5b505af1158015611526573d6000803e3d6000fd5b505050506040513d602081101561153c57600080fd5b505060095460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461158f576040519150601f19603f3d011682016040523d82523d6000602084013e611594565b606091505b505090508015611637576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a1600954604080516338c110ef60e21b81526001600160a01b038881166004830152600060248301819052925193169263e30443bc9260448084019391929182900301818387803b15801561162457600080fd5b505af1925050508015611635575060015b505b5050505050565b600954604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610fd957600080fd5b61168b61247d565b6005546001600160a01b039081169116146116db576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6007546001600160a01b03828116911614156117285760405162461bcd60e51b815260040180806020018281038252602c815260200180613a4c602c913960400191505060405180910390fd5b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b600954604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b1580156117fa57600080fd5b505afa15801561180e573d6000803e3d6000fd5b505050506040513d602081101561182457600080fd5b505192915050565b6001600160a01b031660009081526020819052604090205490565b600d5481565b61185561247d565b6005546001600160a01b039081169116146118a5576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60116020526000908152604090205460ff1681565b61190c61247d565b6005546001600160a01b0390811691161461195c576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600b5481565b61198c61247d565b6005546001600160a01b039081169116146119dc576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6009546001600160a01b0382811691161415611a295760405162461bcd60e51b8152600401808060200182810382526036815260200180613c0e6036913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a7157600080fd5b505afa158015611a85573d6000803e3d6000fd5b505050506040513d6020811015611a9b57600080fd5b50516001600160a01b031614611ae25760405162461bcd60e51b815260040180806020018281038252604d815260200180613b9d604d913960600191505060405180910390fd5b806001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611b3157600080fd5b505af1158015611b45573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b158015611b9057600080fd5b505af1158015611ba4573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db0611bbf611cdb565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611bfe57600080fd5b505af1158015611c12573d6000803e3d6000fd5b50506007546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b158015611c6457600080fd5b505af1158015611c78573d6000803e3d6000fd5b50506009546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600980546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b031690565b600854600160b81b900460ff1681565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf65780601f10610ccb57610100808354040283529160200191610cf6565b601360209081526000928352604080842090915290825290205481565b611d8061247d565b6005546001600160a01b03908116911614611dd0576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6008546001600160a01b0383811691161415611e1d5760405162461bcd60e51b815260040180806020018281038252604a8152602001806139c1604a913960600191505060405180910390fd5b611e278282612e82565b5050565b6000610d14611e3861247d565b84610e9585604051806060016040528060258152602001613e7b6025913960016000611e6261247d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612da9565b611e9b61247d565b6005546001600160a01b03908116911614611eeb576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600f55565b600954604080516302a2e74960e61b81526001600160a01b0384811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b1580156117fa57600080fd5b6000610d14611f4e61247d565b848461256d565b611f5d61247d565b6005546001600160a01b03908116911614611fad576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600854600160b01b900460ff1615611fd1576008805460ff60b01b19169055611fe5565b6008805460ff60b01b1916600160b01b1790555b565b60126020526000908152604090205460ff1681565b61200461247d565b6005546001600160a01b03908116911614612054576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526010602052604090205460ff16151581151514156120b25760405162461bcd60e51b8152600401808060200182810382526033815260200180613c656033913960400191505060405180910390fd5b6001600160a01b038216600081815260106020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b61211a61247d565b6005546001600160a01b0390811691161461216a576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b60005b828110156121bf57816010600086868581811061218657fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff191691151591909117905560010161216d565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b611e27338383612fb0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600c5481565b61227661247d565b6005546001600160a01b039081169116146122c6576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03811661230b5760405162461bcd60e51b8152600401808060200182810382526026815260200180613a786026913960400191505060405180910390fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205460ff1681565b6009546040805163fbcbc0f160e01b81526001600160a01b038481166004830152825160009485948594939091169263fbcbc0f19260248083019392829003018186803b1580156123cc57600080fd5b505afa1580156123e0573d6000803e3d6000fd5b505050506040513d60408110156123f657600080fd5b5080516020909101519093509150828261240f8661182c565b9250925092509193909250565b600082820183811015612476576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166124c65760405162461bcd60e51b8152600401808060200182810382526024815260200180613e316024913960400191505060405180910390fd5b6001600160a01b03821661250b5760405162461bcd60e51b8152600401808060200182810382526022815260200180613a9e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166125b25760405162461bcd60e51b8152600401808060200182810382526025815260200180613e0c6025913960400191505060405180910390fd5b6001600160a01b0382166125f75760405162461bcd60e51b815260040180806020018281038252602381526020018061399e6023913960400191505060405180910390fd5b42600d541115612658576001600160a01b03831660009081526011602052604090205460ff166126585760405162461bcd60e51b8152600401808060200182810382526041815260200180613a0b6041913960600191505060405180910390fd5b8061266e576126698383600061325a565b612da4565b600854600160b01b900460ff161561284c576001600160a01b03831660009081526012602052604090205460ff161561276657600654604080516312bdf42360e01b81526001600160a01b0385811660048301528681166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b1580156126fe57600080fd5b505af1158015612712573d6000803e3d6000fd5b505050506040513d602081101561272857600080fd5b5051156127665760405162461bcd60e51b8152600401808060200182810382526026815260200180613e556026913960400191505060405180910390fd5b6001600160a01b03821660009081526012602052604090205460ff161561284c57600654604080516312bdf42360e01b81526001600160a01b0386811660048301528581166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b1580156127e457600080fd5b505af11580156127f8573d6000803e3d6000fd5b505050506040513d602081101561280e57600080fd5b50511561284c5760405162461bcd60e51b8152600401808060200182810382526026815260200180613e556026913960400191505060405180910390fd5b6001600160a01b03831660009081526015602052604090205460ff1615801561288e57506001600160a01b03831660009081526012602052604090205460ff16155b1561291057600b546128d382601360006128a66133b5565b8152602080820192909252604090810160009081206001600160a01b038a1682529092529020549061241c565b11156129105760405162461bcd60e51b8152600401808060200182810382526032815260200180613dda6032913960400191505060405180910390fd5b61294d81601360006129206133b5565b8152602080820192909252604090810160009081206001600160a01b03891682529092529020549061241c565b601360006129596133b5565b8152602080820192909252604090810160009081206001600160a01b0388168252909252902055600854600160b81b900460ff1680156129b257506001600160a01b03821660009081526015602052604090205460ff16155b80156129d657506001600160a01b03831660009081526012602052604090205460ff165b15612a1c57600f54811115612a1c5760405162461bcd60e51b8152600401808060200182810382526024815260200180613bea6024913960400191505060405180910390fd5b6000612a273061182c565b600c5490915081108015908190612a485750600854600160a01b900460ff16155b8015612a5e5750600854600160a81b900460ff16155b8015612a8357506001600160a01b03851660009081526012602052604090205460ff16155b8015612aa857506001600160a01b03851660009081526010602052604090205460ff16155b8015612acd57506001600160a01b03841660009081526010602052604090205460ff16155b15612afb576008805460ff60a01b1916600160a01b179055612aed6133c9565b6008805460ff60a01b191690555b600854600090600160a01b900460ff16158015612b225750600854600160a81b900460ff16155b6001600160a01b03871660009081526010602052604090205490915060ff1680612b6457506001600160a01b03851660009081526010602052604090205460ff165b80612bac57506001600160a01b03861660009081526012602052604090205460ff16158015612bac57506001600160a01b03851660009081526012602052604090205460ff16155b15612bb5575060005b8015612c0d576000612bf26064612bec877f0000000000000000000000000000000000000000000000000000000000000000613506565b9061355f565b9050612bfe8582612e40565b9450612c0b87308361325a565b505b612c1886868661325a565b6009546001600160a01b031663e30443bc87612c338161182c565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612c7957600080fd5b505af1925050508015612c8a575060015b506009546001600160a01b031663e30443bc86612ca68161182c565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612cec57600080fd5b505af1925050508015612cfd575060015b50600854600160b01b900460ff1615612d79576006546040805163b25d625960e01b81526001600160a01b03898116600483015288811660248301529151919092169163b25d625991604480830192600092919082900301818387803b158015612d6657600080fd5b505af1925050508015612d77575060015b505b5050506001600160a01b03808416600090815260146020526040808220429081905592851682529020555b505050565b60008184841115612e385760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612dfd578181015183820152602001612de5565b50505050905090810190601f168015612e2a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061247683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612da9565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415612ee05760405162461bcd60e51b8152600401808060200182810382526041815260200180613d996041913960600191505060405180910390fd5b6001600160a01b0382166000908152601260205260409020805460ff19168215801591909117909155612f74576009546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600954604080516302a2e74960e61b81526001600160a01b0386811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b15801561300157600080fd5b505afa158015613015573d6000803e3d6000fd5b505050506040513d602081101561302b57600080fd5b505190508061306b5760405162461bcd60e51b815260040180806020018281038252602d815260200180613c98602d913960400191505060405180910390fd5b8261314d57600954604080516352b5f81d60e01b81526001600160a01b03878116600483018190526024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b1580156130c957600080fd5b505af11580156130dd573d6000803e3d6000fd5b505050506040513d60208110156130f357600080fd5b5051905080156131465760408051828152600060208201526001600160a01b0387168183015290517f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f9181900360600190a15b5050612da4565b600954604080516352b5f81d60e01b81526001600160a01b038781166004830152306024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b1580156131a557600080fd5b505af11580156131b9573d6000803e3d6000fd5b505050506040513d60208110156131cf57600080fd5b505190508015611637576008805460ff60a81b1916600160a81b17905560006131f98285886135a1565b6008805460ff60a81b1916905560408051848152602081018390526001600160a01b0389168183015290519192507f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f919081900360600190a1505050505050565b6001600160a01b03831661329f5760405162461bcd60e51b8152600401808060200182810382526025815260200180613e0c6025913960400191505060405180910390fd5b6001600160a01b0382166132e45760405162461bcd60e51b815260040180806020018281038252602381526020018061399e6023913960400191505060405180910390fd5b6132ef838383612da4565b61332c81604051806060016040528060268152602001613b38602691396001600160a01b0386166000908152602081905260409020549190612da9565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461335b908261241c565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60006133c4426201518061355f565b905090565b60006133d43061182c565b90506133df81613792565b4760006134307f0000000000000000000000000000000000000000000000000000000000000000612bec847f0000000000000000000000000000000000000000000000000000000000000000613506565b600a546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505015801561346b573d6000803e3d6000fd5b5060095460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146134bd576040519150601f19603f3d011682016040523d82523d6000602084013e6134c2565b606091505b505090508015611637576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a15050505050565b60008261351557506000610d18565b8282028284828161352257fe5b04146124765760405162461bcd60e51b8152600401808060200182810382526021815260200180613c446021913960400191505060405180910390fd5b600061247683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613938565b60408051600280825260608083018452600093909291906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561360b57600080fd5b505afa15801561361f573d6000803e3d6000fd5b505050506040513d602081101561363557600080fd5b50518151829060009061364457fe5b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061367257fe5b60200260200101906001600160a01b031690816001600160a01b031681525050600061369d8461182c565b9050600760009054906101000a90046001600160a01b03166001600160a01b031663b6f9de9587878588426040518663ffffffff1660e01b81526004018085815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561373257818101518382015260200161371a565b50505050905001955050505050506000604051808303818588803b15801561375957600080fd5b505af115801561376d573d6000803e3d6000fd5b50505050506000613787826137818761182c565b90612e40565b979650505050505050565b604080516002808252606080830184529260208301908036833701905050905030816000815181106137c057fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561381457600080fd5b505afa158015613828573d6000803e3d6000fd5b505050506040513d602081101561383e57600080fd5b505181518290600190811061384f57fe5b6001600160a01b0392831660209182029290920101526007546138759130911684612481565b60075460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b838110156138fb5781810151838201526020016138e3565b505050509050019650505050505050600060405180830381600087803b15801561392457600080fd5b505af1158015611635573d6000803e3d6000fd5b600081836139875760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612dfd578181015183820152602001612de5565b50600083858161399357fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737342616e6b4574683a2054686520556e695377617020706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572506169727342616e6b4574683a2054686973206163636f756e742063616e6e6f742073656e6420746f6b656e7320756e74696c2074726164696e6720697320656e61626c656442616e6b4574683a2054686520726f7574657220616c726561647920686173207468617420616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737342616e6b4574683a205072652074726164696e6720697320616c7265616479207468652076616c7565206f6620276578636c756465642742616e6b4574683a204461696c79206c696d6974206578636c7573696f6e20697320616c7265616479207468652076616c7565206f6620276578636c756465642745524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542616e6b4574683a204d617820707572636861736520656e61626c656420697320616c7265616479207468652076616c7565206f662027656e61626c65642742616e6b4574683a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e6564206279207468652042616e6b45746820746f6b656e20636f6e747261637442616e6b4574683a2045786365656473206d617820707572636861736520616d6f756e7442616e6b4574683a20546865206469766964656e6420747261636b657220616c72656164792068617320746861742061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7742616e6b4574683a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642742616e6b4574683a20436c61696d657220686173206e6f20776974686472617761626c65206469766964656e6445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657242616e6b4574683a204163636f756e742062616c616e6365206d757374206265206c657373207468656e206d696e696d756d20746f6b656e2062616c616e636520666f72206469766964656e647342616e6b4574683a204163636f756e74206d7573742068617665206265656e20696e61637469766520666f72206174206c65617374203132207765656b7342616e6b4574683a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756542616e6b4574683a2054686973206163636f756e7420686173206578636565646564206d6178206461696c79206c696d697445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737342656570204265657020426f6f702c20596f752772652061207069656365206f6620706f6f7045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bf238557ad030fc6df89f53fc1fe5e522afaa5aa475847ba40f66bfbaa06ac9d64736f6c634300060c003360a06040523480156200001157600080fd5b5060408051808201825260188082527f42616e6b4574685f4469766964656e645f547261636b65720000000000000000602080840182815285518087019096529285528401528151919291839183916200006e9160039162000101565b5080516200008490600490602084019062000101565b505050505060006200009b620000fd60201b60201c565b600980546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35069021e19e0c9bab24000006080526200019d565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014457805160ff191683800117855562000174565b8280016001018555821562000174579182015b828111156200017457825182559160200191906001019062000157565b506200018292915062000186565b5090565b5b8082111562000182576000815560010162000187565b6080516119bb620001bd60003980610dd15280610e9e52506119bb6000f3fe6080604052600436106101bb5760003560e01c8063715018a6116100ec578063a9059cbb1161008a578063dd62ed3e11610064578063dd62ed3e1461063d578063e30443bc14610678578063f2fde38b146106b1578063fbcbc0f1146106e4576101ca565b8063a9059cbb146105bc578063aafd847a146105f5578063be10b61414610628576101ca565b806391b89fba116100c657806391b89fba1461050857806395d89b411461053b578063a457c2d714610550578063a8b9d24014610589576101ca565b8063715018a6146104ad57806385a6b3ae146104c25780638da5cb5b146104d7576101ca565b8063313ce567116101595780634e7b827f116101335780634e7b827f146103f757806352b5f81d1461042a5780636a4740021461046557806370a082311461047a576101ca565b8063313ce5671461036057806331e79db01461038b57806339509351146103be576101ca565b806309bbedde1161019557806309bbedde146102ae57806318160ddd146102d557806323b872dd146102ea57806327ce01471461032d576101ca565b806303c83302146101cf57806306fdde03146101d7578063095ea7b314610261576101ca565b366101ca576101c8610730565b005b600080fd5b6101c8610730565b3480156101e357600080fd5b506101ec6107c1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022657818101518382015260200161020e565b50505050905090810190601f1680156102535780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026d57600080fd5b5061029a6004803603604081101561028457600080fd5b506001600160a01b038135169060200135610857565b604080519115158252519081900360200190f35b3480156102ba57600080fd5b506102c3610875565b60408051918252519081900360200190f35b3480156102e157600080fd5b506102c361087b565b3480156102f657600080fd5b5061029a6004803603606081101561030d57600080fd5b506001600160a01b03813581169160208101359091169060400135610881565b34801561033957600080fd5b506102c36004803603602081101561035057600080fd5b50356001600160a01b0316610908565b34801561036c57600080fd5b50610375610965565b6040805160ff9092168252519081900360200190f35b34801561039757600080fd5b506101c8600480360360208110156103ae57600080fd5b50356001600160a01b031661096a565b3480156103ca57600080fd5b5061029a600480360360408110156103e157600080fd5b506001600160a01b038135169060200135610ac6565b34801561040357600080fd5b5061029a6004803603602081101561041a57600080fd5b50356001600160a01b0316610b14565b34801561043657600080fd5b506102c36004803603604081101561044d57600080fd5b506001600160a01b0381358116916020013516610b29565b34801561047157600080fd5b506101c8610b97565b34801561048657600080fd5b506102c36004803603602081101561049d57600080fd5b50356001600160a01b0316610bce565b3480156104b957600080fd5b506101c8610be9565b3480156104ce57600080fd5b506102c3610c8b565b3480156104e357600080fd5b506104ec610c91565b604080516001600160a01b039092168252519081900360200190f35b34801561051457600080fd5b506102c36004803603602081101561052b57600080fd5b50356001600160a01b0316610ca0565b34801561054757600080fd5b506101ec610cab565b34801561055c57600080fd5b5061029a6004803603604081101561057357600080fd5b506001600160a01b038135169060200135610d0c565b34801561059557600080fd5b506102c3600480360360208110156105ac57600080fd5b50356001600160a01b0316610d74565b3480156105c857600080fd5b5061029a600480360360408110156105df57600080fd5b506001600160a01b038135169060200135610da0565b34801561060157600080fd5b506102c36004803603602081101561061857600080fd5b50356001600160a01b0316610db4565b34801561063457600080fd5b506102c3610dcf565b34801561064957600080fd5b506102c36004803603604081101561066057600080fd5b506001600160a01b0381358116916020013516610df3565b34801561068457600080fd5b506101c86004803603604081101561069b57600080fd5b506001600160a01b038135169060200135610e1e565b3480156106bd57600080fd5b506101c8600480360360208110156106d457600080fd5b50356001600160a01b0316610fdb565b3480156106f057600080fd5b506107176004803603602081101561070757600080fd5b50356001600160a01b03166110d4565b6040805192835260208301919091528051918290030190f35b600061073a61087b565b1161074457600080fd5b34156107bf5761077561075561087b565b61076334600160801b611101565b8161076a57fe5b600554919004611161565b60055560408051348152905133917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511919081900360200190a26008546107bb9034611161565b6008555b565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b5050505050905090565b600061086b6108646111bb565b84846111bf565b5060015b92915050565b600a5490565b60025490565b600061088e8484846111fb565b6108fe8461089a6111bb565b6108f9856040518060600160405280602881526020016118ca602891396001600160a01b038a166000908152600160205260408120906108d86111bb565b6001600160a01b031681526020810191909152604001600020549190611232565b6111bf565b5060019392505050565b6001600160a01b038116600090815260066020526040812054600160801b90610957906109529061094c61094761093e88610bce565b60055490611101565b6112c9565b906112d9565b61130c565b8161095e57fe5b0492915050565b601290565b6109726111bb565b6009546001600160a01b039081169116146109c2576040805162461bcd60e51b815260206004820181905260248201526000805160206118f2833981519152604482015290519081900360640190fd5b6001600160a01b0381166000908152600e602052604090205460ff16156109e857600080fd5b6001600160a01b0381166000908152600e60205260408120805460ff19166001179055610a1690829061131f565b6040805163131836e760e21b8152600a60048201526001600160a01b0383166024820152905173ee0103e0293dfb46294363027f9fd64aff762bab91634c60db9c916044808301926000929190829003018186803b158015610a7757600080fd5b505af4158015610a8b573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b600061086b610ad36111bb565b846108f98560016000610ae46111bb565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611161565b600e6020526000908152604090205460ff1681565b6000610b336111bb565b6009546001600160a01b03908116911614610b83576040805162461bcd60e51b815260206004820181905260248201526000805160206118f2833981519152604482015290519081900360640190fd5b6000610b8f8484611378565b949350505050565b60405162461bcd60e51b815260040180806020018281038252606b81526020018061183e606b913960800191505060405180910390fd5b6001600160a01b031660009081526020819052604090205490565b610bf16111bb565b6009546001600160a01b03908116911614610c41576040805162461bcd60e51b815260206004820181905260248201526000805160206118f2833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b60085481565b6009546001600160a01b031690565b600061086f82610d74565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561084d5780601f106108225761010080835404028352916020019161084d565b600061086b610d196111bb565b846108f9856040518060600160405280602581526020016119616025913960016000610d436111bb565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611232565b6001600160a01b03811660009081526007602052604081205461086f90610d9a84610908565b906114bf565b600061086b610dad6111bb565b84846111fb565b6001600160a01b031660009081526007602052604090205490565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e266111bb565b6009546001600160a01b03908116911614610e76576040805162461bcd60e51b815260206004820181905260248201526000805160206118f2833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152600e602052604090205460ff1615610e9c57610fd7565b7f00000000000000000000000000000000000000000000000000000000000000008110610f5257610ecd828261131f565b60408051632f0ad01760e21b8152600a60048201526001600160a01b038416602482015260448101839052905173ee0103e0293dfb46294363027f9fd64aff762bab9163bc2b405c916064808301926000929190829003018186803b158015610f3557600080fd5b505af4158015610f49573d6000803e3d6000fd5b50505050610fd7565b610f5d82600061131f565b6040805163131836e760e21b8152600a60048201526001600160a01b0384166024820152905173ee0103e0293dfb46294363027f9fd64aff762bab91634c60db9c916044808301926000929190829003018186803b158015610fbe57600080fd5b505af4158015610fd2573d6000803e3d6000fd5b505050505b5050565b610fe36111bb565b6009546001600160a01b03908116911614611033576040805162461bcd60e51b815260206004820181905260248201526000805160206118f2833981519152604482015290519081900360640190fd5b6001600160a01b0381166110785760405162461bcd60e51b81526004018080602001828103825260268152602001806117ea6026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000806110e083610d74565b6001600160a01b039093166000908152600760205260409020549293915050565b6000826111105750600061086f565b8282028284828161111d57fe5b041461115a5760405162461bcd60e51b81526004018080602001828103825260218152602001806118a96021913960400191505060405180910390fd5b9392505050565b60008282018381101561115a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b60405162461bcd60e51b815260040180806020018281038252602e815260200180611933602e913960400191505060405180910390fd5b505050565b60405162461bcd60e51b815260040180806020018281038252602e815260200180611810602e913960400191505060405180910390fd5b600081848411156112c15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561128657818101518382015260200161126e565b50505050905090810190601f1680156112b35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818181121561086f57600080fd5b60008282018183128015906112ee5750838112155b80611303575060008312801561130357508381125b61115a57600080fd5b60008082121561131b57600080fd5b5090565b600061132a83610bce565b90508082111561135257600061134083836114bf565b905061134c8482611501565b506111f6565b808210156111f657600061136682846114bf565b90506113728482611565565b50505050565b60008061138484610d74565b905080156114b5576001600160a01b0384166000908152600760205260409020546113af9082611161565b6001600160a01b0380861660008181526007602090815260409182902094909455805185815292871693830193909352825190927feb063efb53b3790d2bc15284b59af7544466c8787c2883321ee27095647911b6928290030190a26040516000906001600160a01b0385169083908381818185875af1925050503d8060008114611456576040519150601f19603f3d011682016040523d82523d6000602084013e61145b565b606091505b50509050806114ad576001600160a01b03851660009081526007602052604090205461148790836114bf565b6001600160a01b038616600090815260076020526040812091909155925061086f915050565b50905061086f565b5060009392505050565b600061115a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611232565b61150b82826115a9565b6115456115266109478360055461110190919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611699565b6001600160a01b0390921660009081526006602052604090209190915550565b61156f82826116cb565b61154561158a6109478360055461110190919063ffffffff16565b6001600160a01b038416600090815260066020526040902054906112d9565b6001600160a01b038216611604576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611610600083836111f6565b60025461161d9082611161565b6002556001600160a01b0382166000908152602081905260409020546116439082611161565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183038183128015906116ae5750838113155b806113035750600083128015611303575083811361115a57600080fd5b6001600160a01b0382166117105760405162461bcd60e51b81526004018080602001828103825260218152602001806119126021913960400191505060405180910390fd5b61171c826000836111f6565b611759816040518060600160405280602281526020016117c8602291396001600160a01b0385166000908152602081905260409020549190611232565b6001600160a01b03831660009081526020819052604090205560025461177f90826114bf565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342616e6b4574685f4469766964656e645f547261636b65723a204e6f207472616e736665727320616c6c6f77656442616e6b4574685f4469766964656e645f547261636b65723a2077697468647261774469766964656e642064697361626c65642e20557365207468652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2042616e6b45746820636f6e74726163742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737342616e6b4574685f4469766964656e645f547261636b65723a204e6f20617070726f76616c7320616c6c6f77656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212203d190769ed22fdddd962dd4c154e14e18b33892121d50e8c2f0f2a5708dade2164736f6c634300060c003342616e6b4574683a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642742616e6b4574683a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c7565

Deployed Bytecode

0x6080604052600436106103035760003560e01c806370a0823111610190578063a5fa12f0116100dc578063c492f04611610095578063e2f456051161006f578063e2f4560514610b9e578063f2fde38b14610bb3578063f3f647fc14610be6578063fbcbc0f114610c195761030a565b8063c492f04614610ab2578063d505a36414610b31578063dd62ed3e14610b635761030a565b8063a5fa12f014610999578063a8b9d240146109c3578063a9059cbb146109f6578063af74ff5b14610a2f578063b62496f514610a44578063c024666814610a775761030a565b806388bdd9be1161014957806395d89b411161012357806395d89b41146108d757806398982ccf146108ec5780639a7a23d614610925578063a457c2d7146109605761030a565b806388bdd9be1461087a5780638da5cb5b146108ad5780638db038f5146108c25761030a565b806370a08231146107a257806370b7b80c146107d5578063715018a6146107ea5780637e0e155c146107ff57806385033762146108325780638873cd53146108655761030a565b80633ad10ef61161024f578063606294861161020857806364b0f653116101e257806364b0f6531461071257806365b8dbc0146107275780636827e7641461075a5780636843cd841461076f5761030a565b8063606294861461069757806362caa704146106ac57806363c6ad76146106df5761030a565b80633ad10ef6146105c857806341bf9fdc146105dd57806349bd5a5e146105f25780634ef901dc146106075780634fbee193146106315780635b6612ad146106645761030a565b806323b872dd116102bc57806330bb4cff1161029657806330bb4cff14610514578063313ce5671461052957806337f7c6f914610554578063395093511461058f5761030a565b806323b872dd146104815780632c1f5216146104c45780632f9c4569146104d95761030a565b806306fdde031461030f578063095ea7b3146103995780631694505e146103e657806318160ddd146104175780631df4ccfc1461043e5780632354a17c146104535761030a565b3661030a57005b600080fd5b34801561031b57600080fd5b50610324610c6a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561035e578181015183820152602001610346565b50505050905090810190601f16801561038b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a557600080fd5b506103d2600480360360408110156103bc57600080fd5b506001600160a01b038135169060200135610d00565b604080519115158252519081900360200190f35b3480156103f257600080fd5b506103fb610d1e565b604080516001600160a01b039092168252519081900360200190f35b34801561042357600080fd5b5061042c610d2d565b60408051918252519081900360200190f35b34801561044a57600080fd5b5061042c610d33565b34801561045f57600080fd5b5061047f6004803603602081101561047657600080fd5b50351515610d57565b005b34801561048d57600080fd5b506103d2600480360360608110156104a457600080fd5b506001600160a01b03813581169160208101359091169060400135610e1d565b3480156104d057600080fd5b506103fb610ea4565b3480156104e557600080fd5b5061047f600480360360408110156104fc57600080fd5b506001600160a01b0381351690602001351515610eb3565b34801561052057600080fd5b5061042c610f94565b34801561053557600080fd5b5061053e61100a565b6040805160ff9092168252519081900360200190f35b34801561056057600080fd5b5061047f6004803603604081101561057757600080fd5b506001600160a01b038135169060200135151561100f565b34801561059b57600080fd5b506103d2600480360360408110156105b257600080fd5b506001600160a01b0381351690602001356110f0565b3480156105d457600080fd5b506103fb61113e565b3480156105e957600080fd5b506103d261114d565b3480156105fe57600080fd5b506103fb61115d565b34801561061357600080fd5b5061047f6004803603602081101561062a57600080fd5b503561116c565b34801561063d57600080fd5b506103d26004803603602081101561065457600080fd5b50356001600160a01b0316611273565b34801561067057600080fd5b5061042c6004803603602081101561068757600080fd5b50356001600160a01b0316611291565b3480156106a357600080fd5b5061042c6112a3565b3480156106b857600080fd5b5061047f600480360360208110156106cf57600080fd5b50356001600160a01b03166112c7565b3480156106eb57600080fd5b5061047f6004803603602081101561070257600080fd5b50356001600160a01b0316611341565b34801561071e57600080fd5b5061042c61163e565b34801561073357600080fd5b5061047f6004803603602081101561074a57600080fd5b50356001600160a01b0316611683565b34801561076657600080fd5b5061042c611785565b34801561077b57600080fd5b5061042c6004803603602081101561079257600080fd5b50356001600160a01b03166117a9565b3480156107ae57600080fd5b5061042c600480360360208110156107c557600080fd5b50356001600160a01b031661182c565b3480156107e157600080fd5b5061042c611847565b3480156107f657600080fd5b5061047f61184d565b34801561080b57600080fd5b506103d26004803603602081101561082257600080fd5b50356001600160a01b03166118ef565b34801561083e57600080fd5b5061047f6004803603602081101561085557600080fd5b50356001600160a01b0316611904565b34801561087157600080fd5b5061042c61197e565b34801561088657600080fd5b5061047f6004803603602081101561089d57600080fd5b50356001600160a01b0316611984565b3480156108b957600080fd5b506103fb611cdb565b3480156108ce57600080fd5b506103d2611cea565b3480156108e357600080fd5b50610324611cfa565b3480156108f857600080fd5b5061042c6004803603604081101561090f57600080fd5b50803590602001356001600160a01b0316611d5b565b34801561093157600080fd5b5061047f6004803603604081101561094857600080fd5b506001600160a01b0381351690602001351515611d78565b34801561096c57600080fd5b506103d26004803603604081101561098357600080fd5b506001600160a01b038135169060200135611e2b565b3480156109a557600080fd5b5061047f600480360360208110156109bc57600080fd5b5035611e93565b3480156109cf57600080fd5b5061042c600480360360208110156109e657600080fd5b50356001600160a01b0316611ef0565b348015610a0257600080fd5b506103d260048036036040811015610a1957600080fd5b506001600160a01b038135169060200135611f41565b348015610a3b57600080fd5b5061047f611f55565b348015610a5057600080fd5b506103d260048036036020811015610a6757600080fd5b50356001600160a01b0316611fe7565b348015610a8357600080fd5b5061047f60048036036040811015610a9a57600080fd5b506001600160a01b0381351690602001351515611ffc565b348015610abe57600080fd5b5061047f60048036036040811015610ad557600080fd5b810190602081018135640100000000811115610af057600080fd5b820183602082011115610b0257600080fd5b80359060200191846020830284011164010000000083111715610b2457600080fd5b9193509150351515612112565b348015610b3d57600080fd5b5061047f60048036036040811015610b5457600080fd5b50803515159060200135612232565b348015610b6f57600080fd5b5061042c60048036036040811015610b8657600080fd5b506001600160a01b038135811691602001351661223d565b348015610baa57600080fd5b5061042c612268565b348015610bbf57600080fd5b5061047f60048036036020811015610bd657600080fd5b50356001600160a01b031661226e565b348015610bf257600080fd5b506103d260048036036020811015610c0957600080fd5b50356001600160a01b0316612367565b348015610c2557600080fd5b50610c4c60048036036020811015610c3c57600080fd5b50356001600160a01b031661237c565b60408051938452602084019290925282820152519081900360600190f35b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf65780601f10610ccb57610100808354040283529160200191610cf6565b820191906000526020600020905b815481529060010190602001808311610cd957829003601f168201915b5050505050905090565b6000610d14610d0d61247d565b8484612481565b5060015b92915050565b6007546001600160a01b031681565b60025490565b7f000000000000000000000000000000000000000000000000000000000000000b81565b610d5f61247d565b6005546001600160a01b03908116911614610daf576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b60085460ff600160b81b9091041615158115151415610dff5760405162461bcd60e51b815260040180806020018281038252603f815260200180613b5e603f913960400191505060405180910390fd5b60088054911515600160b81b0260ff60b81b19909216919091179055565b6000610e2a84848461256d565b610e9a84610e3661247d565b610e9585604051806060016040528060288152602001613cc5602891396001600160a01b038a16600090815260016020526040812090610e7461247d565b6001600160a01b031681526020810191909152604001600020549190612da9565b612481565b5060019392505050565b6009546001600160a01b031681565b610ebb61247d565b6005546001600160a01b03908116911614610f0b576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526011602052604090205460ff1615158115151415610f695760405162461bcd60e51b8152600401808060200182810382526037815260200180613ac06037913960400191505060405180910390fd5b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b600954604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610fd957600080fd5b505afa158015610fed573d6000803e3d6000fd5b505050506040513d602081101561100357600080fd5b5051905090565b601290565b61101761247d565b6005546001600160a01b03908116911614611067576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526015602052604090205460ff16151581151514156110c55760405162461bcd60e51b8152600401808060200182810382526041815260200180613af76041913960600191505060405180910390fd5b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6000610d146110fd61247d565b84610e95856001600061110e61247d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061241c565b600a546001600160a01b031681565b600854600160b01b900460ff1681565b6008546001600160a01b031681565b61117461247d565b6005546001600160a01b039081169116146111c4576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b42600d541161121a576040805162461bcd60e51b815260206004820152601b60248201527f54726164696e672068617320616c726561647920737461727465640000000000604482015290519081900360640190fd5b42811161126e576040805162461bcd60e51b815260206004820181905260248201527f53746172742074696d65206d75737420626520696e2074686520667574757265604482015290519081900360640190fd5b600d55565b6001600160a01b031660009081526010602052604090205460ff1690565b60146020526000908152604090205481565b7f000000000000000000000000000000000000000000000000000000000000000a81565b6112cf61247d565b6005546001600160a01b0390811691161461131f576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61134961247d565b6005546001600160a01b03908116911614611399576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600954604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b1580156113ea57600080fd5b505afa1580156113fe573d6000803e3d6000fd5b505050506040513d602081101561141457600080fd5b5051600e5490915081111561145a5760405162461bcd60e51b815260040180806020018281038252604e815260200180613d0d604e913960600191505060405180910390fd5b6001600160a01b038216600090815260146020526040902054626ebe006114814283612e40565b116114bd5760405162461bcd60e51b815260040180806020018281038252603e815260200180613d5b603e913960400191505060405180910390fd5b600954604080516352b5f81d60e01b81526001600160a01b038681166004830152306024830152915191909216916352b5f81d9160448083019260209291908290030181600087803b15801561151257600080fd5b505af1158015611526573d6000803e3d6000fd5b505050506040513d602081101561153c57600080fd5b505060095460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461158f576040519150601f19603f3d011682016040523d82523d6000602084013e611594565b606091505b505090508015611637576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a1600954604080516338c110ef60e21b81526001600160a01b038881166004830152600060248301819052925193169263e30443bc9260448084019391929182900301818387803b15801561162457600080fd5b505af1925050508015611635575060015b505b5050505050565b600954604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610fd957600080fd5b61168b61247d565b6005546001600160a01b039081169116146116db576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6007546001600160a01b03828116911614156117285760405162461bcd60e51b815260040180806020018281038252602c815260200180613a4c602c913960400191505060405180910390fd5b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000181565b600954604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b1580156117fa57600080fd5b505afa15801561180e573d6000803e3d6000fd5b505050506040513d602081101561182457600080fd5b505192915050565b6001600160a01b031660009081526020819052604090205490565b600d5481565b61185561247d565b6005546001600160a01b039081169116146118a5576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60116020526000908152604090205460ff1681565b61190c61247d565b6005546001600160a01b0390811691161461195c576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600b5481565b61198c61247d565b6005546001600160a01b039081169116146119dc576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6009546001600160a01b0382811691161415611a295760405162461bcd60e51b8152600401808060200182810382526036815260200180613c0e6036913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a7157600080fd5b505afa158015611a85573d6000803e3d6000fd5b505050506040513d6020811015611a9b57600080fd5b50516001600160a01b031614611ae25760405162461bcd60e51b815260040180806020018281038252604d815260200180613b9d604d913960600191505060405180910390fd5b806001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611b3157600080fd5b505af1158015611b45573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b158015611b9057600080fd5b505af1158015611ba4573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db0611bbf611cdb565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015611bfe57600080fd5b505af1158015611c12573d6000803e3d6000fd5b50506007546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b158015611c6457600080fd5b505af1158015611c78573d6000803e3d6000fd5b50506009546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600980546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b031690565b600854600160b81b900460ff1681565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf65780601f10610ccb57610100808354040283529160200191610cf6565b601360209081526000928352604080842090915290825290205481565b611d8061247d565b6005546001600160a01b03908116911614611dd0576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6008546001600160a01b0383811691161415611e1d5760405162461bcd60e51b815260040180806020018281038252604a8152602001806139c1604a913960600191505060405180910390fd5b611e278282612e82565b5050565b6000610d14611e3861247d565b84610e9585604051806060016040528060258152602001613e7b6025913960016000611e6261247d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612da9565b611e9b61247d565b6005546001600160a01b03908116911614611eeb576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600f55565b600954604080516302a2e74960e61b81526001600160a01b0384811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b1580156117fa57600080fd5b6000610d14611f4e61247d565b848461256d565b611f5d61247d565b6005546001600160a01b03908116911614611fad576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b600854600160b01b900460ff1615611fd1576008805460ff60b01b19169055611fe5565b6008805460ff60b01b1916600160b01b1790555b565b60126020526000908152604090205460ff1681565b61200461247d565b6005546001600160a01b03908116911614612054576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526010602052604090205460ff16151581151514156120b25760405162461bcd60e51b8152600401808060200182810382526033815260200180613c656033913960400191505060405180910390fd5b6001600160a01b038216600081815260106020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b61211a61247d565b6005546001600160a01b0390811691161461216a576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b60005b828110156121bf57816010600086868581811061218657fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff191691151591909117905560010161216d565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b611e27338383612fb0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600c5481565b61227661247d565b6005546001600160a01b039081169116146122c6576040805162461bcd60e51b81526020600482018190526024820152600080516020613ced833981519152604482015290519081900360640190fd5b6001600160a01b03811661230b5760405162461bcd60e51b8152600401808060200182810382526026815260200180613a786026913960400191505060405180910390fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205460ff1681565b6009546040805163fbcbc0f160e01b81526001600160a01b038481166004830152825160009485948594939091169263fbcbc0f19260248083019392829003018186803b1580156123cc57600080fd5b505afa1580156123e0573d6000803e3d6000fd5b505050506040513d60408110156123f657600080fd5b5080516020909101519093509150828261240f8661182c565b9250925092509193909250565b600082820183811015612476576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166124c65760405162461bcd60e51b8152600401808060200182810382526024815260200180613e316024913960400191505060405180910390fd5b6001600160a01b03821661250b5760405162461bcd60e51b8152600401808060200182810382526022815260200180613a9e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166125b25760405162461bcd60e51b8152600401808060200182810382526025815260200180613e0c6025913960400191505060405180910390fd5b6001600160a01b0382166125f75760405162461bcd60e51b815260040180806020018281038252602381526020018061399e6023913960400191505060405180910390fd5b42600d541115612658576001600160a01b03831660009081526011602052604090205460ff166126585760405162461bcd60e51b8152600401808060200182810382526041815260200180613a0b6041913960600191505060405180910390fd5b8061266e576126698383600061325a565b612da4565b600854600160b01b900460ff161561284c576001600160a01b03831660009081526012602052604090205460ff161561276657600654604080516312bdf42360e01b81526001600160a01b0385811660048301528681166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b1580156126fe57600080fd5b505af1158015612712573d6000803e3d6000fd5b505050506040513d602081101561272857600080fd5b5051156127665760405162461bcd60e51b8152600401808060200182810382526026815260200180613e556026913960400191505060405180910390fd5b6001600160a01b03821660009081526012602052604090205460ff161561284c57600654604080516312bdf42360e01b81526001600160a01b0386811660048301528581166024830152326044830152915191909216916312bdf4239160648083019260209291908290030181600087803b1580156127e457600080fd5b505af11580156127f8573d6000803e3d6000fd5b505050506040513d602081101561280e57600080fd5b50511561284c5760405162461bcd60e51b8152600401808060200182810382526026815260200180613e556026913960400191505060405180910390fd5b6001600160a01b03831660009081526015602052604090205460ff1615801561288e57506001600160a01b03831660009081526012602052604090205460ff16155b1561291057600b546128d382601360006128a66133b5565b8152602080820192909252604090810160009081206001600160a01b038a1682529092529020549061241c565b11156129105760405162461bcd60e51b8152600401808060200182810382526032815260200180613dda6032913960400191505060405180910390fd5b61294d81601360006129206133b5565b8152602080820192909252604090810160009081206001600160a01b03891682529092529020549061241c565b601360006129596133b5565b8152602080820192909252604090810160009081206001600160a01b0388168252909252902055600854600160b81b900460ff1680156129b257506001600160a01b03821660009081526015602052604090205460ff16155b80156129d657506001600160a01b03831660009081526012602052604090205460ff165b15612a1c57600f54811115612a1c5760405162461bcd60e51b8152600401808060200182810382526024815260200180613bea6024913960400191505060405180910390fd5b6000612a273061182c565b600c5490915081108015908190612a485750600854600160a01b900460ff16155b8015612a5e5750600854600160a81b900460ff16155b8015612a8357506001600160a01b03851660009081526012602052604090205460ff16155b8015612aa857506001600160a01b03851660009081526010602052604090205460ff16155b8015612acd57506001600160a01b03841660009081526010602052604090205460ff16155b15612afb576008805460ff60a01b1916600160a01b179055612aed6133c9565b6008805460ff60a01b191690555b600854600090600160a01b900460ff16158015612b225750600854600160a81b900460ff16155b6001600160a01b03871660009081526010602052604090205490915060ff1680612b6457506001600160a01b03851660009081526010602052604090205460ff165b80612bac57506001600160a01b03861660009081526012602052604090205460ff16158015612bac57506001600160a01b03851660009081526012602052604090205460ff16155b15612bb5575060005b8015612c0d576000612bf26064612bec877f000000000000000000000000000000000000000000000000000000000000000b613506565b9061355f565b9050612bfe8582612e40565b9450612c0b87308361325a565b505b612c1886868661325a565b6009546001600160a01b031663e30443bc87612c338161182c565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612c7957600080fd5b505af1925050508015612c8a575060015b506009546001600160a01b031663e30443bc86612ca68161182c565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612cec57600080fd5b505af1925050508015612cfd575060015b50600854600160b01b900460ff1615612d79576006546040805163b25d625960e01b81526001600160a01b03898116600483015288811660248301529151919092169163b25d625991604480830192600092919082900301818387803b158015612d6657600080fd5b505af1925050508015612d77575060015b505b5050506001600160a01b03808416600090815260146020526040808220429081905592851682529020555b505050565b60008184841115612e385760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612dfd578181015183820152602001612de5565b50505050905090810190601f168015612e2a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061247683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612da9565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415612ee05760405162461bcd60e51b8152600401808060200182810382526041815260200180613d996041913960600191505060405180910390fd5b6001600160a01b0382166000908152601260205260409020805460ff19168215801591909117909155612f74576009546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b158015612f5b57600080fd5b505af1158015612f6f573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600954604080516302a2e74960e61b81526001600160a01b0386811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b15801561300157600080fd5b505afa158015613015573d6000803e3d6000fd5b505050506040513d602081101561302b57600080fd5b505190508061306b5760405162461bcd60e51b815260040180806020018281038252602d815260200180613c98602d913960400191505060405180910390fd5b8261314d57600954604080516352b5f81d60e01b81526001600160a01b03878116600483018190526024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b1580156130c957600080fd5b505af11580156130dd573d6000803e3d6000fd5b505050506040513d60208110156130f357600080fd5b5051905080156131465760408051828152600060208201526001600160a01b0387168183015290517f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f9181900360600190a15b5050612da4565b600954604080516352b5f81d60e01b81526001600160a01b038781166004830152306024830152915160009392909216916352b5f81d9160448082019260209290919082900301818787803b1580156131a557600080fd5b505af11580156131b9573d6000803e3d6000fd5b505050506040513d60208110156131cf57600080fd5b505190508015611637576008805460ff60a81b1916600160a81b17905560006131f98285886135a1565b6008805460ff60a81b1916905560408051848152602081018390526001600160a01b0389168183015290519192507f67dd3d116bf53e0ddda53bb148a5fdc129854e1c507c0eeda9190049a9bbc84f919081900360600190a1505050505050565b6001600160a01b03831661329f5760405162461bcd60e51b8152600401808060200182810382526025815260200180613e0c6025913960400191505060405180910390fd5b6001600160a01b0382166132e45760405162461bcd60e51b815260040180806020018281038252602381526020018061399e6023913960400191505060405180910390fd5b6132ef838383612da4565b61332c81604051806060016040528060268152602001613b38602691396001600160a01b0386166000908152602081905260409020549190612da9565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461335b908261241c565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60006133c4426201518061355f565b905090565b60006133d43061182c565b90506133df81613792565b4760006134307f000000000000000000000000000000000000000000000000000000000000000b612bec847f0000000000000000000000000000000000000000000000000000000000000001613506565b600a546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505015801561346b573d6000803e3d6000fd5b5060095460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146134bd576040519150601f19603f3d011682016040523d82523d6000602084013e6134c2565b606091505b505090508015611637576040805183815290517fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19181900360200190a15050505050565b60008261351557506000610d18565b8282028284828161352257fe5b04146124765760405162461bcd60e51b8152600401808060200182810382526021815260200180613c446021913960400191505060405180910390fd5b600061247683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613938565b60408051600280825260608083018452600093909291906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561360b57600080fd5b505afa15801561361f573d6000803e3d6000fd5b505050506040513d602081101561363557600080fd5b50518151829060009061364457fe5b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061367257fe5b60200260200101906001600160a01b031690816001600160a01b031681525050600061369d8461182c565b9050600760009054906101000a90046001600160a01b03166001600160a01b031663b6f9de9587878588426040518663ffffffff1660e01b81526004018085815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561373257818101518382015260200161371a565b50505050905001955050505050506000604051808303818588803b15801561375957600080fd5b505af115801561376d573d6000803e3d6000fd5b50505050506000613787826137818761182c565b90612e40565b979650505050505050565b604080516002808252606080830184529260208301908036833701905050905030816000815181106137c057fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561381457600080fd5b505afa158015613828573d6000803e3d6000fd5b505050506040513d602081101561383e57600080fd5b505181518290600190811061384f57fe5b6001600160a01b0392831660209182029290920101526007546138759130911684612481565b60075460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b838110156138fb5781810151838201526020016138e3565b505050509050019650505050505050600060405180830381600087803b15801561392457600080fd5b505af1158015611635573d6000803e3d6000fd5b600081836139875760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612dfd578181015183820152602001612de5565b50600083858161399357fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737342616e6b4574683a2054686520556e695377617020706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572506169727342616e6b4574683a2054686973206163636f756e742063616e6e6f742073656e6420746f6b656e7320756e74696c2074726164696e6720697320656e61626c656442616e6b4574683a2054686520726f7574657220616c726561647920686173207468617420616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737342616e6b4574683a205072652074726164696e6720697320616c7265616479207468652076616c7565206f6620276578636c756465642742616e6b4574683a204461696c79206c696d6974206578636c7573696f6e20697320616c7265616479207468652076616c7565206f6620276578636c756465642745524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542616e6b4574683a204d617820707572636861736520656e61626c656420697320616c7265616479207468652076616c7565206f662027656e61626c65642742616e6b4574683a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e6564206279207468652042616e6b45746820746f6b656e20636f6e747261637442616e6b4574683a2045786365656473206d617820707572636861736520616d6f756e7442616e6b4574683a20546865206469766964656e6420747261636b657220616c72656164792068617320746861742061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7742616e6b4574683a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642742616e6b4574683a20436c61696d657220686173206e6f20776974686472617761626c65206469766964656e6445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657242616e6b4574683a204163636f756e742062616c616e6365206d757374206265206c657373207468656e206d696e696d756d20746f6b656e2062616c616e636520666f72206469766964656e647342616e6b4574683a204163636f756e74206d7573742068617665206265656e20696e61637469766520666f72206174206c65617374203132207765656b7342616e6b4574683a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756542616e6b4574683a2054686973206163636f756e7420686173206578636565646564206d6178206461696c79206c696d697445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737342656570204265657020426f6f702c20596f752772652061207069656365206f6620706f6f7045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bf238557ad030fc6df89f53fc1fe5e522afaa5aa475847ba40f66bfbaa06ac9d64736f6c634300060c0033

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.