ETH Price: $3,828.15 (+5.29%)

Contract

0x134fc6bEB54e710E30b21e52Fb86fFED0C8e36C2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Age:1H
Amount:Between 1-100k
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
128071042021-07-11 16:31:151249 days ago1626021075
0x134fc6bE...D0C8e36C2
0.66857051 ETH
128060812021-07-11 12:48:481249 days ago1626007728
0x134fc6bE...D0C8e36C2
0.55554406 ETH
128060732021-07-11 12:46:321249 days ago1626007592
0x134fc6bE...D0C8e36C2
0.2938542 ETH
128060152021-07-11 12:32:371249 days ago1626006757
0x134fc6bE...D0C8e36C2
0.27692339 ETH
128060072021-07-11 12:30:511249 days ago1626006651
0x134fc6bE...D0C8e36C2
0.05342284 ETH
128059692021-07-11 12:23:511249 days ago1626006231
0x134fc6bE...D0C8e36C2
0.03795922 ETH
128056462021-07-11 11:04:481249 days ago1626001488
0x134fc6bE...D0C8e36C2
0.02116762 ETH
128056452021-07-11 11:04:191249 days ago1626001459
0x134fc6bE...D0C8e36C2
0.02116762 ETH
128056312021-07-11 11:02:051249 days ago1626001325
0x134fc6bE...D0C8e36C2
0.03382752 ETH
128056172021-07-11 10:58:291249 days ago1626001109
0x134fc6bE...D0C8e36C2
0.05376178 ETH
128055982021-07-11 10:52:381249 days ago1626000758
0x134fc6bE...D0C8e36C2
0.00445909 ETH
128055592021-07-11 10:44:431249 days ago1626000283
0x134fc6bE...D0C8e36C2
0.22567525 ETH
128055572021-07-11 10:44:001249 days ago1626000240
0x134fc6bE...D0C8e36C2
3.03311172 ETH
128055262021-07-11 10:38:091249 days ago1625999889
0x134fc6bE...D0C8e36C2
0.18974381 ETH
128054882021-07-11 10:30:361249 days ago1625999436
0x134fc6bE...D0C8e36C2
0.02447176 ETH
128054792021-07-11 10:29:071249 days ago1625999347
0x134fc6bE...D0C8e36C2
1.81832118 ETH
128054732021-07-11 10:27:351249 days ago1625999255
0x134fc6bE...D0C8e36C2
0.1700782 ETH
128054662021-07-11 10:25:401249 days ago1625999140
0x134fc6bE...D0C8e36C2
0.29598336 ETH
128054312021-07-11 10:17:321249 days ago1625998652
0x134fc6bE...D0C8e36C2
1.43706641 ETH
128053972021-07-11 10:10:051249 days ago1625998205
0x134fc6bE...D0C8e36C2
1.12618182 ETH
128053832021-07-11 10:06:541249 days ago1625998014
0x134fc6bE...D0C8e36C2
0.46847413 ETH
128053692021-07-11 10:04:181249 days ago1625997858
0x134fc6bE...D0C8e36C2
0.3218334 ETH
128052372021-07-11 9:38:381249 days ago1625996318
0x134fc6bE...D0C8e36C2
0.02444155 ETH
128052282021-07-11 9:36:331249 days ago1625996193
0x134fc6bE...D0C8e36C2
0.25105574 ETH
128052202021-07-11 9:34:431249 days ago1625996083
0x134fc6bE...D0C8e36C2
0.10021947 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DeFiPlaza

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 100000 runs

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

import "../interfaces/IDeFiPlaza.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";

/**
 * @title DeFi Plaza exchange controct, multi token DEX.
 * @author Jazzer 9F
 * @notice Trades between two tokens follow the local bonding curve x*y=k
 * The number of tokens used is hard coded to 16 for efficiency reasons.
 */
