ETH Price: $3,365.61 (-0.93%)
Gas: 7.7 Gwei

Token

Component LP Token (CMP-LP)
 

Overview

Max Total Supply

8,386.061263323229094136 CMP-LP

Holders

141

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Etherscan: Donate
Balance
0.367989665052799105 CMP-LP

Value
$0.00
0x71c7656ec7ab88b098defb751b7401b5f6d8976f
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x49519631...8D86F08db
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Component

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-01-24
*/

// The contract is based on the Shell Protocol source code: https://github.com/cowri/shell-solidity-v1

pragma solidity >0.4.13 >=0.4.23 >=0.5.0 <0.6.0 >=0.5.7 <0.6.0;

////// lib/abdk-libraries-solidity/src/ABDKMath64x64.sol
/*
 * ABDK Math 64.64 Smart Contract Library.  Copyright © 2019 by ABDK Consulting.
 * Author: Mikhail Vladimirov <[email protected]>
 */

/**
 * Smart contract library of mathematical functions operating with signed
 * 64.64-bit fixed point numbers.  Signed 64.64-bit fixed point number is
 * basically a simple fraction whose numerator is signed 128-bit integer and
 * denominator is 2^64.  As long as denominator is always the same, there is no
 * need to store it, thus in Solidity signed 64.64-bit fixed point numbers are
 * represented by int128 type holding only the numerator.
 */
library ABDKMath64x64 {
  /**
   * Minimum value signed 64.64-bit fixed point number may have. 
   */
  int128 private constant MIN_64x64 = -0x80000000000000000000000000000000;

  /**
   * Maximum value signed 64.64-bit fixed point number may have. 
   */
  int128 private constant MAX_64x64 = 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;

  /**
   * Convert signed 256-bit integer number into signed 64.64-bit fixed point
   * number.  Revert on overflow.
   *
   * @param x signed 256-bit integer number
   * @return signed 64.64-bit fixed point number
   */
  function fromInt (int256 x) internal pure returns (int128) {
    require (x >= -0x8000000000000000 && x <= 0x7FFFFFFFFFFFFFFF);
    return int128 (x << 64);
  }

  /**
   * Convert signed 64.64 fixed point number into signed 64-bit integer number
   * rounding down.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64-bit integer number
   */
  function toInt (int128 x) internal pure returns (int64) {
    return int64 (x >> 64);
  }

  /**
   * Convert unsigned 256-bit integer number into signed 64.64-bit fixed point
   * number.  Revert on overflow.
   *
   * @param x unsigned 256-bit integer number
   * @return signed 64.64-bit fixed point number
   */
  function fromUInt (uint256 x) internal pure returns (int128) {
    require (x <= 0x7FFFFFFFFFFFFFFF);
    return int128 (x << 64);
  }

  /**
   * Convert signed 64.64 fixed point number into unsigned 64-bit integer
   * number rounding down.  Revert on underflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @return unsigned 64-bit integer number
   */
  function toUInt (int128 x) internal pure returns (uint64) {
    require (x >= 0);
    return uint64 (x >> 64);
  }

  /**
   * Convert signed 128.128 fixed point number into signed 64.64-bit fixed point
   * number rounding down.  Revert on overflow.
   *
   * @param x signed 128.128-bin fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function from128x128 (int256 x) internal pure returns (int128) {
    int256 result = x >> 64;
    require (result >= MIN_64x64 && result <= MAX_64x64);
    return int128 (result);
  }

  /**
   * Convert signed 64.64 fixed point number into signed 128.128 fixed point
   * number.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 128.128 fixed point number
   */
  function to128x128 (int128 x) internal pure returns (int256) {
    return int256 (x) << 64;
  }

  /**
   * Calculate x + y.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function add (int128 x, int128 y) internal pure returns (int128) {
    int256 result = int256(x) + y;
    require (result >= MIN_64x64 && result <= MAX_64x64);
    return int128 (result);
  }

  /**
   * Calculate x - y.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function sub (int128 x, int128 y) internal pure returns (int128) {
    int256 result = int256(x) - y;
    require (result >= MIN_64x64 && result <= MAX_64x64);
    return int128 (result);
  }

  /**
   * Calculate x * y rounding down.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function mul (int128 x, int128 y) internal pure returns (int128) {
    int256 result = int256(x) * y >> 64;
    require (result >= MIN_64x64 && result <= MAX_64x64);
    return int128 (result);
  }

  /**
   * Calculate x * y rounding towards zero, where x is signed 64.64 fixed point
   * number and y is signed 256-bit integer number.  Revert on overflow.
   *
   * @param x signed 64.64 fixed point number
   * @param y signed 256-bit integer number
   * @return signed 256-bit integer number
   */
  function muli (int128 x, int256 y) internal pure returns (int256) {
    if (x == MIN_64x64) {
      require (y >= -0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF &&
        y <= 0x1000000000000000000000000000000000000000000000000);
      return -y << 63;
    } else {
      bool negativeResult = false;
      if (x < 0) {
        x = -x;
        negativeResult = true;
      }
      if (y < 0) {
        y = -y; // We rely on overflow behavior here
        negativeResult = !negativeResult;
      }
      uint256 absoluteResult = mulu (x, uint256 (y));
      if (negativeResult) {
        require (absoluteResult <=
          0x8000000000000000000000000000000000000000000000000000000000000000);
        return -int256 (absoluteResult); // We rely on overflow behavior here
      } else {
        require (absoluteResult <=
          0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);
        return int256 (absoluteResult);
      }
    }
  }

  /**
   * Calculate x * y rounding down, where x is signed 64.64 fixed point number
   * and y is unsigned 256-bit integer number.  Revert on overflow.
   *
   * @param x signed 64.64 fixed point number
   * @param y unsigned 256-bit integer number
   * @return unsigned 256-bit integer number
   */
  function mulu (int128 x, uint256 y) internal pure returns (uint256) {
    if (y == 0) return 0;

    require (x >= 0);

    uint256 lo = (uint256 (x) * (y & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)) >> 64;
    uint256 hi = uint256 (x) * (y >> 128);

    require (hi <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);
    hi <<= 64;

    require (hi <=
      0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF - lo);
    return hi + lo;
  }

  /**
   * Calculate x / y rounding towards zero.  Revert on overflow or when y is
   * zero.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function div (int128 x, int128 y) internal pure returns (int128) {
    require (y != 0);
    int256 result = (int256 (x) << 64) / y;
    require (result >= MIN_64x64 && result <= MAX_64x64);
    return int128 (result);
  }

  /**
   * Calculate x / y rounding towards zero, where x and y are signed 256-bit
   * integer numbers.  Revert on overflow or when y is zero.
   *
   * @param x signed 256-bit integer number
   * @param y signed 256-bit integer number
   * @return signed 64.64-bit fixed point number
   */
  function divi (int256 x, int256 y) internal pure returns (int128) {
    require (y != 0);

    bool negativeResult = false;
    if (x < 0) {
      x = -x; // We rely on overflow behavior here
      negativeResult = true;
    }
    if (y < 0) {
      y = -y; // We rely on overflow behavior here
      negativeResult = !negativeResult;
    }
    uint128 absoluteResult = divuu (uint256 (x), uint256 (y));
    if (negativeResult) {
      require (absoluteResult <= 0x80000000000000000000000000000000);
      return -int128 (absoluteResult); // We rely on overflow behavior here
    } else {
      require (absoluteResult <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);
      return int128 (absoluteResult); // We rely on overflow behavior here
    }
  }

  /**
   * Calculate x / y rounding towards zero, where x and y are unsigned 256-bit
   * integer numbers.  Revert on overflow or when y is zero.
   *
   * @param x unsigned 256-bit integer number
   * @param y unsigned 256-bit integer number
   * @return signed 64.64-bit fixed point number
   */
  function divu (uint256 x, uint256 y) internal pure returns (int128) {
    require (y != 0);
    uint128 result = divuu (x, y);
    require (result <= uint128 (MAX_64x64));
    return int128 (result);
  }

  /**
   * Calculate -x.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function neg (int128 x) internal pure returns (int128) {
    require (x != MIN_64x64);
    return -x;
  }

  /**
   * Calculate |x|.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function abs (int128 x) internal pure returns (int128) {
    require (x != MIN_64x64);
    return x < 0 ? -x : x;
  }

  /**
   * Calculate 1 / x rounding towards zero.  Revert on overflow or when x is
   * zero.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function inv (int128 x) internal pure returns (int128) {
    require (x != 0);
    int256 result = int256 (0x100000000000000000000000000000000) / x;
    require (result >= MIN_64x64 && result <= MAX_64x64);
    return int128 (result);
  }

  /**
   * Calculate arithmetics average of x and y, i.e. (x + y) / 2 rounding down.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function avg (int128 x, int128 y) internal pure returns (int128) {
    return int128 ((int256 (x) + int256 (y)) >> 1);
  }

  /**
   * Calculate geometric average of x and y, i.e. sqrt (x * y) rounding down.
   * Revert on overflow or in case x * y is negative.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function gavg (int128 x, int128 y) internal pure returns (int128) {
    int256 m = int256 (x) * int256 (y);
    require (m >= 0);
    require (m <
        0x4000000000000000000000000000000000000000000000000000000000000000);
    return int128 (sqrtu (uint256 (m), uint256 (x) + uint256 (y) >> 1));
  }

  /**
   * Calculate x^y assuming 0^0 is 1, where x is signed 64.64 fixed point number
   * and y is unsigned 256-bit integer number.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y uint256 value
   * @return signed 64.64-bit fixed point number
   */
  function pow (int128 x, uint256 y) internal pure returns (int128) {
    uint256 absoluteResult;
    bool negativeResult = false;
    if (x >= 0) {
      absoluteResult = powu (uint256 (x) << 63, y);
    } else {
      // We rely on overflow behavior here
      absoluteResult = powu (uint256 (uint128 (-x)) << 63, y);
      negativeResult = y & 1 > 0;
    }

    absoluteResult >>= 63;

    if (negativeResult) {
      require (absoluteResult <= 0x80000000000000000000000000000000);
      return -int128 (absoluteResult); // We rely on overflow behavior here
    } else {
      require (absoluteResult <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);
      return int128 (absoluteResult); // We rely on overflow behavior here
    }
  }

  /**
   * Calculate sqrt (x) rounding down.  Revert if x < 0.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function sqrt (int128 x) internal pure returns (int128) {
    require (x >= 0);
    return int128 (sqrtu (uint256 (x) << 64, 0x10000000000000000));
  }

  /**
   * Calculate binary logarithm of x.  Revert if x <= 0.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function log_2 (int128 x) internal pure returns (int128) {
    require (x > 0);

    int256 msb = 0;
    int256 xc = x;
    if (xc >= 0x10000000000000000) { xc >>= 64; msb += 64; }
    if (xc >= 0x100000000) { xc >>= 32; msb += 32; }
    if (xc >= 0x10000) { xc >>= 16; msb += 16; }
    if (xc >= 0x100) { xc >>= 8; msb += 8; }
    if (xc >= 0x10) { xc >>= 4; msb += 4; }
    if (xc >= 0x4) { xc >>= 2; msb += 2; }
    if (xc >= 0x2) msb += 1;  // No need to shift xc anymore

    int256 result = msb - 64 << 64;
    uint256 ux = uint256 (x) << 127 - msb;
    for (int256 bit = 0x8000000000000000; bit > 0; bit >>= 1) {
      ux *= ux;
      uint256 b = ux >> 255;
      ux >>= 127 + b;
      result += bit * int256 (b);
    }

    return int128 (result);
  }

  /**
   * Calculate natural logarithm of x.  Revert if x <= 0.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function ln (int128 x) internal pure returns (int128) {
    require (x > 0);

    return int128 (
        uint256 (log_2 (x)) * 0xB17217F7D1CF79ABC9E3B39803F2F6AF >> 128);
  }

  /**
   * Calculate binary exponent of x.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function exp_2 (int128 x) internal pure returns (int128) {
    require (x < 0x400000000000000000); // Overflow

    if (x < -0x400000000000000000) return 0; // Underflow

    uint256 result = 0x80000000000000000000000000000000;

    if (x & 0x8000000000000000 > 0)
      result = result * 0x16A09E667F3BCC908B2FB1366EA957D3E >> 128;
    if (x & 0x4000000000000000 > 0)
      result = result * 0x1306FE0A31B7152DE8D5A46305C85EDEC >> 128;
    if (x & 0x2000000000000000 > 0)
      result = result * 0x1172B83C7D517ADCDF7C8C50EB14A791F >> 128;
    if (x & 0x1000000000000000 > 0)
      result = result * 0x10B5586CF9890F6298B92B71842A98363 >> 128;
    if (x & 0x800000000000000 > 0)
      result = result * 0x1059B0D31585743AE7C548EB68CA417FD >> 128;
    if (x & 0x400000000000000 > 0)
      result = result * 0x102C9A3E778060EE6F7CACA4F7A29BDE8 >> 128;
    if (x & 0x200000000000000 > 0)
      result = result * 0x10163DA9FB33356D84A66AE336DCDFA3F >> 128;
    if (x & 0x100000000000000 > 0)
      result = result * 0x100B1AFA5ABCBED6129AB13EC11DC9543 >> 128;
    if (x & 0x80000000000000 > 0)
      result = result * 0x10058C86DA1C09EA1FF19D294CF2F679B >> 128;
    if (x & 0x40000000000000 > 0)
      result = result * 0x1002C605E2E8CEC506D21BFC89A23A00F >> 128;
    if (x & 0x20000000000000 > 0)
      result = result * 0x100162F3904051FA128BCA9C55C31E5DF >> 128;
    if (x & 0x10000000000000 > 0)
      result = result * 0x1000B175EFFDC76BA38E31671CA939725 >> 128;
    if (x & 0x8000000000000 > 0)
      result = result * 0x100058BA01FB9F96D6CACD4B180917C3D >> 128;
    if (x & 0x4000000000000 > 0)
      result = result * 0x10002C5CC37DA9491D0985C348C68E7B3 >> 128;
    if (x & 0x2000000000000 > 0)
      result = result * 0x1000162E525EE054754457D5995292026 >> 128;
    if (x & 0x1000000000000 > 0)
      result = result * 0x10000B17255775C040618BF4A4ADE83FC >> 128;
    if (x & 0x800000000000 > 0)
      result = result * 0x1000058B91B5BC9AE2EED81E9B7D4CFAB >> 128;
    if (x & 0x400000000000 > 0)
      result = result * 0x100002C5C89D5EC6CA4D7C8ACC017B7C9 >> 128;
    if (x & 0x200000000000 > 0)
      result = result * 0x10000162E43F4F831060E02D839A9D16D >> 128;
    if (x & 0x100000000000 > 0)
      result = result * 0x100000B1721BCFC99D9F890EA06911763 >> 128;
    if (x & 0x80000000000 > 0)
      result = result * 0x10000058B90CF1E6D97F9CA14DBCC1628 >> 128;
    if (x & 0x40000000000 > 0)
      result = result * 0x1000002C5C863B73F016468F6BAC5CA2B >> 128;
    if (x & 0x20000000000 > 0)
      result = result * 0x100000162E430E5A18F6119E3C02282A5 >> 128;
    if (x & 0x10000000000 > 0)
      result = result * 0x1000000B1721835514B86E6D96EFD1BFE >> 128;
    if (x & 0x8000000000 > 0)
      result = result * 0x100000058B90C0B48C6BE5DF846C5B2EF >> 128;
    if (x & 0x4000000000 > 0)
      result = result * 0x10000002C5C8601CC6B9E94213C72737A >> 128;
    if (x & 0x2000000000 > 0)
      result = result * 0x1000000162E42FFF037DF38AA2B219F06 >> 128;
    if (x & 0x1000000000 > 0)
      result = result * 0x10000000B17217FBA9C739AA5819F44F9 >> 128;
    if (x & 0x800000000 > 0)
      result = result * 0x1000000058B90BFCDEE5ACD3C1CEDC823 >> 128;
    if (x & 0x400000000 > 0)
      result = result * 0x100000002C5C85FE31F35A6A30DA1BE50 >> 128;
    if (x & 0x200000000 > 0)
      result = result * 0x10000000162E42FF0999CE3541B9FFFCF >> 128;
    if (x & 0x100000000 > 0)
      result = result * 0x100000000B17217F80F4EF5AADDA45554 >> 128;
    if (x & 0x80000000 > 0)
      result = result * 0x10000000058B90BFBF8479BD5A81B51AD >> 128;
    if (x & 0x40000000 > 0)
      result = result * 0x1000000002C5C85FDF84BD62AE30A74CC >> 128;
    if (x & 0x20000000 > 0)
      result = result * 0x100000000162E42FEFB2FED257559BDAA >> 128;
    if (x & 0x10000000 > 0)
      result = result * 0x1000000000B17217F7D5A7716BBA4A9AE >> 128;
    if (x & 0x8000000 > 0)
      result = result * 0x100000000058B90BFBE9DDBAC5E109CCE >> 128;
    if (x & 0x4000000 > 0)
      result = result * 0x10000000002C5C85FDF4B15DE6F17EB0D >> 128;
    if (x & 0x2000000 > 0)
      result = result * 0x1000000000162E42FEFA494F1478FDE05 >> 128;
    if (x & 0x1000000 > 0)
      result = result * 0x10000000000B17217F7D20CF927C8E94C >> 128;
    if (x & 0x800000 > 0)
      result = result * 0x1000000000058B90BFBE8F71CB4E4B33D >> 128;
    if (x & 0x400000 > 0)
      result = result * 0x100000000002C5C85FDF477B662B26945 >> 128;
    if (x & 0x200000 > 0)
      result = result * 0x10000000000162E42FEFA3AE53369388C >> 128;
    if (x & 0x100000 > 0)
      result = result * 0x100000000000B17217F7D1D351A389D40 >> 128;
    if (x & 0x80000 > 0)
      result = result * 0x10000000000058B90BFBE8E8B2D3D4EDE >> 128;
    if (x & 0x40000 > 0)
      result = result * 0x1000000000002C5C85FDF4741BEA6E77E >> 128;
    if (x & 0x20000 > 0)
      result = result * 0x100000000000162E42FEFA39FE95583C2 >> 128;
    if (x & 0x10000 > 0)
      result = result * 0x1000000000000B17217F7D1CFB72B45E1 >> 128;
    if (x & 0x8000 > 0)
      result = result * 0x100000000000058B90BFBE8E7CC35C3F0 >> 128;
    if (x & 0x4000 > 0)
      result = result * 0x10000000000002C5C85FDF473E242EA38 >> 128;
    if (x & 0x2000 > 0)
      result = result * 0x1000000000000162E42FEFA39F02B772C >> 128;
    if (x & 0x1000 > 0)
      result = result * 0x10000000000000B17217F7D1CF7D83C1A >> 128;
    if (x & 0x800 > 0)
      result = result * 0x1000000000000058B90BFBE8E7BDCBE2E >> 128;
    if (x & 0x400 > 0)
      result = result * 0x100000000000002C5C85FDF473DEA871F >> 128;
    if (x & 0x200 > 0)
      result = result * 0x10000000000000162E42FEFA39EF44D91 >> 128;
    if (x & 0x100 > 0)
      result = result * 0x100000000000000B17217F7D1CF79E949 >> 128;
    if (x & 0x80 > 0)
      result = result * 0x10000000000000058B90BFBE8E7BCE544 >> 128;
    if (x & 0x40 > 0)
      result = result * 0x1000000000000002C5C85FDF473DE6ECA >> 128;
    if (x & 0x20 > 0)
      result = result * 0x100000000000000162E42FEFA39EF366F >> 128;
    if (x & 0x10 > 0)
      result = result * 0x1000000000000000B17217F7D1CF79AFA >> 128;
    if (x & 0x8 > 0)
      result = result * 0x100000000000000058B90BFBE8E7BCD6D >> 128;
    if (x & 0x4 > 0)
      result = result * 0x10000000000000002C5C85FDF473DE6B2 >> 128;
    if (x & 0x2 > 0)
      result = result * 0x1000000000000000162E42FEFA39EF358 >> 128;
    if (x & 0x1 > 0)
      result = result * 0x10000000000000000B17217F7D1CF79AB >> 128;

    result >>= 63 - (x >> 64);
    require (result <= uint256 (MAX_64x64));

    return int128 (result);
  }

  /**
   * Calculate natural exponent of x.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function exp (int128 x) internal pure returns (int128) {
    require (x < 0x400000000000000000); // Overflow

    if (x < -0x400000000000000000) return 0; // Underflow

    return exp_2 (
        int128 (int256 (x) * 0x171547652B82FE1777D0FFDA0D23A7D12 >> 128));
  }

  /**
   * Calculate x / y rounding towards zero, where x and y are unsigned 256-bit
   * integer numbers.  Revert on overflow or when y is zero.
   *
   * @param x unsigned 256-bit integer number
   * @param y unsigned 256-bit integer number
   * @return unsigned 64.64-bit fixed point number
   */
  function divuu (uint256 x, uint256 y) private pure returns (uint128) {
    require (y != 0);

    uint256 result;

    if (x <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)
      result = (x << 64) / y;
    else {
      uint256 msb = 192;
      uint256 xc = x >> 192;
      if (xc >= 0x100000000) { xc >>= 32; msb += 32; }
      if (xc >= 0x10000) { xc >>= 16; msb += 16; }
      if (xc >= 0x100) { xc >>= 8; msb += 8; }
      if (xc >= 0x10) { xc >>= 4; msb += 4; }
      if (xc >= 0x4) { xc >>= 2; msb += 2; }
      if (xc >= 0x2) msb += 1;  // No need to shift xc anymore

      result = (x << 255 - msb) / ((y - 1 >> msb - 191) + 1);
      require (result <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);

      uint256 hi = result * (y >> 128);
      uint256 lo = result * (y & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);

      uint256 xh = x >> 192;
      uint256 xl = x << 64;

      if (xl < lo) xh -= 1;
      xl -= lo; // We rely on overflow behavior here
      lo = hi << 128;
      if (xl < lo) xh -= 1;
      xl -= lo; // We rely on overflow behavior here

      assert (xh == hi >> 128);

      result += xl / y;
    }

    require (result <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);
    return uint128 (result);
  }

  /**
   * Calculate x^y assuming 0^0 is 1, where x is unsigned 129.127 fixed point
   * number and y is unsigned 256-bit integer number.  Revert on overflow.
   *
   * @param x unsigned 129.127-bit fixed point number
   * @param y uint256 value
   * @return unsigned 129.127-bit fixed point number
   */
  function powu (uint256 x, uint256 y) private pure returns (uint256) {
    if (y == 0) return 0x80000000000000000000000000000000;
    else if (x == 0) return 0;
    else {
      int256 msb = 0;
      uint256 xc = x;
      if (xc >= 0x100000000000000000000000000000000) { xc >>= 128; msb += 128; }
      if (xc >= 0x10000000000000000) { xc >>= 64; msb += 64; }
      if (xc >= 0x100000000) { xc >>= 32; msb += 32; }
      if (xc >= 0x10000) { xc >>= 16; msb += 16; }
      if (xc >= 0x100) { xc >>= 8; msb += 8; }
      if (xc >= 0x10) { xc >>= 4; msb += 4; }
      if (xc >= 0x4) { xc >>= 2; msb += 2; }
      if (xc >= 0x2) msb += 1;  // No need to shift xc anymore

      int256 xe = msb - 127;
      if (xe > 0) x >>= xe;
      else x <<= -xe;

      uint256 result = 0x80000000000000000000000000000000;
      int256 re = 0;

      while (y > 0) {
        if (y & 1 > 0) {
          result = result * x;
          y -= 1;
          re += xe;
          if (result >=
            0x8000000000000000000000000000000000000000000000000000000000000000) {
            result >>= 128;
            re += 1;
          } else result >>= 127;
          if (re < -127) return 0; // Underflow
          require (re < 128); // Overflow
        } else {
          x = x * x;
          y >>= 1;
          xe <<= 1;
          if (x >=
            0x8000000000000000000000000000000000000000000000000000000000000000) {
            x >>= 128;
            xe += 1;
          } else x >>= 127;
          if (xe < -127) return 0; // Underflow
          require (xe < 128); // Overflow
        }
      }

      if (re > 0) result <<= re;
      else if (re < 0) result >>= -re;

      return result;
    }
  }

  /**
   * Calculate sqrt (x) rounding down, where x is unsigned 256-bit integer
   * number.
   *
   * @param x unsigned 256-bit integer number
   * @return unsigned 128-bit integer number
   */
  function sqrtu (uint256 x, uint256 r) private pure returns (uint128) {
    if (x == 0) return 0;
    else {
      require (r > 0);
      while (true) {
        uint256 rr = x / r;
        if (r == rr || r + 1 == rr) return uint128 (r);
        else if (r == rr + 1) return uint128 (rr);
        r = r + rr + 1 >> 1;
      }
    }
  }
}

////// src/interfaces/IAssimilator.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

interface IAssimilator {
    function intakeRaw (uint256 amount) external returns (int128);
    function intakeRawAndGetBalance (uint256 amount) external returns (int128, int128);
    function intakeNumeraire (int128 amount) external returns (uint256);
    function outputRaw (address dst, uint256 amount) external returns (int128);
    function outputRawAndGetBalance (address dst, uint256 amount) external returns (int128, int128);
    function outputNumeraire (address dst, int128 amount) external returns (uint256);
    function viewRawAmount (int128) external view returns (uint256);
    function viewNumeraireAmount (uint256) external view returns (int128);
    function viewNumeraireBalance (address) external view returns (int128);
    function viewNumeraireAmountAndBalance (address, uint256) external view returns (int128, int128);
}
////// src/Assimilators.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

library Assimilators {

    using ABDKMath64x64 for int128;
    IAssimilator constant iAsmltr = IAssimilator(address(0));

    function delegate(address _callee, bytes memory _data) internal returns (bytes memory) {

        (bool _success, bytes memory returnData_) = _callee.delegatecall(_data);

        assembly { if eq(_success, 0) { revert(add(returnData_, 0x20), returndatasize()) } }

        return returnData_;

    }

    function viewRawAmount (address _assim, int128 _amt) internal view returns (uint256 amount_) {

        amount_ = IAssimilator(_assim).viewRawAmount(_amt);

    }

    function viewNumeraireAmount (address _assim, uint256 _amt) internal view returns (int128 amt_) {

        amt_ = IAssimilator(_assim).viewNumeraireAmount(_amt);

    }

    function viewNumeraireAmountAndBalance (address _assim, uint256 _amt) internal view returns (int128 amt_, int128 bal_) {

        ( amt_, bal_ ) = IAssimilator(_assim).viewNumeraireAmountAndBalance(address(this), _amt);

    }

    function viewNumeraireBalance (address _assim) internal view returns (int128 bal_) {

        bal_ = IAssimilator(_assim).viewNumeraireBalance(address(this));

    }

    function intakeRaw (address _assim, uint256 _amt) internal returns (int128 amt_) {

        bytes memory data = abi.encodeWithSelector(iAsmltr.intakeRaw.selector, _amt);

        amt_ = abi.decode(delegate(_assim, data), (int128));

    }

    function intakeRawAndGetBalance (address _assim, uint256 _amt) internal returns (int128 amt_, int128 bal_) {

        bytes memory data = abi.encodeWithSelector(iAsmltr.intakeRawAndGetBalance.selector, _amt);

        ( amt_, bal_ ) = abi.decode(delegate(_assim, data), (int128,int128));

    }

    function intakeNumeraire (address _assim, int128 _amt) internal returns (uint256 amt_) {

        bytes memory data = abi.encodeWithSelector(iAsmltr.intakeNumeraire.selector, _amt);

        amt_ = abi.decode(delegate(_assim, data), (uint256));

    }

    function outputRaw (address _assim, address _dst, uint256 _amt) internal returns (int128 amt_ ) {

        bytes memory data = abi.encodeWithSelector(iAsmltr.outputRaw.selector, _dst, _amt);

        amt_ = abi.decode(delegate(_assim, data), (int128));

        amt_ = amt_.neg();

    }

    function outputRawAndGetBalance (address _assim, address _dst, uint256 _amt) internal returns (int128 amt_, int128 bal_) {

        bytes memory data = abi.encodeWithSelector(iAsmltr.outputRawAndGetBalance.selector, _dst, _amt);

        ( amt_, bal_ ) = abi.decode(delegate(_assim, data), (int128,int128));

        amt_ = amt_.neg();

    }

    function outputNumeraire (address _assim, address _dst, int128 _amt) internal returns (uint256 amt_) {

        bytes memory data = abi.encodeWithSelector(iAsmltr.outputNumeraire.selector, _dst, _amt.abs());

        amt_ = abi.decode(delegate(_assim, data), (uint256));

    }

}

library UnsafeMath64x64 {

  /**
   * Calculate x * y rounding down.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */

  function us_mul (int128 x, int128 y) internal pure returns (int128) {
    int256 result = int256(x) * y >> 64;
    return int128 (result);
  }

  /**
   * Calculate x / y rounding towards zero.  Revert on overflow or when y is
   * zero.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */

  function us_div (int128 x, int128 y) internal pure returns (int128) {
    int256 result = (int256 (x) << 64) / y;
    return int128 (result);
  }

}

library PartitionedLiquidity {

    using ABDKMath64x64 for uint;
    using ABDKMath64x64 for int128;
    using UnsafeMath64x64 for int128;

    event PoolPartitioned(bool);

    event PartitionRedeemed(address indexed token, address indexed redeemer, uint value);

    int128 constant ONE = 0x10000000000000000;

    function partition (
        ComponentStorage.Component storage component,
        mapping (address => ComponentStorage.PartitionTicket) storage partitionTickets
    ) external {

        uint _length = component.assets.length;

        ComponentStorage.PartitionTicket storage totalSupplyTicket = partitionTickets[address(this)];

        totalSupplyTicket.initialized = true;

        for (uint i = 0; i < _length; i++) totalSupplyTicket.claims.push(component.totalSupply);

        emit PoolPartitioned(true);

    }

    function viewPartitionClaims (
        ComponentStorage.Component storage component,
        mapping (address => ComponentStorage.PartitionTicket) storage partitionTickets,
        address _addr
    ) external view returns (
        uint[] memory claims_
    ) {

        ComponentStorage.PartitionTicket storage ticket = partitionTickets[_addr];

        if (ticket.initialized) return ticket.claims;

        uint _length = component.assets.length;
        claims_ = new uint[](_length);
        uint _balance = component.balances[msg.sender];

        for (uint i = 0; i < _length; i++) claims_[i] = _balance;

        return claims_;

    }

    function partitionedWithdraw (
        ComponentStorage.Component storage component,
        mapping (address => ComponentStorage.PartitionTicket) storage partitionTickets,
        address[] calldata _derivatives,
        uint[] calldata _withdrawals
    ) external returns (
        uint[] memory
    ) {

        uint _length = component.assets.length;
        uint _balance = component.balances[msg.sender];

        ComponentStorage.PartitionTicket storage totalSuppliesTicket = partitionTickets[address(this)];
        ComponentStorage.PartitionTicket storage ticket = partitionTickets[msg.sender];

        if (!ticket.initialized) {

            for (uint i = 0; i < _length; i++) ticket.claims.push(_balance);
            ticket.initialized = true;

        }

        _length = _derivatives.length;

        uint[] memory withdrawals_ = new uint[](_length);

        for (uint i = 0; i < _length; i++) {

            ComponentStorage.Assimilator memory _assim = component.assimilators[_derivatives[i]];

            require(totalSuppliesTicket.claims[_assim.ix] >= _withdrawals[i], "Component/burn-exceeds-total-supply");

            require(ticket.claims[_assim.ix] >= _withdrawals[i], "Component/insufficient-balance");

            require(_assim.addr != address(0), "Component/unsupported-asset");

            int128 _reserveBalance = Assimilators.viewNumeraireBalance(_assim.addr);

            int128 _multiplier = _withdrawals[i].divu(1e18)
                .div(totalSuppliesTicket.claims[_assim.ix].divu(1e18));

            totalSuppliesTicket.claims[_assim.ix] = totalSuppliesTicket.claims[_assim.ix] - _withdrawals[i];

            ticket.claims[_assim.ix] = ticket.claims[_assim.ix] - _withdrawals[i];

            uint _withdrawal = Assimilators.outputNumeraire(
                _assim.addr,
                msg.sender,
                _reserveBalance.mul(_multiplier)
            );

            withdrawals_[i] = _withdrawal;

            emit PartitionRedeemed(_derivatives[i], msg.sender, withdrawals_[i]);

        }

        return withdrawals_;

    }

}

library ProportionalLiquidity {

    using ABDKMath64x64 for uint;
    using ABDKMath64x64 for int128;
    using UnsafeMath64x64 for int128;

    event Transfer(address indexed from, address indexed to, uint256 value);

    int128 constant ONE = 0x10000000000000000;
    int128 constant ONE_WEI = 0x12;

    function proportionalDeposit (
        ComponentStorage.Component storage component,
        uint256 _deposit
    ) external returns (
        uint256 components_,
        uint[] memory
    ) {

        int128 __deposit = _deposit.divu(1e18);

        uint _length = component.assets.length;

        uint[] memory deposits_ = new uint[](_length);

        ( int128 _oGLiq, int128[] memory _oBals ) = getGrossLiquidityAndBalances(component);

        if (_oGLiq == 0) {

            for (uint i = 0; i < _length; i++) {

                deposits_[i] = Assimilators.intakeNumeraire(component.assets[i].addr, __deposit.mul(component.weights[i]));

            }

        } else {

            int128 _multiplier = __deposit.div(_oGLiq);

            for (uint i = 0; i < _length; i++) {

                deposits_[i] = Assimilators.intakeNumeraire(component.assets[i].addr, _oBals[i].mul(_multiplier));

            }

        }

        int128 _totalComponents = component.totalSupply.divu(1e18);

        int128 _newComponents = _totalComponents > 0
            ? __deposit.div(_oGLiq).mul(_totalComponents)
            : __deposit;

        requireLiquidityInvariant(
            component,
          _totalComponents,
          _newComponents,
            _oGLiq,
            _oBals
        );

        mint(component, msg.sender, components_ = _newComponents.mulu(1e18));

        return (components_, deposits_);

    }


    function viewProportionalDeposit (
        ComponentStorage.Component storage component,
        uint256 _deposit
    ) external view returns (
        uint components_,
        uint[] memory
    ) {

        int128 __deposit = _deposit.divu(1e18);

        uint _length = component.assets.length;

        ( int128 _oGLiq, int128[] memory _oBals ) = getGrossLiquidityAndBalances(component);

        uint[] memory deposits_ = new uint[](_length);

        if (_oGLiq == 0) {

            for (uint i = 0; i < _length; i++) {

                deposits_[i] = Assimilators.viewRawAmount(
                    component.assets[i].addr,
                    __deposit.mul(component.weights[i])
                );

            }

        } else {

            int128 _multiplier = __deposit.div(_oGLiq);

            for (uint i = 0; i < _length; i++) {

                deposits_[i] = Assimilators.viewRawAmount(
                    component.assets[i].addr,
                    _oBals[i].mul(_multiplier)
                );

            }

        }

        int128 _totalComponents = component.totalSupply.divu(1e18);

        int128 _newComponents = _totalComponents > 0
            ? __deposit.div(_oGLiq).mul(_totalComponents)
            : __deposit;

        components_ = _newComponents.mulu(1e18);

        return (components_, deposits_ );

    }

    function proportionalWithdraw (
        ComponentStorage.Component storage component,
        uint256 _withdrawal
    ) external returns (
        uint[] memory
    ) {

        uint _length = component.assets.length;

        ( int128 _oGLiq, int128[] memory _oBals ) = getGrossLiquidityAndBalances(component);

        uint[] memory withdrawals_ = new uint[](_length);

        int128 _totalComponents = component.totalSupply.divu(1e18);
        int128 __withdrawal = _withdrawal.divu(1e18);

        int128 _multiplier = __withdrawal
            .mul(ONE - component.epsilon)
            .div(_totalComponents);

        for (uint i = 0; i < _length; i++) {

            withdrawals_[i] = Assimilators.outputNumeraire(
                component.assets[i].addr,
                msg.sender,
                _oBals[i].mul(_multiplier)
            );

        }

        requireLiquidityInvariant(
            component,
          _totalComponents,
            __withdrawal.neg(),
            _oGLiq,
            _oBals
        );

        burn(component, msg.sender, _withdrawal);

        return withdrawals_;

    }

    function viewProportionalWithdraw (
        ComponentStorage.Component storage component,
        uint256 _withdrawal
    ) external view returns (
        uint[] memory
    ) {

        uint _length = component.assets.length;

        ( , int128[] memory _oBals ) = getGrossLiquidityAndBalances(component);

        uint[] memory withdrawals_ = new uint[](_length);

        int128 _multiplier = _withdrawal.divu(1e18)
            .mul(ONE - component.epsilon)
            .div(component.totalSupply.divu(1e18));

        for (uint i = 0; i < _length; i++) {

            withdrawals_[i] = Assimilators.viewRawAmount(component.assets[i].addr, _oBals[i].mul(_multiplier));

        }

        return withdrawals_;

    }

    function getGrossLiquidityAndBalances (
        ComponentStorage.Component storage component
    ) internal view returns (
        int128 grossLiquidity_,
        int128[] memory
    ) {

        uint _length = component.assets.length;

        int128[] memory balances_ = new int128[](_length);

        for (uint i = 0; i < _length; i++) {

            int128 _bal = Assimilators.viewNumeraireBalance(component.assets[i].addr);

            balances_[i] = _bal;
            grossLiquidity_ += _bal;

        }

        return (grossLiquidity_, balances_);

    }

    function requireLiquidityInvariant (
        ComponentStorage.Component storage component,
        int128 _components,
        int128 _newComponents,
        int128 _oGLiq,
        int128[] memory _oBals
    ) private view {

        ( int128 _nGLiq, int128[] memory _nBals ) = getGrossLiquidityAndBalances(component);

        int128 _beta = component.beta;
        int128 _delta = component.delta;
        int128[] memory _weights = component.weights;

        int128 _omega = ComponentMath.calculateFee(_oGLiq, _oBals, _beta, _delta, _weights);

        int128 _psi = ComponentMath.calculateFee(_nGLiq, _nBals, _beta, _delta, _weights);

        ComponentMath.enforceLiquidityInvariant(_components, _newComponents, _oGLiq, _nGLiq, _omega, _psi);

    }

    function burn (ComponentStorage.Component storage component, address account, uint256 amount) private {

        component.balances[account] = burn_sub(component.balances[account], amount);

        component.totalSupply = burn_sub(component.totalSupply, amount);

        emit Transfer(msg.sender, address(0), amount);

    }

    function mint (ComponentStorage.Component storage component, address account, uint256 amount) private {

        component.totalSupply = mint_add(component.totalSupply, amount);

        component.balances[account] = mint_add(component.balances[account], amount);

        emit Transfer(address(0), msg.sender, amount);

    }

    function mint_add(uint x, uint y) private pure returns (uint z) {

        require((z = x + y) >= x, "Component/mint-overflow");

    }

    function burn_sub(uint x, uint y) private pure returns (uint z) {

        require((z = x - y) <= x, "Component/burn-underflow");

    }


}