contract DeFiPlaza is IDeFiPlaza, Ownable, ERC20 {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;

  // States that each token can be in
  enum State {Unlisted, PreListing, Delisting, Listed}

  // Configuration per token. Still some bits available if needed
  struct TokenSettings {
    State state;                      // What state the token is currently in
    uint112 listingTarget;            // Amount of tokens needed to activate listing
  }

  // Exchange configuration
  struct Config {
    bool unlocked;                    // Locked for trading to prevent re-entrancy misery
    uint64 oneMinusTradingFee;        // One minus the swap fee (0.64 fixed point integer)
    uint64 delistingBonus;            // Amount of additional tokens to encourage immediate delisting (0.64 fixed point)
  }

  // Keeps track of whether there is a listing change underway and if so between which tokens
  struct ListingUpdate {
    address tokenToDelist;            // Token to be removed
    address tokenToList;              // Token to be listed
  }

  // Mapping to keep track of the listed tokens
  mapping(address => TokenSettings) public listedTokens;
  Config public DFPconfig;
  ListingUpdate public listingUpdate;
  address public admin;

  /**
  * Sets up default configuration
  * Initialize with ordered list of 15 token addresses (ETH is always listed)
  * Doesn't do any checks. Make sure you ONLY add well behaved ERC20s!!
  */
  constructor(address[] memory tokensToList, string memory name_, string memory symbol_) ERC20(name_, symbol_) {
    // Basic exchange configuration
    Config memory config;
    config.unlocked = false;
    config.oneMinusTradingFee = 0xffbe76c8b4395800;   // approximately 0.999
    config.delistingBonus = 0;
    DFPconfig = config;

    // Configure the listed tokens as such
    TokenSettings memory listed;
    listed.state = State.Listed;
    require(tokensToList.length == 15, "Incorrect number of tokens");
    address previous = address(0);
    address current = address(0);
    for (uint256 i = 0; i < 15; i++) {
      current = tokensToList[i];
      require(current > previous, "Require ordered list");
      listedTokens[current] = listed;
      previous = current;
    }

    // Generate the LP tokens reflecting the initial liquidity (to be loaded externally)
    _mint(msg.sender, 1600e18);
  }

  // For bootstrapping ETH liquidity
  receive() external payable {}

  // To safeguard some functionality is only applied to listed tokens
  modifier onlyListedToken(address token) {
    require(
      token == address(0) || listedTokens[token].state > State.Delisting,
      "DFP: Token not listed"
    );
    _;
  }

  modifier onlyAdmin() {
    require(
      msg.sender == admin || msg.sender == owner(),
      "DFP: admin rights required"
    );
    _;
  }

  /**
  * Allows users to swap between any two tokens listed on the DEX.
  * Follows the x*y=k swap invariant hyperbole
  * For ETH trades, send the ETH with the transaction and use the NULL address as inputToken.
  */
  function swap(
    address inputToken,
    address outputToken,
    uint256 inputAmount,
    uint256 minOutputAmount
  )
    external
    payable
    onlyListedToken(inputToken)
    onlyListedToken(outputToken)
    override
    returns (uint256 outputAmount)
  {
    // Check that the exchange is unlocked and thus open for business
    Config memory _config = DFPconfig;
    require(_config.unlocked, "DFP: Locked");

    // Pull in input token and check the exchange balance for that token
    uint256 initialInputBalance;
    if (inputToken == address(0)) {
      require(msg.value == inputAmount, "DFP: bad ETH amount");
      initialInputBalance = address(this).balance - inputAmount;
    } else {
      initialInputBalance = IERC20(inputToken).balanceOf(address(this));
      IERC20(inputToken).safeTransferFrom(msg.sender, address(this), inputAmount);
    }

    // Check dex balance of the output token
    uint256 initialOutputBalance;
    if (outputToken == address(0)) {
      initialOutputBalance = address(this).balance;
    } else {
      initialOutputBalance = IERC20(outputToken).balanceOf(address(this));
    }

    // Calculate the output amount through the x*y=k invariant
    // Can skip overflow/underflow checks on this calculation as they will always work against an attacker anyway.
    uint256 netInputAmount = inputAmount * _config.oneMinusTradingFee;
    outputAmount = netInputAmount * initialOutputBalance / ((initialInputBalance << 64) + netInputAmount);
    require(outputAmount > minOutputAmount, "DFP: No deal");

    // Send output tokens to whoever invoked the swap function
    if (outputToken == address(0)) {
      address payable sender = msg.sender;
      sender.transfer(outputAmount);
    } else {
      IERC20(outputToken).safeTransfer(msg.sender, outputAmount);
    }

    // Emit swap event to enable better governance decision making
    emit Swapped(msg.sender, inputToken, outputToken, inputAmount, outputAmount);
  }

  /**
  * Single sided liquidity add. More economic at moderate liquidity amounts.
  * Mathematically works as adding all tokens and swapping back to 1 token at no fee.
  *
  *         R = (1 + X_supplied/X_initial)^(1/N) - 1
  *         LP_minted = R * LP_total
  *
  * When adding ETH, the inputToken address to be used is the NULL address.
  * A fee is applied to prevent zero fee swapping through liquidity add/remove.
  */
  function addLiquidity(address inputToken, uint256 inputAmount, uint256 minLP)
    external
    payable
    onlyListedToken(inputToken)
    override
    returns (uint256 actualLP)
  {
    // Check that the exchange is unlocked and thus open for business
    Config memory _config = DFPconfig;
    require(_config.unlocked, "DFP: Locked");

    // Pull in input token and check the exchange balance for that token
    uint256 initialBalance;
    if (inputToken == address(0)) {
      require(msg.value == inputAmount, "DFP: Incorrect amount of ETH");
      initialBalance = address(this).balance - inputAmount;
    } else {
      initialBalance = IERC20(inputToken).balanceOf(address(this));
      IERC20(inputToken).safeTransferFrom(msg.sender, address(this), inputAmount);
    }

    // Prevent excessive liquidity add which runs of the approximation curve
    require(inputAmount < initialBalance, "DFP: Too much at once");

    // 6th power binomial series approximation of R
    uint256 X = (inputAmount * _config.oneMinusTradingFee) / initialBalance;  // 0.64 bits
    uint256 X_ = X * X;                                // X^2   0.128 bits
    uint256 R_ = (X >> 4) - (X_ * 15 >> 73);           // R2    0.64 bits
    X_ = X_ * X;                                       // X^3   0.192 bits
    R_ = R_ + (X_ * 155 >> 141);                       // R3    0.64 bits
    X_ = X_ * X >> 192;                                // X^4   0.64 bits
    R_ = R_ - (X_ * 7285 >> 19);                       // R4    0.64 bits
    X_ = X_ * X;                                       // X^5   0.128 bits
    R_ = R_ + (X_ * 91791 >> 87);                      // R5    0.64 bits
    X_ = X_ * X;                                       // X^6   0.192 bits
    R_ = R_ - (X_ * 2417163 >> 156);                   // R6    0.64 bits

    // Calculate and mint LPs to be awarded
    actualLP = R_ * totalSupply() >> 64;
    require(actualLP > minLP, "DFP: No deal");
    _mint(msg.sender, actualLP);

    // Emitting liquidity add event to enable better governance decisions
    emit LiquidityAdded(msg.sender, inputToken, inputAmount, actualLP);
  }

  /**
  * Multi-token liquidity add. More economic for large amounts of liquidity.
  * Simply takes in all 16 listed tokens in ratio and mints the LPs accordingly.
  * For ETH, the inputToken address to be used is the NULL address.
  * A fee is applied to prevent zero fee swapping through liquidity add/remove.
  */
  function addMultiple(address[] calldata tokens, uint256[] calldata maxAmounts)
    external
    payable
    override
    returns (uint256 actualLP)
  {
    // Perform basic checks
    Config memory _config = DFPconfig;
    require(_config.unlocked, "DFP: Locked");
    require(tokens.length == 16, "DFP: Bad tokens array length");
    require(maxAmounts.length == 16, "DFP: Bad maxAmount array length");

    // Check ETH amount/ratio first
    require(tokens[0] == address(0), "DFP: No ETH found");
    require(maxAmounts[0] == msg.value, "DFP: Incorrect ETH amount");
    uint256 dexBalance = address(this).balance - msg.value;
    uint256 actualRatio = msg.value.mul(1<<128) / dexBalance;

    // Check ERC20 amounts/ratios
    uint256 currentRatio;
    address previous;
    address token;
    for (uint256 i = 1; i < 16; i++) {
      token = tokens[i];
      require(token > previous, "DFP: Require ordered list");
      require(
        listedTokens[token].state > State.Delisting,
        "DFP: Token not listed"
      );
      dexBalance = IERC20(token).balanceOf(address(this));
      currentRatio = maxAmounts[i].mul(1 << 128) / dexBalance;
      if (currentRatio < actualRatio) {
        actualRatio = currentRatio;
      }
      previous = token;
    }

    // Calculate how many LP will be generated
    actualLP = (actualRatio.mul(totalSupply()) >> 64) * DFPconfig.oneMinusTradingFee >> 128;

    // Collect ERC20 tokens
    previous = address(0);
    for (uint256 i = 1; i < 16; i++) {
      token = tokens[i];
      dexBalance = IERC20(token).balanceOf(address(this));
      IERC20(token).safeTransferFrom(msg.sender, address(this), dexBalance.mul(actualRatio) >> 128);
      previous = token;
    }

    // Mint the LP tokens
    _mint(msg.sender, actualLP);
    emit MultiLiquidityAdded(msg.sender, actualLP, totalSupply());

    // Refund ETH change
    dexBalance = address(this).balance - msg.value;
    address payable sender = msg.sender;
    sender.transfer(msg.value - (dexBalance.mul(actualRatio) >> 128));
  }

  /**
  * Single sided liquidity withdrawal. More efficient at lower liquidity amounts.
  * Mathematically withdraws 16 tokens in ratio and then swaps 15 back in at no fees.
  * Calculates the following:
  *
  *        R = LP_burnt / LP_initial
  *        X_out = X_initial * (1 - (1 - R)^N)
  *
  * No fee is applied for withdrawals. For ETH output, use the NULL address as outputToken.
  */
  function removeLiquidity(uint256 LPamount, address outputToken, uint256 minOutputAmount)
    external
    onlyListedToken(outputToken)
    override
    returns (uint256 actualOutput)
  {
    // Checks the initial balance of the token desired as output token
    uint256 initialBalance;
    if (outputToken == address(0)) {
      initialBalance = address(this).balance;
    } else {
      initialBalance = IERC20(outputToken).balanceOf(address(this));
    }

    // Calculates intermediate variable F = (1-R)^16 and then the resulting output amount.
    uint256 F_;
    F_ = (1 << 64) - (LPamount << 64) / totalSupply();   // (1-R)      (0.64 bits)
    F_ = F_ * F_;                                       // (1-R)^2    (0.128 bits)
    F_ = F_ * F_ >> 192;                                // (1-R)^4    (0.64 bits)
    F_ = F_ * F_;                                       // (1-R)^8    (0.128 bits)
    F_ = F_ * F_ >> 192;                                // (1-R)^16   (0.64 bits)
    actualOutput = initialBalance * ((1 << 64) - F_) >> 64;
    require(actualOutput > minOutputAmount, "DFP: No deal");

    // Burns the LP tokens and sends the output tokens
    _burn(msg.sender, LPamount);
    if (outputToken == address(0)) {
      address payable sender = msg.sender;
      sender.transfer(actualOutput);
    } else {
      IERC20(outputToken).safeTransfer(msg.sender, actualOutput);
    }

    // Emitting liquidity removal event to enable better governance decisions
    emit LiquidityRemoved(msg.sender, outputToken, actualOutput, LPamount);
  }

  /**
  * Multi-token liquidity removal. More economic for large amounts of liquidity.
  * Returns all 16 listed tokens in ratio and burns the LPs accordingly.
  */
  function removeMultiple(uint256 LPamount, address[] calldata tokens)
    external
    override
    returns (bool success)
  {
    // Perform basic validation (no lock check here on purpose)
    require(tokens.length == 16, "DFP: Bad tokens array length");

    // Calculate fraction of total liquidity to be returned
    uint256 fraction = (LPamount << 128) / totalSupply();

    // Send the ETH first (use transfer to prevent reentrancy)
    uint256 dexBalance = address(this).balance;
    address payable sender = msg.sender;
    sender.transfer(fraction * dexBalance >> 128);

    // Send the ERC20 tokens
    address previous;
    for (uint256 i = 1; i < 16; i++) {
      address token = tokens[i];
      require(token > previous, "DFP: Require ordered list");
      require(
        listedTokens[token].state > State.Delisting,
        "DFP: Token not listed"
      );
      dexBalance = IERC20(token).balanceOf(address(this));
      IERC20(token).safeTransfer(msg.sender, fraction * dexBalance >> 128);
      previous = token;
    }

    // Burn the LPs
    _burn(msg.sender, LPamount);
    emit MultiLiquidityRemoved(msg.sender, LPamount, totalSupply());

    // That's all folks
    return true;
  }


  /**
  * When a token is delisted and another one gets listed in its place, the users can
  * call this function to provide liquidity for the new token in exchange for the old
  * token. The ratio should be set such that the users have a financial incentive to
  * perform this transaction.
  */
  function bootstrapNewToken(
    address inputToken,
    uint256 maxInputAmount,
    address outputToken
  ) public override returns (uint64 fractionBootstrapped) {
    // Check whether the valid token is being bootstrapped
    TokenSettings memory tokenToList = listedTokens[inputToken];
    require(
      tokenToList.state == State.PreListing,
      "DFP: Wrong token"
    );

    // Calculate how many tokens to actually take in (clamp at max available)
    uint256 initialInputBalance = IERC20(inputToken).balanceOf(address(this));
    uint256 availableAmount = tokenToList.listingTarget - initialInputBalance;
    if (initialInputBalance >= tokenToList.listingTarget) { availableAmount = 1; }
    uint256 actualInputAmount = maxInputAmount > availableAmount ? availableAmount : maxInputAmount;

    // Actually pull the tokens in
    IERC20(inputToken).safeTransferFrom(msg.sender, address(this), actualInputAmount);

    // Check whether the output token requested is indeed being delisted
    TokenSettings memory tokenToDelist = listedTokens[outputToken];
    require(
      tokenToDelist.state == State.Delisting,
      "DFP: Wrong token"
    );

    // Check how many of the output tokens should be given out and transfer those
    uint256 initialOutputBalance = IERC20(outputToken).balanceOf(address(this));
    uint256 outputAmount = actualInputAmount.mul(initialOutputBalance).div(availableAmount);
    IERC20(outputToken).safeTransfer(msg.sender, outputAmount);
    fractionBootstrapped = uint64((actualInputAmount << 64) / tokenToList.listingTarget);

    // Emit event for better governance decisions
    emit Bootstrapped(
      msg.sender,
      inputToken,
      actualInputAmount,
      outputToken,
      outputAmount
    );

    // If the input token liquidity is now at the target we complete the (de)listing
    if (actualInputAmount == availableAmount) {
      tokenToList.state = State.Listed;
      listedTokens[inputToken] = tokenToList;
      delete listedTokens[outputToken];
      delete listingUpdate;
      DFPconfig.delistingBonus = 0;
      emit BootstrapCompleted(outputToken, inputToken);
    }
  }

  /**
   * Emergency bonus withdrawal when bootstrapping is expected to remain incomplete
   * A fraction is specified (for example 5%) that is then rewarded in bonus tokens
   * on top of the regular bootstrapping output tokens.
   */
  function bootstrapNewTokenWithBonus(
    address inputToken,
    uint256 maxInputAmount,
    address outputToken,
    address bonusToken
  ) external onlyListedToken(bonusToken) override returns (uint256 bonusAmount) {
    // Check whether the output token requested is indeed being delisted
    TokenSettings memory tokenToDelist = listedTokens[outputToken];
    require(
      tokenToDelist.state == State.Delisting,
      "DFP: Wrong token"
    );

    // Collect parameters required to calculate bonus
    uint256 bonusFactor = uint256(DFPconfig.delistingBonus);
    uint64 fractionBootstrapped = bootstrapNewToken(inputToken, maxInputAmount, outputToken);

    // Balance of selected bonus token
    uint256 bonusBalance;
    if (bonusToken == address(0)) {
      bonusBalance = address(this).balance;
    } else {
      bonusBalance = IERC20(bonusToken).balanceOf(address(this));
    }

    // Calculate bonus amount
    bonusAmount = (uint256(fractionBootstrapped) * bonusFactor).mul(bonusBalance) >> 128;

    // Payout bonus tokens
    if (bonusToken == address(0)) {
      address payable sender = msg.sender;
      sender.transfer(bonusAmount);
    } else {
      IERC20(bonusToken).transfer(msg.sender, bonusAmount);
    }

    // Emit event to enable data driven governance
    emit BootstrapBonus(
      msg.sender,
      bonusToken,
      bonusAmount
    );
  }

  /**
   * Initiates process to delist one token and list another.
   */
  function changeListing(
    address tokenToDelist,              // Address of token to be delisted
    address tokenToList,                // Address of token to be listed
    uint112 listingTarget               // Amount of tokens needed to activate listing
  ) external onlyListedToken(tokenToDelist) onlyOwner() {
    // Basic validity checks. ETH cannot be delisted, only one delisting at a time.
    require(tokenToDelist != address(0), "DFP: Cannot delist ETH");
    ListingUpdate memory update = listingUpdate;
    require(update.tokenToDelist == address(0), "DFP: Previous update incomplete");

    // Can't list an already listed token
    TokenSettings memory _token = listedTokens[tokenToList];
    require(_token.state == State.Unlisted, "DFP: Token already listed");

    // Set the delisting/listing struct.
    update.tokenToDelist = tokenToDelist;
    update.tokenToList = tokenToList;
    listingUpdate = update;

    // Configure the token states for incoming/outgoing tokens
    _token.state = State.PreListing;
    _token.listingTarget = listingTarget;
    listedTokens[tokenToList] = _token;
    listedTokens[tokenToDelist].state = State.Delisting;
  }

  /**
  * Sets trading fee (actually calculates using 1-fee) as a 0.64 fixed point number.
  */
  function setTradingFee(uint64 oneMinusFee) external onlyOwner() {
    DFPconfig.oneMinusTradingFee = oneMinusFee;
  }

  /**
  * Sets delisting bonus as emergency measure to complete a (de)listing when it gets stuck.
  */
  function setDeListingBonus(uint64 delistingBonus) external onlyOwner() {
    ListingUpdate memory update = listingUpdate;
    require(update.tokenToDelist != address(0), "DFP: No active delisting");

    DFPconfig.delistingBonus = delistingBonus;
  }

  /**
  * Sets admin address for emergency exchange locking
  */
  function setAdmin(address adminAddress) external onlyOwner() {
    admin = adminAddress;
  }

  /**
  * Sets exchange lock, under which swap and liquidity add (but not remove) are disabled
  */
  function lockExchange() external onlyAdmin() {
    DFPconfig.unlocked = false;
  }

  /**
  * Resets exchange lock.
  */
  function unlockExchange() external onlyAdmin() {
    DFPconfig.unlocked = true;
  }
}