library SelectiveLiquidity {

    using ABDKMath64x64 for int128;
    using UnsafeMath64x64 for int128;

    event Transfer(address indexed from, address indexed to, uint256 value);

    int128 constant ONE = 0x10000000000000000;

    function selectiveDeposit (
        ComponentStorage.Component storage component,
        address[] calldata _derivatives,
        uint[] calldata _amounts,
        uint _minComponents
    ) external returns (
        uint components_
    ) {

        (   int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _oBals,
            int128[] memory _nBals ) = getLiquidityDepositData(component, _derivatives, _amounts);

        int128 _components = ComponentMath.calculateLiquidityMembrane(component, _oGLiq, _nGLiq, _oBals, _nBals);

        components_ = _components.mulu(1e18);

        require(_minComponents < components_, "Component/under-minimum-components");

        mint(component, msg.sender, components_);

    }

    function viewSelectiveDeposit (
        ComponentStorage.Component storage component,
        address[] calldata _derivatives,
        uint[] calldata _amounts
    ) external view returns (
        uint components_
    ) {

        (   int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _oBals,
            int128[] memory _nBals ) = viewLiquidityDepositData(component, _derivatives, _amounts);

        int128 _components = ComponentMath.calculateLiquidityMembrane(component, _oGLiq, _nGLiq, _oBals, _nBals);

        components_ = _components.mulu(1e18);

    }

    function selectiveWithdraw (
        ComponentStorage.Component storage component,
        address[] calldata _derivatives,
        uint[] calldata _amounts,
        uint _maxComponents
    ) external returns (
        uint256 components_
    ) {

        (   int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _oBals,
            int128[] memory _nBals ) = getLiquidityWithdrawData(component, _derivatives, msg.sender, _amounts);

        int128 _components = ComponentMath.calculateLiquidityMembrane(component, _oGLiq, _nGLiq, _oBals, _nBals);

        _components = _components.neg().us_mul(ONE + component.epsilon);

        components_ = _components.mulu(1e18);

        require(components_ < _maxComponents, "Component/above-maximum-components");

        burn(component, msg.sender, components_);

    }

    function viewSelectiveWithdraw (
        ComponentStorage.Component storage component,
        address[] calldata _derivatives,
        uint[] calldata _amounts
    ) external view returns (
        uint components_
    ) {

        (   int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _oBals,
            int128[] memory _nBals ) = viewLiquidityWithdrawData(component, _derivatives, _amounts);

        int128 _components = ComponentMath.calculateLiquidityMembrane(component, _oGLiq, _nGLiq, _oBals, _nBals);

        _components = _components.neg().us_mul(ONE + component.epsilon);

        components_ = _components.mulu(1e18);

    }

    function getLiquidityDepositData (
        ComponentStorage.Component storage component,
        address[] memory _derivatives,
        uint[] memory _amounts
    ) private returns (
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.weights.length;
        int128[] memory oBals_ = new int128[](_length);
        int128[] memory nBals_ = new int128[](_length);

        for (uint i = 0; i < _derivatives.length; i++) {

            ComponentStorage.Assimilator memory _assim = component.assimilators[_derivatives[i]];

            require(_assim.addr != address(0), "Component/unsupported-derivative");

            if ( nBals_[_assim.ix] == 0 && 0 == oBals_[_assim.ix]) {

                ( int128 _amount, int128 _balance ) = Assimilators.intakeRawAndGetBalance(_assim.addr, _amounts[i]);

                nBals_[_assim.ix] = _balance;

                oBals_[_assim.ix] = _balance.sub(_amount);

            } else {

                int128 _amount = Assimilators.intakeRaw(_assim.addr, _amounts[i]);

                nBals_[_assim.ix] = nBals_[_assim.ix].add(_amount);

            }

        }

        return completeLiquidityData(component, oBals_, nBals_);

    }

    function getLiquidityWithdrawData (
        ComponentStorage.Component storage component,
        address[] memory _derivatives,
        address _rcpnt,
        uint[] memory _amounts
    ) private returns (
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.weights.length;
        int128[] memory oBals_ = new int128[](_length);
        int128[] memory nBals_ = new int128[](_length);

        for (uint i = 0; i < _derivatives.length; i++) {

            ComponentStorage.Assimilator memory _assim = component.assimilators[_derivatives[i]];

            require(_assim.addr != address(0), "Component/unsupported-derivative");

            if ( nBals_[_assim.ix] == 0 && 0 == oBals_[_assim.ix]) {

                ( int128 _amount, int128 _balance ) = Assimilators.outputRawAndGetBalance(_assim.addr, _rcpnt, _amounts[i]);

                nBals_[_assim.ix] = _balance;
                oBals_[_assim.ix] = _balance.sub(_amount);

            } else {

                int128 _amount = Assimilators.outputRaw(_assim.addr, _rcpnt, _amounts[i]);

                nBals_[_assim.ix] = nBals_[_assim.ix].add(_amount);

            }

        }

        return completeLiquidityData(component, oBals_, nBals_);

    }

    function viewLiquidityDepositData (
        ComponentStorage.Component storage component,
        address[] memory _derivatives,
        uint[] memory _amounts
    ) private view returns (
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.assets.length;
        int128[] memory oBals_ = new int128[](_length);
        int128[] memory nBals_ = new int128[](_length);

        for (uint i = 0; i < _derivatives.length; i++) {

            ComponentStorage.Assimilator memory _assim = component.assimilators[_derivatives[i]];

            require(_assim.addr != address(0), "Component/unsupported-derivative");

            if ( nBals_[_assim.ix] == 0 && 0 == oBals_[_assim.ix]) {

                ( int128 _amount, int128 _balance ) = Assimilators.viewNumeraireAmountAndBalance(_assim.addr, _amounts[i]);

                nBals_[_assim.ix] = _balance.add(_amount);

                oBals_[_assim.ix] = _balance;

            } else {

                int128 _amount = Assimilators.viewNumeraireAmount(_assim.addr, _amounts[i]);

                nBals_[_assim.ix] = nBals_[_assim.ix].add(_amount);

            }

        }

        return completeLiquidityData(component, oBals_, nBals_);

    }

    function viewLiquidityWithdrawData (
        ComponentStorage.Component storage component,
        address[] memory _derivatives,
        uint[] memory _amounts
    ) private view returns (
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.assets.length;
        int128[] memory oBals_ = new int128[](_length);
        int128[] memory nBals_ = new int128[](_length);

        for (uint i = 0; i < _derivatives.length; i++) {

            ComponentStorage.Assimilator memory _assim = component.assimilators[_derivatives[i]];

            require(_assim.addr != address(0), "Component/unsupported-derivative");

            if ( nBals_[_assim.ix] == 0 && 0 == oBals_[_assim.ix]) {

                ( int128 _amount, int128 _balance ) = Assimilators.viewNumeraireAmountAndBalance(_assim.addr, _amounts[i]);

                nBals_[_assim.ix] = _balance.sub(_amount);

                oBals_[_assim.ix] = _balance;

            } else {

                int128 _amount = Assimilators.viewNumeraireAmount(_assim.addr, _amounts[i]);

                nBals_[_assim.ix] = nBals_[_assim.ix].sub(_amount);

            }

        }

        return completeLiquidityData(component, oBals_, nBals_);

    }

    function completeLiquidityData (
        ComponentStorage.Component storage component,
        int128[] memory oBals_,
        int128[] memory nBals_
    ) private view returns (
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = oBals_.length;

        for (uint i = 0; i < _length; i++) {

            if (oBals_[i] == 0 && 0 == nBals_[i]) {

                nBals_[i] = oBals_[i] = Assimilators.viewNumeraireBalance(component.assets[i].addr);

            }

            oGLiq_ += oBals_[i];
            nGLiq_ += nBals_[i];

        }

        return ( oGLiq_, nGLiq_, oBals_, nBals_ );

    }

    function burn (ComponentStorage.Component storage component, address account, uint256 amount) private {

        component.balances[account] = burn_sub(component.balances[account], amount);

        component.totalSupply = burn_sub(component.totalSupply, amount);

        emit Transfer(msg.sender, address(0), amount);

    }

    function mint (ComponentStorage.Component storage component, address account, uint256 amount) private {

        component.totalSupply = mint_add(component.totalSupply, amount);

        component.balances[account] = mint_add(component.balances[account], amount);

        emit Transfer(address(0), msg.sender, amount);

    }

    function mint_add(uint x, uint y) private pure returns (uint z) {
        require((z = x + y) >= x, "Component/mint-overflow");
    }

    function burn_sub(uint x, uint y) private pure returns (uint z) {
        require((z = x - y) <= x, "Component/burn-underflow");
    }

}

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