File 2 of 9 : IDeFiPlaza.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.7.6;

interface IDeFiPlaza {
  function swap(
    address inputToken,
    address outputToken,
    uint256 inputAmount,
    uint256 minOutputAmount
  ) external payable returns (uint256 outputAmount);

  function addLiquidity(
    address inputToken,
    uint256 inputAmount,
    uint256 minLP
  ) external payable returns (uint256 deltaLP);

  function addMultiple(
    address[] calldata tokens,
    uint256[] calldata maxAmounts
  ) external payable returns (uint256 actualLP);

  function removeLiquidity(
    uint256 LPamount,
    address outputToken,
    uint256 minOutputAmount
  ) external returns (uint256 actualOutput);

  function removeMultiple(
    uint256 LPamount,
    address[] calldata tokens
  ) external returns (bool success);

  function bootstrapNewToken(
    address inputToken,
    uint256 maxInputAmount,
    address outputToken
  ) external returns (uint64 fractionBootstrapped);

  function bootstrapNewTokenWithBonus(
    address inputToken,
    uint256 maxInputAmount,
    address outputToken,
    address bonusToken
  ) external returns (uint256 bonusAmount);

  event Swapped(
    address sender,
    address inputToken,
    address outputToken,
    uint256 inputAmount,
    uint256 outputAmount
  );

  event LiquidityAdded(
    address sender,
    address token,
    uint256 tokenAmount,
    uint256 LPs
  );

  event MultiLiquidityAdded(
    address sender,
    uint256 LPs,
    uint256 totalLPafter
  );

  event LiquidityRemoved(
    address recipient,
    address token,
    uint256 tokenAmount,
    uint256 LPs
  );

  event MultiLiquidityRemoved(
    address sender,
    uint256 LPs,
    uint256 totalLPafter
  );

  event Bootstrapped(
    address sender,
    address inputToken,
    uint256 inputAmount,
    address outputToken,
    uint256 outputAmount
  );

  event BootstrapBonus(
    address sender,
    address bonusToken,
    uint256 bonusAmount
  );

  event BootstrapCompleted(
    address delistedToken,
    address listedToken
  );
}

File 3 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        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 4 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

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

File 5 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/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 {
    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;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three 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_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @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:
     *
     * - `to` 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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @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 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 7 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

File 8 of 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN 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 payable) {
        return msg.sender;
    }

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 100000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"tokensToList","type":"address[]"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"bonusToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"bonusAmount","type":"uint256"}],"name":"BootstrapBonus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"delistedToken","type":"address"},{"indexed":false,"internalType":"address","name":"listedToken","type":"address"}],"name":"BootstrapCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"inputToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"inputAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"outputToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"outputAmount","type":"uint256"}],"name":"Bootstrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"LPs","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"LPs","type":"uint256"}],"name":"LiquidityRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"LPs","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalLPafter","type":"uint256"}],"name":"MultiLiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"LPs","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalLPafter","type":"uint256"}],"name":"MultiLiquidityRemoved","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":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"inputToken","type":"address"},{"indexed":false,"internalType":"address","name":"outputToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"inputAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"outputAmount","type":"uint256"}],"name":"Swapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DFPconfig","outputs":[{"internalType":"bool","name":"unlocked","type":"bool"},{"internalType":"uint64","name":"oneMinusTradingFee","type":"uint64"},{"internalType":"uint64","name":"delistingBonus","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"inputToken","type":"address"},{"internalType":"uint256","name":"inputAmount","type":"uint256"},{"internalType":"uint256","name":"minLP","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"actualLP","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"maxAmounts","type":"uint256[]"}],"name":"addMultiple","outputs":[{"internalType":"uint256","name":"actualLP","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"inputToken","type":"address"},{"internalType":"uint256","name":"maxInputAmount","type":"uint256"},{"internalType":"address","name":"outputToken","type":"address"}],"name":"bootstrapNewToken","outputs":[{"internalType":"uint64","name":"fractionBootstrapped","type":"uint64"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"inputToken","type":"address"},{"internalType":"uint256","name":"maxInputAmount","type":"uint256"},{"internalType":"address","name":"outputToken","type":"address"},{"internalType":"address","name":"bonusToken","type":"address"}],"name":"bootstrapNewTokenWithBonus","outputs":[{"internalType":"uint256","name":"bonusAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenToDelist","type":"address"},{"internalType":"address","name":"tokenToList","type":"address"},{"internalType":"uint112","name":"listingTarget","type":"uint112"}],"name":"changeListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"listedTokens","outputs":[{"internalType":"enum DeFiPlaza.State","name":"state","type":"uint8"},{"internalType":"uint112","name":"listingTarget","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"listingUpdate","outputs":[{"internalType":"address","name":"tokenToDelist","type":"address"},{"internalType":"address","name":"tokenToList","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"LPamount","type":"uint256"},{"internalType":"address","name":"outputToken","type":"address"},{"internalType":"uint256","name":"minOutputAmount","type":"uint256"}],"name":"removeLiquidity","outputs":[{"internalType":"uint256","name":"actualOutput","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"LPamount","type":"uint256"},{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"removeMultiple","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adminAddress","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"delistingBonus","type":"uint64"}],"name":"setDeListingBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"oneMinusFee","type":"uint64"}],"name":"setTradingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"inputToken","type":"address"},{"internalType":"address","name":"outputToken","type":"address"},{"internalType":"uint256","name":"inputAmount","type":"uint256"},{"internalType":"uint256","name":"minOutputAmount","type":"uint256"}],"name":"swap","outputs":[{"internalType":"uint256","name":"outputAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200533338038062005333833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82518660208202830111640100000000821117156200008c57600080fd5b82525081516020918201928201910280838360005b83811015620000bb578181015183820152602001620000a1565b5050505090500160405260200180516040519392919084640100000000821115620000e557600080fd5b908301906020820185811115620000fb57600080fd5b82516401000000008111828201881017156200011657600080fd5b82525081516020918201929091019080838360005b83811015620001455781810151838201526020016200012b565b50505050905090810190601f168015620001735780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200019757600080fd5b908301906020820185811115620001ad57600080fd5b8251640100000000811182820188101715620001c857600080fd5b82525081516020918201929091019080838360005b83811015620001f7578181015183820152602001620001dd565b50505050905090810190601f168015620002255780820380516001836020036101000a031916815260200191505b5060405250505081816000620002406200049560201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35081516200029f90600490602085019062000613565b508051620002b590600590602084019062000613565b50506006805460ff1916601217905550620002cf620006a8565b600080825267ffbe76c8b439580060208301526040820152600880546001600160481b03191668ffbe76c8b43958000017600160481b600160881b031916905562000319620006c8565b600381528451600f1462000374576040805162461bcd60e51b815260206004820152601a60248201527f496e636f7272656374206e756d626572206f6620746f6b656e73000000000000604482015290519081900360640190fd5b60008060005b600f81101562000472578781815181106200039157fe5b60200260200101519150826001600160a01b0316826001600160a01b03161162000402576040805162461bcd60e51b815260206004820152601460248201527f52657175697265206f726465726564206c697374000000000000000000000000604482015290519081900360640190fd5b6001600160a01b03821660009081526007602052604090208451815486929190829060ff191660018360038111156200043757fe5b02179055506020919091015181546001600160701b0390911661010002610100600160781b031990911617905590915081906001016200037a565b5062000488336856bc75e2d63100000062000499565b50505050505050620006f6565b3390565b6001600160a01b038216620004f5576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200050360008383620005ac565b6200051f81600354620005b160201b62003d961790919060201c565b6003556001600160a01b0382166000908152600160209081526040909120546200055491839062003d96620005b1821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b6000828201838110156200060c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200064b576000855562000696565b82601f106200066657805160ff191683800117855562000696565b8280016001018555821562000696579182015b828111156200069657825182559160200191906001019062000679565b50620006a4929150620006df565b5090565b604080516060810182526000808252602082018190529181019190915290565b604080518082019091526000808252602082015290565b5b80821115620006a45760008155600101620006e0565b614c2d80620007066000396000f3fe6080604052600436106101dc5760003560e01c806370a2df1d11610102578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e146109c7578063f2fde38b14610a0f578063f851a44014610a4f578063fe02915614610a64576101e3565b8063a9059cbb1461085e578063c4ccdeea146108a4578063ce359797146108f0578063cebe7a51146109b2576101e3565b806395d89b41116100d157806395d89b411461074c57806399d2230414610761578063a457c2d7146107b7578063a62af183146107fd576101e3565b806370a2df1d14610667578063715018a61461069b57806376e36ab2146106b05780638da5cb5b1461070e576101e3565b80633d3eee8c1161017a578063691ea2f011610149578063691ea2f01461055a578063704b6c021461056f5780637093f47f146105af57806370a0823114610627576101e3565b80633d3eee8c146104215780634fdc57e31461045757806355776b77146104db57806368c2a4001461051a576101e3565b806323b872dd116101b657806323b872dd146102f3578063313ce56714610343578063395093511461036e5780633bb1956a146103b4576101e3565b806306fdde03146101e8578063095ea7b31461027257806318160ddd146102cc576101e3565b366101e357005b600080fd5b3480156101f457600080fd5b506101fd610aad565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561027e57600080fd5b506102b86004803603604081101561029557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b61565b604080519115158252519081900360200190f35b3480156102d857600080fd5b506102e1610b7f565b60408051918252519081900360200190f35b3480156102ff57600080fd5b506102b86004803603606081101561031657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610b85565b34801561034f57600080fd5b50610358610c27565b6040805160ff9092168252519081900360200190f35b34801561037a57600080fd5b506102b86004803603604081101561039157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c30565b3480156103c057600080fd5b50610404600480360360608110156103d757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160409091013516610c8b565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561042d57600080fd5b506104556004803603602081101561044457600080fd5b503567ffffffffffffffff16611282565b005b34801561046357600080fd5b506102b86004803603604081101561047a57600080fd5b8135919081019060408101602082013564010000000081111561049c57600080fd5b8201836020820111156104ae57600080fd5b803590602001918460208302840111640100000000831117156104d057600080fd5b509092509050611411565b6102e1600480360360608110156104f157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135906040013561178c565b34801561052657600080fd5b5061052f611c19565b60408051931515845267ffffffffffffffff9283166020850152911682820152519081900360600190f35b34801561056657600080fd5b50610455611c43565b34801561057b57600080fd5b506104556004803603602081101561059257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611d33565b3480156105bb57600080fd5b506105ef600480360360208110156105d257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611e22565b604051808360038111156105ff57fe5b8152602001826dffffffffffffffffffffffffffff1681526020019250505060405180910390f35b34801561063357600080fd5b506102e16004803603602081101561064a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611e4e565b34801561067357600080fd5b506104556004803603602081101561068a57600080fd5b503567ffffffffffffffff16611e76565b3480156106a757600080fd5b50610455611f5e565b3480156106bc57600080fd5b506106c5612075565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b34801561071a57600080fd5b50610723612098565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561075857600080fd5b506101fd6120b4565b34801561076d57600080fd5b506102e16004803603608081101561078457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160408201358116916060013516612133565b3480156107c357600080fd5b506102b8600480360360408110156107da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612537565b34801561080957600080fd5b506104556004803603606081101561082057600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff90811691602081013590911690604001356dffffffffffffffffffffffffffff166125ac565b34801561086a57600080fd5b506102b86004803603604081101561088157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612a7f565b3480156108b057600080fd5b506102e1600480360360608110156108c757600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff6020820135169060400135612a93565b6102e16004803603604081101561090657600080fd5b81019060208101813564010000000081111561092157600080fd5b82018360208201111561093357600080fd5b8035906020019184602083028401116401000000008311171561095557600080fd5b91939092909160208101903564010000000081111561097357600080fd5b82018360208201111561098557600080fd5b803590602001918460208302840111640100000000831117156109a757600080fd5b509092509050612da6565b3480156109be57600080fd5b506104556134f8565b3480156109d357600080fd5b506102e1600480360360408110156109ea57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166135e5565b348015610a1b57600080fd5b5061045560048036036020811015610a3257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661361d565b348015610a5b57600080fd5b506107236137be565b6102e160048036036080811015610a7a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604081013590606001356137da565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b575780601f10610b2c57610100808354040283529160200191610b57565b820191906000526020600020905b815481529060010190602001808311610b3a57829003601f168201915b5050505050905090565b6000610b75610b6e613e0a565b8484613e0e565b5060015b92915050565b60035490565b6000610b92848484613f55565b610c1c84610b9e613e0a565b610c1785604051806060016040528060288152602001614b176028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260026020526040812090610be9613e0a565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190614127565b613e0e565b5060015b9392505050565b60065460ff1690565b6000610b75610c3d613e0a565b84610c178560026000610c4e613e0a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490613d96565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600760205260408082208151808301909252805483929190829060ff166003811115610ccf57fe5b6003811115610cda57fe5b8152905461010090046dffffffffffffffffffffffffffff166020909101529050600181516003811115610d0a57fe5b14610d7657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4446503a2057726f6e6720746f6b656e00000000000000000000000000000000604482015290519081900360640190fd5b60008573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ddf57600080fd5b505afa158015610df3573d6000803e3d6000fd5b505050506040513d6020811015610e0957600080fd5b505160208301519091506dffffffffffffffffffffffffffff16818103908210610e31575060015b6000818711610e405786610e42565b815b9050610e6673ffffffffffffffffffffffffffffffffffffffff89163330846141d8565b73ffffffffffffffffffffffffffffffffffffffff861660009081526007602052604080822081518083019092528054829060ff166003811115610ea657fe5b6003811115610eb157fe5b8152905461010090046dffffffffffffffffffffffffffff166020909101529050600281516003811115610ee157fe5b14610f4d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4446503a2057726f6e6720746f6b656e00000000000000000000000000000000604482015290519081900360640190fd5b60008773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610fb657600080fd5b505afa158015610fca573d6000803e3d6000fd5b505050506040513d6020811015610fe057600080fd5b505190506000610ffa85610ff48685614273565b906142e6565b905061101d73ffffffffffffffffffffffffffffffffffffffff8a163383614367565b86602001516dffffffffffffffffffffffffffff16604085901b8161103e57fe5b0497507f73d54f46dbb35c8366181c7b385f112b2cb792cf3edcc78fc8b48c97b011f350338c868c85604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019550505050505060405180910390a18484141561127457600380885273ffffffffffffffffffffffffffffffffffffffff8c166000908152600760205260409020885181548a9383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690600190849081111561114557fe5b021790555060209182015181546dffffffffffffffffffffffffffff909116610100027fffffffffffffffffffffffffffffffffff0000000000000000000000000000ff90911617905573ffffffffffffffffffffffffffffffffffffffff808b1660008181526007845260409081902080547fffffffffffffffffffffffffffffffffff000000000000000000000000000000169055600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000908116909155600a80549091169055600880547fffffffffffffffffffffffffffffff0000000000000000ffffffffffffffffff1690558051918252918e169281019290925280517f943c02796d667aeacb72f3160a29d06d9c71c472bc592cf38b169eb282618ce59281900390910190a15b505050505050509392505050565b61128a613e0a565b73ffffffffffffffffffffffffffffffffffffffff166112a8612098565b73ffffffffffffffffffffffffffffffffffffffff161461132a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040805180820190915260095473ffffffffffffffffffffffffffffffffffffffff908116808352600a5490911660208301526113c857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4446503a204e6f206163746976652064656c697374696e670000000000000000604482015290519081900360640190fd5b506008805467ffffffffffffffff9092166901000000000000000000027fffffffffffffffffffffffffffffff0000000000000000ffffffffffffffffff909216919091179055565b60006010821461148257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4446503a2042616420746f6b656e73206172726179206c656e67746800000000604482015290519081900360640190fd5b600061148c610b7f565b608086901b8161149857fe5b604051919004915047903390819083850260801c80156108fc02916000818181858888f193505050501580156114d2573d6000803e3d6000fd5b50600060015b60108110156117145760008888838181106114ef57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16116115a857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a2052657175697265206f726465726564206c69737400000000000000604482015290519081900360640190fd5b600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff1660038111156115de57fe5b1161164a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8316916370a08231916024808301926020929190829003018186803b1580156116b657600080fd5b505afa1580156116ca573d6000803e3d6000fd5b505050506040513d60208110156116e057600080fd5b5051945061170a73ffffffffffffffffffffffffffffffffffffffff82163388880260801c614367565b91506001016114d8565b5061171f33896143f9565b7f6baa5d9dd9d305f18e36ed3e3dc82a07f286d330e614a25c0bef84e59f2d7a2b338961174a610b7f565b6040805173ffffffffffffffffffffffffffffffffffffffff9094168452602084019290925282820152519081900360600190a1506001979650505050505050565b60008373ffffffffffffffffffffffffffffffffffffffff811615806117e55750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff1660038111156117e357fe5b115b61185057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b6040805160608101825260085460ff8116151580835267ffffffffffffffff610100830481166020850152690100000000000000000090920490911692820192909252906118ff57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4446503a204c6f636b6564000000000000000000000000000000000000000000604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff87166119945785341461198a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4446503a20496e636f727265637420616d6f756e74206f662045544800000000604482015290519081900360640190fd5b8547039050611a50565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b158015611a0057600080fd5b505afa158015611a14573d6000803e3d6000fd5b505050506040513d6020811015611a2a57600080fd5b50519050611a5073ffffffffffffffffffffffffffffffffffffffff88163330896141d8565b808610611abe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6f206d756368206174206f6e63650000000000000000000000604482015290519081900360640190fd5b600081836020015167ffffffffffffffff16880281611ad957fe5b04905080800280820280830260c01c808402808502936224e20b8502609c1c6201668f90920260571c611c7590930260131c609b909402608d1c600f90910260491c600487901c03019290920301036040611b32610b7f565b8202901c9650878711611ba657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4446503a204e6f206465616c0000000000000000000000000000000000000000604482015290519081900360640190fd5b611bb03388614543565b6040805133815273ffffffffffffffffffffffffffffffffffffffff8c1660208201528082018b90526060810189905290517f36f3b2e1a21c19137dd82ec243b0708a1d26b3d1fa1dc49c44c4c366a58781389181900360800190a15050505050509392505050565b60085460ff81169067ffffffffffffffff6101008204811691690100000000000000000090041683565b600b5473ffffffffffffffffffffffffffffffffffffffff16331480611c9b5750611c6c612098565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611d0657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4446503a2061646d696e20726967687473207265717569726564000000000000604482015290519081900360640190fd5b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611d3b613e0a565b73ffffffffffffffffffffffffffffffffffffffff16611d59612098565b73ffffffffffffffffffffffffffffffffffffffff1614611ddb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60076020526000908152604090205460ff81169061010090046dffffffffffffffffffffffffffff1682565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b611e7e613e0a565b73ffffffffffffffffffffffffffffffffffffffff16611e9c612098565b73ffffffffffffffffffffffffffffffffffffffff1614611f1e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6008805467ffffffffffffffff909216610100027fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000ff909216919091179055565b611f66613e0a565b73ffffffffffffffffffffffffffffffffffffffff16611f84612098565b73ffffffffffffffffffffffffffffffffffffffff161461200657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600954600a5473ffffffffffffffffffffffffffffffffffffffff918216911682565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60058054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b575780601f10610b2c57610100808354040283529160200191610b57565b60008173ffffffffffffffffffffffffffffffffffffffff8116158061218c5750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16600381111561218a57fe5b115b6121f757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526007602052604080822081518083019092528054829060ff16600381111561223757fe5b600381111561224257fe5b8152905461010090046dffffffffffffffffffffffffffff16602090910152905060028151600381111561227257fe5b146122de57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4446503a2057726f6e6720746f6b656e00000000000000000000000000000000604482015290519081900360640190fd5b6008546901000000000000000000900467ffffffffffffffff166000612305898989610c8b565b9050600073ffffffffffffffffffffffffffffffffffffffff871661232b5750476123c6565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b15801561239757600080fd5b505afa1580156123ab573d6000803e3d6000fd5b505050506040513d60208110156123c157600080fd5b505190505b60806123de67ffffffffffffffff8416850283614273565b901c955073ffffffffffffffffffffffffffffffffffffffff8716612433576040513390819088156108fc029089906000818181858888f1935050505015801561242c573d6000803e3d6000fd5b50506124d5565b604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101889052905173ffffffffffffffffffffffffffffffffffffffff89169163a9059cbb9160448083019260209291908290030181600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b505050506040513d60208110156124d257600080fd5b50505b6040805133815273ffffffffffffffffffffffffffffffffffffffff8916602082015280820188905290517fb1de651e02601de8f235c9277fc01f865e8de15840194e9a1f0e1713a113cb269181900360600190a15050505050949350505050565b6000610b75612544613e0a565b84610c1785604051806060016040528060258152602001614bd3602591396002600061256e613e0a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190614127565b8273ffffffffffffffffffffffffffffffffffffffff811615806126035750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16600381111561260157fe5b115b61266e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b612676613e0a565b73ffffffffffffffffffffffffffffffffffffffff16612694612098565b73ffffffffffffffffffffffffffffffffffffffff161461271657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff841661279857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4446503a2043616e6e6f742064656c6973742045544800000000000000000000604482015290519081900360640190fd5b6040805180820190915260095473ffffffffffffffffffffffffffffffffffffffff908116808352600a5490911660208301521561283757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4446503a2050726576696f75732075706461746520696e636f6d706c65746500604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526007602052604080822081518083019092528054829060ff16600381111561287757fe5b600381111561288257fe5b8152905461010090046dffffffffffffffffffffffffffff1660209091015290506000815160038111156128b257fe5b1461291e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a20546f6b656e20616c7265616479206c697374656400000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8681168084529086166020808501829052600980547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169094179055600a8054909316821790925560018084526dffffffffffffffffffffffffffff871684840152600091825260079092526040902082518154849383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016908360038111156129dc57fe5b021790555060209182015181547fffffffffffffffffffffffffffffffffff0000000000000000000000000000ff166101006dffffffffffffffffffffffffffff9092169190910217905573ffffffffffffffffffffffffffffffffffffffff96909616600090815260079096525050604090932080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166002179055505050565b6000610b75612a8c613e0a565b8484613f55565b60008273ffffffffffffffffffffffffffffffffffffffff81161580612aec5750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff166003811115612aea57fe5b115b612b5757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff8516612b7b575047612c16565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b158015612be757600080fd5b505afa158015612bfb573d6000803e3d6000fd5b505050506040513d6020811015612c1157600080fd5b505190505b6000612c20610b7f565b604088901b81612c2c57fe5b04680100000000000000009081038002800260c090811c80028002901c90819003830260401c94509050848411612cc457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4446503a204e6f206465616c0000000000000000000000000000000000000000604482015290519081900360640190fd5b612cce33886143f9565b73ffffffffffffffffffffffffffffffffffffffff8616612d1f576040513390819086156108fc029087906000818181858888f19350505050158015612d18573d6000803e3d6000fd5b5050612d40565b612d4073ffffffffffffffffffffffffffffffffffffffff87163386614367565b6040805133815273ffffffffffffffffffffffffffffffffffffffff881660208201528082018690526060810189905290517f3b5c196aff80bb96c03b41c96906b66827014de931d1b36e0ede6ee8caeb4bf99181900360800190a15050509392505050565b6040805160608101825260085460ff8116151580835267ffffffffffffffff610100830481166020850152690100000000000000000090920490911692820192909252600091612e5757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4446503a204c6f636b6564000000000000000000000000000000000000000000604482015290519081900360640190fd5b60108514612ec657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4446503a2042616420746f6b656e73206172726179206c656e67746800000000604482015290519081900360640190fd5b60108314612f3557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4446503a20426164206d6178416d6f756e74206172726179206c656e67746800604482015290519081900360640190fd5b600086868281612f4157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612fe057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4446503a204e6f2045544820666f756e64000000000000000000000000000000604482015290519081900360640190fd5b3484846000818110612fee57fe5b905060200201351461306157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a20496e636f72726563742045544820616d6f756e7400000000000000604482015290519081900360640190fd5b344781900390600090829061308790700100000000000000000000000000000000614273565b8161308e57fe5b0490506000808060015b60108110156132fc578b8b828181106130ad57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1691508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161161316657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a2052657175697265206f726465726564206c69737400000000000000604482015290519081900360640190fd5b600273ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff16600381111561319c57fe5b1161320857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b15801561327457600080fd5b505afa158015613288573d6000803e3d6000fd5b505050506040513d602081101561329e57600080fd5b50519550856132d97001000000000000000000000000000000008c8c858181106132c457fe5b9050602002013561427390919063ffffffff16565b816132e057fe5b049350848410156132ef578394505b9091508190600101613098565b50600854608090610100900467ffffffffffffffff16604061332661331f610b7f565b8890614273565b901c02901c96506000915060015b601081101561343b578b8b8281811061334957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156133cf57600080fd5b505afa1580156133e3573d6000803e3d6000fd5b505050506040513d60208110156133f957600080fd5b5051955061342e3330608061340e8a8a614273565b73ffffffffffffffffffffffffffffffffffffffff87169392911c6141d8565b9091508190600101613334565b506134463388614543565b7ff8a0b170c5f5d0c7cf38a00cf2f15f1cac38123cfeaaa2a377217efff62c9c0a3388613471610b7f565b6040805173ffffffffffffffffffffffffffffffffffffffff9094168452602084019290925282820152519081900360600190a1344703945033806108fc60806134bb8989614273565b604051911c3403801590920291906000818181858888f193505050501580156134e8573d6000803e3d6000fd5b5050505050505050949350505050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314806135505750613521612098565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6135bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4446503a2061646d696e20726967687473207265717569726564000000000000604482015290519081900360640190fd5b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b613625613e0a565b73ffffffffffffffffffffffffffffffffffffffff16613643612098565b73ffffffffffffffffffffffffffffffffffffffff16146136c557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116613731576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614a626026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600b5473ffffffffffffffffffffffffffffffffffffffff1681565b60008473ffffffffffffffffffffffffffffffffffffffff811615806138335750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16600381111561383157fe5b115b61389e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b8473ffffffffffffffffffffffffffffffffffffffff811615806138f55750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff1660038111156138f357fe5b115b61396057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b6040805160608101825260085460ff8116151580835267ffffffffffffffff61010083048116602085015269010000000000000000009092049091169282019290925290613a0f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4446503a204c6f636b6564000000000000000000000000000000000000000000604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff8916613aa457863414613a9a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4446503a206261642045544820616d6f756e7400000000000000000000000000604482015290519081900360640190fd5b8647039050613b60565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8b16916370a08231916024808301926020929190829003018186803b158015613b1057600080fd5b505afa158015613b24573d6000803e3d6000fd5b505050506040513d6020811015613b3a57600080fd5b50519050613b6073ffffffffffffffffffffffffffffffffffffffff8a1633308a6141d8565b600073ffffffffffffffffffffffffffffffffffffffff8916613b84575047613c1f565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8b16916370a08231916024808301926020929190829003018186803b158015613bf057600080fd5b505afa158015613c04573d6000803e3d6000fd5b505050506040513d6020811015613c1a57600080fd5b505190505b602083015167ffffffffffffffff168802604083901b810182820281613c4157fe5b049650878711613cb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4446503a204e6f206465616c0000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8a16613d03576040513390819089156108fc02908a906000818181858888f19350505050158015613cfc573d6000803e3d6000fd5b5050613d24565b613d2473ffffffffffffffffffffffffffffffffffffffff8b163389614367565b6040805133815273ffffffffffffffffffffffffffffffffffffffff808e1660208301528c1681830152606081018b90526080810189905290517f6782190c91d4a7e8ad2a867deed6ec0a970cab8ff137ae2bd4abd92b3810f4d39181900360a00190a1505050505050949350505050565b600082820183811015610c2057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b73ffffffffffffffffffffffffffffffffffffffff8316613e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614b856024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216613ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614a886022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316613fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180614b606025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661402d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180614a1d6023913960400191505060405180910390fd5b6140388383836143f4565b61408281604051806060016040528060268152602001614aaa6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260409020549190614127565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822093909355908416815220546140be9082613d96565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156141d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561419557818101518382015260200161417d565b50505050905090810190601f1680156141c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261426d908590614676565b50505050565b60008261428257506000610b79565b8282028284828161428f57fe5b0414610c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614af66021913960400191505060405180910390fd5b600080821161435657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161435f57fe5b049392505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526143f4908490614676565b505050565b73ffffffffffffffffffffffffffffffffffffffff8216614465576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614b3f6021913960400191505060405180910390fd5b614471826000836143f4565b6144bb81604051806060016040528060228152602001614a406022913973ffffffffffffffffffffffffffffffffffffffff85166000908152600160205260409020549190614127565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020556003546144ee908261474e565b60035560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b73ffffffffffffffffffffffffffffffffffffffff82166145c557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6145d1600083836143f4565b6003546145de9082613d96565b60035573ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020546146119082613d96565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006146d8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166147c59092919063ffffffff16565b8051909150156143f4578080602001905160208110156146f757600080fd5b50516143f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614ba9602a913960400191505060405180910390fd5b6000828211156147bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606147d484846000856147dc565b949350505050565b606082471015614837576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614ad06026913960400191505060405180910390fd5b61484085614996565b6148ab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061491457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016148d7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614976576040519150601f19603f3d011682016040523d82523d6000602084013e61497b565b606091505b509150915061498b82828661499c565b979650505050505050565b3b151590565b606083156149ab575081610c20565b8251156149bb5782518084602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815284516024840152845185939192839260440191908501908083836000831561419557818101518382015260200161417d56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204ce96046b1b1f68f5d5b53b4622b6cd01c4d0342f28ae0cb3b2299f692dd2c4c64736f6c634300070600330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93e0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f9840000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca0000000000000000000000006468e79a80c0eab0f9a2b574c8d5bc374af594140000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe20000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae900000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c9444d31a580d35a951f77b36f0de073dac69316000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000000000000000000154465466920506c617a61204d61696e20496e646578000000000000000000000000000000000000000000000000000000000000000000000000000000000000045844503100000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101dc5760003560e01c806370a2df1d11610102578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e146109c7578063f2fde38b14610a0f578063f851a44014610a4f578063fe02915614610a64576101e3565b8063a9059cbb1461085e578063c4ccdeea146108a4578063ce359797146108f0578063cebe7a51146109b2576101e3565b806395d89b41116100d157806395d89b411461074c57806399d2230414610761578063a457c2d7146107b7578063a62af183146107fd576101e3565b806370a2df1d14610667578063715018a61461069b57806376e36ab2146106b05780638da5cb5b1461070e576101e3565b80633d3eee8c1161017a578063691ea2f011610149578063691ea2f01461055a578063704b6c021461056f5780637093f47f146105af57806370a0823114610627576101e3565b80633d3eee8c146104215780634fdc57e31461045757806355776b77146104db57806368c2a4001461051a576101e3565b806323b872dd116101b657806323b872dd146102f3578063313ce56714610343578063395093511461036e5780633bb1956a146103b4576101e3565b806306fdde03146101e8578063095ea7b31461027257806318160ddd146102cc576101e3565b366101e357005b600080fd5b3480156101f457600080fd5b506101fd610aad565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561027e57600080fd5b506102b86004803603604081101561029557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b61565b604080519115158252519081900360200190f35b3480156102d857600080fd5b506102e1610b7f565b60408051918252519081900360200190f35b3480156102ff57600080fd5b506102b86004803603606081101561031657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610b85565b34801561034f57600080fd5b50610358610c27565b6040805160ff9092168252519081900360200190f35b34801561037a57600080fd5b506102b86004803603604081101561039157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c30565b3480156103c057600080fd5b50610404600480360360608110156103d757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160409091013516610c8b565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561042d57600080fd5b506104556004803603602081101561044457600080fd5b503567ffffffffffffffff16611282565b005b34801561046357600080fd5b506102b86004803603604081101561047a57600080fd5b8135919081019060408101602082013564010000000081111561049c57600080fd5b8201836020820111156104ae57600080fd5b803590602001918460208302840111640100000000831117156104d057600080fd5b509092509050611411565b6102e1600480360360608110156104f157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135906040013561178c565b34801561052657600080fd5b5061052f611c19565b60408051931515845267ffffffffffffffff9283166020850152911682820152519081900360600190f35b34801561056657600080fd5b50610455611c43565b34801561057b57600080fd5b506104556004803603602081101561059257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611d33565b3480156105bb57600080fd5b506105ef600480360360208110156105d257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611e22565b604051808360038111156105ff57fe5b8152602001826dffffffffffffffffffffffffffff1681526020019250505060405180910390f35b34801561063357600080fd5b506102e16004803603602081101561064a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611e4e565b34801561067357600080fd5b506104556004803603602081101561068a57600080fd5b503567ffffffffffffffff16611e76565b3480156106a757600080fd5b50610455611f5e565b3480156106bc57600080fd5b506106c5612075565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b34801561071a57600080fd5b50610723612098565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561075857600080fd5b506101fd6120b4565b34801561076d57600080fd5b506102e16004803603608081101561078457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160408201358116916060013516612133565b3480156107c357600080fd5b506102b8600480360360408110156107da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612537565b34801561080957600080fd5b506104556004803603606081101561082057600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff90811691602081013590911690604001356dffffffffffffffffffffffffffff166125ac565b34801561086a57600080fd5b506102b86004803603604081101561088157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612a7f565b3480156108b057600080fd5b506102e1600480360360608110156108c757600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff6020820135169060400135612a93565b6102e16004803603604081101561090657600080fd5b81019060208101813564010000000081111561092157600080fd5b82018360208201111561093357600080fd5b8035906020019184602083028401116401000000008311171561095557600080fd5b91939092909160208101903564010000000081111561097357600080fd5b82018360208201111561098557600080fd5b803590602001918460208302840111640100000000831117156109a757600080fd5b509092509050612da6565b3480156109be57600080fd5b506104556134f8565b3480156109d357600080fd5b506102e1600480360360408110156109ea57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166135e5565b348015610a1b57600080fd5b5061045560048036036020811015610a3257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661361d565b348015610a5b57600080fd5b506107236137be565b6102e160048036036080811015610a7a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604081013590606001356137da565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b575780601f10610b2c57610100808354040283529160200191610b57565b820191906000526020600020905b815481529060010190602001808311610b3a57829003601f168201915b5050505050905090565b6000610b75610b6e613e0a565b8484613e0e565b5060015b92915050565b60035490565b6000610b92848484613f55565b610c1c84610b9e613e0a565b610c1785604051806060016040528060288152602001614b176028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260026020526040812090610be9613e0a565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190614127565b613e0e565b5060015b9392505050565b60065460ff1690565b6000610b75610c3d613e0a565b84610c178560026000610c4e613e0a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490613d96565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600760205260408082208151808301909252805483929190829060ff166003811115610ccf57fe5b6003811115610cda57fe5b8152905461010090046dffffffffffffffffffffffffffff166020909101529050600181516003811115610d0a57fe5b14610d7657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4446503a2057726f6e6720746f6b656e00000000000000000000000000000000604482015290519081900360640190fd5b60008573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ddf57600080fd5b505afa158015610df3573d6000803e3d6000fd5b505050506040513d6020811015610e0957600080fd5b505160208301519091506dffffffffffffffffffffffffffff16818103908210610e31575060015b6000818711610e405786610e42565b815b9050610e6673ffffffffffffffffffffffffffffffffffffffff89163330846141d8565b73ffffffffffffffffffffffffffffffffffffffff861660009081526007602052604080822081518083019092528054829060ff166003811115610ea657fe5b6003811115610eb157fe5b8152905461010090046dffffffffffffffffffffffffffff166020909101529050600281516003811115610ee157fe5b14610f4d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4446503a2057726f6e6720746f6b656e00000000000000000000000000000000604482015290519081900360640190fd5b60008773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610fb657600080fd5b505afa158015610fca573d6000803e3d6000fd5b505050506040513d6020811015610fe057600080fd5b505190506000610ffa85610ff48685614273565b906142e6565b905061101d73ffffffffffffffffffffffffffffffffffffffff8a163383614367565b86602001516dffffffffffffffffffffffffffff16604085901b8161103e57fe5b0497507f73d54f46dbb35c8366181c7b385f112b2cb792cf3edcc78fc8b48c97b011f350338c868c85604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019550505050505060405180910390a18484141561127457600380885273ffffffffffffffffffffffffffffffffffffffff8c166000908152600760205260409020885181548a9383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690600190849081111561114557fe5b021790555060209182015181546dffffffffffffffffffffffffffff909116610100027fffffffffffffffffffffffffffffffffff0000000000000000000000000000ff90911617905573ffffffffffffffffffffffffffffffffffffffff808b1660008181526007845260409081902080547fffffffffffffffffffffffffffffffffff000000000000000000000000000000169055600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000908116909155600a80549091169055600880547fffffffffffffffffffffffffffffff0000000000000000ffffffffffffffffff1690558051918252918e169281019290925280517f943c02796d667aeacb72f3160a29d06d9c71c472bc592cf38b169eb282618ce59281900390910190a15b505050505050509392505050565b61128a613e0a565b73ffffffffffffffffffffffffffffffffffffffff166112a8612098565b73ffffffffffffffffffffffffffffffffffffffff161461132a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040805180820190915260095473ffffffffffffffffffffffffffffffffffffffff908116808352600a5490911660208301526113c857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4446503a204e6f206163746976652064656c697374696e670000000000000000604482015290519081900360640190fd5b506008805467ffffffffffffffff9092166901000000000000000000027fffffffffffffffffffffffffffffff0000000000000000ffffffffffffffffff909216919091179055565b60006010821461148257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4446503a2042616420746f6b656e73206172726179206c656e67746800000000604482015290519081900360640190fd5b600061148c610b7f565b608086901b8161149857fe5b604051919004915047903390819083850260801c80156108fc02916000818181858888f193505050501580156114d2573d6000803e3d6000fd5b50600060015b60108110156117145760008888838181106114ef57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16116115a857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a2052657175697265206f726465726564206c69737400000000000000604482015290519081900360640190fd5b600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff1660038111156115de57fe5b1161164a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8316916370a08231916024808301926020929190829003018186803b1580156116b657600080fd5b505afa1580156116ca573d6000803e3d6000fd5b505050506040513d60208110156116e057600080fd5b5051945061170a73ffffffffffffffffffffffffffffffffffffffff82163388880260801c614367565b91506001016114d8565b5061171f33896143f9565b7f6baa5d9dd9d305f18e36ed3e3dc82a07f286d330e614a25c0bef84e59f2d7a2b338961174a610b7f565b6040805173ffffffffffffffffffffffffffffffffffffffff9094168452602084019290925282820152519081900360600190a1506001979650505050505050565b60008373ffffffffffffffffffffffffffffffffffffffff811615806117e55750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff1660038111156117e357fe5b115b61185057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b6040805160608101825260085460ff8116151580835267ffffffffffffffff610100830481166020850152690100000000000000000090920490911692820192909252906118ff57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4446503a204c6f636b6564000000000000000000000000000000000000000000604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff87166119945785341461198a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4446503a20496e636f727265637420616d6f756e74206f662045544800000000604482015290519081900360640190fd5b8547039050611a50565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b158015611a0057600080fd5b505afa158015611a14573d6000803e3d6000fd5b505050506040513d6020811015611a2a57600080fd5b50519050611a5073ffffffffffffffffffffffffffffffffffffffff88163330896141d8565b808610611abe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6f206d756368206174206f6e63650000000000000000000000604482015290519081900360640190fd5b600081836020015167ffffffffffffffff16880281611ad957fe5b04905080800280820280830260c01c808402808502936224e20b8502609c1c6201668f90920260571c611c7590930260131c609b909402608d1c600f90910260491c600487901c03019290920301036040611b32610b7f565b8202901c9650878711611ba657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4446503a204e6f206465616c0000000000000000000000000000000000000000604482015290519081900360640190fd5b611bb03388614543565b6040805133815273ffffffffffffffffffffffffffffffffffffffff8c1660208201528082018b90526060810189905290517f36f3b2e1a21c19137dd82ec243b0708a1d26b3d1fa1dc49c44c4c366a58781389181900360800190a15050505050509392505050565b60085460ff81169067ffffffffffffffff6101008204811691690100000000000000000090041683565b600b5473ffffffffffffffffffffffffffffffffffffffff16331480611c9b5750611c6c612098565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611d0657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4446503a2061646d696e20726967687473207265717569726564000000000000604482015290519081900360640190fd5b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611d3b613e0a565b73ffffffffffffffffffffffffffffffffffffffff16611d59612098565b73ffffffffffffffffffffffffffffffffffffffff1614611ddb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60076020526000908152604090205460ff81169061010090046dffffffffffffffffffffffffffff1682565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b611e7e613e0a565b73ffffffffffffffffffffffffffffffffffffffff16611e9c612098565b73ffffffffffffffffffffffffffffffffffffffff1614611f1e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6008805467ffffffffffffffff909216610100027fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000ff909216919091179055565b611f66613e0a565b73ffffffffffffffffffffffffffffffffffffffff16611f84612098565b73ffffffffffffffffffffffffffffffffffffffff161461200657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600954600a5473ffffffffffffffffffffffffffffffffffffffff918216911682565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60058054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b575780601f10610b2c57610100808354040283529160200191610b57565b60008173ffffffffffffffffffffffffffffffffffffffff8116158061218c5750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16600381111561218a57fe5b115b6121f757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526007602052604080822081518083019092528054829060ff16600381111561223757fe5b600381111561224257fe5b8152905461010090046dffffffffffffffffffffffffffff16602090910152905060028151600381111561227257fe5b146122de57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4446503a2057726f6e6720746f6b656e00000000000000000000000000000000604482015290519081900360640190fd5b6008546901000000000000000000900467ffffffffffffffff166000612305898989610c8b565b9050600073ffffffffffffffffffffffffffffffffffffffff871661232b5750476123c6565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b15801561239757600080fd5b505afa1580156123ab573d6000803e3d6000fd5b505050506040513d60208110156123c157600080fd5b505190505b60806123de67ffffffffffffffff8416850283614273565b901c955073ffffffffffffffffffffffffffffffffffffffff8716612433576040513390819088156108fc029089906000818181858888f1935050505015801561242c573d6000803e3d6000fd5b50506124d5565b604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101889052905173ffffffffffffffffffffffffffffffffffffffff89169163a9059cbb9160448083019260209291908290030181600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b505050506040513d60208110156124d257600080fd5b50505b6040805133815273ffffffffffffffffffffffffffffffffffffffff8916602082015280820188905290517fb1de651e02601de8f235c9277fc01f865e8de15840194e9a1f0e1713a113cb269181900360600190a15050505050949350505050565b6000610b75612544613e0a565b84610c1785604051806060016040528060258152602001614bd3602591396002600061256e613e0a565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190614127565b8273ffffffffffffffffffffffffffffffffffffffff811615806126035750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16600381111561260157fe5b115b61266e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b612676613e0a565b73ffffffffffffffffffffffffffffffffffffffff16612694612098565b73ffffffffffffffffffffffffffffffffffffffff161461271657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff841661279857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4446503a2043616e6e6f742064656c6973742045544800000000000000000000604482015290519081900360640190fd5b6040805180820190915260095473ffffffffffffffffffffffffffffffffffffffff908116808352600a5490911660208301521561283757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4446503a2050726576696f75732075706461746520696e636f6d706c65746500604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526007602052604080822081518083019092528054829060ff16600381111561287757fe5b600381111561288257fe5b8152905461010090046dffffffffffffffffffffffffffff1660209091015290506000815160038111156128b257fe5b1461291e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a20546f6b656e20616c7265616479206c697374656400000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8681168084529086166020808501829052600980547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169094179055600a8054909316821790925560018084526dffffffffffffffffffffffffffff871684840152600091825260079092526040902082518154849383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016908360038111156129dc57fe5b021790555060209182015181547fffffffffffffffffffffffffffffffffff0000000000000000000000000000ff166101006dffffffffffffffffffffffffffff9092169190910217905573ffffffffffffffffffffffffffffffffffffffff96909616600090815260079096525050604090932080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166002179055505050565b6000610b75612a8c613e0a565b8484613f55565b60008273ffffffffffffffffffffffffffffffffffffffff81161580612aec5750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff166003811115612aea57fe5b115b612b5757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff8516612b7b575047612c16565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b158015612be757600080fd5b505afa158015612bfb573d6000803e3d6000fd5b505050506040513d6020811015612c1157600080fd5b505190505b6000612c20610b7f565b604088901b81612c2c57fe5b04680100000000000000009081038002800260c090811c80028002901c90819003830260401c94509050848411612cc457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4446503a204e6f206465616c0000000000000000000000000000000000000000604482015290519081900360640190fd5b612cce33886143f9565b73ffffffffffffffffffffffffffffffffffffffff8616612d1f576040513390819086156108fc029087906000818181858888f19350505050158015612d18573d6000803e3d6000fd5b5050612d40565b612d4073ffffffffffffffffffffffffffffffffffffffff87163386614367565b6040805133815273ffffffffffffffffffffffffffffffffffffffff881660208201528082018690526060810189905290517f3b5c196aff80bb96c03b41c96906b66827014de931d1b36e0ede6ee8caeb4bf99181900360800190a15050509392505050565b6040805160608101825260085460ff8116151580835267ffffffffffffffff610100830481166020850152690100000000000000000090920490911692820192909252600091612e5757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4446503a204c6f636b6564000000000000000000000000000000000000000000604482015290519081900360640190fd5b60108514612ec657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4446503a2042616420746f6b656e73206172726179206c656e67746800000000604482015290519081900360640190fd5b60108314612f3557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4446503a20426164206d6178416d6f756e74206172726179206c656e67746800604482015290519081900360640190fd5b600086868281612f4157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612fe057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4446503a204e6f2045544820666f756e64000000000000000000000000000000604482015290519081900360640190fd5b3484846000818110612fee57fe5b905060200201351461306157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a20496e636f72726563742045544820616d6f756e7400000000000000604482015290519081900360640190fd5b344781900390600090829061308790700100000000000000000000000000000000614273565b8161308e57fe5b0490506000808060015b60108110156132fc578b8b828181106130ad57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1691508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161161316657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4446503a2052657175697265206f726465726564206c69737400000000000000604482015290519081900360640190fd5b600273ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff16600381111561319c57fe5b1161320857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b15801561327457600080fd5b505afa158015613288573d6000803e3d6000fd5b505050506040513d602081101561329e57600080fd5b50519550856132d97001000000000000000000000000000000008c8c858181106132c457fe5b9050602002013561427390919063ffffffff16565b816132e057fe5b049350848410156132ef578394505b9091508190600101613098565b50600854608090610100900467ffffffffffffffff16604061332661331f610b7f565b8890614273565b901c02901c96506000915060015b601081101561343b578b8b8281811061334957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156133cf57600080fd5b505afa1580156133e3573d6000803e3d6000fd5b505050506040513d60208110156133f957600080fd5b5051955061342e3330608061340e8a8a614273565b73ffffffffffffffffffffffffffffffffffffffff87169392911c6141d8565b9091508190600101613334565b506134463388614543565b7ff8a0b170c5f5d0c7cf38a00cf2f15f1cac38123cfeaaa2a377217efff62c9c0a3388613471610b7f565b6040805173ffffffffffffffffffffffffffffffffffffffff9094168452602084019290925282820152519081900360600190a1344703945033806108fc60806134bb8989614273565b604051911c3403801590920291906000818181858888f193505050501580156134e8573d6000803e3d6000fd5b5050505050505050949350505050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314806135505750613521612098565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6135bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4446503a2061646d696e20726967687473207265717569726564000000000000604482015290519081900360640190fd5b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b613625613e0a565b73ffffffffffffffffffffffffffffffffffffffff16613643612098565b73ffffffffffffffffffffffffffffffffffffffff16146136c557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116613731576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614a626026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600b5473ffffffffffffffffffffffffffffffffffffffff1681565b60008473ffffffffffffffffffffffffffffffffffffffff811615806138335750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16600381111561383157fe5b115b61389e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b8473ffffffffffffffffffffffffffffffffffffffff811615806138f55750600273ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff1660038111156138f357fe5b115b61396057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4446503a20546f6b656e206e6f74206c69737465640000000000000000000000604482015290519081900360640190fd5b6040805160608101825260085460ff8116151580835267ffffffffffffffff61010083048116602085015269010000000000000000009092049091169282019290925290613a0f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4446503a204c6f636b6564000000000000000000000000000000000000000000604482015290519081900360640190fd5b600073ffffffffffffffffffffffffffffffffffffffff8916613aa457863414613a9a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4446503a206261642045544820616d6f756e7400000000000000000000000000604482015290519081900360640190fd5b8647039050613b60565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8b16916370a08231916024808301926020929190829003018186803b158015613b1057600080fd5b505afa158015613b24573d6000803e3d6000fd5b505050506040513d6020811015613b3a57600080fd5b50519050613b6073ffffffffffffffffffffffffffffffffffffffff8a1633308a6141d8565b600073ffffffffffffffffffffffffffffffffffffffff8916613b84575047613c1f565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8b16916370a08231916024808301926020929190829003018186803b158015613bf057600080fd5b505afa158015613c04573d6000803e3d6000fd5b505050506040513d6020811015613c1a57600080fd5b505190505b602083015167ffffffffffffffff168802604083901b810182820281613c4157fe5b049650878711613cb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4446503a204e6f206465616c0000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8a16613d03576040513390819089156108fc02908a906000818181858888f19350505050158015613cfc573d6000803e3d6000fd5b5050613d24565b613d2473ffffffffffffffffffffffffffffffffffffffff8b163389614367565b6040805133815273ffffffffffffffffffffffffffffffffffffffff808e1660208301528c1681830152606081018b90526080810189905290517f6782190c91d4a7e8ad2a867deed6ec0a970cab8ff137ae2bd4abd92b3810f4d39181900360a00190a1505050505050949350505050565b600082820183811015610c2057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b73ffffffffffffffffffffffffffffffffffffffff8316613e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614b856024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216613ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614a886022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316613fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180614b606025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661402d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180614a1d6023913960400191505060405180910390fd5b6140388383836143f4565b61408281604051806060016040528060268152602001614aaa6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260409020549190614127565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822093909355908416815220546140be9082613d96565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156141d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561419557818101518382015260200161417d565b50505050905090810190601f1680156141c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261426d908590614676565b50505050565b60008261428257506000610b79565b8282028284828161428f57fe5b0414610c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614af66021913960400191505060405180910390fd5b600080821161435657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161435f57fe5b049392505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526143f4908490614676565b505050565b73ffffffffffffffffffffffffffffffffffffffff8216614465576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614b3f6021913960400191505060405180910390fd5b614471826000836143f4565b6144bb81604051806060016040528060228152602001614a406022913973ffffffffffffffffffffffffffffffffffffffff85166000908152600160205260409020549190614127565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020556003546144ee908261474e565b60035560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b73ffffffffffffffffffffffffffffffffffffffff82166145c557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6145d1600083836143f4565b6003546145de9082613d96565b60035573ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020546146119082613d96565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006146d8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166147c59092919063ffffffff16565b8051909150156143f4578080602001905160208110156146f757600080fd5b50516143f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614ba9602a913960400191505060405180910390fd5b6000828211156147bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606147d484846000856147dc565b949350505050565b606082471015614837576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614ad06026913960400191505060405180910390fd5b61484085614996565b6148ab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061491457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016148d7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614976576040519150601f19603f3d011682016040523d82523d6000602084013e61497b565b606091505b509150915061498b82828661499c565b979650505050505050565b3b151590565b606083156149ab575081610c20565b8251156149bb5782518084602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815284516024840152845185939192839260440191908501908083836000831561419557818101518382015260200161417d56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204ce96046b1b1f68f5d5b53b4622b6cd01c4d0342f28ae0cb3b2299f692dd2c4c64736f6c63430007060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93e0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f9840000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca0000000000000000000000006468e79a80c0eab0f9a2b574c8d5bc374af594140000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe20000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb00000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae900000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c9444d31a580d35a951f77b36f0de073dac69316000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000000000000000000000000000000000000000000154465466920506c617a61204d61696e20496e646578000000000000000000000000000000000000000000000000000000000000000000000000000000000000045844503100000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tokensToList (address[]): 0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e,0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984,0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599,0x514910771AF9Ca656af840dff83E8264EcF986CA,0x6468e79A80C0eaB0F9A2B574c8d5bC374Af59414,0x6B175474E89094C44Da98b954EedeAC495271d0F,0x6B3595068778DD592e39A122f4f5a5cF09C90fE2,0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0,0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9,0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE,0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,0xC9444d31A580D35a951f77b36F0dE073DaC69316,0xD533a949740bb3306d119CC777fa900bA034cd52,0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [1] : name_ (string): DeFi Plaza Main Index
Arg [2] : symbol_ (string): XDP1

-----Encoded View---------------
23 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [2] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93e
Arg [5] : 0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984
Arg [6] : 0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599
Arg [7] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [8] : 0000000000000000000000006468e79a80c0eab0f9a2b574c8d5bc374af59414
Arg [9] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [10] : 0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2
Arg [11] : 0000000000000000000000007d1afa7b718fb893db30a3abc0cfc608aacfebb0
Arg [12] : 0000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
Arg [13] : 00000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce
Arg [14] : 0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2
Arg [15] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [16] : 000000000000000000000000c9444d31a580d35a951f77b36f0de073dac69316
Arg [17] : 000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52
Arg [18] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [20] : 4465466920506c617a61204d61696e20496e6465780000000000000000000000
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [22] : 5844503100000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.