library Components {

    using ABDKMath64x64 for int128;

    event Approval(address indexed _owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);

    function add(uint x, uint y, string memory errorMessage) private pure returns (uint z) {
        require((z = x + y) >= x, errorMessage);
    }

    function sub(uint x, uint y, string memory errorMessage) private pure returns (uint z) {
        require((z = x - y) <= x, errorMessage);
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(ComponentStorage.Component storage component, address recipient, uint256 amount) external returns (bool) {
        _transfer(component, msg.sender, recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(ComponentStorage.Component storage component, address spender, uint256 amount) external returns (bool) {
        _approve(component, msg.sender, 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(ComponentStorage.Component storage component, address sender, address recipient, uint256 amount) external returns (bool) {
        _transfer(component, sender, recipient, amount);
        _approve(component, sender, msg.sender, sub(component.allowances[sender][msg.sender], amount, "Component/insufficient-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(ComponentStorage.Component storage component, address spender, uint256 addedValue) external returns (bool) {
        _approve(component, msg.sender, spender, add(component.allowances[msg.sender][spender], addedValue, "Component/approval-overflow"));
        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(ComponentStorage.Component storage component, address spender, uint256 subtractedValue) external returns (bool) {
        _approve(component, msg.sender, spender, sub(component.allowances[msg.sender][spender], subtractedValue, "Component/allowance-decrease-underflow"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is public 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(ComponentStorage.Component storage component, address sender, address recipient, uint256 amount) private {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        component.balances[sender] = sub(component.balances[sender], amount, "Component/insufficient-balance");
        component.balances[recipient] = add(component.balances[recipient], amount, "Component/transfer-overflow");
        emit Transfer(sender, recipient, amount);
    }


    /**
     * @dev Sets `amount` as the allowance of `spender` over the `_owner`s tokens.
     *
     * This is public 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(ComponentStorage.Component storage component, address _owner, address spender, uint256 amount) private {
        require(_owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        component.allowances[_owner][spender] = amount;
        emit Approval(_owner, spender, amount);
    }

}

library Swaps {

    using ABDKMath64x64 for int128;
    using UnsafeMath64x64 for int128;

    event Trade(address indexed trader, address indexed origin, address indexed target, uint256 originAmount, uint256 targetAmount);

    int128 constant ONE = 0x10000000000000000;

    function getOriginAndTarget (
        ComponentStorage.Component storage component,
        address _o,
        address _t
    ) private view returns (
        ComponentStorage.Assimilator memory,
        ComponentStorage.Assimilator memory
    ) {

        ComponentStorage.Assimilator memory o_ = component.assimilators[_o];
        ComponentStorage.Assimilator memory t_ = component.assimilators[_t];

        require(o_.addr != address(0), "Component/origin-not-supported");
        require(t_.addr != address(0), "Component/target-not-supported");

        return ( o_, t_ );

    }


    function originSwap (
        ComponentStorage.Component storage component,
        address _origin,
        address _target,
        uint256 _originAmount,
        address _recipient
    ) external returns (
        uint256 tAmt_
    ) {

        (   ComponentStorage.Assimilator memory _o,
            ComponentStorage.Assimilator memory _t  ) = getOriginAndTarget(component, _origin, _target);

        if (_o.ix == _t.ix) return Assimilators.outputNumeraire(_t.addr, _recipient, Assimilators.intakeRaw(_o.addr, _originAmount));

        (   int128 _amt,
            int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _oBals,
            int128[] memory _nBals ) = getOriginSwapData(component, _o.ix, _t.ix, _o.addr, _originAmount);

        _amt = ComponentMath.calculateTrade(component, _oGLiq, _nGLiq, _oBals, _nBals, _amt, _t.ix);

        settleProtocolShare(component, _t.addr, _amt);

        _amt = _amt.us_mul(ONE - component.epsilon);

        tAmt_ = Assimilators.outputNumeraire(_t.addr, _recipient, _amt);

        emit Trade(msg.sender, _origin, _target, _originAmount, tAmt_);

    }

    function viewOriginSwap (
        ComponentStorage.Component storage component,
        address _origin,
        address _target,
        uint256 _originAmount
    ) external view returns (
        uint256 tAmt_
    ) {

        (   ComponentStorage.Assimilator memory _o,
            ComponentStorage.Assimilator memory _t  ) = getOriginAndTarget(component, _origin, _target);

        if (_o.ix == _t.ix) return Assimilators.viewRawAmount(_t.addr, Assimilators.viewNumeraireAmount(_o.addr, _originAmount));

        (   int128 _amt,
            int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _nBals,
            int128[] memory _oBals ) = viewOriginSwapData(component, _o.ix, _t.ix, _originAmount, _o.addr);

        _amt = ComponentMath.calculateTrade(component, _oGLiq, _nGLiq, _oBals, _nBals, _amt, _t.ix);

        _amt = _amt.us_mul(ONE - component.epsilon);

        tAmt_ = Assimilators.viewRawAmount(_t.addr, _amt.abs());

    }

    function targetSwap (
        ComponentStorage.Component storage component,
        address _origin,
        address _target,
        uint256 _targetAmount,
        address _recipient
    ) external returns (
        uint256 oAmt_
    ) {

        (   ComponentStorage.Assimilator memory _o,
            ComponentStorage.Assimilator memory _t  ) = getOriginAndTarget(component, _origin, _target);

        if (_o.ix == _t.ix) return Assimilators.intakeNumeraire(_o.addr, Assimilators.outputRaw(_t.addr, _recipient, _targetAmount));

        (   int128 _amt,
            int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _oBals,
            int128[] memory _nBals) = getTargetSwapData(component, _t.ix, _o.ix, _t.addr, _recipient, _targetAmount);

        _amt = ComponentMath.calculateTrade(component, _oGLiq, _nGLiq, _oBals, _nBals, _amt, _o.ix);

        int128 _amtWFee = _amt.us_mul(ONE + component.epsilon);

        oAmt_ = Assimilators.intakeNumeraire(_o.addr, _amtWFee);

        settleProtocolShare(component, _o.addr, _amt);

        emit Trade(msg.sender, _origin, _target, oAmt_, _targetAmount);

    }

    function viewTargetSwap (
        ComponentStorage.Component storage component,
        address _origin,
        address _target,
        uint256 _targetAmount
    ) external view returns (
        uint256 oAmt_
    ) {

        (   ComponentStorage.Assimilator memory _o,
            ComponentStorage.Assimilator memory _t  ) = getOriginAndTarget(component, _origin, _target);

        if (_o.ix == _t.ix) return Assimilators.viewRawAmount(_o.addr, Assimilators.viewNumeraireAmount(_t.addr, _targetAmount));

        (   int128 _amt,
            int128 _oGLiq,
            int128 _nGLiq,
            int128[] memory _nBals,
            int128[] memory _oBals ) = viewTargetSwapData(component, _t.ix, _o.ix, _targetAmount, _t.addr);

        _amt = ComponentMath.calculateTrade(component, _oGLiq, _nGLiq, _oBals, _nBals, _amt, _o.ix);

        _amt = _amt.us_mul(ONE + component.epsilon);

        oAmt_ = Assimilators.viewRawAmount(_o.addr, _amt);

    }

    function getOriginSwapData (
        ComponentStorage.Component storage component,
        uint _inputIx,
        uint _outputIx,
        address _assim,
        uint _amt
    ) private returns (
        int128 amt_,
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.assets.length;

        int128[] memory oBals_ = new int128[](_length);
        int128[] memory nBals_ = new int128[](_length);
        ComponentStorage.Assimilator[] memory _reserves = component.assets;

        for (uint i = 0; i < _length; i++) {

            if (i != _inputIx) nBals_[i] = oBals_[i] = Assimilators.viewNumeraireBalance(_reserves[i].addr);
            else {

                int128 _bal;
                ( amt_, _bal ) = Assimilators.intakeRawAndGetBalance(_assim, _amt);

                oBals_[i] = _bal.sub(amt_);
                nBals_[i] = _bal;

            }

            oGLiq_ += oBals_[i];
            nGLiq_ += nBals_[i];

        }

        nGLiq_ = nGLiq_.sub(amt_);
        nBals_[_outputIx] = ABDKMath64x64.sub(nBals_[_outputIx], amt_);

        return ( amt_, oGLiq_, nGLiq_, oBals_, nBals_ );

    }

    function getTargetSwapData (
        ComponentStorage.Component storage component,
        uint _inputIx,
        uint _outputIx,
        address _assim,
        address _recipient,
        uint _amt
    ) private returns (
        int128 amt_,
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.assets.length;

        int128[] memory oBals_ = new int128[](_length);
        int128[] memory nBals_ = new int128[](_length);
        ComponentStorage.Assimilator[] memory _reserves = component.assets;

        for (uint i = 0; i < _length; i++) {

            if (i != _inputIx) nBals_[i] = oBals_[i] = Assimilators.viewNumeraireBalance(_reserves[i].addr);
            else {

                int128 _bal;
                ( amt_, _bal ) = Assimilators.outputRawAndGetBalance(_assim, _recipient, _amt);

                oBals_[i] = _bal.sub(amt_);
                nBals_[i] = _bal;

            }

            oGLiq_ += oBals_[i];
            nGLiq_ += nBals_[i];

        }

        nGLiq_ = nGLiq_.sub(amt_);
        nBals_[_outputIx] = ABDKMath64x64.sub(nBals_[_outputIx], amt_);

        return ( amt_, oGLiq_, nGLiq_, oBals_, nBals_ );

    }

    function viewOriginSwapData (
        ComponentStorage.Component storage component,
        uint _inputIx,
        uint _outputIx,
        uint _amt,
        address _assim
    ) private view returns (
        int128 amt_,
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.assets.length;
        int128[] memory nBals_ = new int128[](_length);
        int128[] memory oBals_ = new int128[](_length);

        for (uint i = 0; i < _length; i++) {

            if (i != _inputIx) nBals_[i] = oBals_[i] = Assimilators.viewNumeraireBalance(component.assets[i].addr);
            else {

                int128 _bal;
                ( amt_, _bal ) = Assimilators.viewNumeraireAmountAndBalance(_assim, _amt);

                oBals_[i] = _bal;
                nBals_[i] = _bal.add(amt_);

            }

            oGLiq_ += oBals_[i];
            nGLiq_ += nBals_[i];

        }

        nGLiq_ = nGLiq_.sub(amt_);
        nBals_[_outputIx] = ABDKMath64x64.sub(nBals_[_outputIx], amt_);

        return ( amt_, oGLiq_, nGLiq_, nBals_, oBals_ );

    }

    function viewTargetSwapData (
        ComponentStorage.Component storage component,
        uint _inputIx,
        uint _outputIx,
        uint _amt,
        address _assim
    ) private view returns (
        int128 amt_,
        int128 oGLiq_,
        int128 nGLiq_,
        int128[] memory,
        int128[] memory
    ) {

        uint _length = component.assets.length;
        int128[] memory nBals_ = new int128[](_length);
        int128[] memory oBals_ = new int128[](_length);

        for (uint i = 0; i < _length; i++) {

            if (i != _inputIx) nBals_[i] = oBals_[i] = Assimilators.viewNumeraireBalance(component.assets[i].addr);
            else {

                int128 _bal;
                ( amt_, _bal ) = Assimilators.viewNumeraireAmountAndBalance(_assim, _amt);
                amt_ = amt_.neg();

                oBals_[i] = _bal;
                nBals_[i] = _bal.add(amt_);

            }

            oGLiq_ += oBals_[i];
            nGLiq_ += nBals_[i];

        }

        nGLiq_ = nGLiq_.sub(amt_);
        nBals_[_outputIx] = ABDKMath64x64.sub(nBals_[_outputIx], amt_);


        return ( amt_, oGLiq_, nGLiq_, nBals_, oBals_ );

    }

  function settleProtocolShare(
    ComponentStorage.Component storage component,
    address _assim,
    int128 _amt
  ) internal {

    int128 _prtclShr = _amt.us_mul(component.epsilon.us_mul(component.sigma));

    if (_prtclShr.abs() > 0) {

      Assimilators.outputNumeraire(_assim, component.protocol, _prtclShr);

    }

  }

}

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

library ViewLiquidity {

    using ABDKMath64x64 for int128;

    function viewLiquidity (
        ComponentStorage.Component storage component
    ) external view returns (
        uint total_,
        uint[] memory individual_
    ) {

        uint _length = component.assets.length;

        individual_ = new uint[](_length);

        for (uint i = 0; i < _length; i++) {

            uint _liquidity = Assimilators.viewNumeraireBalance(component.assets[i].addr).mulu(1e18);

            total_ += _liquidity;
            individual_[i] = _liquidity;

        }

    }

}

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

contract ComponentStorage {

    address public owner;

    string  public constant name = "Component LP Token";
    string  public constant symbol = "CMP-LP";
    uint8   public constant decimals = 18;

    Component public component;

    struct Component {
        int128 alpha;
        int128 beta;
        int128 delta;
        int128 epsilon;
        int128 lambda;
        int128 sigma;
        int128[] weights;
        uint totalSupply;
        address protocol;
        Assimilator[] assets;
        mapping (address => Assimilator) assimilators;
        mapping (address => uint) balances;
        mapping (address => mapping (address => uint)) allowances;
    }

    struct Assimilator {
        address addr;
        uint8 ix;
    }

    mapping (address => PartitionTicket) public partitionTickets;

    struct PartitionTicket {
        uint[] claims;
        bool initialized;
    }

    address[] public derivatives;
    address[] public numeraires;
    address[] public reserves;

    bool public partitioned = false;

    bool public frozen = false;

    bool internal notEntered = true;

}

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

library ComponentMath {

    int128 constant ONE = 0x10000000000000000;
    int128 constant MAX = 0x4000000000000000; // .25 in layman's terms
    int128 constant MAX_DIFF = -0x10C6F7A0B5EE;
    int128 constant ONE_WEI = 0x12;

    using ABDKMath64x64 for int128;
    using UnsafeMath64x64 for int128;
    using ABDKMath64x64 for uint256;

    function calculateFee (
        int128 _gLiq,
        int128[] memory _bals,
        int128 _beta,
        int128 _delta,
        int128[] memory _weights
    ) internal pure returns (int128 psi_) {

        uint _length = _bals.length;

        for (uint i = 0; i < _length; i++) {

            int128 _ideal = _gLiq.us_mul(_weights[i]);

            psi_ += calculateMicroFee(_bals[i], _ideal, _beta, _delta);

        }

    }

    function calculateMicroFee (
        int128 _bal,
        int128 _ideal,
        int128 _beta,
        int128 _delta
    ) private pure returns (int128 fee_) {

        if (_bal < _ideal) {

            int128 _threshold = _ideal.us_mul(ONE - _beta);

            if (_bal < _threshold) {

                int128 _feeMargin = _threshold - _bal;

                fee_ = _feeMargin.us_div(_ideal);
                fee_ = fee_.us_mul(_delta);

                if (fee_ > MAX) fee_ = MAX;

                fee_ = fee_.us_mul(_feeMargin);

            } else fee_ = 0;

        } else {

            int128 _threshold = _ideal.us_mul(ONE + _beta);

            if (_bal > _threshold) {

                int128 _feeMargin = _bal - _threshold;

                fee_ = _feeMargin.us_div(_ideal);
                fee_ = fee_.us_mul(_delta);

                if (fee_ > MAX) fee_ = MAX;

                fee_ = fee_.us_mul(_feeMargin);

            } else fee_ = 0;

        }

    }

    function calculateTrade (
        ComponentStorage.Component storage component,
        int128 _oGLiq,
        int128 _nGLiq,
        int128[] memory _oBals,
        int128[] memory _nBals,
        int128 _inputAmt,
        uint _outputIndex
    ) internal view returns (int128 outputAmt_) {

        outputAmt_ = - _inputAmt;

        int128 _lambda = component.lambda;
        int128 _beta = component.beta;
        int128 _delta = component.delta;
        int128[] memory _weights = component.weights;

        int128 _omega = calculateFee(_oGLiq, _oBals, _beta, _delta, _weights);
        int128 _psi;

        for (uint i = 0; i < 32; i++) {

            _psi = calculateFee(_nGLiq, _nBals, _beta, _delta, _weights);

            if (( outputAmt_ = _omega < _psi
                    ? - ( _inputAmt + _omega - _psi )
                    : - ( _inputAmt + _lambda.us_mul(_omega - _psi) )
                ) / 1e13 == outputAmt_ / 1e13 ) {

                _nGLiq = _oGLiq + _inputAmt + outputAmt_;

                _nBals[_outputIndex] = _oBals[_outputIndex] + outputAmt_;

                enforceHalts(component, _oGLiq, _nGLiq, _oBals, _nBals, _weights);

                enforceSwapInvariant(_oGLiq, _omega, _nGLiq, _psi);

                return outputAmt_;

            } else {

                _nGLiq = _oGLiq + _inputAmt + outputAmt_;

                _nBals[_outputIndex] = _oBals[_outputIndex].add(outputAmt_);

            }

        }

        revert("Component/swap-convergence-failed");

    }

    function enforceSwapInvariant (
        int128 _oGLiq,
        int128 _omega,
        int128 _nGLiq,
        int128 _psi
    ) private pure {

        int128 _nextUtil = _nGLiq - _psi;

        int128 _prevUtil = _oGLiq - _omega;

        int128 _diff = _nextUtil - _prevUtil;

        require(0 < _diff || _diff >= MAX_DIFF, "Component/swap-invariant-violation");

    }

    function calculateLiquidityMembrane (
        ComponentStorage.Component storage component,
        int128 _oGLiq,
        int128 _nGLiq,
        int128[] memory _oBals,
        int128[] memory _nBals
    ) internal view returns (int128 components_) {

        enforceHalts(component, _oGLiq, _nGLiq, _oBals, _nBals, component.weights);

        int128 _omega;
        int128 _psi;

        {

            int128 _beta = component.beta;
            int128 _delta = component.delta;
            int128[] memory _weights = component.weights;

            _omega = calculateFee(_oGLiq, _oBals, _beta, _delta, _weights);
            _psi = calculateFee(_nGLiq, _nBals, _beta, _delta, _weights);

        }

        int128 _feeDiff = _psi.sub(_omega);
        int128 _liqDiff = _nGLiq.sub(_oGLiq);
        int128 _oUtil = _oGLiq.sub(_omega);
        int128 _totalComponents = component.totalSupply.divu(1e18);
        int128 _componentMultiplier;

        if (_totalComponents == 0) {

            components_ = _nGLiq.sub(_psi);

        } else if (_feeDiff >= 0) {

            _componentMultiplier = _liqDiff.sub(_feeDiff).div(_oUtil);

        } else {

            _componentMultiplier = _liqDiff.sub(component.lambda.mul(_feeDiff));

            _componentMultiplier = _componentMultiplier.div(_oUtil);

        }

        if (_totalComponents != 0) {

            components_ = _totalComponents.us_mul(_componentMultiplier);

            enforceLiquidityInvariant(_totalComponents, components_, _oGLiq, _nGLiq, _omega, _psi);

        }

    }

    function enforceLiquidityInvariant (
        int128 _totalComponents,
        int128 _newComponents,
        int128 _oGLiq,
        int128 _nGLiq,
        int128 _omega,
        int128 _psi
    ) internal pure {

        if (_totalComponents == 0 || 0 == _totalComponents + _newComponents) return;

        int128 _prevUtilPerComponent = _oGLiq
            .sub(_omega)
            .div(_totalComponents);

        int128 _nextUtilPerComponent = _nGLiq
            .sub(_psi)
            .div(_totalComponents.add(_newComponents));

        int128 _diff = _nextUtilPerComponent - _prevUtilPerComponent;

        require(0 < _diff || _diff >= MAX_DIFF, "Component/liquidity-invariant-violation");

    }

    function enforceHalts (
        ComponentStorage.Component storage component,
        int128 _oGLiq,
        int128 _nGLiq,
        int128[] memory _oBals,
        int128[] memory _nBals,
        int128[] memory _weights
    ) private view {

        uint256 _length = _nBals.length;
        int128 _alpha = component.alpha;

        for (uint i = 0; i < _length; i++) {

            int128 _nIdeal = _nGLiq.us_mul(_weights[i]);

            if (_nBals[i] > _nIdeal) {

                int128 _upperAlpha = ONE + _alpha;

                int128 _nHalt = _nIdeal.us_mul(_upperAlpha);

                if (_nBals[i] > _nHalt){

                    int128 _oHalt = _oGLiq.us_mul(_weights[i]).us_mul(_upperAlpha);

                    if (_oBals[i] < _oHalt) revert("Component/upper-halt");
                    if (_nBals[i] - _nHalt > _oBals[i] - _oHalt) revert("Component/upper-halt");

                }

            } else {

                int128 _lowerAlpha = ONE - _alpha;

                int128 _nHalt = _nIdeal.us_mul(_lowerAlpha);

                if (_nBals[i] < _nHalt){

                    int128 _oHalt = _oGLiq.us_mul(_weights[i]).us_mul(_lowerAlpha);

                    if (_oBals[i] > _oHalt) revert("Component/lower-halt");
                    if (_nHalt - _nBals[i] > _oHalt - _oBals[i]) revert("Component/lower-halt");

                }
            }
        }
    }
}
////// src/Orchestrator.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

library Orchestrator {

    using ABDKMath64x64 for int128;
    using ABDKMath64x64 for uint256;

    int128 constant ONE_WEI = 0x12;

    event ParametersSet(uint256 alpha, uint256 beta, uint256 delta, uint256 epsilon, uint256 lambda);

    event AssetIncluded(address indexed numeraire, address indexed reserve, uint weight);

    event AssimilatorIncluded(address indexed derivative, address indexed numeraire, address indexed reserve, address assimilator);

    function setParams (
        ComponentStorage.Component storage component,
        uint256 _alpha,
        uint256 _beta,
        uint256 _feeAtHalt,
        uint256 _epsilon,
        uint256 _lambda,
        uint256 _sigma,
        address _protocol
    ) external {

        require(0 < _alpha && _alpha < 1e18, "Component/parameter-invalid-alpha");

        require(0 <= _beta && _beta < _alpha, "Component/parameter-invalid-beta");

        require(_feeAtHalt <= .5e18, "Component/parameter-invalid-max");

        require(0 <= _epsilon && _epsilon <= .02e18, "Component/parameter-invalid-epsilon");

        require(0 <= _lambda && _lambda <= 1e18, "Component/parameter-invalid-lambda");

        require(0 <= _sigma && _sigma <= .5e18, "Component/parameter-invalid-sigma");

        require(_protocol != address(0), "Component/parameter-invalid-protocol");

        int128 _omega = getFee(component);

        component.alpha = (_alpha + 1).divu(1e18);

        component.beta = (_beta + 1).divu(1e18);

        component.delta = ( _feeAtHalt ).divu(1e18).div(uint(2).fromUInt().mul(component.alpha.sub(component.beta))) + ONE_WEI;

        component.epsilon = (_epsilon + 1).divu(1e18);

        component.lambda = (_lambda + 1).divu(1e18);

        component.sigma = (_sigma + 1).divu(1e18);

        component.protocol = _protocol;

        int128 _psi = getFee(component);

        require(_omega >= _psi, "Component/parameters-increase-fee");

        emit ParametersSet(_alpha, _beta, component.delta.mulu(1e18), _epsilon, _lambda);

    }

    function getFee (
        ComponentStorage.Component storage component
    ) private view returns (
        int128 fee_
    ) {

        int128 _gLiq;

        int128[] memory _bals = new int128[](component.assets.length);

        for (uint i = 0; i < _bals.length; i++) {

            int128 _bal = Assimilators.viewNumeraireBalance(component.assets[i].addr);

            _bals[i] = _bal;

            _gLiq += _bal;

        }

        fee_ = ComponentMath.calculateFee(_gLiq, _bals, component.beta, component.delta, component.weights);

    }


    function initialize (
        ComponentStorage.Component storage component,
        address[] storage numeraires,
        address[] storage reserves,
        address[] storage derivatives,
        address[] calldata _assets,
        uint[] calldata _assetWeights,
        address[] calldata _derivativeAssimilators
    ) external {

        for (uint i = 0; i < _assetWeights.length; i++) {

            uint ix = i*5;

            numeraires.push(_assets[ix]);
            derivatives.push(_assets[ix]);

            reserves.push(_assets[2+ix]);
            if (_assets[ix] != _assets[2+ix]) derivatives.push(_assets[2+ix]);

            includeAsset(
                component,
                _assets[ix],   // numeraire
                _assets[1+ix], // numeraire assimilator
                _assets[2+ix], // reserve
                _assets[3+ix], // reserve assimilator
                _assets[4+ix], // reserve approve to
                _assetWeights[i]
            );

        }

        for (uint i = 0; i < _derivativeAssimilators.length / 5; i++) {

            uint ix = i * 5;

            derivatives.push(_derivativeAssimilators[ix]);

            includeAssimilator(
                component,
                _derivativeAssimilators[ix],   // derivative
                _derivativeAssimilators[1+ix], // numeraire
                _derivativeAssimilators[2+ix], // reserve
                _derivativeAssimilators[3+ix], // assimilator
                _derivativeAssimilators[4+ix]  // derivative approve to
            );

        }

    }

    function includeAsset (
        ComponentStorage.Component storage component,
        address _numeraire,
        address _numeraireAssim,
        address _reserve,
        address _reserveAssim,
        address _reserveApproveTo,
        uint256 _weight
    ) private {

        require(_numeraire != address(0), "Component/numeraire-cannot-be-zeroth-adress");

        require(_numeraireAssim != address(0), "Component/numeraire-assimilator-cannot-be-zeroth-adress");

        require(_reserve != address(0), "Component/reserve-cannot-be-zeroth-adress");

        require(_reserveAssim != address(0), "Component/reserve-assimilator-cannot-be-zeroth-adress");

        require(_weight < 1e18, "Component/weight-must-be-less-than-one");

        if (_numeraire != _reserve) safeApprove(_numeraire, _reserveApproveTo, uint(-1));

        ComponentStorage.Assimilator storage _numeraireAssimilator = component.assimilators[_numeraire];

        _numeraireAssimilator.addr = _numeraireAssim;

        _numeraireAssimilator.ix = uint8(component.assets.length);

        ComponentStorage.Assimilator storage _reserveAssimilator = component.assimilators[_reserve];

        _reserveAssimilator.addr = _reserveAssim;

        _reserveAssimilator.ix = uint8(component.assets.length);

        int128 __weight = _weight.divu(1e18).add(uint256(1).divu(1e18));

        component.weights.push(__weight);

        component.assets.push(_numeraireAssimilator);

        emit AssetIncluded(_numeraire, _reserve, _weight);

        emit AssimilatorIncluded(_numeraire, _numeraire, _reserve, _numeraireAssim);

        if (_numeraireAssim != _reserveAssim) {

            emit AssimilatorIncluded(_reserve, _numeraire, _reserve, _reserveAssim);

        }

    }

    function includeAssimilator (
        ComponentStorage.Component storage component,
        address _derivative,
        address _numeraire,
        address _reserve,
        address _assimilator,
        address _derivativeApproveTo
    ) private {

        require(_derivative != address(0), "Component/derivative-cannot-be-zeroth-address");

        require(_numeraire != address(0), "Component/numeraire-cannot-be-zeroth-address");

        require(_reserve != address(0), "Component/numeraire-cannot-be-zeroth-address");

        require(_assimilator != address(0), "Component/assimilator-cannot-be-zeroth-address");

        safeApprove(_numeraire, _derivativeApproveTo, uint(-1));

        ComponentStorage.Assimilator storage _numeraireAssim = component.assimilators[_numeraire];

        component.assimilators[_derivative] = ComponentStorage.Assimilator(_assimilator, _numeraireAssim.ix);

        emit AssimilatorIncluded(_derivative, _numeraire, _reserve, _assimilator);

    }

    function safeApprove (
        address _token,
        address _spender,
        uint256 _value
    ) private {

        ( bool success, ) = _token.call(abi.encodeWithSignature("approve(address,uint256)", _spender, _value));

        require(success, "SafeERC20: low-level call failed");

    }

    function viewComponent(
        ComponentStorage.Component storage component
    ) external view returns (
        uint alpha_,
        uint beta_,
        uint delta_,
        uint epsilon_,
        uint lambda_
    ) {

        alpha_ = component.alpha.mulu(1e18);

        beta_ = component.beta.mulu(1e18);

        delta_ = component.delta.mulu(1e18);

        epsilon_ = component.epsilon.mulu(1e18);

        lambda_ = component.lambda.mulu(1e18);

    }

}

interface IFreeFromUpTo {
    function freeFromUpTo(address from, uint256 value) external returns (uint256 freed);
}

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

contract Component is ComponentStorage {

    event Approval(address indexed _owner, address indexed spender, uint256 value);

    event ParametersSet(uint256 alpha, uint256 beta, uint256 delta, uint256 epsilon, uint256 lambda);

    event AssetIncluded(address indexed numeraire, address indexed reserve, uint weight);

    event AssimilatorIncluded(address indexed derivative, address indexed numeraire, address indexed reserve, address assimilator);

    event PartitionRedeemed(address indexed token, address indexed redeemer, uint value);

    event PoolPartitioned(bool partitioned);

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

    event FrozenSet(bool isFrozen);

    event Trade(address indexed trader, address indexed origin, address indexed target, uint256 originAmount, uint256 targetAmount);

    event Transfer(address indexed from, address indexed to, uint256 value);

    IFreeFromUpTo public constant chi = IFreeFromUpTo(0x0000000000004946c0e9F43F4Dee607b0eF1fA1c);

    modifier discountCHI {
        uint256 gasStart = gasleft();
        _;
        uint256 gasSpent = 21000 + gasStart - gasleft() + 16 * msg.data.length;
        chi.freeFromUpTo(msg.sender, (gasSpent + 14154) / 41130);
    }

    modifier onlyOwner() {

        require(msg.sender == owner, "Component/caller-is-not-owner");
        _;

    }

    modifier nonReentrant() {

        require(notEntered, "Component/re-entered");
        notEntered = false;
        _;
        notEntered = true;

    }

    modifier transactable () {

        require(!frozen, "Component/frozen-only-allowing-proportional-withdraw");
        _;

    }

    modifier unpartitioned () {

        require(!partitioned, "Component/pool-partitioned");
        _;

    }

    modifier isPartitioned () {

        require(partitioned, "Component/pool-not-partitioned");
        _;

    }

    modifier deadline (uint _deadline) {

        require(block.timestamp < _deadline, "Component/tx-deadline-passed");
        _;

    }

    constructor (
        address[] memory _assets,
        uint[] memory _assetWeights,
        address[] memory _derivativeAssimilators
    ) public {

        owner = msg.sender;
        emit OwnershipTransfered(address(0), msg.sender);

        Orchestrator.initialize(
            component,
            numeraires,
            reserves,
            derivatives,
            _assets,
            _assetWeights,
            _derivativeAssimilators
        );

    }

    /// @notice sets the parameters for the pool
    /// @param _alpha the value for alpha (halt threshold) must be less than or equal to 1 and greater than 0
    /// @param _beta the value for beta must be less than alpha and greater than 0
    /// @param _feeAtHalt the maximum value for the fee at the halt point
    /// @param _epsilon the base fee for the pool
    /// @param _lambda the value for lambda must be less than or equal to 1 and greater than zero
    /// @param _sigma the protocol fee for the pool
    /// @param _protocol the protocol fee distribution address
    function setParams (
        uint _alpha,
        uint _beta,
        uint _feeAtHalt,
        uint _epsilon,
        uint _lambda,
        uint _sigma,
        address _protocol
    ) external onlyOwner {

        Orchestrator.setParams(component, _alpha, _beta, _feeAtHalt, _epsilon, _lambda, _sigma, _protocol);

    }

    /// @notice excludes an assimilator from the component
    /// @param _derivative the address of the assimilator to exclude
    function excludeDerivative (
        address _derivative
    ) external onlyOwner {

        for (uint i = 0; i < numeraires.length; i++) {

            if (_derivative == numeraires[i]) revert("Component/cannot-delete-numeraire");
            if (_derivative == reserves[i]) revert("Component/cannot-delete-reserve");

        }

        delete component.assimilators[_derivative];

    }

    /// @notice view the current parameters of the component
    /// @return alpha_ the current alpha value
    /// @return beta_ the current beta value
    /// @return delta_ the current delta value
    /// @return epsilon_ the current epsilon value
    /// @return lambda_ the current lambda value
    /// @return omega_ the current omega value
    function viewComponent() external view returns (
        uint alpha_,
        uint beta_,
        uint delta_,
        uint epsilon_,
        uint lambda_
    ) {

        return Orchestrator.viewComponent(component);

    }

    function setFrozen (bool _toFreezeOrNotToFreeze) external onlyOwner {

        emit FrozenSet(_toFreezeOrNotToFreeze);

        frozen = _toFreezeOrNotToFreeze;

    }

    function transferOwnership (address _newOwner) external onlyOwner {

        emit OwnershipTransfered(owner, _newOwner);

        owner = _newOwner;

    }

    /// @author james foley http://github.com/realisation
    /// @notice swap a dynamic origin amount for a fixed target amount
    /// @param _origin the address of the origin
    /// @param _target the address of the target
    /// @param _originAmount the origin amount
    /// @param _minTargetAmount the minimum target amount
    /// @param _deadline deadline in block number after which the trade will not execute
    /// @return targetAmount_ the amount of target that has been swapped for the origin amount
    function originSwap (
        address _origin,
        address _target,
        uint _originAmount,
        uint _minTargetAmount,
        uint _deadline
    ) external deadline(_deadline) transactable nonReentrant returns (
        uint targetAmount_
    ) {

        targetAmount_ = Swaps.originSwap(component, _origin, _target, _originAmount, msg.sender);

        require(targetAmount_ > _minTargetAmount, "Component/below-min-target-amount");

    }

    function originSwapDiscountCHI (
        address _origin,
        address _target,
        uint _originAmount,
        uint _minTargetAmount,
        uint _deadline
    ) external deadline(_deadline) transactable nonReentrant discountCHI returns (
        uint targetAmount_
    ) {

        targetAmount_ = Swaps.originSwap(component, _origin, _target, _originAmount, msg.sender);

        require(targetAmount_ > _minTargetAmount, "Component/below-min-target-amount");

    }

    /// @author james foley http://github.com/realisation
    /// @notice view how much target amount a fixed origin amount will swap for
    /// @param _origin the address of the origin
    /// @param _target the address of the target
    /// @param _originAmount the origin amount
    /// @return targetAmount_ the target amount that would have been swapped for the origin amount
    function viewOriginSwap (
        address _origin,
        address _target,
        uint _originAmount
    ) external view transactable returns (
        uint targetAmount_
    ) {

        targetAmount_ = Swaps.viewOriginSwap(component, _origin, _target, _originAmount);

    }

    /// @author james foley http://github.com/realisation
    /// @notice swap a dynamic origin amount for a fixed target amount
    /// @param _origin the address of the origin
    /// @param _target the address of the target
    /// @param _maxOriginAmount the maximum origin amount
    /// @param _targetAmount the target amount
    /// @param _deadline deadline in block number after which the trade will not execute
    /// @return originAmount_ the amount of origin that has been swapped for the target
    function targetSwap (
        address _origin,
        address _target,
        uint _maxOriginAmount,
        uint _targetAmount,
        uint _deadline
    ) external deadline(_deadline) transactable nonReentrant returns (
        uint originAmount_
    ) {

        originAmount_ = Swaps.targetSwap(component, _origin, _target, _targetAmount, msg.sender);

        require(originAmount_ < _maxOriginAmount, "Component/above-max-origin-amount");

    }

    /// @author james foley http://github.com/realisation
    /// @notice view how much of the origin currency the target currency will take
    /// @param _origin the address of the origin
    /// @param _target the address of the target
    /// @param _targetAmount the target amount
    /// @return originAmount_ the amount of target that has been swapped for the origin
    function viewTargetSwap (
        address _origin,
        address _target,
        uint _targetAmount
    ) external view transactable returns (
        uint originAmount_
    ) {

        originAmount_ = Swaps.viewTargetSwap(component, _origin, _target, _targetAmount);

    }

    /// @author james foley http://github.com/realisation
    /// @notice selectively deposit any supported stablecoin flavor into the contract in return for corresponding amount of component tokens
    /// @param _derivatives an array containing the addresses of the flavors being deposited into
    /// @param _amounts an array containing the values of the flavors you wish to deposit into the contract. each amount should have the same index as the flavor it is meant to deposit
    /// @param _minComponents minimum acceptable amount of components
    /// @param _deadline deadline for tx
    /// @return componentsToMint_ the amount of components to mint for the deposited stablecoin flavors
    function selectiveDeposit (
        address[] calldata _derivatives,
        uint[] calldata _amounts,
        uint _minComponents,
        uint _deadline
    ) external deadline(_deadline) transactable nonReentrant returns (
        uint componentsMinted_
    ) {

        componentsMinted_ = SelectiveLiquidity.selectiveDeposit(component, _derivatives, _amounts, _minComponents);

    }

    /// @author james folew http://github.com/realisation
    /// @notice view how many component tokens a deposit will mint
    /// @param _derivatives an array containing the addresses of the flavors being deposited into
    /// @param _amounts an array containing the values of the flavors you wish to deposit into the contract. each amount should have the same index as the flavor it is meant to deposit
    /// @return componentsToMint_ the amount of components to mint for the deposited stablecoin flavors
    function viewSelectiveDeposit (
        address[] calldata _derivatives,
        uint[] calldata _amounts
    ) external view transactable returns (
        uint componentsToMint_
    ) {

        componentsToMint_ = SelectiveLiquidity.viewSelectiveDeposit(component, _derivatives, _amounts);

    }

    /// @author james foley http://github.com/realisation
    /// @notice deposit into the pool with no slippage from the numeraire assets the pool supports
    /// @param  _deposit the full amount you want to deposit into the pool which will be divided up evenly amongst the numeraire assets of the pool
    /// @return componentsToMint_ the amount of components you receive in return for your deposit
    /// @return deposits_ the amount deposited for each numeraire
    function proportionalDeposit (
        uint _deposit,
        uint _deadline
    ) external deadline(_deadline) transactable nonReentrant returns (
        uint componentsMinted_,
        uint[] memory deposits_
    ) {

        return ProportionalLiquidity.proportionalDeposit(component, _deposit);

    }

    /// @author james foley http://github.com/realisation
    /// @notice view deposits and components minted a given deposit would return
    /// @param _deposit the full amount of stablecoins you want to deposit. Divided evenly according to the prevailing proportions of the numeraire assets of the pool
    /// @return componentsToMint_ the amount of components you receive in return for your deposit
    /// @return deposits_ the amount deposited for each numeraire
    function viewProportionalDeposit (
        uint _deposit
    ) external view transactable returns (
        uint componentsToMint_,
        uint[] memory depositsToMake_
    ) {

        return ProportionalLiquidity.viewProportionalDeposit(component, _deposit);

    }

    /// @author james foley http://github.com/realisation
    /// @notice selectively withdrawal any supported stablecoin flavor from the contract by burning a corresponding amount of component tokens
    /// @param _derivatives an array of flavors to withdraw from the reserves
    /// @param _amounts an array of amounts to withdraw that maps to _flavors
    /// @param _maxComponents the maximum amount of components you want to burn
    /// @param _deadline timestamp after which the transaction is no longer valid
    /// @return componentsBurned_ the corresponding amount of component tokens to withdraw the specified amount of specified flavors
    function selectiveWithdraw (
        address[] calldata _derivatives,
        uint[] calldata _amounts,
        uint _maxComponents,
        uint _deadline
    ) external deadline(_deadline) transactable nonReentrant returns (
        uint componentsBurned_
    ) {

        componentsBurned_ = SelectiveLiquidity.selectiveWithdraw(component, _derivatives, _amounts, _maxComponents);

    }

    /// @author james foley http://github.com/realisation
    /// @notice view how many component tokens a withdraw will consume
    /// @param _derivatives an array of flavors to withdraw from the reserves
    /// @param _amounts an array of amounts to withdraw that maps to _flavors
    /// @return componentsBurned_ the corresponding amount of component tokens to withdraw the specified amount of specified flavors
    function viewSelectiveWithdraw (
        address[] calldata _derivatives,
        uint[] calldata _amounts
    ) external view transactable returns (
        uint componentsToBurn_
    ) {

        componentsToBurn_ = SelectiveLiquidity.viewSelectiveWithdraw(component, _derivatives, _amounts);

    }

    /// @author  james foley http://github.com/realisation
    /// @notice  withdrawas amount of component tokens from the the pool equally from the numeraire assets of the pool with no slippage
    /// @param   _componentsToBurn the full amount you want to withdraw from the pool which will be withdrawn from evenly amongst the numeraire assets of the pool
    /// @return withdrawals_ the amonts of numeraire assets withdrawn from the pool
    function proportionalWithdraw (
        uint _componentsToBurn,
        uint _deadline
    ) external deadline(_deadline) unpartitioned nonReentrant returns (
        uint[] memory withdrawals_
    ) {

        return ProportionalLiquidity.proportionalWithdraw(component, _componentsToBurn);

    }

    function supportsInterface (
        bytes4 _interface
    ) public pure returns (
        bool supports_
    ) {

        supports_ = this.supportsInterface.selector == _interface  // erc165
            || bytes4(0x7f5828d0) == _interface                   // eip173
            || bytes4(0x36372b07) == _interface;                 // erc20

    }

    /// @author  james foley http://github.com/realisation
    /// @notice  withdrawals amount of component tokens from the the pool equally from the numeraire assets of the pool with no slippage
    /// @param   _componentsToBurn the full amount you want to withdraw from the pool which will be withdrawn from evenly amongst the numeraire assets of the pool
    /// @return withdrawalsToHappen_ the amonts of numeraire assets withdrawn from the pool
    function viewProportionalWithdraw (
        uint _componentsToBurn
    ) external view unpartitioned returns (
        uint[] memory withdrawalsToHappen_
    ) {

        return ProportionalLiquidity.viewProportionalWithdraw(component, _componentsToBurn);

    }

    function partition () external onlyOwner {

        require(frozen, "Component/must-be-frozen");

        PartitionedLiquidity.partition(component, partitionTickets);

        partitioned = true;

    }

    /// @author  james foley http://github.com/realisation
    /// @notice  withdraws amount of component tokens from the the pool equally from the numeraire assets of the pool with no slippage
    /// @param _tokens an array of the numeraire assets you will withdraw
    /// @param _amounts an array of the amounts in terms of partitioned shels you want to withdraw from that numeraire partition
    /// @return withdrawals_ the amounts of the numeraire assets withdrawn
    function partitionedWithdraw (
        address[] calldata _tokens,
        uint256[] calldata _amounts
    ) external isPartitioned returns (
        uint256[] memory withdrawals_
    ) {

        return PartitionedLiquidity.partitionedWithdraw(component, partitionTickets, _tokens, _amounts);

    }

    /// @author  james foley http://github.com/realisation
    /// @notice  views the balance of the users partition ticket
    /// @param _addr the address whose balances in partitioned components to be seen
    /// @return claims_ the remaining claims in terms of partitioned components the address has in its partition ticket
    function viewPartitionClaims (
        address _addr
    ) external view isPartitioned returns (
        uint[] memory claims_
    ) {

        return PartitionedLiquidity.viewPartitionClaims(component, partitionTickets, _addr);

    }

    /// @notice transfers component tokens
    /// @param _recipient the address of where to send the component tokens
    /// @param _amount the amount of component tokens to send
    /// @return success_ the success bool of the call
    function transfer (
        address _recipient,
        uint _amount
    ) public nonReentrant returns (
        bool success_
    ) {

        require(!partitionTickets[msg.sender].initialized, "Component/no-transfers-once-partitioned");

        success_ = Components.transfer(component, _recipient, _amount);

    }

    /// @notice transfers component tokens from one address to another address
    /// @param _sender the account from which the component tokens will be sent
    /// @param _recipient the account to which the component tokens will be sent
    /// @param _amount the amount of component tokens to transfer
    /// @return success_ the success bool of the call
    function transferFrom (
        address _sender,
        address _recipient,
        uint _amount
    ) public nonReentrant returns (
        bool success_
    ) {

        require(!partitionTickets[_sender].initialized, "Component/no-transfers-once-partitioned");

        success_ = Components.transferFrom(component, _sender, _recipient, _amount);

    }

    /// @notice approves a user to spend component tokens on their behalf
    /// @param _spender the account to allow to spend from msg.sender
    /// @param _amount the amount to specify the spender can spend
    /// @return success_ the success bool of this call
    function approve (address _spender, uint _amount) public nonReentrant returns (bool success_) {

        success_ = Components.approve(component, _spender, _amount);

    }

    /// @notice view the component token balance of a given account
    /// @param _account the account to view the balance of
    /// @return balance_ the component token ballance of the given account
    function balanceOf (
        address _account
    ) public view returns (
        uint balance_
    ) {

        balance_ = component.balances[_account];

    }

    /// @notice views the total component supply of the pool
    /// @return totalSupply_ the total supply of component tokens
    function totalSupply () public view returns (uint totalSupply_) {

        totalSupply_ = component.totalSupply;

    }

    /// @notice views the total allowance one address has to spend from another address
    /// @param _owner the address of the owner
    /// @param _spender the address of the spender
    /// @return allowance_ the amount the owner has allotted the spender
    function allowance (
        address _owner,
        address _spender
    ) public view returns (
        uint allowance_
    ) {

        allowance_ = component.allowances[_owner][_spender];

    }

    /// @notice views the total amount of liquidity in the component in numeraire value and format - 18 decimals
    /// @return total_ the total value in the component
    /// @return individual_ the individual values in the component
    function liquidity () public view returns (
        uint total_,
        uint[] memory individual_
    ) {

        return ViewLiquidity.viewLiquidity(component);

    }

    /// @notice view the assimilator address for a derivative
    /// @return assimilator_ the assimilator address
    function assimilator (
        address _derivative
    ) public view returns (
        address assimilator_
    ) {

        assimilator_ = component.assimilators[_derivative].addr;

    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"_assets","type":"address[]"},{"internalType":"uint256[]","name":"_assetWeights","type":"uint256[]"},{"internalType":"address[]","name":"_derivativeAssimilators","type":"address[]"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"numeraire","type":"address"},{"indexed":true,"internalType":"address","name":"reserve","type":"address"},{"indexed":false,"internalType":"uint256","name":"weight","type":"uint256"}],"name":"AssetIncluded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"derivative","type":"address"},{"indexed":true,"internalType":"address","name":"numeraire","type":"address"},{"indexed":true,"internalType":"address","name":"reserve","type":"address"},{"indexed":false,"internalType":"address","name":"assimilator","type":"address"}],"name":"AssimilatorIncluded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isFrozen","type":"bool"}],"name":"FrozenSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"alpha","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"beta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"delta","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"epsilon","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lambda","type":"uint256"}],"name":"ParametersSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"PartitionRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"partitioned","type":"bool"}],"name":"PoolPartitioned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"trader","type":"address"},{"indexed":true,"internalType":"address","name":"origin","type":"address"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"originAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"targetAmount","type":"uint256"}],"name":"Trade","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"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"allowance_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success_","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_derivative","type":"address"}],"name":"assimilator","outputs":[{"internalType":"address","name":"assimilator_","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"chi","outputs":[{"internalType":"contract IFreeFromUpTo","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"component","outputs":[{"internalType":"int128","name":"alpha","type":"int128"},{"internalType":"int128","name":"beta","type":"int128"},{"internalType":"int128","name":"delta","type":"int128"},{"internalType":"int128","name":"epsilon","type":"int128"},{"internalType":"int128","name":"lambda","type":"int128"},{"internalType":"int128","name":"sigma","type":"int128"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"address","name":"protocol","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"derivatives","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_derivative","type":"address"}],"name":"excludeDerivative","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"liquidity","outputs":[{"internalType":"uint256","name":"total_","type":"uint256"},{"internalType":"uint256[]","name":"individual_","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"numeraires","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_origin","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_originAmount","type":"uint256"},{"internalType":"uint256","name":"_minTargetAmount","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"originSwap","outputs":[{"internalType":"uint256","name":"targetAmount_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_origin","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_originAmount","type":"uint256"},{"internalType":"uint256","name":"_minTargetAmount","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"originSwapDiscountCHI","outputs":[{"internalType":"uint256","name":"targetAmount_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"partition","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"partitionTickets","outputs":[{"internalType":"bool","name":"initialized","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"partitioned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"partitionedWithdraw","outputs":[{"internalType":"uint256[]","name":"withdrawals_","type":"uint256[]"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_deposit","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"proportionalDeposit","outputs":[{"internalType":"uint256","name":"componentsMinted_","type":"uint256"},{"internalType":"uint256[]","name":"deposits_","type":"uint256[]"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_componentsToBurn","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"proportionalWithdraw","outputs":[{"internalType":"uint256[]","name":"withdrawals_","type":"uint256[]"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"reserves","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"_derivatives","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"uint256","name":"_minComponents","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"selectiveDeposit","outputs":[{"internalType":"uint256","name":"componentsMinted_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"_derivatives","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"uint256","name":"_maxComponents","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"selectiveWithdraw","outputs":[{"internalType":"uint256","name":"componentsBurned_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"_toFreezeOrNotToFreeze","type":"bool"}],"name":"setFrozen","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_alpha","type":"uint256"},{"internalType":"uint256","name":"_beta","type":"uint256"},{"internalType":"uint256","name":"_feeAtHalt","type":"uint256"},{"internalType":"uint256","name":"_epsilon","type":"uint256"},{"internalType":"uint256","name":"_lambda","type":"uint256"},{"internalType":"uint256","name":"_sigma","type":"uint256"},{"internalType":"address","name":"_protocol","type":"address"}],"name":"setParams","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"_interface","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"supports_","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_origin","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_maxOriginAmount","type":"uint256"},{"internalType":"uint256","name":"_targetAmount","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"targetSwap","outputs":[{"internalType":"uint256","name":"originAmount_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success_","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":"success_","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"viewComponent","outputs":[{"internalType":"uint256","name":"alpha_","type":"uint256"},{"internalType":"uint256","name":"beta_","type":"uint256"},{"internalType":"uint256","name":"delta_","type":"uint256"},{"internalType":"uint256","name":"epsilon_","type":"uint256"},{"internalType":"uint256","name":"lambda_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_origin","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_originAmount","type":"uint256"}],"name":"viewOriginSwap","outputs":[{"internalType":"uint256","name":"targetAmount_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"viewPartitionClaims","outputs":[{"internalType":"uint256[]","name":"claims_","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_deposit","type":"uint256"}],"name":"viewProportionalDeposit","outputs":[{"internalType":"uint256","name":"componentsToMint_","type":"uint256"},{"internalType":"uint256[]","name":"depositsToMake_","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_componentsToBurn","type":"uint256"}],"name":"viewProportionalWithdraw","outputs":[{"internalType":"uint256[]","name":"withdrawalsToHappen_","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address[]","name":"_derivatives","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"viewSelectiveDeposit","outputs":[{"internalType":"uint256","name":"componentsToMint_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address[]","name":"_derivatives","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"viewSelectiveWithdraw","outputs":[{"internalType":"uint256","name":"componentsToBurn_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_origin","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_targetAmount","type":"uint256"}],"name":"viewTargetSwap","outputs":[{"internalType":"uint256","name":"originAmount_","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040526000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506001600f60026101000a81548160ff0219169083151502179055503480156200006257600080fd5b50604051620053d2380380620053d2833981810160405260608110156200008857600080fd5b8101908080516040519392919084640100000000821115620000a957600080fd5b83820191506020820185811115620000c057600080fd5b8251866020820283011164010000000082111715620000de57600080fd5b8083526020830192505050908051906020019060200280838360005b8381101562000117578082015181840152602081019050620000fa565b50505050905001604052602001805160405193929190846401000000008211156200014157600080fd5b838201915060208201858111156200015857600080fd5b82518660208202830111640100000000821117156200017657600080fd5b8083526020830192505050908051906020019060200280838360005b83811015620001af57808201518184015260208101905062000192565b5050505090500160405260200180516040519392919084640100000000821115620001d957600080fd5b83820191506020820185811115620001f057600080fd5b82518660208202830111640100000000821117156200020e57600080fd5b8083526020830192505050908051906020019060200280838360005b83811015620002475780820151818401526020810190506200022a565b50505050905001604052505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f0d18b5fd22306e373229b9439188228edca81207d1667f604daf6cef8aa3ee6760405160405180910390a3735ca410476bb5b803b840b8a1eb153c045a952d3563023971476001600d600e600c8888886040518863ffffffff1660e01b815260040180888152602001878152602001868152602001858152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015620003885780820151818401526020810190506200036b565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015620003cc578082015181840152602081019050620003af565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101562000410578082015181840152602081019050620003f3565b505050509050019a505050505050505050505060006040518083038186803b1580156200043c57600080fd5b505af415801562000451573d6000803e3d6000fd5b50505050505050614f6a80620004686000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c8063775d98651161014657806396677086116100c3578063bbde3adc11610087578063bbde3adc146113da578063c0046e391461145d578063c912ff7a146114cb578063c92aecc41461150f578063dd62ed3e14611559578063f2fde38b146115d15761025e565b806396677086146110f15780639d16b2c514611214578063a8e9d528146112aa578063a9059cbb14611318578063ba443d331461137e5761025e565b80638334278d1161010a5780638334278d14610e52578063838e6a2214610ec05780638da5cb5b14610f425780639195318914610f8c57806395d89b411461106e5761025e565b8063775d986514610bdd57806379a0f07914610c6a5780637e932d3214610d095780637ec8c85714610d395780637ee978e114610dd25761025e565b8063313ce567116101df57806351dbb2a7116101a357806351dbb2a71461079f578063525d0da714610895578063546e0c9b146109175780635ccd4afd14610a0d57806370a0823114610aef57806372b4129a14610b475761025e565b8063313ce5671461059f5780633cae77f7146105c35780633cea3c8914610647578063450ace6f146106d15780634737287d1461070b5761025e565b80630ceb9386116102265780630ceb93861461046957806318160ddd1461048b5780631a686502146104a957806323b872dd1461050f5780632a14b80a146105955761025e565b806301ffc9a714610263578063054f7d9c146102c857806306fdde03146102ea578063095ea7b31461036d5780630b2583c8146103d3575b600080fd5b6102ae6004803603602081101561027957600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611615565b604051808215151515815260200191505060405180910390f35b6102d0611704565b604051808215151515815260200191505060405180910390f35b6102f2611717565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610332578082015181840152602081019050610317565b50505050905090810190601f16801561035f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103b96004803603604081101561038357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611750565b604051808215151515815260200191505060405180910390f35b610453600480360360a08110156103e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506118d9565b6040518082815260200191505060405180910390f35b610471611c02565b604051808215151515815260200191505060405180910390f35b610493611c15565b6040518082815260200191505060405180910390f35b6104b1611c22565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156104fa5780820151818401526020810190506104df565b50505050905001935050505060405180910390f35b61057b6004803603606081101561052557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611d5d565b604051808215151515815260200191505060405180910390f35b61059d611fc1565b005b6105a7612193565b604051808260ff1660ff16815260200191505060405180910390f35b610605600480360360208110156105d957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612198565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106736004803603602081101561065d57600080fd5b8101908080359060200190929190505050612207565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156106bc5780820151818401526020810190506106a1565b50505050905001935050505060405180910390f35b6106d96123b1565b604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b6107416004803603604081101561072157600080fd5b81019080803590602001909291908035906020019092919050505061247d565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561078a57808201518184015260208101905061076f565b50505050905001935050505060405180910390f35b61087f600480360360808110156107b557600080fd5b81019080803590602001906401000000008111156107d257600080fd5b8201836020820111156107e457600080fd5b8035906020019184602083028401116401000000008311171561080657600080fd5b90919293919293908035906020019064010000000081111561082757600080fd5b82018360208201111561083957600080fd5b8035906020019184602083028401116401000000008311171561085b57600080fd5b90919293919293908035906020019092919080359060200190929190505050612758565b6040518082815260200191505060405180910390f35b610901600480360360608110156108ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506129fc565b6040518082815260200191505060405180910390f35b6109f76004803603608081101561092d57600080fd5b810190808035906020019064010000000081111561094a57600080fd5b82018360208201111561095c57600080fd5b8035906020019184602083028401116401000000008311171561097e57600080fd5b90919293919293908035906020019064010000000081111561099f57600080fd5b8201836020820111156109b157600080fd5b803590602001918460208302840111640100000000831117156109d357600080fd5b90919293919293908035906020019092919080359060200190929190505050612b68565b6040518082815260200191505060405180910390f35b610ad960048036036040811015610a2357600080fd5b8101908080359060200190640100000000811115610a4057600080fd5b820183602082011115610a5257600080fd5b80359060200191846020830284011164010000000083111715610a7457600080fd5b909192939192939080359060200190640100000000811115610a9557600080fd5b820183602082011115610aa757600080fd5b80359060200191846020830284011164010000000083111715610ac957600080fd5b9091929391929390505050612e0c565b6040518082815260200191505060405180910390f35b610b3160048036036020811015610b0557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f77565b6040518082815260200191505060405180910390f35b610bc7600480360360a0811015610b5d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190505050612fc3565b6040518082815260200191505060405180910390f35b610c1360048036036040811015610bf357600080fd5b8101908080359060200190929190803590602001909291905050506132ec565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610c56578082015181840152602081019050610c3b565b505050509050019250505060405180910390f35b610c726135d5565b6040518089600f0b600f0b815260200188600f0b600f0b815260200187600f0b600f0b815260200186600f0b600f0b815260200185600f0b600f0b815260200184600f0b600f0b81526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060405180910390f35b610d3760048036036020811015610d1f57600080fd5b81019080803515159060200190929190505050613679565b005b610d7b60048036036020811015610d4f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613793565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610dbe578082015181840152602081019050610da3565b505050509050019250505060405180910390f35b610e50600480360360e0811015610de857600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613980565b005b610e7e60048036036020811015610e6857600080fd5b8101908080359060200190929190505050613b17565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610f2c60048036036060811015610ed657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613b53565b6040518082815260200191505060405180910390f35b610f4a613cbf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61105860048036036040811015610fa257600080fd5b8101908080359060200190640100000000811115610fbf57600080fd5b820183602082011115610fd157600080fd5b80359060200191846020830284011164010000000083111715610ff357600080fd5b90919293919293908035906020019064010000000081111561101457600080fd5b82018360208201111561102657600080fd5b8035906020019184602083028401116401000000008311171561104857600080fd5b9091929391929390505050613ce4565b6040518082815260200191505060405180910390f35b611076613e4f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156110b657808201518184015260208101905061109b565b50505050905090810190601f1680156110e35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6111bd6004803603604081101561110757600080fd5b810190808035906020019064010000000081111561112457600080fd5b82018360208201111561113657600080fd5b8035906020019184602083028401116401000000008311171561115857600080fd5b90919293919293908035906020019064010000000081111561117957600080fd5b82018360208201111561118b57600080fd5b803590602001918460208302840111640100000000831117156111ad57600080fd5b9091929391929390505050613e88565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156112005780820151818401526020810190506111e5565b505050509050019250505060405180910390f35b611294600480360360a081101561122a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506140b2565b6040518082815260200191505060405180910390f35b6112d6600480360360208110156112c057600080fd5b81019080803590602001909291905050506144d5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6113646004803603604081101561132e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050614511565b604051808215151515815260200191505060405180910390f35b6113c06004803603602081101561139457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614740565b604051808215151515815260200191505060405180910390f35b611406600480360360208110156113f057600080fd5b810190808035906020019092919050505061476b565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561144957808201518184015260208101905061142e565b505050509050019250505060405180910390f35b6114896004803603602081101561147357600080fd5b8101908080359060200190929190505050614924565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61150d600480360360208110156114e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614960565b005b611517614c5b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6115bb6004803603604081101561156f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614c6d565b6040518082815260200191505060405180910390f35b611613600480360360208110156115e757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614cf7565b005b6000817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166301ffc9a760e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806116ae5750817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916637f5828d060e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806116fd5750817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166336372b0760e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600f60019054906101000a900460ff1681565b6040518060400160405280601281526020017f436f6d706f6e656e74204c5020546f6b656e000000000000000000000000000081525081565b6000600f60029054906101000a900460ff166117d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff0219169083151502179055507371b1e5565cb206d426ab355a5835b62e50fc919e63ce76c03c600185856040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060206040518083038186803b15801561187b57600080fd5b505af415801561188f573d6000803e3d6000fd5b505050506040513d60208110156118a557600080fd5b810190808051906020019092919050505090506001600f60026101000a81548160ff02191690831515021790555092915050565b600081804210611951576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff16156119b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16611a39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff02191690831515021790555073fcb0232c365a0a2085e3c26f44e36e81afa1dd616323be1f476001898989336040518663ffffffff1660e01b8152600401808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060206040518083038186803b158015611b4857600080fd5b505af4158015611b5c573d6000803e3d6000fd5b505050506040513d6020811015611b7257600080fd5b81019080805190602001909291905050509150838211611bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614f156021913960400191505060405180910390fd5b6001600f60026101000a81548160ff0219169083151502179055505095945050505050565b600f60009054906101000a900460ff1681565b6000600160040154905090565b60006060737b57f2f49e87b0c622269d025e3be93fba57406e63bd075a0060016040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015611c7657600080fd5b505af4158015611c8a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506040811015611cb457600080fd5b810190808051906020019092919080516040519392919084640100000000821115611cde57600080fd5b83820191506020820185811115611cf457600080fd5b8251866020820283011164010000000082111715611d1157600080fd5b8083526020830192505050908051906020019060200280838360005b83811015611d48578082015181840152602081019050611d2d565b50505050905001604052505050915091509091565b6000600f60029054906101000a900460ff16611de1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff1615611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180614eee6027913960400191505060405180910390fd5b7371b1e5565cb206d426ab355a5835b62e50fc919e636bdffd4560018686866040518563ffffffff1660e01b8152600401808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060206040518083038186803b158015611f6257600080fd5b505af4158015611f76573d6000803e3d6000fd5b505050506040513d6020811015611f8c57600080fd5b810190808051906020019092919050505090506001600f60026101000a81548160ff0219169083151502179055509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b600f60019054906101000a900460ff16612105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f436f6d706f6e656e742f6d7573742d62652d66726f7a656e000000000000000081525060200191505060405180910390fd5b73660717f9cf0e35cd8a2b53d9ef17de8a936a65f0634edb660d6001600b6040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561215e57600080fd5b505af4158015612172573d6000803e3d6000fd5b505050506001600f60006101000a81548160ff021916908315150217905550565b601281565b6000600160070160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006060600f60019054906101000a900460ff1615612271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b736505150f6550c8266ddecef520a38a12a9a8e5d163150fb1e46001856040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b1580156122c957600080fd5b505af41580156122dd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250604081101561230757600080fd5b81019080805190602001909291908051604051939291908464010000000082111561233157600080fd5b8382019150602082018581111561234757600080fd5b825186602082028301116401000000008211171561236457600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561239b578082015181840152602081019050612380565b5050505090500160405250505091509150915091565b6000806000806000735ca410476bb5b803b840b8a1eb153c045a952d35638341bf2e60016040518263ffffffff1660e01b81526004018082815260200191505060a06040518083038186803b15801561240957600080fd5b505af415801561241d573d6000803e3d6000fd5b505050506040513d60a081101561243357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050945094509450945094509091929394565b60006060828042106124f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff161561255d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff166125df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550736505150f6550c8266ddecef520a38a12a9a8e5d163f1bcb8af6001876040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561265257600080fd5b505af4158015612666573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250604081101561269057600080fd5b8101908080519060200190929190805160405193929190846401000000008211156126ba57600080fd5b838201915060208201858111156126d057600080fd5b82518660208202830111640100000000821117156126ed57600080fd5b8083526020830192505050908051906020019060200280838360005b83811015612724578082015181840152602081019050612709565b50505050905001604052505050925092506001600f60026101000a81548160ff021916908315150217905550509250929050565b6000818042106127d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff1615612836576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff166128b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550735d127ae0438393c1057f73afd82752069987c46363080feccc60018a8a8a8a8a6040518763ffffffff1660e01b81526004018087815260200180602001806020018481526020018381038352888882818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252868682818152602001925060200280828437600081840152601f19601f8201169050808301925050509850505050505050505060206040518083038186803b15801561299957600080fd5b505af41580156129ad573d6000803e3d6000fd5b505050506040513d60208110156129c357600080fd5b810190808051906020019092919050505091506001600f60026101000a81548160ff021916908315150217905550509695505050505050565b6000600f60019054906101000a900460ff1615612a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b73fcb0232c365a0a2085e3c26f44e36e81afa1dd6163f54d49e660018686866040518563ffffffff1660e01b8152600401808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060206040518083038186803b158015612b2457600080fd5b505af4158015612b38573d6000803e3d6000fd5b505050506040513d6020811015612b4e57600080fd5b810190808051906020019092919050505090509392505050565b600081804210612be0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff1615612c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16612cc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550735d127ae0438393c1057f73afd82752069987c463633d422d0c60018a8a8a8a8a6040518763ffffffff1660e01b81526004018087815260200180602001806020018481526020018381038352888882818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252868682818152602001925060200280828437600081840152601f19601f8201169050808301925050509850505050505050505060206040518083038186803b158015612da957600080fd5b505af4158015612dbd573d6000803e3d6000fd5b505050506040513d6020811015612dd357600080fd5b810190808051906020019092919050505091506001600f60026101000a81548160ff021916908315150217905550509695505050505050565b6000600f60019054906101000a900460ff1615612e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b735d127ae0438393c1057f73afd82752069987c46363b37d98ae6001878787876040518663ffffffff1660e01b81526004018086815260200180602001806020018381038352878782818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925060200280828437600081840152601f19601f82011690508083019250505097505050505050505060206040518083038186803b158015612f3257600080fd5b505af4158015612f46573d6000803e3d6000fd5b505050506040513d6020811015612f5c57600080fd5b81019080805190602001909291905050509050949350505050565b6000600160080160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008180421061303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff16156130a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16613123576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff02191690831515021790555073fcb0232c365a0a2085e3c26f44e36e81afa1dd6163a89081886001898988336040518663ffffffff1660e01b8152600401808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060206040518083038186803b15801561323257600080fd5b505af4158015613246573d6000803e3d6000fd5b505050506040513d602081101561325c57600080fd5b810190808051906020019092919050505091508482106132c7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ecd6021913960400191505060405180910390fd5b6001600f60026101000a81548160ff0219169083151502179055505095945050505050565b606081804210613364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60009054906101000a900460ff16156133e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f436f6d706f6e656e742f706f6f6c2d706172746974696f6e656400000000000081525060200191505060405180910390fd5b600f60029054906101000a900460ff16613469576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550736505150f6550c8266ddecef520a38a12a9a8e5d163509713c16001866040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b1580156134dc57600080fd5b505af41580156134f0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561351a57600080fd5b810190808051604051939291908464010000000082111561353a57600080fd5b8382019150602082018581111561355057600080fd5b825186602082028301116401000000008211171561356d57600080fd5b8083526020830192505050908051906020019060200280838360005b838110156135a4578082015181840152602081019050613589565b5050505090500160405250505091506001600f60026101000a81548160ff0219169083151502179055505092915050565b60018060000160009054906101000a9004600f0b908060000160109054906101000a9004600f0b908060010160009054906101000a9004600f0b908060010160109054906101000a9004600f0b908060020160009054906101000a9004600f0b908060020160109054906101000a9004600f0b908060040154908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905088565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461373b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b7f7c029deaca9b6c66abb68e5f874a812822f0fcaa52a890f980a7ab1afb5edba681604051808215151515815260200191505060405180910390a180600f60016101000a81548160ff02191690831515021790555050565b6060600f60009054906101000a900460ff16613817576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f436f6d706f6e656e742f706f6f6c2d6e6f742d706172746974696f6e6564000081525060200191505060405180910390fd5b73660717f9cf0e35cd8a2b53d9ef17de8a936a65f0634b2c37bf6001600b856040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060006040518083038186803b1580156138a457600080fd5b505af41580156138b8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156138e257600080fd5b810190808051604051939291908464010000000082111561390257600080fd5b8382019150602082018581111561391857600080fd5b825186602082028301116401000000008211171561393557600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561396c578082015181840152602081019050613951565b505050509050016040525050509050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613a42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b735ca410476bb5b803b840b8a1eb153c045a952d35633562f9e96001898989898989896040518963ffffffff1660e01b8152600401808981526020018881526020018781526020018681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060006040518083038186803b158015613af657600080fd5b505af4158015613b0a573d6000803e3d6000fd5b5050505050505050505050565b600e8181548110613b2457fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60019054906101000a900460ff1615613bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b73fcb0232c365a0a2085e3c26f44e36e81afa1dd61639015618360018686866040518563ffffffff1660e01b8152600401808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060206040518083038186803b158015613c7b57600080fd5b505af4158015613c8f573d6000803e3d6000fd5b505050506040513d6020811015613ca557600080fd5b810190808051906020019092919050505090509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60019054906101000a900460ff1615613d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b735d127ae0438393c1057f73afd82752069987c46363f53157de6001878787876040518663ffffffff1660e01b81526004018086815260200180602001806020018381038352878782818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925060200280828437600081840152601f19601f82011690508083019250505097505050505050505060206040518083038186803b158015613e0a57600080fd5b505af4158015613e1e573d6000803e3d6000fd5b505050506040513d6020811015613e3457600080fd5b81019080805190602001909291905050509050949350505050565b6040518060400160405280600681526020017f434d502d4c50000000000000000000000000000000000000000000000000000081525081565b6060600f60009054906101000a900460ff16613f0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f436f6d706f6e656e742f706f6f6c2d6e6f742d706172746974696f6e6564000081525060200191505060405180910390fd5b73660717f9cf0e35cd8a2b53d9ef17de8a936a65f063a8b0ad966001600b888888886040518763ffffffff1660e01b81526004018087815260200186815260200180602001806020018381038352878782818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509850505050505050505060006040518083038186803b158015613fd357600080fd5b505af4158015613fe7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561401157600080fd5b810190808051604051939291908464010000000082111561403157600080fd5b8382019150602082018581111561404757600080fd5b825186602082028301116401000000008211171561406457600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561409b578082015181840152602081019050614080565b505050509050016040525050509050949350505050565b60008180421061412a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff1615614190576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16614212576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff02191690831515021790555060005a905073fcb0232c365a0a2085e3c26f44e36e81afa1dd616323be1f4760018a8a8a336040518663ffffffff1660e01b8152600401808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060206040518083038186803b15801561432657600080fd5b505af415801561433a573d6000803e3d6000fd5b505050506040513d602081101561435057600080fd5b810190808051906020019092919050505092508483116143bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614f156021913960400191505060405180910390fd5b6000803690506010025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c73ffffffffffffffffffffffffffffffffffffffff1663079d229f3361a0aa61374a85018161440857fe5b046040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561447257600080fd5b505af1158015614486573d6000803e3d6000fd5b505050506040513d602081101561449c57600080fd5b81019080805190602001909291905050505050506001600f60026101000a81548160ff0219169083151502179055505095945050505050565b600d81815481106144e257fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60029054906101000a900460ff16614595576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff1615614656576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180614eee6027913960400191505060405180910390fd5b7371b1e5565cb206d426ab355a5835b62e50fc919e63af4cc91e600185856040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060206040518083038186803b1580156146e257600080fd5b505af41580156146f6573d6000803e3d6000fd5b505050506040513d602081101561470c57600080fd5b810190808051906020019092919050505090506001600f60026101000a81548160ff02191690831515021790555092915050565b600b6020528060005260406000206000915090508060010160009054906101000a900460ff16905081565b6060600f60009054906101000a900460ff16156147f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f436f6d706f6e656e742f706f6f6c2d706172746974696f6e656400000000000081525060200191505060405180910390fd5b736505150f6550c8266ddecef520a38a12a9a8e5d163e5ec0df36001846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561484857600080fd5b505af415801561485c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561488657600080fd5b81019080805160405193929190846401000000008211156148a657600080fd5b838201915060208201858111156148bc57600080fd5b82518660208202830111640100000000821117156148d957600080fd5b8083526020830192505050908051906020019060200280838360005b838110156149105780820151818401526020810190506148f5565b505050509050016040525050509050919050565b600c818154811061493157fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614614a22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b60008090505b600d80549050811015614bd757600d8181548110614a4257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614e786021913960400191505060405180910390fd5b600e8181548110614afe57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614bca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f436f6d706f6e656e742f63616e6e6f742d64656c6574652d726573657276650081525060200191505060405180910390fd5b8080600101915050614a28565b50600160070160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549060ff0219169055505050565b6d4946c0e9f43f4dee607b0ef1fa1c81565b6000600160090160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614614db9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0d18b5fd22306e373229b9439188228edca81207d1667f604daf6cef8aa3ee6760405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe436f6d706f6e656e742f63616e6e6f742d64656c6574652d6e756d657261697265436f6d706f6e656e742f66726f7a656e2d6f6e6c792d616c6c6f77696e672d70726f706f7274696f6e616c2d7769746864726177436f6d706f6e656e742f61626f76652d6d61782d6f726967696e2d616d6f756e74436f6d706f6e656e742f6e6f2d7472616e73666572732d6f6e63652d706172746974696f6e6564436f6d706f6e656e742f62656c6f772d6d696e2d7461726765742d616d6f756e74a265627a7a72315820c8a64176c5112ae7e18fa2b6619a3306bdef55c5dc6597f8b2e7d70f578bcc9a64736f6c634300051100320000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000001456688345527be1f37e9e627da0837d6f08c92500000000000000000000000070f648c442efa7007e7e4323e14e7bdc800bd0cf0000000000000000000000001456688345527be1f37e9e627da0837d6f08c92500000000000000000000000070f648c442efa7007e7e4323e14e7bdc800bd0cf0000000000000000000000001456688345527be1f37e9e627da0837d6f08c925000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ad6e6594e2e9cca9326dd80bffd7baef4e2a10f1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ad6e6594e2e9cca9326dd80bffd7baef4e2a10f1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000057813e8d1e77c069e66d0bce3729288ac4d6f0c8000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000057813e8d1e77c069e66d0bce3729288ac4d6f0c8000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000000000000000000000000000003782dace9d9000000000000000000000000000000000000000000000000000003782dace9d900000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c8063775d98651161014657806396677086116100c3578063bbde3adc11610087578063bbde3adc146113da578063c0046e391461145d578063c912ff7a146114cb578063c92aecc41461150f578063dd62ed3e14611559578063f2fde38b146115d15761025e565b806396677086146110f15780639d16b2c514611214578063a8e9d528146112aa578063a9059cbb14611318578063ba443d331461137e5761025e565b80638334278d1161010a5780638334278d14610e52578063838e6a2214610ec05780638da5cb5b14610f425780639195318914610f8c57806395d89b411461106e5761025e565b8063775d986514610bdd57806379a0f07914610c6a5780637e932d3214610d095780637ec8c85714610d395780637ee978e114610dd25761025e565b8063313ce567116101df57806351dbb2a7116101a357806351dbb2a71461079f578063525d0da714610895578063546e0c9b146109175780635ccd4afd14610a0d57806370a0823114610aef57806372b4129a14610b475761025e565b8063313ce5671461059f5780633cae77f7146105c35780633cea3c8914610647578063450ace6f146106d15780634737287d1461070b5761025e565b80630ceb9386116102265780630ceb93861461046957806318160ddd1461048b5780631a686502146104a957806323b872dd1461050f5780632a14b80a146105955761025e565b806301ffc9a714610263578063054f7d9c146102c857806306fdde03146102ea578063095ea7b31461036d5780630b2583c8146103d3575b600080fd5b6102ae6004803603602081101561027957600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611615565b604051808215151515815260200191505060405180910390f35b6102d0611704565b604051808215151515815260200191505060405180910390f35b6102f2611717565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610332578082015181840152602081019050610317565b50505050905090810190601f16801561035f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103b96004803603604081101561038357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611750565b604051808215151515815260200191505060405180910390f35b610453600480360360a08110156103e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506118d9565b6040518082815260200191505060405180910390f35b610471611c02565b604051808215151515815260200191505060405180910390f35b610493611c15565b6040518082815260200191505060405180910390f35b6104b1611c22565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156104fa5780820151818401526020810190506104df565b50505050905001935050505060405180910390f35b61057b6004803603606081101561052557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611d5d565b604051808215151515815260200191505060405180910390f35b61059d611fc1565b005b6105a7612193565b604051808260ff1660ff16815260200191505060405180910390f35b610605600480360360208110156105d957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612198565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106736004803603602081101561065d57600080fd5b8101908080359060200190929190505050612207565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156106bc5780820151818401526020810190506106a1565b50505050905001935050505060405180910390f35b6106d96123b1565b604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b6107416004803603604081101561072157600080fd5b81019080803590602001909291908035906020019092919050505061247d565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561078a57808201518184015260208101905061076f565b50505050905001935050505060405180910390f35b61087f600480360360808110156107b557600080fd5b81019080803590602001906401000000008111156107d257600080fd5b8201836020820111156107e457600080fd5b8035906020019184602083028401116401000000008311171561080657600080fd5b90919293919293908035906020019064010000000081111561082757600080fd5b82018360208201111561083957600080fd5b8035906020019184602083028401116401000000008311171561085b57600080fd5b90919293919293908035906020019092919080359060200190929190505050612758565b6040518082815260200191505060405180910390f35b610901600480360360608110156108ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506129fc565b6040518082815260200191505060405180910390f35b6109f76004803603608081101561092d57600080fd5b810190808035906020019064010000000081111561094a57600080fd5b82018360208201111561095c57600080fd5b8035906020019184602083028401116401000000008311171561097e57600080fd5b90919293919293908035906020019064010000000081111561099f57600080fd5b8201836020820111156109b157600080fd5b803590602001918460208302840111640100000000831117156109d357600080fd5b90919293919293908035906020019092919080359060200190929190505050612b68565b6040518082815260200191505060405180910390f35b610ad960048036036040811015610a2357600080fd5b8101908080359060200190640100000000811115610a4057600080fd5b820183602082011115610a5257600080fd5b80359060200191846020830284011164010000000083111715610a7457600080fd5b909192939192939080359060200190640100000000811115610a9557600080fd5b820183602082011115610aa757600080fd5b80359060200191846020830284011164010000000083111715610ac957600080fd5b9091929391929390505050612e0c565b6040518082815260200191505060405180910390f35b610b3160048036036020811015610b0557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f77565b6040518082815260200191505060405180910390f35b610bc7600480360360a0811015610b5d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190505050612fc3565b6040518082815260200191505060405180910390f35b610c1360048036036040811015610bf357600080fd5b8101908080359060200190929190803590602001909291905050506132ec565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610c56578082015181840152602081019050610c3b565b505050509050019250505060405180910390f35b610c726135d5565b6040518089600f0b600f0b815260200188600f0b600f0b815260200187600f0b600f0b815260200186600f0b600f0b815260200185600f0b600f0b815260200184600f0b600f0b81526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060405180910390f35b610d3760048036036020811015610d1f57600080fd5b81019080803515159060200190929190505050613679565b005b610d7b60048036036020811015610d4f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613793565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610dbe578082015181840152602081019050610da3565b505050509050019250505060405180910390f35b610e50600480360360e0811015610de857600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613980565b005b610e7e60048036036020811015610e6857600080fd5b8101908080359060200190929190505050613b17565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610f2c60048036036060811015610ed657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613b53565b6040518082815260200191505060405180910390f35b610f4a613cbf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61105860048036036040811015610fa257600080fd5b8101908080359060200190640100000000811115610fbf57600080fd5b820183602082011115610fd157600080fd5b80359060200191846020830284011164010000000083111715610ff357600080fd5b90919293919293908035906020019064010000000081111561101457600080fd5b82018360208201111561102657600080fd5b8035906020019184602083028401116401000000008311171561104857600080fd5b9091929391929390505050613ce4565b6040518082815260200191505060405180910390f35b611076613e4f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156110b657808201518184015260208101905061109b565b50505050905090810190601f1680156110e35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6111bd6004803603604081101561110757600080fd5b810190808035906020019064010000000081111561112457600080fd5b82018360208201111561113657600080fd5b8035906020019184602083028401116401000000008311171561115857600080fd5b90919293919293908035906020019064010000000081111561117957600080fd5b82018360208201111561118b57600080fd5b803590602001918460208302840111640100000000831117156111ad57600080fd5b9091929391929390505050613e88565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156112005780820151818401526020810190506111e5565b505050509050019250505060405180910390f35b611294600480360360a081101561122a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506140b2565b6040518082815260200191505060405180910390f35b6112d6600480360360208110156112c057600080fd5b81019080803590602001909291905050506144d5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6113646004803603604081101561132e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050614511565b604051808215151515815260200191505060405180910390f35b6113c06004803603602081101561139457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614740565b604051808215151515815260200191505060405180910390f35b611406600480360360208110156113f057600080fd5b810190808035906020019092919050505061476b565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561144957808201518184015260208101905061142e565b505050509050019250505060405180910390f35b6114896004803603602081101561147357600080fd5b8101908080359060200190929190505050614924565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61150d600480360360208110156114e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614960565b005b611517614c5b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6115bb6004803603604081101561156f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614c6d565b6040518082815260200191505060405180910390f35b611613600480360360208110156115e757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050614cf7565b005b6000817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166301ffc9a760e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806116ae5750817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916637f5828d060e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806116fd5750817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166336372b0760e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600f60019054906101000a900460ff1681565b6040518060400160405280601281526020017f436f6d706f6e656e74204c5020546f6b656e000000000000000000000000000081525081565b6000600f60029054906101000a900460ff166117d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff0219169083151502179055507371b1e5565cb206d426ab355a5835b62e50fc919e63ce76c03c600185856040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060206040518083038186803b15801561187b57600080fd5b505af415801561188f573d6000803e3d6000fd5b505050506040513d60208110156118a557600080fd5b810190808051906020019092919050505090506001600f60026101000a81548160ff02191690831515021790555092915050565b600081804210611951576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff16156119b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16611a39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff02191690831515021790555073fcb0232c365a0a2085e3c26f44e36e81afa1dd616323be1f476001898989336040518663ffffffff1660e01b8152600401808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060206040518083038186803b158015611b4857600080fd5b505af4158015611b5c573d6000803e3d6000fd5b505050506040513d6020811015611b7257600080fd5b81019080805190602001909291905050509150838211611bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614f156021913960400191505060405180910390fd5b6001600f60026101000a81548160ff0219169083151502179055505095945050505050565b600f60009054906101000a900460ff1681565b6000600160040154905090565b60006060737b57f2f49e87b0c622269d025e3be93fba57406e63bd075a0060016040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015611c7657600080fd5b505af4158015611c8a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506040811015611cb457600080fd5b810190808051906020019092919080516040519392919084640100000000821115611cde57600080fd5b83820191506020820185811115611cf457600080fd5b8251866020820283011164010000000082111715611d1157600080fd5b8083526020830192505050908051906020019060200280838360005b83811015611d48578082015181840152602081019050611d2d565b50505050905001604052505050915091509091565b6000600f60029054906101000a900460ff16611de1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff1615611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180614eee6027913960400191505060405180910390fd5b7371b1e5565cb206d426ab355a5835b62e50fc919e636bdffd4560018686866040518563ffffffff1660e01b8152600401808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060206040518083038186803b158015611f6257600080fd5b505af4158015611f76573d6000803e3d6000fd5b505050506040513d6020811015611f8c57600080fd5b810190808051906020019092919050505090506001600f60026101000a81548160ff0219169083151502179055509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b600f60019054906101000a900460ff16612105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f436f6d706f6e656e742f6d7573742d62652d66726f7a656e000000000000000081525060200191505060405180910390fd5b73660717f9cf0e35cd8a2b53d9ef17de8a936a65f0634edb660d6001600b6040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561215e57600080fd5b505af4158015612172573d6000803e3d6000fd5b505050506001600f60006101000a81548160ff021916908315150217905550565b601281565b6000600160070160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006060600f60019054906101000a900460ff1615612271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b736505150f6550c8266ddecef520a38a12a9a8e5d163150fb1e46001856040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b1580156122c957600080fd5b505af41580156122dd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250604081101561230757600080fd5b81019080805190602001909291908051604051939291908464010000000082111561233157600080fd5b8382019150602082018581111561234757600080fd5b825186602082028301116401000000008211171561236457600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561239b578082015181840152602081019050612380565b5050505090500160405250505091509150915091565b6000806000806000735ca410476bb5b803b840b8a1eb153c045a952d35638341bf2e60016040518263ffffffff1660e01b81526004018082815260200191505060a06040518083038186803b15801561240957600080fd5b505af415801561241d573d6000803e3d6000fd5b505050506040513d60a081101561243357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050945094509450945094509091929394565b60006060828042106124f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff161561255d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff166125df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550736505150f6550c8266ddecef520a38a12a9a8e5d163f1bcb8af6001876040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561265257600080fd5b505af4158015612666573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250604081101561269057600080fd5b8101908080519060200190929190805160405193929190846401000000008211156126ba57600080fd5b838201915060208201858111156126d057600080fd5b82518660208202830111640100000000821117156126ed57600080fd5b8083526020830192505050908051906020019060200280838360005b83811015612724578082015181840152602081019050612709565b50505050905001604052505050925092506001600f60026101000a81548160ff021916908315150217905550509250929050565b6000818042106127d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff1615612836576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff166128b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550735d127ae0438393c1057f73afd82752069987c46363080feccc60018a8a8a8a8a6040518763ffffffff1660e01b81526004018087815260200180602001806020018481526020018381038352888882818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252868682818152602001925060200280828437600081840152601f19601f8201169050808301925050509850505050505050505060206040518083038186803b15801561299957600080fd5b505af41580156129ad573d6000803e3d6000fd5b505050506040513d60208110156129c357600080fd5b810190808051906020019092919050505091506001600f60026101000a81548160ff021916908315150217905550509695505050505050565b6000600f60019054906101000a900460ff1615612a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b73fcb0232c365a0a2085e3c26f44e36e81afa1dd6163f54d49e660018686866040518563ffffffff1660e01b8152600401808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060206040518083038186803b158015612b2457600080fd5b505af4158015612b38573d6000803e3d6000fd5b505050506040513d6020811015612b4e57600080fd5b810190808051906020019092919050505090509392505050565b600081804210612be0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff1615612c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16612cc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550735d127ae0438393c1057f73afd82752069987c463633d422d0c60018a8a8a8a8a6040518763ffffffff1660e01b81526004018087815260200180602001806020018481526020018381038352888882818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252868682818152602001925060200280828437600081840152601f19601f8201169050808301925050509850505050505050505060206040518083038186803b158015612da957600080fd5b505af4158015612dbd573d6000803e3d6000fd5b505050506040513d6020811015612dd357600080fd5b810190808051906020019092919050505091506001600f60026101000a81548160ff021916908315150217905550509695505050505050565b6000600f60019054906101000a900460ff1615612e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b735d127ae0438393c1057f73afd82752069987c46363b37d98ae6001878787876040518663ffffffff1660e01b81526004018086815260200180602001806020018381038352878782818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925060200280828437600081840152601f19601f82011690508083019250505097505050505050505060206040518083038186803b158015612f3257600080fd5b505af4158015612f46573d6000803e3d6000fd5b505050506040513d6020811015612f5c57600080fd5b81019080805190602001909291905050509050949350505050565b6000600160080160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008180421061303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff16156130a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16613123576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff02191690831515021790555073fcb0232c365a0a2085e3c26f44e36e81afa1dd6163a89081886001898988336040518663ffffffff1660e01b8152600401808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060206040518083038186803b15801561323257600080fd5b505af4158015613246573d6000803e3d6000fd5b505050506040513d602081101561325c57600080fd5b810190808051906020019092919050505091508482106132c7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ecd6021913960400191505060405180910390fd5b6001600f60026101000a81548160ff0219169083151502179055505095945050505050565b606081804210613364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60009054906101000a900460ff16156133e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f436f6d706f6e656e742f706f6f6c2d706172746974696f6e656400000000000081525060200191505060405180910390fd5b600f60029054906101000a900460ff16613469576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550736505150f6550c8266ddecef520a38a12a9a8e5d163509713c16001866040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b1580156134dc57600080fd5b505af41580156134f0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561351a57600080fd5b810190808051604051939291908464010000000082111561353a57600080fd5b8382019150602082018581111561355057600080fd5b825186602082028301116401000000008211171561356d57600080fd5b8083526020830192505050908051906020019060200280838360005b838110156135a4578082015181840152602081019050613589565b5050505090500160405250505091506001600f60026101000a81548160ff0219169083151502179055505092915050565b60018060000160009054906101000a9004600f0b908060000160109054906101000a9004600f0b908060010160009054906101000a9004600f0b908060010160109054906101000a9004600f0b908060020160009054906101000a9004600f0b908060020160109054906101000a9004600f0b908060040154908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905088565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461373b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b7f7c029deaca9b6c66abb68e5f874a812822f0fcaa52a890f980a7ab1afb5edba681604051808215151515815260200191505060405180910390a180600f60016101000a81548160ff02191690831515021790555050565b6060600f60009054906101000a900460ff16613817576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f436f6d706f6e656e742f706f6f6c2d6e6f742d706172746974696f6e6564000081525060200191505060405180910390fd5b73660717f9cf0e35cd8a2b53d9ef17de8a936a65f0634b2c37bf6001600b856040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001935050505060006040518083038186803b1580156138a457600080fd5b505af41580156138b8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156138e257600080fd5b810190808051604051939291908464010000000082111561390257600080fd5b8382019150602082018581111561391857600080fd5b825186602082028301116401000000008211171561393557600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561396c578082015181840152602081019050613951565b505050509050016040525050509050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613a42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b735ca410476bb5b803b840b8a1eb153c045a952d35633562f9e96001898989898989896040518963ffffffff1660e01b8152600401808981526020018881526020018781526020018681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060006040518083038186803b158015613af657600080fd5b505af4158015613b0a573d6000803e3d6000fd5b5050505050505050505050565b600e8181548110613b2457fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60019054906101000a900460ff1615613bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b73fcb0232c365a0a2085e3c26f44e36e81afa1dd61639015618360018686866040518563ffffffff1660e01b8152600401808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060206040518083038186803b158015613c7b57600080fd5b505af4158015613c8f573d6000803e3d6000fd5b505050506040513d6020811015613ca557600080fd5b810190808051906020019092919050505090509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60019054906101000a900460ff1615613d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b735d127ae0438393c1057f73afd82752069987c46363f53157de6001878787876040518663ffffffff1660e01b81526004018086815260200180602001806020018381038352878782818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925060200280828437600081840152601f19601f82011690508083019250505097505050505050505060206040518083038186803b158015613e0a57600080fd5b505af4158015613e1e573d6000803e3d6000fd5b505050506040513d6020811015613e3457600080fd5b81019080805190602001909291905050509050949350505050565b6040518060400160405280600681526020017f434d502d4c50000000000000000000000000000000000000000000000000000081525081565b6060600f60009054906101000a900460ff16613f0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f436f6d706f6e656e742f706f6f6c2d6e6f742d706172746974696f6e6564000081525060200191505060405180910390fd5b73660717f9cf0e35cd8a2b53d9ef17de8a936a65f063a8b0ad966001600b888888886040518763ffffffff1660e01b81526004018087815260200186815260200180602001806020018381038352878782818152602001925060200280828437600081840152601f19601f8201169050808301925050508381038252858582818152602001925060200280828437600081840152601f19601f8201169050808301925050509850505050505050505060006040518083038186803b158015613fd357600080fd5b505af4158015613fe7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561401157600080fd5b810190808051604051939291908464010000000082111561403157600080fd5b8382019150602082018581111561404757600080fd5b825186602082028301116401000000008211171561406457600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561409b578082015181840152602081019050614080565b505050509050016040525050509050949350505050565b60008180421061412a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6d706f6e656e742f74782d646561646c696e652d7061737365640000000081525060200191505060405180910390fd5b600f60019054906101000a900460ff1615614190576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614e996034913960400191505060405180910390fd5b600f60029054906101000a900460ff16614212576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff02191690831515021790555060005a905073fcb0232c365a0a2085e3c26f44e36e81afa1dd616323be1f4760018a8a8a336040518663ffffffff1660e01b8152600401808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060206040518083038186803b15801561432657600080fd5b505af415801561433a573d6000803e3d6000fd5b505050506040513d602081101561435057600080fd5b810190808051906020019092919050505092508483116143bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614f156021913960400191505060405180910390fd5b6000803690506010025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c73ffffffffffffffffffffffffffffffffffffffff1663079d229f3361a0aa61374a85018161440857fe5b046040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561447257600080fd5b505af1158015614486573d6000803e3d6000fd5b505050506040513d602081101561449c57600080fd5b81019080805190602001909291905050505050506001600f60026101000a81548160ff0219169083151502179055505095945050505050565b600d81815481106144e257fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60029054906101000a900460ff16614595576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f436f6d706f6e656e742f72652d656e746572656400000000000000000000000081525060200191505060405180910390fd5b6000600f60026101000a81548160ff021916908315150217905550600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff1615614656576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180614eee6027913960400191505060405180910390fd5b7371b1e5565cb206d426ab355a5835b62e50fc919e63af4cc91e600185856040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060206040518083038186803b1580156146e257600080fd5b505af41580156146f6573d6000803e3d6000fd5b505050506040513d602081101561470c57600080fd5b810190808051906020019092919050505090506001600f60026101000a81548160ff02191690831515021790555092915050565b600b6020528060005260406000206000915090508060010160009054906101000a900460ff16905081565b6060600f60009054906101000a900460ff16156147f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f436f6d706f6e656e742f706f6f6c2d706172746974696f6e656400000000000081525060200191505060405180910390fd5b736505150f6550c8266ddecef520a38a12a9a8e5d163e5ec0df36001846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060006040518083038186803b15801561484857600080fd5b505af415801561485c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561488657600080fd5b81019080805160405193929190846401000000008211156148a657600080fd5b838201915060208201858111156148bc57600080fd5b82518660208202830111640100000000821117156148d957600080fd5b8083526020830192505050908051906020019060200280838360005b838110156149105780820151818401526020810190506148f5565b505050509050016040525050509050919050565b600c818154811061493157fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614614a22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b60008090505b600d80549050811015614bd757600d8181548110614a4257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614e786021913960400191505060405180910390fd5b600e8181548110614afe57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614bca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f436f6d706f6e656e742f63616e6e6f742d64656c6574652d726573657276650081525060200191505060405180910390fd5b8080600101915050614a28565b50600160070160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549060ff0219169055505050565b6d4946c0e9f43f4dee607b0ef1fa1c81565b6000600160090160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614614db9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f436f6d706f6e656e742f63616c6c65722d69732d6e6f742d6f776e657200000081525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0d18b5fd22306e373229b9439188228edca81207d1667f604daf6cef8aa3ee6760405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe436f6d706f6e656e742f63616e6e6f742d64656c6574652d6e756d657261697265436f6d706f6e656e742f66726f7a656e2d6f6e6c792d616c6c6f77696e672d70726f706f7274696f6e616c2d7769746864726177436f6d706f6e656e742f61626f76652d6d61782d6f726967696e2d616d6f756e74436f6d706f6e656e742f6e6f2d7472616e73666572732d6f6e63652d706172746974696f6e6564436f6d706f6e656e742f62656c6f772d6d696e2d7461726765742d616d6f756e74a265627a7a72315820c8a64176c5112ae7e18fa2b6619a3306bdef55c5dc6597f8b2e7d70f578bcc9a64736f6c63430005110032

Deployed Bytecode Sourcemap

89914:21271:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89914:21271:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104858:358;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;104858:358:0;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;72236:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;71216:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;71216:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109141:176;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;109141:176:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;95458:468;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;95458:468:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;72196:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;109835:123;;;:::i;:::-;;;;;;;;;;;;;;;;;;;110683:176;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;110683:176:0;;;;;;;;;;;;;;;;;;108494:369;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;108494:369:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;105957:210;;;:::i;:::-;;71322:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;110984:196;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;110984:196:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;102003:277;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;102003:277:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;102003:277:0;;;;;;;;;;;;;;;;;;94342:234;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101204:316;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;101204:316:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;101204:316:0;;;;;;;;;;;;;;;;;;99490:399;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;99490:399:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;99490:399:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;99490:399:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;99490:399:0;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;99490:399:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;99490:399:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;99490:399:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;98490:288;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;98490:288:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;102947:401;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;102947:401:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;102947:401:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;102947:401:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;102947:401:0;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;102947:401:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;102947:401:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;102947:401:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;100414:308;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;100414:308:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;100414:308:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;100414:308:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;100414:308:0;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;100414:308:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;100414:308:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;100414:308:0;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;109530:168;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;109530:168:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;97634:468;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;97634:468:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;104543:307;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;104543:307:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;104543:307:0;;;;;;;;;;;;;;;;;71368:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94584:173;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;94584:173:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;107302:243;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;107302:243:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;107302:243:0;;;;;;;;;;;;;;;;;93107:333;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;93107:333:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;72162:25;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;72162:25:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;96821:288;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;96821:288:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;71187:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;103779:310;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;103779:310:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;103779:310:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;103779:310:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;103779:310:0;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;103779:310:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;103779:310:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;103779:310:0;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;71274:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;71274:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106652:309;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;106652:309:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;106652:309:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;106652:309:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;106652:309:0;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;106652:309:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;106652:309:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;106652:309:0;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;106652:309:0;;;;;;;;;;;;;;;;;95934:491;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;95934:491:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;72128:27;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;72128:27:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;107792:329;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;107792:329:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;71934:60;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;71934:60:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;105679:270;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;105679:270:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;105679:270:0;;;;;;;;;;;;;;;;;72093:28;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;72093:28:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;93578:402;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;93578:402:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;90869:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;110229:207;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;110229:207:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;94765:161;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;94765:161:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;104858:358;104952:14;105034:10;104999:45;;;:31;;;:45;;;;:105;;;;105094:10;105072:32;;;105079:10;105072:18;;:32;;;;104999:105;:182;;;;105171:10;105149:32;;;105156:10;105149:18;;:32;;;;104999:182;104987:194;;104858:358;;;:::o;72236:26::-;;;;;;;;;;;;;:::o;71216:51::-;;;;;;;;;;;;;;;;;;;:::o;109141:176::-;109220:13;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;109259:10;:18;109278:9;109289:8;109299:7;109259:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;109259:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;109259:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;109259:48:0;;;;;;;;;;;;;;;;109248:59;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;109141:176;;;;:::o;95458:468::-;95698:18;95642:9;91956;91938:15;:27;91930:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;95753:5;:16;95770:9;95781:7;95790;95799:13;95814:10;95753:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;95753:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;95753:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;95753:72:0;;;;;;;;;;;;;;;;95737:88;;95862:16;95846:13;:32;95838:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;95458:468;;;;;;;;:::o;72196:31::-;;;;;;;;;;;;;:::o;109835:123::-;109880:17;109927:9;:21;;;109912:36;;109835:123;:::o;110683:176::-;110736:11;110758:25;110811:13;:27;110839:9;110811:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;110811:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;110811:38:0;;;;;;39:16:-1;36:1;17:17;2:54;110811:38:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;110811:38:0;;;;;;;;;;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;110811:38:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;110811:38:0;;;;;;;;;;;110804:45;;;;110683:176;;:::o;108494:369::-;108641:13;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;108684:16;:25;108701:7;108684:25;;;;;;;;;;;;;;;:37;;;;;;;;;;;;108683:38;108675:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108789:10;:23;108813:9;108824:7;108833:10;108845:7;108789:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;108789:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;108789:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;108789:64:0;;;;;;;;;;;;;;;;108778:75;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;108494:369;;;;;:::o;105957:210::-;91263:5;;;;;;;;;;;91249:19;;:10;:19;;;91241:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106019:6;;;;;;;;;;;106011:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106067:20;:30;106098:9;106109:16;106067:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;106067:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;106067:59:0;;;;106153:4;106139:11;;:18;;;;;;;;;;;;;;;;;;105957:210::o;71322:37::-;71357:2;71322:37;:::o;110984:196::-;111074:20;111130:9;:22;;:35;111153:11;111130:35;;;;;;;;;;;;;;;:40;;;;;;;;;;;;111115:55;;110984:196;;;:::o;102003:277::-;102114:22;102147:29;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102204:21;:45;102250:9;102261:8;102204:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;102204:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;102204:66:0;;;;;;39:16:-1;36:1;17:17;2:54;102204:66:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;102204:66:0;;;;;;;;;;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;102204:66:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;102204:66:0;;;;;;;;;;;102197:73;;;;102003:277;;;:::o;94342:234::-;94400:11;94422:10;94443:11;94465:13;94489:12;94529;:26;94556:9;94529:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94529:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94529:37:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;94529:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94522:44;;;;;;;;;;94342:234;;;;;:::o;101204:316::-;101364:22;101397:23;101308:9;91956;91938:15;:27;91930:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;101448:21;:41;101490:9;101501:8;101448:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;101448:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;101448:62:0;;;;;;39:16:-1;36:1;17:17;2:54;101448:62:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;101448:62:0;;;;;;;;;;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;101448:62:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;101448:62:0;;;;;;;;;;;101441:69;;;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;101204:316;;;;;;:::o;99490:399::-;99730:22;99674:9;91956;91938:15;:27;91930:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;99793;:35;99829:9;99840:12;;99854:8;;99864:14;99793:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;99793:86:0;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;99793:86:0;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;99793:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;99793:86:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;99793:86:0;;;;;;;;;;;;;;;;99773:106;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;99490:399;;;;;;;;;:::o;98490:288::-;98649:18;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98704:5;:20;98725:9;98736:7;98745;98754:13;98704:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;98704:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;98704:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;98704:64:0;;;;;;;;;;;;;;;;98688:80;;98490:288;;;;;:::o;102947:401::-;103188:22;103132:9;91956;91938:15;:27;91930:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;103251;:36;103288:9;103299:12;;103313:8;;103323:14;103251:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;103251:87:0;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;103251:87:0;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;103251:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;103251:87:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;103251:87:0;;;;;;;;;;;;;;;;103231:107;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;102947:401;;;;;;;;;:::o;100414:308::-;100575:22;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100638:18;:39;100678:9;100689:12;;100703:8;;100638:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;100638:74:0;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;100638:74:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;100638:74:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;100638:74:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;100638:74:0;;;;;;;;;;;;;;;;100618:94;;100414:308;;;;;;:::o;109530:168::-;109615:13;109660:9;:18;;:28;109679:8;109660:28;;;;;;;;;;;;;;;;109649:39;;109530:168;;;:::o;97634:468::-;97874:18;97818:9;91956;91938:15;:27;91930:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;97929:5;:16;97946:9;97957:7;97966;97975:13;97990:10;97929:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;97929:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97929:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;97929:72:0;;;;;;;;;;;;;;;;97913:88;;98038:16;98022:13;:32;98014:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;97634:468;;;;;;;;:::o;104543:307::-;104714:26;104657:9;91956;91938:15;:27;91930:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91687:11;;;;;;;;;;;91686:12;91678:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;104768:21;:42;104811:9;104822:17;104768:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;104768:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;104768:72:0;;;;;;39:16:-1;36:1;17:17;2:54;104768:72:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;104768:72:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;104768:72:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;104768:72:0;;;;;;;;;;;104761:79;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;104543:307;;;;;:::o;71368:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;94584:173::-;91263:5;;;;;;;;;;;91249:19;;:10;:19;;;91241:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94670:33;94680:22;94670:33;;;;;;;;;;;;;;;;;;;;;;94725:22;94716:6;;:31;;;;;;;;;;;;;;;;;;94584:173;:::o;107302:243::-;107410:21;91806:11;;;;;;;;;;;91798:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107459:20;:40;107500:9;107511:16;107529:5;107459:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;107459:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;107459:76:0;;;;;;39:16:-1;36:1;17:17;2:54;107459:76:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;107459:76:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;107459:76:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;107459:76:0;;;;;;;;;;;107452:83;;107302:243;;;:::o;93107:333::-;91263:5;;;;;;;;;;;91249:19;;:10;:19;;;91241:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93332:12;:22;93355:9;93366:6;93374:5;93381:10;93393:8;93403:7;93412:6;93420:9;93332:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;93332:98:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;93332:98:0;;;;93107:333;;;;;;;:::o;72162:25::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;96821:288::-;96980:18;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97035:5;:20;97056:9;97067:7;97076;97085:13;97035:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;97035:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97035:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;97035:64:0;;;;;;;;;;;;;;;;97019:80;;96821:288;;;;;:::o;71187:20::-;;;;;;;;;;;;;:::o;103779:310::-;103941:22;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104004:18;:40;104045:9;104056:12;;104070:8;;104004:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;104004:75:0;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;104004:75:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;104004:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;104004:75:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;104004:75:0;;;;;;;;;;;;;;;;103984:95;;103779:310;;;;;;:::o;71274:41::-;;;;;;;;;;;;;;;;;;;:::o;106652:309::-;106806:29;91806:11;;;;;;;;;;;91798:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106863:20;:40;106904:9;106915:16;106933:7;;106942:8;;106863:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;106863:88:0;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;106863:88:0;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;106863:88:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;106863:88:0;;;;;;39:16:-1;36:1;17:17;2:54;106863:88:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;106863:88:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;106863:88:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;106863:88:0;;;;;;;;;;;106856:95;;106652:309;;;;;;:::o;95934:491::-;96197:18;96129:9;91956;91938:15;:27;91930:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91546:6;;;;;;;;;;;91545:7;91537:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;91003:16;91022:9;91003:28;;96252:5;:16;96269:9;96280:7;96289;96298:13;96313:10;96252:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;96252:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;96252:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;96252:72:0;;;;;;;;;;;;;;;;96236:88;;96361:16;96345:13;:32;96337:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91054:16;91109:8;;:15;;91104:2;:20;91092:9;91081:8;91073:5;:16;:28;:51;91054:70;;90919:42;91135:16;;;91152:10;91185:5;91176;91165:8;:16;91164:26;;;;;;91135:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;91135:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91135:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;91135:56:0;;;;;;;;;;;;;;;;;91452:1;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;95934:491;;;;;;;;:::o;72128:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;107792:329::-;107909:13;91377:10;;;;;;;;;;;91369:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91436:5;91423:10;;:18;;;;;;;;;;;;;;;;;;107952:16;:28;107969:10;107952:28;;;;;;;;;;;;;;;:40;;;;;;;;;;;;107951:41;107943:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108060:10;:19;108080:9;108091:10;108103:7;108060:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;108060:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;108060:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;108060:51:0;;;;;;;;;;;;;;;;108049:62;;91477:4;91464:10;;:17;;;;;;;;;;;;;;;;;;107792:329;;;;:::o;71934:60::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;105679:270::-;105801:34;91687:11;;;;;;;;;;;91686:12;91678:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105863:21;:46;105910:9;105921:17;105863:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;105863:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;105863:76:0;;;;;;39:16:-1;36:1;17:17;2:54;105863:76:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;105863:76:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;385:12;380:3;373:25;421:4;416:3;412:14;405:21;;0:433;;105863:76:0;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;105863:76:0;;;;;;;;;;;105856:83;;105679:270;;;:::o;72093:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;93578:402::-;91263:5;;;;;;;;;;;91249:19;;:10;:19;;;91241:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93680:6;93689:1;93680:10;;93675:241;93696:10;:17;;;;93692:1;:21;93675:241;;;93756:10;93767:1;93756:13;;;;;;;;;;;;;;;;;;;;;;;;;93741:28;;:11;:28;;;93737:77;;;93771:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93737:77;93848:8;93857:1;93848:11;;;;;;;;;;;;;;;;;;;;;;;;;93833:26;;:11;:26;;;93829:73;;;93861:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93829:73;93715:3;;;;;;;93675:241;;;;93935:9;:22;;:35;93958:11;93935:35;;;;;;;;;;;;;;;;93928:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93578:402;:::o;90869:93::-;90919:42;90869:93;:::o;110229:207::-;110339:15;110388:9;:20;;:28;110409:6;110388:28;;;;;;;;;;;;;;;:38;110417:8;110388:38;;;;;;;;;;;;;;;;110375:51;;110229:207;;;;:::o;94765:161::-;91263:5;;;;;;;;;;;91249:19;;:10;:19;;;91241:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94876:9;94849:37;;94869:5;;;;;;;;;;;94849:37;;;;;;;;;;;;94907:9;94899:5;;:17;;;;;;;;;;;;;;;;;;94765:161;:::o

Swarm Source

bzzr://c8a64176c5112ae7e18fa2b6619a3306bdef55c5dc6597f8b2e7d70f578bcc9a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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