ETH Price: $3,109.71 (-1.52%)

Contract

0x213e547cb9F3abb34720E8643aEc87F55362C2ec
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x6115e060118547312021-02-14 12:11:071374 days ago1613304667IN
 Create: PowerOracle
0 ETH0.653581598

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PowerOracle

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-14
*/

/*
https://powerpool.finance/

          wrrrw r wrr
         ppwr rrr wppr0       prwwwrp                                 prwwwrp                   wr0
        rr 0rrrwrrprpwp0      pp   pr  prrrr0 pp   0r  prrrr0  0rwrrr pp   pr  prrrr0  prrrr0    r0
        rrp pr   wr00rrp      prwww0  pp   wr pp w00r prwwwpr  0rw    prwww0  pp   wr pp   wr    r0
        r0rprprwrrrp pr0      pp      wr   pr pp rwwr wr       0r     pp      wr   pr wr   pr    r0
         prwr wrr0wpwr        00        www0   0w0ww    www0   0w     00        www0    www0   0www0
          wrr ww0rrrr

*/
// SPDX-License-Identifier: GPL-3.0

// File: @openzeppelin/upgrades-core/contracts/Initializable.sol

pragma solidity >=0.4.24 <0.7.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: @openzeppelin/contracts/utils/SafeCast.sol

pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value < 2**128, "SafeCast: value doesn\'t fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value < 2**64, "SafeCast: value doesn\'t fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value < 2**32, "SafeCast: value doesn\'t fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value < 2**16, "SafeCast: value doesn\'t fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value < 2**8, "SafeCast: value doesn\'t fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128) {
        require(value >= -2**127 && value < 2**127, "SafeCast: value doesn\'t fit in 128 bits");
        return int128(value);
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64) {
        require(value >= -2**63 && value < 2**63, "SafeCast: value doesn\'t fit in 64 bits");
        return int64(value);
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32) {
        require(value >= -2**31 && value < 2**31, "SafeCast: value doesn\'t fit in 32 bits");
        return int32(value);
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16) {
        require(value >= -2**15 && value < 2**15, "SafeCast: value doesn\'t fit in 16 bits");
        return int16(value);
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8) {
        require(value >= -2**7 && value < 2**7, "SafeCast: value doesn\'t fit in 8 bits");
        return int8(value);
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        require(value < 2**255, "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

// File: contracts/interfaces/IPowerOracle.sol

pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

interface IPowerOracle {
  enum ReportInterval { LESS_THAN_MIN, OK, GREATER_THAN_MAX }

  function pokeFromReporter(
    uint256 reporterId_,
    string[] memory symbols_,
    bytes calldata rewardOpts
  ) external;

  function pokeFromSlasher(
    uint256 slasherId_,
    string[] memory symbols_,
    bytes calldata rewardOpts
  ) external;

  function poke(string[] memory symbols_) external;

  function slasherHeartbeat(uint256 slasherId) external;

  /*** Owner Interface ***/
  function setPowerPoke(address powerOracleStaking) external;

  function pause() external;

  function unpause() external;

  /*** Viewers ***/
  function getPriceByAsset(address token) external view returns (uint256);

  function getPriceBySymbol(string calldata symbol) external view returns (uint256);

  function getPriceBySymbolHash(bytes32 symbolHash) external view returns (uint256);

  function getUnderlyingPrice(address cToken) external view returns (uint256);

  function assetPrices(address token) external view returns (uint256);
}

// File: contracts/interfaces/IPowerPoke.sol

pragma solidity ^0.6.12;

interface IPowerPoke {
  /*** CLIENT'S CONTRACT INTERFACE ***/
  function authorizeReporter(uint256 userId_, address pokerKey_) external view;

  function authorizeNonReporter(uint256 userId_, address pokerKey_) external view;

  function authorizeNonReporterWithDeposit(
    uint256 userId_,
    address pokerKey_,
    uint256 overrideMinDeposit_
  ) external view;

  function authorizePoker(uint256 userId_, address pokerKey_) external view;

  function authorizePokerWithDeposit(
    uint256 userId_,
    address pokerKey_,
    uint256 overrideMinStake_
  ) external view;

  function slashReporter(uint256 slasherId_, uint256 times_) external;

  function reward(
    uint256 userId_,
    uint256 gasUsed_,
    uint256 compensationPlan_,
    bytes calldata pokeOptions_
  ) external;

  /*** CLIENT OWNER INTERFACE ***/
  function transferClientOwnership(address client_, address to_) external;

  function addCredit(address client_, uint256 amount_) external;

  function withdrawCredit(
    address client_,
    address to_,
    uint256 amount_
  ) external;

  function setReportIntervals(
    address client_,
    uint256 minReportInterval_,
    uint256 maxReportInterval_
  ) external;

  function setSlasherHeartbeat(address client_, uint256 slasherHeartbeat_) external;

  function setGasPriceLimit(address client_, uint256 gasPriceLimit_) external;

  function setFixedCompensations(
    address client_,
    uint256 eth_,
    uint256 cvp_
  ) external;

  function setBonusPlan(
    address client_,
    uint256 planId_,
    bool active_,
    uint64 bonusNominator_,
    uint64 bonusDenominator_,
    uint64 perGas_
  ) external;

  function setMinimalDeposit(address client_, uint256 defaultMinDeposit_) external;

  /*** POKER INTERFACE ***/
  function withdrawRewards(uint256 userId_, address to_) external;

  function setPokerKeyRewardWithdrawAllowance(uint256 userId_, bool allow_) external;

  /*** OWNER INTERFACE ***/
  function addClient(
    address client_,
    address owner_,
    bool canSlash_,
    uint256 gasPriceLimit_,
    uint256 minReportInterval_,
    uint256 maxReportInterval_
  ) external;

  function setClientActiveFlag(address client_, bool active_) external;

  function setCanSlashFlag(address client_, bool canSlash) external;

  function setOracle(address oracle_) external;

  function pause() external;

  function unpause() external;

  /*** GETTERS ***/
  function creditOf(address client_) external view returns (uint256);

  function ownerOf(address client_) external view returns (address);

  function getMinMaxReportIntervals(address client_) external view returns (uint256 min, uint256 max);

  function getSlasherHeartbeat(address client_) external view returns (uint256);

  function getGasPriceLimit(address client_) external view returns (uint256);

  function getPokerBonus(
    address client_,
    uint256 bonusPlanId_,
    uint256 gasUsed_,
    uint256 userDeposit_
  ) external view returns (uint256);

  function getGasPriceFor(address client_) external view returns (uint256);
}

// File: contracts/PowerOracleStorageV1.sol

pragma solidity ^0.6.12;


contract PowerOracleStorageV1 {
  struct Price {
    uint128 timestamp;
    uint128 value;
  }

  struct Observation {
    uint256 timestamp;
    uint256 acc;
  }

  /// @notice The linked PowerOracleStaking contract address
  IPowerPoke public powerPoke;

  /// @notice Official prices and timestamps by symbol hash
  mapping(bytes32 => Price) public prices;

  /// @notice Last slasher update time by a user ID
  mapping(uint256 => uint256) public lastSlasherUpdates;

  /// @notice The old observation for each symbolHash
  mapping(bytes32 => Observation) public oldObservations;

  /// @notice The new observation for each symbolHash
  mapping(bytes32 => Observation) public newObservations;
}

// File: contracts/Uniswap/UniswapConfig.sol

pragma solidity ^0.6.10;

interface CErc20 {
    function underlying() external view returns (address);
}

contract UniswapConfig {
    /// @dev Describe how to interpret the fixedPrice in the TokenConfig.
    enum PriceSource {
        FIXED_ETH, /// implies the fixedPrice is a constant multiple of the ETH price (which varies)
        FIXED_USD, /// implies the fixedPrice is a constant multiple of the USD price (which is 1)
        REPORTER   /// implies the price is set by the reporter
    }

    /// @dev Describe how the USD price should be determined for an asset.
    ///  There should be 1 TokenConfig object for each supported asset, passed in the constructor.
    struct TokenConfig {
        address cToken;
        address underlying;
        bytes32 symbolHash;
        uint256 baseUnit;
        PriceSource priceSource;
        uint256 fixedPrice;
        address uniswapMarket;
        bool isUniswapReversed;
    }

    /// @notice The max number of tokens this contract is hardcoded to support
    /// @dev Do not change this variable without updating all the fields throughout the contract.
    uint public constant maxTokens = 21;

    /// @notice The number of tokens this contract actually supports
    uint public immutable numTokens;

    address internal immutable cToken00;
    address internal immutable cToken01;
    address internal immutable cToken02;
    address internal immutable cToken03;
    address internal immutable cToken04;
    address internal immutable cToken05;
    address internal immutable cToken06;
    address internal immutable cToken07;
    address internal immutable cToken08;
    address internal immutable cToken09;
    address internal immutable cToken10;
    address internal immutable cToken11;
    address internal immutable cToken12;
    address internal immutable cToken13;
    address internal immutable cToken14;
    address internal immutable cToken15;
    address internal immutable cToken16;
    address internal immutable cToken17;
    address internal immutable cToken18;
    address internal immutable cToken19;
    address internal immutable cToken20;
//    address internal immutable cToken21;
//    address internal immutable cToken22;
//    address internal immutable cToken23;
//    address internal immutable cToken24;
//    address internal immutable cToken25;
//    address internal immutable cToken26;
//    address internal immutable cToken27;
//    address internal immutable cToken28;
//    address internal immutable cToken29;

    address internal immutable underlying00;
    address internal immutable underlying01;
    address internal immutable underlying02;
    address internal immutable underlying03;
    address internal immutable underlying04;
    address internal immutable underlying05;
    address internal immutable underlying06;
    address internal immutable underlying07;
    address internal immutable underlying08;
    address internal immutable underlying09;
    address internal immutable underlying10;
    address internal immutable underlying11;
    address internal immutable underlying12;
    address internal immutable underlying13;
    address internal immutable underlying14;
    address internal immutable underlying15;
    address internal immutable underlying16;
    address internal immutable underlying17;
    address internal immutable underlying18;
    address internal immutable underlying19;
    address internal immutable underlying20;
//    address internal immutable underlying21;
//    address internal immutable underlying22;
//    address internal immutable underlying23;
//    address internal immutable underlying24;
//    address internal immutable underlying25;
//    address internal immutable underlying26;
//    address internal immutable underlying27;
//    address internal immutable underlying28;
//    address internal immutable underlying29;

    bytes32 internal immutable symbolHash00;
    bytes32 internal immutable symbolHash01;
    bytes32 internal immutable symbolHash02;
    bytes32 internal immutable symbolHash03;
    bytes32 internal immutable symbolHash04;
    bytes32 internal immutable symbolHash05;
    bytes32 internal immutable symbolHash06;
    bytes32 internal immutable symbolHash07;
    bytes32 internal immutable symbolHash08;
    bytes32 internal immutable symbolHash09;
    bytes32 internal immutable symbolHash10;
    bytes32 internal immutable symbolHash11;
    bytes32 internal immutable symbolHash12;
    bytes32 internal immutable symbolHash13;
    bytes32 internal immutable symbolHash14;
    bytes32 internal immutable symbolHash15;
    bytes32 internal immutable symbolHash16;
    bytes32 internal immutable symbolHash17;
    bytes32 internal immutable symbolHash18;
    bytes32 internal immutable symbolHash19;
    bytes32 internal immutable symbolHash20;
//    bytes32 internal immutable symbolHash21;
//    bytes32 internal immutable symbolHash22;
//    bytes32 internal immutable symbolHash23;
//    bytes32 internal immutable symbolHash24;
//    bytes32 internal immutable symbolHash25;
//    bytes32 internal immutable symbolHash26;
//    bytes32 internal immutable symbolHash27;
//    bytes32 internal immutable symbolHash28;
//    bytes32 internal immutable symbolHash29;

    uint256 internal immutable baseUnit00;
    uint256 internal immutable baseUnit01;
    uint256 internal immutable baseUnit02;
    uint256 internal immutable baseUnit03;
    uint256 internal immutable baseUnit04;
    uint256 internal immutable baseUnit05;
    uint256 internal immutable baseUnit06;
    uint256 internal immutable baseUnit07;
    uint256 internal immutable baseUnit08;
    uint256 internal immutable baseUnit09;
    uint256 internal immutable baseUnit10;
    uint256 internal immutable baseUnit11;
    uint256 internal immutable baseUnit12;
    uint256 internal immutable baseUnit13;
    uint256 internal immutable baseUnit14;
    uint256 internal immutable baseUnit15;
    uint256 internal immutable baseUnit16;
    uint256 internal immutable baseUnit17;
    uint256 internal immutable baseUnit18;
    uint256 internal immutable baseUnit19;
    uint256 internal immutable baseUnit20;
//    uint256 internal immutable baseUnit21;
//    uint256 internal immutable baseUnit22;
//    uint256 internal immutable baseUnit23;
//    uint256 internal immutable baseUnit24;
//    uint256 internal immutable baseUnit25;
//    uint256 internal immutable baseUnit26;
//    uint256 internal immutable baseUnit27;
//    uint256 internal immutable baseUnit28;
//    uint256 internal immutable baseUnit29;

    PriceSource internal immutable priceSource00;
    PriceSource internal immutable priceSource01;
    PriceSource internal immutable priceSource02;
    PriceSource internal immutable priceSource03;
    PriceSource internal immutable priceSource04;
    PriceSource internal immutable priceSource05;
    PriceSource internal immutable priceSource06;
    PriceSource internal immutable priceSource07;
    PriceSource internal immutable priceSource08;
    PriceSource internal immutable priceSource09;
    PriceSource internal immutable priceSource10;
    PriceSource internal immutable priceSource11;
    PriceSource internal immutable priceSource12;
    PriceSource internal immutable priceSource13;
    PriceSource internal immutable priceSource14;
    PriceSource internal immutable priceSource15;
    PriceSource internal immutable priceSource16;
    PriceSource internal immutable priceSource17;
    PriceSource internal immutable priceSource18;
    PriceSource internal immutable priceSource19;
    PriceSource internal immutable priceSource20;
//    PriceSource internal immutable priceSource21;
//    PriceSource internal immutable priceSource22;
//    PriceSource internal immutable priceSource23;
//    PriceSource internal immutable priceSource24;
//    PriceSource internal immutable priceSource25;
//    PriceSource internal immutable priceSource26;
//    PriceSource internal immutable priceSource27;
//    PriceSource internal immutable priceSource28;
//    PriceSource internal immutable priceSource29;

    uint256 internal immutable fixedPrice00;
    uint256 internal immutable fixedPrice01;
    uint256 internal immutable fixedPrice02;
    uint256 internal immutable fixedPrice03;
    uint256 internal immutable fixedPrice04;
    uint256 internal immutable fixedPrice05;
    uint256 internal immutable fixedPrice06;
    uint256 internal immutable fixedPrice07;
    uint256 internal immutable fixedPrice08;
    uint256 internal immutable fixedPrice09;
    uint256 internal immutable fixedPrice10;
    uint256 internal immutable fixedPrice11;
    uint256 internal immutable fixedPrice12;
    uint256 internal immutable fixedPrice13;
    uint256 internal immutable fixedPrice14;
    uint256 internal immutable fixedPrice15;
    uint256 internal immutable fixedPrice16;
    uint256 internal immutable fixedPrice17;
    uint256 internal immutable fixedPrice18;
    uint256 internal immutable fixedPrice19;
    uint256 internal immutable fixedPrice20;
//    uint256 internal immutable fixedPrice21;
//    uint256 internal immutable fixedPrice22;
//    uint256 internal immutable fixedPrice23;
//    uint256 internal immutable fixedPrice24;
//    uint256 internal immutable fixedPrice25;
//    uint256 internal immutable fixedPrice26;
//    uint256 internal immutable fixedPrice27;
//    uint256 internal immutable fixedPrice28;
//    uint256 internal immutable fixedPrice29;

    address internal immutable uniswapMarket00;
    address internal immutable uniswapMarket01;
    address internal immutable uniswapMarket02;
    address internal immutable uniswapMarket03;
    address internal immutable uniswapMarket04;
    address internal immutable uniswapMarket05;
    address internal immutable uniswapMarket06;
    address internal immutable uniswapMarket07;
    address internal immutable uniswapMarket08;
    address internal immutable uniswapMarket09;
    address internal immutable uniswapMarket10;
    address internal immutable uniswapMarket11;
    address internal immutable uniswapMarket12;
    address internal immutable uniswapMarket13;
    address internal immutable uniswapMarket14;
    address internal immutable uniswapMarket15;
    address internal immutable uniswapMarket16;
    address internal immutable uniswapMarket17;
    address internal immutable uniswapMarket18;
    address internal immutable uniswapMarket19;
    address internal immutable uniswapMarket20;
//    address internal immutable uniswapMarket21;
//    address internal immutable uniswapMarket22;
//    address internal immutable uniswapMarket23;
//    address internal immutable uniswapMarket24;
//    address internal immutable uniswapMarket25;
//    address internal immutable uniswapMarket26;
//    address internal immutable uniswapMarket27;
//    address internal immutable uniswapMarket28;
//    address internal immutable uniswapMarket29;

    bool internal immutable isUniswapReversed00;
    bool internal immutable isUniswapReversed01;
    bool internal immutable isUniswapReversed02;
    bool internal immutable isUniswapReversed03;
    bool internal immutable isUniswapReversed04;
    bool internal immutable isUniswapReversed05;
    bool internal immutable isUniswapReversed06;
    bool internal immutable isUniswapReversed07;
    bool internal immutable isUniswapReversed08;
    bool internal immutable isUniswapReversed09;
    bool internal immutable isUniswapReversed10;
    bool internal immutable isUniswapReversed11;
    bool internal immutable isUniswapReversed12;
    bool internal immutable isUniswapReversed13;
    bool internal immutable isUniswapReversed14;
    bool internal immutable isUniswapReversed15;
    bool internal immutable isUniswapReversed16;
    bool internal immutable isUniswapReversed17;
    bool internal immutable isUniswapReversed18;
    bool internal immutable isUniswapReversed19;
    bool internal immutable isUniswapReversed20;
//    bool internal immutable isUniswapReversed21;
//    bool internal immutable isUniswapReversed22;
//    bool internal immutable isUniswapReversed23;
//    bool internal immutable isUniswapReversed24;
//    bool internal immutable isUniswapReversed25;
//    bool internal immutable isUniswapReversed26;
//    bool internal immutable isUniswapReversed27;
//    bool internal immutable isUniswapReversed28;
//    bool internal immutable isUniswapReversed29;

    /**
     * @notice Construct an immutable store of configs into the contract data
     * @param configs The configs for the supported assets
     */
    constructor(TokenConfig[] memory configs) public {
        require(configs.length <= maxTokens, "MAX_TOKENS");
        numTokens = configs.length;

        cToken00 = get(configs, 0).cToken;
        cToken01 = get(configs, 1).cToken;
        cToken02 = get(configs, 2).cToken;
        cToken03 = get(configs, 3).cToken;
        cToken04 = get(configs, 4).cToken;
        cToken05 = get(configs, 5).cToken;
        cToken06 = get(configs, 6).cToken;
        cToken07 = get(configs, 7).cToken;
        cToken08 = get(configs, 8).cToken;
        cToken09 = get(configs, 9).cToken;
        cToken10 = get(configs, 10).cToken;
        cToken11 = get(configs, 11).cToken;
        cToken12 = get(configs, 12).cToken;
        cToken13 = get(configs, 13).cToken;
        cToken14 = get(configs, 14).cToken;
        cToken15 = get(configs, 15).cToken;
        cToken16 = get(configs, 16).cToken;
        cToken17 = get(configs, 17).cToken;
        cToken18 = get(configs, 18).cToken;
        cToken19 = get(configs, 19).cToken;
        cToken20 = get(configs, 20).cToken;
//        cToken21 = get(configs, 21).cToken;
//        cToken22 = get(configs, 22).cToken;
//        cToken23 = get(configs, 23).cToken;
//        cToken24 = get(configs, 24).cToken;
//        cToken25 = get(configs, 25).cToken;
//        cToken26 = get(configs, 26).cToken;
//        cToken27 = get(configs, 27).cToken;
//        cToken28 = get(configs, 28).cToken;
//        cToken29 = get(configs, 29).cToken;

        underlying00 = get(configs, 0).underlying;
        underlying01 = get(configs, 1).underlying;
        underlying02 = get(configs, 2).underlying;
        underlying03 = get(configs, 3).underlying;
        underlying04 = get(configs, 4).underlying;
        underlying05 = get(configs, 5).underlying;
        underlying06 = get(configs, 6).underlying;
        underlying07 = get(configs, 7).underlying;
        underlying08 = get(configs, 8).underlying;
        underlying09 = get(configs, 9).underlying;
        underlying10 = get(configs, 10).underlying;
        underlying11 = get(configs, 11).underlying;
        underlying12 = get(configs, 12).underlying;
        underlying13 = get(configs, 13).underlying;
        underlying14 = get(configs, 14).underlying;
        underlying15 = get(configs, 15).underlying;
        underlying16 = get(configs, 16).underlying;
        underlying17 = get(configs, 17).underlying;
        underlying18 = get(configs, 18).underlying;
        underlying19 = get(configs, 19).underlying;
        underlying20 = get(configs, 20).underlying;
//        underlying21 = get(configs, 21).underlying;
//        underlying22 = get(configs, 22).underlying;
//        underlying23 = get(configs, 23).underlying;
//        underlying24 = get(configs, 24).underlying;
//        underlying25 = get(configs, 25).underlying;
//        underlying26 = get(configs, 26).underlying;
//        underlying27 = get(configs, 27).underlying;
//        underlying28 = get(configs, 28).underlying;
//        underlying29 = get(configs, 29).underlying;

        symbolHash00 = get(configs, 0).symbolHash;
        symbolHash01 = get(configs, 1).symbolHash;
        symbolHash02 = get(configs, 2).symbolHash;
        symbolHash03 = get(configs, 3).symbolHash;
        symbolHash04 = get(configs, 4).symbolHash;
        symbolHash05 = get(configs, 5).symbolHash;
        symbolHash06 = get(configs, 6).symbolHash;
        symbolHash07 = get(configs, 7).symbolHash;
        symbolHash08 = get(configs, 8).symbolHash;
        symbolHash09 = get(configs, 9).symbolHash;
        symbolHash10 = get(configs, 10).symbolHash;
        symbolHash11 = get(configs, 11).symbolHash;
        symbolHash12 = get(configs, 12).symbolHash;
        symbolHash13 = get(configs, 13).symbolHash;
        symbolHash14 = get(configs, 14).symbolHash;
        symbolHash15 = get(configs, 15).symbolHash;
        symbolHash16 = get(configs, 16).symbolHash;
        symbolHash17 = get(configs, 17).symbolHash;
        symbolHash18 = get(configs, 18).symbolHash;
        symbolHash19 = get(configs, 19).symbolHash;
        symbolHash20 = get(configs, 20).symbolHash;
//        symbolHash21 = get(configs, 21).symbolHash;
//        symbolHash22 = get(configs, 22).symbolHash;
//        symbolHash23 = get(configs, 23).symbolHash;
//        symbolHash24 = get(configs, 24).symbolHash;
//        symbolHash25 = get(configs, 25).symbolHash;
//        symbolHash26 = get(configs, 26).symbolHash;
//        symbolHash27 = get(configs, 27).symbolHash;
//        symbolHash28 = get(configs, 28).symbolHash;
//        symbolHash29 = get(configs, 29).symbolHash;

        baseUnit00 = get(configs, 0).baseUnit;
        baseUnit01 = get(configs, 1).baseUnit;
        baseUnit02 = get(configs, 2).baseUnit;
        baseUnit03 = get(configs, 3).baseUnit;
        baseUnit04 = get(configs, 4).baseUnit;
        baseUnit05 = get(configs, 5).baseUnit;
        baseUnit06 = get(configs, 6).baseUnit;
        baseUnit07 = get(configs, 7).baseUnit;
        baseUnit08 = get(configs, 8).baseUnit;
        baseUnit09 = get(configs, 9).baseUnit;
        baseUnit10 = get(configs, 10).baseUnit;
        baseUnit11 = get(configs, 11).baseUnit;
        baseUnit12 = get(configs, 12).baseUnit;
        baseUnit13 = get(configs, 13).baseUnit;
        baseUnit14 = get(configs, 14).baseUnit;
        baseUnit15 = get(configs, 15).baseUnit;
        baseUnit16 = get(configs, 16).baseUnit;
        baseUnit17 = get(configs, 17).baseUnit;
        baseUnit18 = get(configs, 18).baseUnit;
        baseUnit19 = get(configs, 19).baseUnit;
        baseUnit20 = get(configs, 20).baseUnit;
//        baseUnit21 = get(configs, 21).baseUnit;
//        baseUnit22 = get(configs, 22).baseUnit;
//        baseUnit23 = get(configs, 23).baseUnit;
//        baseUnit24 = get(configs, 24).baseUnit;
//        baseUnit25 = get(configs, 25).baseUnit;
//        baseUnit26 = get(configs, 26).baseUnit;
//        baseUnit27 = get(configs, 27).baseUnit;
//        baseUnit28 = get(configs, 28).baseUnit;
//        baseUnit29 = get(configs, 29).baseUnit;

        priceSource00 = get(configs, 0).priceSource;
        priceSource01 = get(configs, 1).priceSource;
        priceSource02 = get(configs, 2).priceSource;
        priceSource03 = get(configs, 3).priceSource;
        priceSource04 = get(configs, 4).priceSource;
        priceSource05 = get(configs, 5).priceSource;
        priceSource06 = get(configs, 6).priceSource;
        priceSource07 = get(configs, 7).priceSource;
        priceSource08 = get(configs, 8).priceSource;
        priceSource09 = get(configs, 9).priceSource;
        priceSource10 = get(configs, 10).priceSource;
        priceSource11 = get(configs, 11).priceSource;
        priceSource12 = get(configs, 12).priceSource;
        priceSource13 = get(configs, 13).priceSource;
        priceSource14 = get(configs, 14).priceSource;
        priceSource15 = get(configs, 15).priceSource;
        priceSource16 = get(configs, 16).priceSource;
        priceSource17 = get(configs, 17).priceSource;
        priceSource18 = get(configs, 18).priceSource;
        priceSource19 = get(configs, 19).priceSource;
        priceSource20 = get(configs, 20).priceSource;
//        priceSource21 = get(configs, 21).priceSource;
//        priceSource22 = get(configs, 22).priceSource;
//        priceSource23 = get(configs, 23).priceSource;
//        priceSource24 = get(configs, 24).priceSource;
//        priceSource25 = get(configs, 25).priceSource;
//        priceSource26 = get(configs, 26).priceSource;
//        priceSource27 = get(configs, 27).priceSource;
//        priceSource28 = get(configs, 28).priceSource;
//        priceSource29 = get(configs, 29).priceSource;

        fixedPrice00 = get(configs, 0).fixedPrice;
        fixedPrice01 = get(configs, 1).fixedPrice;
        fixedPrice02 = get(configs, 2).fixedPrice;
        fixedPrice03 = get(configs, 3).fixedPrice;
        fixedPrice04 = get(configs, 4).fixedPrice;
        fixedPrice05 = get(configs, 5).fixedPrice;
        fixedPrice06 = get(configs, 6).fixedPrice;
        fixedPrice07 = get(configs, 7).fixedPrice;
        fixedPrice08 = get(configs, 8).fixedPrice;
        fixedPrice09 = get(configs, 9).fixedPrice;
        fixedPrice10 = get(configs, 10).fixedPrice;
        fixedPrice11 = get(configs, 11).fixedPrice;
        fixedPrice12 = get(configs, 12).fixedPrice;
        fixedPrice13 = get(configs, 13).fixedPrice;
        fixedPrice14 = get(configs, 14).fixedPrice;
        fixedPrice15 = get(configs, 15).fixedPrice;
        fixedPrice16 = get(configs, 16).fixedPrice;
        fixedPrice17 = get(configs, 17).fixedPrice;
        fixedPrice18 = get(configs, 18).fixedPrice;
        fixedPrice19 = get(configs, 19).fixedPrice;
        fixedPrice20 = get(configs, 20).fixedPrice;
//        fixedPrice21 = get(configs, 21).fixedPrice;
//        fixedPrice22 = get(configs, 22).fixedPrice;
//        fixedPrice23 = get(configs, 23).fixedPrice;
//        fixedPrice24 = get(configs, 24).fixedPrice;
//        fixedPrice25 = get(configs, 25).fixedPrice;
//        fixedPrice26 = get(configs, 26).fixedPrice;
//        fixedPrice27 = get(configs, 27).fixedPrice;
//        fixedPrice28 = get(configs, 28).fixedPrice;
//        fixedPrice29 = get(configs, 29).fixedPrice;

        uniswapMarket00 = get(configs, 0).uniswapMarket;
        uniswapMarket01 = get(configs, 1).uniswapMarket;
        uniswapMarket02 = get(configs, 2).uniswapMarket;
        uniswapMarket03 = get(configs, 3).uniswapMarket;
        uniswapMarket04 = get(configs, 4).uniswapMarket;
        uniswapMarket05 = get(configs, 5).uniswapMarket;
        uniswapMarket06 = get(configs, 6).uniswapMarket;
        uniswapMarket07 = get(configs, 7).uniswapMarket;
        uniswapMarket08 = get(configs, 8).uniswapMarket;
        uniswapMarket09 = get(configs, 9).uniswapMarket;
        uniswapMarket10 = get(configs, 10).uniswapMarket;
        uniswapMarket11 = get(configs, 11).uniswapMarket;
        uniswapMarket12 = get(configs, 12).uniswapMarket;
        uniswapMarket13 = get(configs, 13).uniswapMarket;
        uniswapMarket14 = get(configs, 14).uniswapMarket;
        uniswapMarket15 = get(configs, 15).uniswapMarket;
        uniswapMarket16 = get(configs, 16).uniswapMarket;
        uniswapMarket17 = get(configs, 17).uniswapMarket;
        uniswapMarket18 = get(configs, 18).uniswapMarket;
        uniswapMarket19 = get(configs, 19).uniswapMarket;
        uniswapMarket20 = get(configs, 20).uniswapMarket;
//        uniswapMarket21 = get(configs, 21).uniswapMarket;
//        uniswapMarket22 = get(configs, 22).uniswapMarket;
//        uniswapMarket23 = get(configs, 23).uniswapMarket;
//        uniswapMarket24 = get(configs, 24).uniswapMarket;
//        uniswapMarket25 = get(configs, 25).uniswapMarket;
//        uniswapMarket26 = get(configs, 26).uniswapMarket;
//        uniswapMarket27 = get(configs, 27).uniswapMarket;
//        uniswapMarket28 = get(configs, 28).uniswapMarket;
//        uniswapMarket29 = get(configs, 29).uniswapMarket;

        isUniswapReversed00 = get(configs, 0).isUniswapReversed;
        isUniswapReversed01 = get(configs, 1).isUniswapReversed;
        isUniswapReversed02 = get(configs, 2).isUniswapReversed;
        isUniswapReversed03 = get(configs, 3).isUniswapReversed;
        isUniswapReversed04 = get(configs, 4).isUniswapReversed;
        isUniswapReversed05 = get(configs, 5).isUniswapReversed;
        isUniswapReversed06 = get(configs, 6).isUniswapReversed;
        isUniswapReversed07 = get(configs, 7).isUniswapReversed;
        isUniswapReversed08 = get(configs, 8).isUniswapReversed;
        isUniswapReversed09 = get(configs, 9).isUniswapReversed;
        isUniswapReversed10 = get(configs, 10).isUniswapReversed;
        isUniswapReversed11 = get(configs, 11).isUniswapReversed;
        isUniswapReversed12 = get(configs, 12).isUniswapReversed;
        isUniswapReversed13 = get(configs, 13).isUniswapReversed;
        isUniswapReversed14 = get(configs, 14).isUniswapReversed;
        isUniswapReversed15 = get(configs, 15).isUniswapReversed;
        isUniswapReversed16 = get(configs, 16).isUniswapReversed;
        isUniswapReversed17 = get(configs, 17).isUniswapReversed;
        isUniswapReversed18 = get(configs, 18).isUniswapReversed;
        isUniswapReversed19 = get(configs, 19).isUniswapReversed;
        isUniswapReversed20 = get(configs, 20).isUniswapReversed;
//        isUniswapReversed21 = get(configs, 21).isUniswapReversed;
//        isUniswapReversed22 = get(configs, 22).isUniswapReversed;
//        isUniswapReversed23 = get(configs, 23).isUniswapReversed;
//        isUniswapReversed24 = get(configs, 24).isUniswapReversed;
//        isUniswapReversed25 = get(configs, 25).isUniswapReversed;
//        isUniswapReversed26 = get(configs, 26).isUniswapReversed;
//        isUniswapReversed27 = get(configs, 27).isUniswapReversed;
//        isUniswapReversed28 = get(configs, 28).isUniswapReversed;
//        isUniswapReversed29 = get(configs, 29).isUniswapReversed;
    }

    function get(TokenConfig[] memory configs, uint i) internal pure returns (TokenConfig memory) {
        if (i < configs.length)
            return configs[i];
        return TokenConfig({
            cToken: address(0),
            underlying: address(0),
            symbolHash: bytes32(0),
            baseUnit: uint256(0),
            priceSource: PriceSource(0),
            fixedPrice: uint256(0),
            uniswapMarket: address(0),
            isUniswapReversed: false
        });
    }

    function getCTokenIndex(address cToken) internal view returns (uint) {
        if (cToken == cToken00) return 0;
        if (cToken == cToken01) return 1;
        if (cToken == cToken02) return 2;
        if (cToken == cToken03) return 3;
        if (cToken == cToken04) return 4;
        if (cToken == cToken05) return 5;
        if (cToken == cToken06) return 6;
        if (cToken == cToken07) return 7;
        if (cToken == cToken08) return 8;
        if (cToken == cToken09) return 9;
        if (cToken == cToken10) return 10;
        if (cToken == cToken11) return 11;
        if (cToken == cToken12) return 12;
        if (cToken == cToken13) return 13;
        if (cToken == cToken14) return 14;
        if (cToken == cToken15) return 15;
        if (cToken == cToken16) return 16;
        if (cToken == cToken17) return 17;
        if (cToken == cToken18) return 18;
        if (cToken == cToken19) return 19;
        if (cToken == cToken20) return 20;
//        if (cToken == cToken21) return 21;
//        if (cToken == cToken22) return 22;
//        if (cToken == cToken23) return 23;
//        if (cToken == cToken24) return 24;
//        if (cToken == cToken25) return 25;
//        if (cToken == cToken26) return 26;
//        if (cToken == cToken27) return 27;
//        if (cToken == cToken28) return 28;
//        if (cToken == cToken29) return 29;

        return uint(-1);
    }

    function getUnderlyingIndex(address underlying) internal view returns (uint) {
        if (underlying == underlying00) return 0;
        if (underlying == underlying01) return 1;
        if (underlying == underlying02) return 2;
        if (underlying == underlying03) return 3;
        if (underlying == underlying04) return 4;
        if (underlying == underlying05) return 5;
        if (underlying == underlying06) return 6;
        if (underlying == underlying07) return 7;
        if (underlying == underlying08) return 8;
        if (underlying == underlying09) return 9;
        if (underlying == underlying10) return 10;
        if (underlying == underlying11) return 11;
        if (underlying == underlying12) return 12;
        if (underlying == underlying13) return 13;
        if (underlying == underlying14) return 14;
        if (underlying == underlying15) return 15;
        if (underlying == underlying16) return 16;
        if (underlying == underlying17) return 17;
        if (underlying == underlying18) return 18;
        if (underlying == underlying19) return 19;
        if (underlying == underlying20) return 20;
//        if (underlying == underlying21) return 21;
//        if (underlying == underlying22) return 22;
//        if (underlying == underlying23) return 23;
//        if (underlying == underlying24) return 24;
//        if (underlying == underlying25) return 25;
//        if (underlying == underlying26) return 26;
//        if (underlying == underlying27) return 27;
//        if (underlying == underlying28) return 28;
//        if (underlying == underlying29) return 29;

        return uint(-1);
    }

    function getSymbolHashIndex(bytes32 symbolHash) internal view returns (uint) {
        if (symbolHash == symbolHash00) return 0;
        if (symbolHash == symbolHash01) return 1;
        if (symbolHash == symbolHash02) return 2;
        if (symbolHash == symbolHash03) return 3;
        if (symbolHash == symbolHash04) return 4;
        if (symbolHash == symbolHash05) return 5;
        if (symbolHash == symbolHash06) return 6;
        if (symbolHash == symbolHash07) return 7;
        if (symbolHash == symbolHash08) return 8;
        if (symbolHash == symbolHash09) return 9;
        if (symbolHash == symbolHash10) return 10;
        if (symbolHash == symbolHash11) return 11;
        if (symbolHash == symbolHash12) return 12;
        if (symbolHash == symbolHash13) return 13;
        if (symbolHash == symbolHash14) return 14;
        if (symbolHash == symbolHash15) return 15;
        if (symbolHash == symbolHash16) return 16;
        if (symbolHash == symbolHash17) return 17;
        if (symbolHash == symbolHash18) return 18;
        if (symbolHash == symbolHash19) return 19;
        if (symbolHash == symbolHash20) return 20;
//        if (symbolHash == symbolHash21) return 21;
//        if (symbolHash == symbolHash22) return 22;
//        if (symbolHash == symbolHash23) return 23;
//        if (symbolHash == symbolHash24) return 24;
//        if (symbolHash == symbolHash25) return 25;
//        if (symbolHash == symbolHash26) return 26;
//        if (symbolHash == symbolHash27) return 27;
//        if (symbolHash == symbolHash28) return 28;
//        if (symbolHash == symbolHash29) return 29;

        return uint(-1);
    }

    /**
     * @notice Get the i-th config, according to the order they were passed in originally
     * @param i The index of the config to get
     * @return The config object
     */
    function getTokenConfig(uint i) public view returns (TokenConfig memory) {
        require(i < numTokens, "TOKEN_NOT_FOUND");

        if (i == 0) return TokenConfig({cToken: cToken00, underlying: underlying00, symbolHash: symbolHash00, baseUnit: baseUnit00, priceSource: priceSource00, fixedPrice: fixedPrice00, uniswapMarket: uniswapMarket00, isUniswapReversed: isUniswapReversed00});
        if (i == 1) return TokenConfig({cToken: cToken01, underlying: underlying01, symbolHash: symbolHash01, baseUnit: baseUnit01, priceSource: priceSource01, fixedPrice: fixedPrice01, uniswapMarket: uniswapMarket01, isUniswapReversed: isUniswapReversed01});
        if (i == 2) return TokenConfig({cToken: cToken02, underlying: underlying02, symbolHash: symbolHash02, baseUnit: baseUnit02, priceSource: priceSource02, fixedPrice: fixedPrice02, uniswapMarket: uniswapMarket02, isUniswapReversed: isUniswapReversed02});
        if (i == 3) return TokenConfig({cToken: cToken03, underlying: underlying03, symbolHash: symbolHash03, baseUnit: baseUnit03, priceSource: priceSource03, fixedPrice: fixedPrice03, uniswapMarket: uniswapMarket03, isUniswapReversed: isUniswapReversed03});
        if (i == 4) return TokenConfig({cToken: cToken04, underlying: underlying04, symbolHash: symbolHash04, baseUnit: baseUnit04, priceSource: priceSource04, fixedPrice: fixedPrice04, uniswapMarket: uniswapMarket04, isUniswapReversed: isUniswapReversed04});
        if (i == 5) return TokenConfig({cToken: cToken05, underlying: underlying05, symbolHash: symbolHash05, baseUnit: baseUnit05, priceSource: priceSource05, fixedPrice: fixedPrice05, uniswapMarket: uniswapMarket05, isUniswapReversed: isUniswapReversed05});
        if (i == 6) return TokenConfig({cToken: cToken06, underlying: underlying06, symbolHash: symbolHash06, baseUnit: baseUnit06, priceSource: priceSource06, fixedPrice: fixedPrice06, uniswapMarket: uniswapMarket06, isUniswapReversed: isUniswapReversed06});
        if (i == 7) return TokenConfig({cToken: cToken07, underlying: underlying07, symbolHash: symbolHash07, baseUnit: baseUnit07, priceSource: priceSource07, fixedPrice: fixedPrice07, uniswapMarket: uniswapMarket07, isUniswapReversed: isUniswapReversed07});
        if (i == 8) return TokenConfig({cToken: cToken08, underlying: underlying08, symbolHash: symbolHash08, baseUnit: baseUnit08, priceSource: priceSource08, fixedPrice: fixedPrice08, uniswapMarket: uniswapMarket08, isUniswapReversed: isUniswapReversed08});
        if (i == 9) return TokenConfig({cToken: cToken09, underlying: underlying09, symbolHash: symbolHash09, baseUnit: baseUnit09, priceSource: priceSource09, fixedPrice: fixedPrice09, uniswapMarket: uniswapMarket09, isUniswapReversed: isUniswapReversed09});

        if (i == 10) return TokenConfig({cToken: cToken10, underlying: underlying10, symbolHash: symbolHash10, baseUnit: baseUnit10, priceSource: priceSource10, fixedPrice: fixedPrice10, uniswapMarket: uniswapMarket10, isUniswapReversed: isUniswapReversed10});
        if (i == 11) return TokenConfig({cToken: cToken11, underlying: underlying11, symbolHash: symbolHash11, baseUnit: baseUnit11, priceSource: priceSource11, fixedPrice: fixedPrice11, uniswapMarket: uniswapMarket11, isUniswapReversed: isUniswapReversed11});
        if (i == 12) return TokenConfig({cToken: cToken12, underlying: underlying12, symbolHash: symbolHash12, baseUnit: baseUnit12, priceSource: priceSource12, fixedPrice: fixedPrice12, uniswapMarket: uniswapMarket12, isUniswapReversed: isUniswapReversed12});
        if (i == 13) return TokenConfig({cToken: cToken13, underlying: underlying13, symbolHash: symbolHash13, baseUnit: baseUnit13, priceSource: priceSource13, fixedPrice: fixedPrice13, uniswapMarket: uniswapMarket13, isUniswapReversed: isUniswapReversed13});
        if (i == 14) return TokenConfig({cToken: cToken14, underlying: underlying14, symbolHash: symbolHash14, baseUnit: baseUnit14, priceSource: priceSource14, fixedPrice: fixedPrice14, uniswapMarket: uniswapMarket14, isUniswapReversed: isUniswapReversed14});
        if (i == 15) return TokenConfig({cToken: cToken15, underlying: underlying15, symbolHash: symbolHash15, baseUnit: baseUnit15, priceSource: priceSource15, fixedPrice: fixedPrice15, uniswapMarket: uniswapMarket15, isUniswapReversed: isUniswapReversed15});
        if (i == 16) return TokenConfig({cToken: cToken16, underlying: underlying16, symbolHash: symbolHash16, baseUnit: baseUnit16, priceSource: priceSource16, fixedPrice: fixedPrice16, uniswapMarket: uniswapMarket16, isUniswapReversed: isUniswapReversed16});
        if (i == 17) return TokenConfig({cToken: cToken17, underlying: underlying17, symbolHash: symbolHash17, baseUnit: baseUnit17, priceSource: priceSource17, fixedPrice: fixedPrice17, uniswapMarket: uniswapMarket17, isUniswapReversed: isUniswapReversed17});
        if (i == 18) return TokenConfig({cToken: cToken18, underlying: underlying18, symbolHash: symbolHash18, baseUnit: baseUnit18, priceSource: priceSource18, fixedPrice: fixedPrice18, uniswapMarket: uniswapMarket18, isUniswapReversed: isUniswapReversed18});
        if (i == 19) return TokenConfig({cToken: cToken19, underlying: underlying19, symbolHash: symbolHash19, baseUnit: baseUnit19, priceSource: priceSource19, fixedPrice: fixedPrice19, uniswapMarket: uniswapMarket19, isUniswapReversed: isUniswapReversed19});

        if (i == 20) return TokenConfig({cToken: cToken20, underlying: underlying20, symbolHash: symbolHash20, baseUnit: baseUnit20, priceSource: priceSource20, fixedPrice: fixedPrice20, uniswapMarket: uniswapMarket20, isUniswapReversed: isUniswapReversed20});
//        if (i == 21) return TokenConfig({cToken: cToken21, underlying: underlying21, symbolHash: symbolHash21, baseUnit: baseUnit21, priceSource: priceSource21, fixedPrice: fixedPrice21, uniswapMarket: uniswapMarket21, isUniswapReversed: isUniswapReversed21});
//        if (i == 22) return TokenConfig({cToken: cToken22, underlying: underlying22, symbolHash: symbolHash22, baseUnit: baseUnit22, priceSource: priceSource22, fixedPrice: fixedPrice22, uniswapMarket: uniswapMarket22, isUniswapReversed: isUniswapReversed22});
//        if (i == 23) return TokenConfig({cToken: cToken23, underlying: underlying23, symbolHash: symbolHash23, baseUnit: baseUnit23, priceSource: priceSource23, fixedPrice: fixedPrice23, uniswapMarket: uniswapMarket23, isUniswapReversed: isUniswapReversed23});
//        if (i == 24) return TokenConfig({cToken: cToken24, underlying: underlying24, symbolHash: symbolHash24, baseUnit: baseUnit24, priceSource: priceSource24, fixedPrice: fixedPrice24, uniswapMarket: uniswapMarket24, isUniswapReversed: isUniswapReversed24});
//        if (i == 25) return TokenConfig({cToken: cToken25, underlying: underlying25, symbolHash: symbolHash25, baseUnit: baseUnit25, priceSource: priceSource25, fixedPrice: fixedPrice25, uniswapMarket: uniswapMarket25, isUniswapReversed: isUniswapReversed25});
//        if (i == 26) return TokenConfig({cToken: cToken26, underlying: underlying26, symbolHash: symbolHash26, baseUnit: baseUnit26, priceSource: priceSource26, fixedPrice: fixedPrice26, uniswapMarket: uniswapMarket26, isUniswapReversed: isUniswapReversed26});
//        if (i == 27) return TokenConfig({cToken: cToken27, underlying: underlying27, symbolHash: symbolHash27, baseUnit: baseUnit27, priceSource: priceSource27, fixedPrice: fixedPrice27, uniswapMarket: uniswapMarket27, isUniswapReversed: isUniswapReversed27});
//        if (i == 28) return TokenConfig({cToken: cToken28, underlying: underlying28, symbolHash: symbolHash28, baseUnit: baseUnit28, priceSource: priceSource28, fixedPrice: fixedPrice28, uniswapMarket: uniswapMarket28, isUniswapReversed: isUniswapReversed28});
//        if (i == 29) return TokenConfig({cToken: cToken29, underlying: underlying29, symbolHash: symbolHash29, baseUnit: baseUnit29, priceSource: priceSource29, fixedPrice: fixedPrice29, uniswapMarket: uniswapMarket29, isUniswapReversed: isUniswapReversed29});
    }

    /**
     * @notice Get the config for symbol
     * @param symbol The symbol of the config to get
     * @return The config object
     */
    function getTokenConfigBySymbol(string memory symbol) public view returns (TokenConfig memory) {
        return getTokenConfigBySymbolHash(keccak256(abi.encodePacked(symbol)));
    }

    /**
     * @notice Get the config for the symbolHash
     * @param symbolHash The keccack256 of the symbol of the config to get
     * @return The config object
     */
    function getTokenConfigBySymbolHash(bytes32 symbolHash) public view returns (TokenConfig memory) {
        uint index = getSymbolHashIndex(symbolHash);
        if (index != uint(-1)) {
            return getTokenConfig(index);
        }

        revert("TOKEN_NOT_FOUND");
    }

    /**
     * @notice Get the config for the cToken
     * @dev If a config for the cToken is not found, falls back to searching for the underlying.
     * @param cToken The address of the cToken of the config to get
     * @return The config object
     */
    function getTokenConfigByCToken(address cToken) public view returns (TokenConfig memory) {
        uint index = getCTokenIndex(cToken);
        if (index != uint(-1)) {
            return getTokenConfig(index);
        }

        return getTokenConfigByUnderlying(CErc20(cToken).underlying());
    }

    /**
     * @notice Get the config for an underlying asset
     * @param underlying The address of the underlying asset of the config to get
     * @return The config object
     */
    function getTokenConfigByUnderlying(address underlying) public view returns (TokenConfig memory) {
        uint index = getUnderlyingIndex(underlying);
        if (index != uint(-1)) {
            return getTokenConfig(index);
        }

      revert("TOKEN_NOT_FOUND");
    }
}

// File: contracts/interfaces/IUniswapV2Pair.sol

pragma solidity ^0.6.12;

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

  function name() external pure returns (string memory);

  function symbol() external pure returns (string memory);

  function decimals() external pure returns (uint8);

  function totalSupply() external view returns (uint256);

  function balanceOf(address owner) external view returns (uint256);

  function allowance(address owner, address spender) external view returns (uint256);

  function approve(address spender, uint256 value) external returns (bool);

  function transfer(address to, uint256 value) external returns (bool);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool);

  function DOMAIN_SEPARATOR() external view returns (bytes32);

  function PERMIT_TYPEHASH() external pure returns (bytes32);

  function nonces(address owner) external view returns (uint256);

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

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

  function MINIMUM_LIQUIDITY() external pure returns (uint256);

  function factory() external view returns (address);

  function token0() external view returns (address);

  function token1() external view returns (address);

  function getReserves()
    external
    view
    returns (
      uint112 reserve0,
      uint112 reserve1,
      uint32 blockTimestampLast
    );

  function price0CumulativeLast() external view returns (uint256);

  function price1CumulativeLast() external view returns (uint256);

  function kLast() external view returns (uint256);

  function mint(address to) external returns (uint256 liquidity);

  function burn(address to) external returns (uint256 amount0, uint256 amount1);

  function swap(
    uint256 amount0Out,
    uint256 amount1Out,
    address to,
    bytes calldata data
  ) external;

  function skim(address to) external;

  function sync() external;

  function initialize(address, address) external;
}

// File: contracts/Uniswap/UniswapLib.sol


pragma solidity ^0.6.10;

// Based on code from https://github.com/Uniswap/uniswap-v2-periphery

// a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format))
library FixedPoint {
    // range: [0, 2**112 - 1]
    // resolution: 1 / 2**112
    struct uq112x112 {
        uint224 _x;
    }

    // returns a uq112x112 which represents the ratio of the numerator to the denominator
    // equivalent to encode(numerator).div(denominator)
    function fraction(uint112 numerator, uint112 denominator) internal pure returns (uq112x112 memory) {
        require(denominator > 0, "DIV_BY_ZERO");
        return uq112x112((uint224(numerator) << 112) / denominator);
    }

    // decode a uq112x112 into a uint with 18 decimals of precision
    function decode112with18(uq112x112 memory self) internal pure returns (uint) {
        // we only have 256 - 224 = 32 bits to spare, so scaling up by ~60 bits is dangerous
        // instead, get close to:
        //  (x * 1e18) >> 112
        // without risk of overflowing, e.g.:
        //  (x) / 2 ** (112 - lg(1e18))
        return uint(self._x) / 5192296858534827;
    }
}

// library with helper methods for oracles that are concerned with computing average prices
library UniswapV2OracleLibrary {
    using FixedPoint for *;

    // helper function that returns the current block timestamp within the range of uint32, i.e. [0, 2**32 - 1]
    function currentBlockTimestamp() internal view returns (uint32) {
        return uint32(block.timestamp % 2 ** 32);
    }

    // produces the cumulative price using counterfactuals to save gas and avoid a call to sync.
    function currentCumulativePrices(
        address pair
    ) internal view returns (uint price0Cumulative, uint price1Cumulative, uint32 blockTimestamp) {
        blockTimestamp = currentBlockTimestamp();
        price0Cumulative = IUniswapV2Pair(pair).price0CumulativeLast();
        price1Cumulative = IUniswapV2Pair(pair).price1CumulativeLast();

        // if time has elapsed since the last update on the pair, mock the accumulated price values
        (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) = IUniswapV2Pair(pair).getReserves();
        if (blockTimestampLast != blockTimestamp) {
            // subtraction overflow is desired
            uint32 timeElapsed = blockTimestamp - blockTimestampLast;
            // addition overflow is desired
            // counterfactual
            price0Cumulative += uint(FixedPoint.fraction(reserve1, reserve0)._x) * timeElapsed;
            // counterfactual
            price1Cumulative += uint(FixedPoint.fraction(reserve0, reserve1)._x) * timeElapsed;
        }
    }
}

// File: contracts/UniswapTWAPProvider.sol

pragma solidity ^0.6.12;




abstract contract UniswapTWAPProvider is PowerOracleStorageV1, UniswapConfig {
  using FixedPoint for *;
  using SafeMath for uint256;

  /// @notice The number of wei in 1 ETH
  uint public constant ethBaseUnit = 1e18;

  /// @notice A common scaling factor to maintain precision
  uint public constant expScale = 1e18;

  bytes32 internal constant cvpHash = keccak256(abi.encodePacked("CVP"));
  bytes32 internal constant ethHash = keccak256(abi.encodePacked("ETH"));

  /// @notice The event emitted when anchor price is updated
  event AnchorPriceUpdated(string symbol, bytes32 indexed symbolHash, uint anchorPrice, uint oldTimestamp, uint newTimestamp);

  /// @notice The event emitted when the uniswap window changes
  event UniswapWindowUpdated(bytes32 indexed symbolHash, uint oldTimestamp, uint newTimestamp, uint oldPrice, uint newPrice);

  /// @notice The minimum amount of time in seconds required for the old uniswap price accumulator to be replaced
  uint public immutable anchorPeriod;

  constructor(
    uint anchorPeriod_,
    TokenConfig[] memory configs
  ) public {
    anchorPeriod = anchorPeriod_;

    for (uint i = 0; i < configs.length; i++) {
      TokenConfig memory config = configs[i];
      require(config.baseUnit > 0, "BASE_UNIT_IS_NULL");
      address uniswapMarket = config.uniswapMarket;
      if (config.priceSource == PriceSource.REPORTER) {
        require(uniswapMarket != address(0), "MARKET_IS_NULL");
        bytes32 symbolHash = config.symbolHash;
        uint cumulativePrice = currentCumulativePrice(config);
        oldObservations[symbolHash].timestamp = block.timestamp;
        newObservations[symbolHash].timestamp = block.timestamp;
        oldObservations[symbolHash].acc = cumulativePrice;
        newObservations[symbolHash].acc = cumulativePrice;
        emit UniswapWindowUpdated(symbolHash, block.timestamp, block.timestamp, cumulativePrice, cumulativePrice);
      } else {
        require(uniswapMarket == address(0), "MARKET_IS_NOT_NULL");
      }
    }
  }

  /**
    * @dev Fetches the current token/eth price accumulator from uniswap.
    */
  function currentCumulativePrice(TokenConfig memory config) internal view returns (uint) {
    (uint cumulativePrice0, uint cumulativePrice1,) = UniswapV2OracleLibrary.currentCumulativePrices(config.uniswapMarket);
    if (config.isUniswapReversed) {
      return cumulativePrice1;
    } else {
      return cumulativePrice0;
    }
  }

  /**
   * @dev Fetches the current eth/usd price from uniswap, with 6 decimals of precision.
   *  Conversion factor is 1e18 for eth/usdc market, since we decode uniswap price statically with 18 decimals.
   */
  function fetchEthPrice() internal returns (uint) {
    return fetchAnchorPrice("ETH", getTokenConfigBySymbolHash(ethHash), ethBaseUnit);
  }

  function fetchCvpPrice(uint256 ethPrice) internal returns (uint) {
    return fetchAnchorPrice("CVP", getTokenConfigBySymbolHash(cvpHash), ethPrice);
  }

  /**
   * @dev Fetches the current token/usd price from uniswap, with 6 decimals of precision.
   * @param conversionFactor 1e18 if seeking the ETH price, and a 6 decimal ETH-USDC price in the case of other assets
   */
  function fetchAnchorPrice(string memory symbol, TokenConfig memory config, uint conversionFactor) internal virtual returns (uint) {
    (uint nowCumulativePrice, uint oldCumulativePrice, uint oldTimestamp) = pokeWindowValues(config);

    // This should be impossible, but better safe than sorry
    require(block.timestamp > oldTimestamp, "TOO_EARLY");
    uint timeElapsed = block.timestamp - oldTimestamp;

    // Calculate uniswap time-weighted average price
    // Underflow is a property of the accumulators: https://uniswap.org/audit.html#orgc9b3190
    FixedPoint.uq112x112 memory priceAverage = FixedPoint.uq112x112(uint224((nowCumulativePrice - oldCumulativePrice) / timeElapsed));
    uint rawUniswapPriceMantissa = priceAverage.decode112with18();
    uint unscaledPriceMantissa = mul(rawUniswapPriceMantissa, conversionFactor);
    uint anchorPrice;

    // Adjust rawUniswapPrice according to the units of the non-ETH asset
    // In the case of ETH, we would have to scale by 1e6 / USDC_UNITS, but since baseUnit2 is 1e6 (USDC), it cancels
    if (config.isUniswapReversed) {
      // unscaledPriceMantissa * ethBaseUnit / config.baseUnit / expScale, but we simplify bc ethBaseUnit == expScale
      anchorPrice = unscaledPriceMantissa / config.baseUnit;
    } else {
      anchorPrice = mul(unscaledPriceMantissa, config.baseUnit) / ethBaseUnit / expScale;
    }

    emit AnchorPriceUpdated(symbol, keccak256(abi.encodePacked(symbol)), anchorPrice, oldTimestamp, block.timestamp);

    return anchorPrice;
  }

  /**
   * @dev Get time-weighted average prices for a token at the current timestamp.
   *  Update new and old observations of lagging window if period elapsed.
   */
  function pokeWindowValues(TokenConfig memory config) internal returns (uint, uint, uint) {
    bytes32 symbolHash = config.symbolHash;
    uint cumulativePrice = currentCumulativePrice(config);

    Observation memory newObservation = newObservations[symbolHash];

    // Update new and old observations if elapsed time is greater than or equal to anchor period
    uint timeElapsed = block.timestamp - newObservation.timestamp;
    if (timeElapsed >= anchorPeriod) {
      oldObservations[symbolHash].timestamp = newObservation.timestamp;
      oldObservations[symbolHash].acc = newObservation.acc;

      newObservations[symbolHash].timestamp = block.timestamp;
      newObservations[symbolHash].acc = cumulativePrice;
      emit UniswapWindowUpdated(config.symbolHash, newObservation.timestamp, block.timestamp, newObservation.acc, cumulativePrice);
    }
    return (cumulativePrice, oldObservations[symbolHash].acc, oldObservations[symbolHash].timestamp);
  }

  /// @dev Overflow proof multiplication
  function mul(uint a, uint b) internal pure returns (uint) {
    if (a == 0) return 0;
    uint c = a * b;
    require(c / a == b, "MUL_OVERFLOW");
    return c;
  }
}

// File: contracts/utils/PowerPausable.sol

// A modified version of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.2.0/contracts/utils/Pausable.sol
// with no GSN Context support and no construct

pragma solidity ^0.6.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract PowerPausable {
  /**
   * @dev Emitted when the pause is triggered by `account`.
   */
  event Paused(address account);

  /**
   * @dev Emitted when the pause is lifted by `account`.
   */
  event Unpaused(address account);

  bool private _paused;

  /**
   * @dev Returns true if the contract is paused, and false otherwise.
   */
  function paused() public view returns (bool) {
    return _paused;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   *
   * Requirements:
   *
   * - The contract must not be paused.
   */
  modifier whenNotPaused() {
    require(!_paused, "PAUSED");
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   *
   * Requirements:
   *
   * - The contract must be paused.
   */
  modifier whenPaused() {
    require(_paused, "NOT_PAUSED");
    _;
  }

  /**
   * @dev Triggers stopped state.
   *
   * Requirements:
   *
   * - The contract must not be paused.
   */
  function _pause() internal virtual whenNotPaused {
    _paused = true;
    emit Paused(msg.sender);
  }

  /**
   * @dev Returns to normal state.
   *
   * Requirements:
   *
   * - The contract must be paused.
   */
  function _unpause() internal virtual whenPaused {
    _paused = false;
    emit Unpaused(msg.sender);
  }
}

// File: contracts/utils/PowerOwnable.sol

// A modified version of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.2.0/contracts/access/Ownable.sol
// with no GSN Context support and _transferOwnership internal method

pragma solidity ^0.6.0;

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

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

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

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

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(_owner == msg.sender, "NOT_THE_OWNER");
    _;
  }

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

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

  /**
   * @dev Transfers ownership of the contract to a new account (`newOwner`).
   */
  function _transferOwnership(address newOwner) internal {
    require(newOwner != address(0), "NEW_OWNER_IS_NULL");
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/math/Math.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: contracts/interfaces/IUniswapV2Router02.sol

pragma solidity ^0.6.12;

interface IUniswapV2Router02 {
  function swapExactTokensForETH(
    uint256 amountIn,
    uint256 amountOutMin,
    address[] calldata path,
    address to,
    uint256 deadline
  ) external returns (uint256[] memory amounts);
}

// File: contracts/interfaces/IEACAggregatorProxy.sol

pragma solidity ^0.6.12;

interface IEACAggregatorProxy {
  function latestAnswer() external view returns (int256);
}

// File: contracts/interfaces/IPowerPokeStaking.sol

pragma solidity ^0.6.12;

interface IPowerPokeStaking {
  enum UserStatus { UNAUTHORIZED, HDH, MEMBER }

  /*** User Interface ***/
  function createDeposit(uint256 userId_, uint256 amount_) external;

  function executeDeposit(uint256 userId_) external;

  function createWithdrawal(uint256 userId_, uint256 amount_) external;

  function executeWithdrawal(uint256 userId_, address to_) external;

  function createUser(
    address adminKey_,
    address reporterKey_,
    uint256 depositAmount
  ) external;

  function updateUser(
    uint256 userId,
    address adminKey_,
    address reporterKey_
  ) external;

  /*** Owner Interface ***/
  function setSlasher(address slasher) external;

  function setSlashingPct(uint256 slasherRewardPct, uint256 reservoirRewardPct) external;

  function setTimeouts(uint256 depositTimeout_, uint256 withdrawalTimeout_) external;

  function pause() external;

  function unpause() external;

  /*** PowerOracle Contract Interface ***/
  function slashHDH(uint256 slasherId_, uint256 times_) external;

  /*** Permissionless Interface ***/
  function setHDH(uint256 candidateId_) external;

  /*** Viewers ***/
  function getHDHID() external view returns (uint256);

  function getHighestDeposit() external view returns (uint256);

  function getDepositOf(uint256 userId) external view returns (uint256);

  function getPendingDepositOf(uint256 userId_) external view returns (uint256 balance, uint256 timeout);

  function getPendingWithdrawalOf(uint256 userId_) external view returns (uint256 balance, uint256 timeout);

  function getSlashAmount(uint256 slasheeId_, uint256 times_)
    external
    view
    returns (
      uint256 slasherReward,
      uint256 reservoirReward,
      uint256 totalSlash
    );

  function getUserStatus(
    uint256 userId_,
    address reporterKey_,
    uint256 minDeposit_
  ) external view returns (UserStatus);

  function authorizeHDH(uint256 userId_, address reporterKey_) external view;

  function authorizeNonHDH(
    uint256 userId_,
    address pokerKey_,
    uint256 minDeposit_
  ) external view;

  function authorizeMember(
    uint256 userId_,
    address reporterKey_,
    uint256 minDeposit_
  ) external view;

  function requireValidAdminKey(uint256 userId_, address adminKey_) external view;

  function requireValidAdminOrPokerKey(uint256 userId_, address adminOrPokerKey_) external view;

  function getLastDepositChange(uint256 userId_) external view returns (uint256);
}

// File: contracts/PowerPokeStakingStorageV1.sol

pragma solidity ^0.6.12;

contract PowerPokeStakingStorageV1 {
  struct User {
    address adminKey;
    address pokerKey;
    uint256 deposit;
    uint256 pendingDeposit;
    uint256 pendingDepositTimeout;
    uint256 pendingWithdrawal;
    uint256 pendingWithdrawalTimeout;
  }

  /// @notice The deposit timeout in seconds
  uint256 public depositTimeout;

  /// @notice The withdrawal timeout in seconds
  uint256 public withdrawalTimeout;

  /// @notice The reservoir which holds CVP tokens
  address public reservoir;

  /// @notice The slasher address (PowerPoke)
  address public slasher;

  /// @notice The total amount of all deposits
  uint256 public totalDeposit;

  /// @notice The share of a slasher in slashed deposit per one outdated asset (1 eth == 1%)
  uint256 public slasherSlashingRewardPct;

  /// @notice The share of the protocol(reservoir) in slashed deposit per one outdated asset (1 eth == 1%)
  uint256 public protocolSlashingRewardPct;

  /// @notice The incremented user ID counter. Is updated only within createUser function call
  uint256 public userIdCounter;

  /// @dev The highest deposit. Usually of the current reporterId. Is safe to be outdated.
  uint256 internal _highestDeposit;

  /// @dev The current highest deposit holder ID.
  uint256 internal _hdhId;

  /// @notice User details by it's ID
  mapping(uint256 => User) public users;

  /// @dev Last deposit change timestamp by user ID
  mapping(uint256 => uint256) internal _lastDepositChange;
}

// File: contracts/PowerPokeStaking.sol

pragma solidity ^0.6.12;

contract PowerPokeStaking is IPowerPokeStaking, PowerOwnable, Initializable, PowerPausable, PowerPokeStakingStorageV1 {
  using SafeMath for uint256;

  uint256 public constant HUNDRED_PCT = 100 ether;

  /// @notice The event emitted when a new user is created
  event CreateUser(uint256 indexed userId, address indexed adminKey, address indexed pokerKey, uint256 initialDeposit);

  /// @notice The event emitted when an existing user is updated
  event UpdateUser(uint256 indexed userId, address indexed adminKey, address indexed pokerKey);

  /// @notice The event emitted when the user creates pending deposit
  event CreateDeposit(
    uint256 indexed userId,
    address indexed depositor,
    uint256 pendingTimeout,
    uint256 amount,
    uint256 pendingDepositAfter
  );

  /// @notice The event emitted when the user transfers his deposit from pending to the active
  event ExecuteDeposit(uint256 indexed userId, uint256 pendingTimeout, uint256 amount, uint256 depositAfter);

  /// @notice The event emitted when the user creates pending deposit
  event CreateWithdrawal(
    uint256 indexed userId,
    uint256 pendingTimeout,
    uint256 amount,
    uint256 pendingWithdrawalAfter,
    uint256 depositAfter
  );

  /// @notice The event emitted when a valid admin key withdraws funds from
  event ExecuteWithdrawal(uint256 indexed userId, address indexed to, uint256 pendingTimeout, uint256 amount);

  /// @notice The event emitted when the owner sets new slashing percent values, where 1ether == 1%
  event SetSlashingPct(uint256 slasherSlashingRewardPct, uint256 protocolSlashingRewardPct);

  /// @notice The event emitted when the owner sets new deposit and withdrawal timeouts
  event SetTimeouts(uint256 depositTimeout, uint256 withdrawalTimeout);

  /// @notice The event emitted when the owner sets a new PowerOracle linked contract
  event SetSlasher(address powerOracle);

  /// @notice The event emitted when an arbitrary user fixes an outdated reporter userId record
  event SetReporter(uint256 indexed reporterId, address indexed msgSender);

  /// @notice The event emitted when the PowerOracle contract requests to slash a user with the given ID
  event Slash(uint256 indexed slasherId, uint256 indexed reporterId, uint256 slasherReward, uint256 reservoirReward);

  /// @notice The event emitted when the existing reporter is replaced with a new one due some reason
  event ReporterChange(
    uint256 indexed prevId,
    uint256 indexed nextId,
    uint256 highestDepositPrev,
    uint256 actualDepositPrev,
    uint256 actualDepositNext
  );

  /// @notice CVP token address
  IERC20 public immutable CVP_TOKEN;

  constructor(address cvpToken_) public {
    require(cvpToken_ != address(0), "CVP_ADDR_IS_0");

    CVP_TOKEN = IERC20(cvpToken_);
  }

  function initialize(
    address owner_,
    address reservoir_,
    address slasher_,
    uint256 slasherSlashingRewardPct_,
    uint256 reservoirSlashingRewardPct_,
    uint256 depositTimeout_,
    uint256 withdrawTimeout_
  ) external initializer {
    require(depositTimeout_ > 0, "DEPOSIT_TIMEOUT_IS_0");
    require(withdrawTimeout_ > 0, "WITHDRAW_TIMEOUT_IS_0");

    _transferOwnership(owner_);
    reservoir = reservoir_;
    slasher = slasher_;
    slasherSlashingRewardPct = slasherSlashingRewardPct_;
    protocolSlashingRewardPct = reservoirSlashingRewardPct_;
    depositTimeout = depositTimeout_;
    withdrawalTimeout = withdrawTimeout_;
  }

  /*** User Interface ***/

  /**
   * @notice An arbitrary user deposits CVP stake to the contract for the given user ID
   * @param userId_ The user ID to make deposit for
   * @param amount_ The amount in CVP tokens to deposit
   */
  function createDeposit(uint256 userId_, uint256 amount_) external override whenNotPaused {
    require(amount_ > 0, "MISSING_AMOUNT");

    User storage user = users[userId_];

    require(user.adminKey != address(0), "INVALID_USER");

    _createDeposit(userId_, amount_);
  }

  function _createDeposit(uint256 userId_, uint256 amount_) internal {
    User storage user = users[userId_];

    uint256 pendingDepositAfter = user.pendingDeposit.add(amount_);
    uint256 timeout = block.timestamp.add(depositTimeout);

    user.pendingDeposit = pendingDepositAfter;
    user.pendingDepositTimeout = timeout;

    emit CreateDeposit(userId_, msg.sender, timeout, amount_, pendingDepositAfter);
    CVP_TOKEN.transferFrom(msg.sender, address(this), amount_);
  }

  function executeDeposit(uint256 userId_) external override {
    User storage user = users[userId_];
    uint256 amount = user.pendingDeposit;
    uint256 pendingDepositTimeout = user.pendingDepositTimeout;

    // check
    require(user.adminKey == msg.sender, "ONLY_ADMIN_ALLOWED");
    require(amount > 0, "NO_PENDING_DEPOSIT");
    require(block.timestamp >= pendingDepositTimeout, "TIMEOUT_NOT_PASSED");

    // increment deposit
    uint256 depositAfter = user.deposit.add(amount);
    user.deposit = depositAfter;
    totalDeposit = totalDeposit.add(amount);

    // reset pending deposit
    user.pendingDeposit = 0;
    user.pendingDepositTimeout = 0;

    _lastDepositChange[userId_] = block.timestamp;

    _trySetHighestDepositHolder(userId_, depositAfter);

    emit ExecuteDeposit(userId_, pendingDepositTimeout, amount, depositAfter);
  }

  function _trySetHighestDepositHolder(uint256 candidateId_, uint256 candidateDepositAfter_) internal {
    uint256 prevHdhID = _hdhId;
    uint256 prevDeposit = users[prevHdhID].deposit;

    if (candidateDepositAfter_ > prevDeposit && prevHdhID != candidateId_) {
      emit ReporterChange(prevHdhID, candidateId_, _highestDeposit, users[prevHdhID].deposit, candidateDepositAfter_);

      _highestDeposit = candidateDepositAfter_;
      _hdhId = candidateId_;
    }
  }

  /**
   * @notice A valid users admin key withdraws the deposited stake form the contract
   * @param userId_ The user ID to withdraw deposit from
   * @param amount_ The amount in CVP tokens to withdraw
   */
  function createWithdrawal(uint256 userId_, uint256 amount_) external override {
    require(amount_ > 0, "MISSING_AMOUNT");

    User storage user = users[userId_];
    require(msg.sender == user.adminKey, "ONLY_ADMIN_ALLOWED");

    // decrement deposit
    uint256 depositBefore = user.deposit;
    require(amount_ <= depositBefore, "AMOUNT_EXCEEDS_DEPOSIT");

    uint256 depositAfter = depositBefore - amount_;
    user.deposit = depositAfter;
    totalDeposit = totalDeposit.sub(amount_);

    // increment pending withdrawal
    uint256 pendingWithdrawalAfter = user.pendingWithdrawal.add(amount_);
    uint256 timeout = block.timestamp.add(withdrawalTimeout);
    user.pendingWithdrawal = pendingWithdrawalAfter;
    user.pendingWithdrawalTimeout = timeout;

    _lastDepositChange[userId_] = block.timestamp;

    emit CreateWithdrawal(userId_, timeout, amount_, pendingWithdrawalAfter, depositAfter);
  }

  function executeWithdrawal(uint256 userId_, address to_) external override {
    require(to_ != address(0), "CANT_WITHDRAW_TO_0");

    User storage user = users[userId_];

    uint256 pendingWithdrawalTimeout = user.pendingWithdrawalTimeout;
    uint256 amount = user.pendingWithdrawal;

    require(msg.sender == user.adminKey, "ONLY_ADMIN_ALLOWED");
    require(amount > 0, "NO_PENDING_WITHDRAWAL");
    require(block.timestamp >= pendingWithdrawalTimeout, "TIMEOUT_NOT_PASSED");

    user.pendingWithdrawal = 0;
    user.pendingWithdrawalTimeout = 0;

    emit ExecuteWithdrawal(userId_, to_, pendingWithdrawalTimeout, amount);
    CVP_TOKEN.transfer(to_, amount);
  }

  /**
   * @notice Creates a new user ID and stores the given keys
   * @param adminKey_ The admin key for the new user
   * @param pokerKey_ The poker key for the new user
   * @param initialDeposit_ The initial deposit to be transferred to this contract
   */
  function createUser(
    address adminKey_,
    address pokerKey_,
    uint256 initialDeposit_
  ) external override whenNotPaused {
    uint256 userId = ++userIdCounter;

    users[userId] = User(adminKey_, pokerKey_, 0, 0, 0, 0, 0);

    emit CreateUser(userId, adminKey_, pokerKey_, initialDeposit_);

    if (initialDeposit_ > 0) {
      _createDeposit(userId, initialDeposit_);
    }
  }

  /**
   * @notice Updates an existing user, only the current adminKey is eligible calling this method.
   * @param adminKey_ The new admin key for the user
   * @param pokerKey_ The new poker key for the user
   */
  function updateUser(
    uint256 userId_,
    address adminKey_,
    address pokerKey_
  ) external override {
    User storage user = users[userId_];
    require(msg.sender == user.adminKey, "ONLY_ADMIN_ALLOWED");

    if (adminKey_ != user.adminKey) {
      user.adminKey = adminKey_;
    }
    if (pokerKey_ != user.pokerKey) {
      user.pokerKey = pokerKey_;
    }

    emit UpdateUser(userId_, adminKey_, pokerKey_);
  }

  /*** SLASHER INTERFACE ***/

  /**
   * @notice Slashes the current reporter if it did not make poke() call during the given report interval
   * @param slasherId_ The slasher ID
   * @param times_ The multiplier for a single slashing percent
   */
  function slashHDH(uint256 slasherId_, uint256 times_) external virtual override {
    require(msg.sender == slasher, "ONLY_SLASHER_ALLOWED");

    uint256 hdhId = _hdhId;
    uint256 hdhDeposit = users[hdhId].deposit;

    (uint256 slasherReward, uint256 reservoirReward, ) = getSlashAmount(hdhId, times_);

    uint256 amount = slasherReward.add(reservoirReward);
    require(hdhDeposit >= amount, "INSUFFICIENT_HDH_DEPOSIT");

    // users[reporterId].deposit = reporterDeposit - slasherReward - reservoirReward;
    users[hdhId].deposit = hdhDeposit.sub(amount);

    // totalDeposit = totalDeposit - reservoirReward; (slasherReward is kept on the contract)
    totalDeposit = totalDeposit.sub(reservoirReward);

    if (slasherReward > 0) {
      // uint256 slasherDepositAfter = users[slasherId_].deposit + slasherReward
      uint256 slasherDepositAfter = users[slasherId_].deposit.add(slasherReward);
      users[slasherId_].deposit = slasherDepositAfter;
      _trySetHighestDepositHolder(slasherId_, slasherDepositAfter);
    }

    if (reservoirReward > 0) {
      CVP_TOKEN.transfer(reservoir, reservoirReward);
    }

    emit Slash(slasherId_, hdhId, slasherReward, reservoirReward);
  }

  /*** OWNER INTERFACE ***/

  /**
   * @notice The owner sets a new slasher address
   * @param slasher_ The slasher address to set
   */
  function setSlasher(address slasher_) external override onlyOwner {
    slasher = slasher_;
    emit SetSlasher(slasher_);
  }

  /**
   * @notice The owner sets the new slashing percent values
   * @param slasherSlashingRewardPct_ The slasher share will be accrued on the slasher's deposit
   * @param protocolSlashingRewardPct_ The protocol share will immediately be transferred to reservoir
   */
  function setSlashingPct(uint256 slasherSlashingRewardPct_, uint256 protocolSlashingRewardPct_)
    external
    override
    onlyOwner
  {
    require(slasherSlashingRewardPct_.add(protocolSlashingRewardPct_) <= HUNDRED_PCT, "INVALID_SUM");

    slasherSlashingRewardPct = slasherSlashingRewardPct_;
    protocolSlashingRewardPct = protocolSlashingRewardPct_;
    emit SetSlashingPct(slasherSlashingRewardPct_, protocolSlashingRewardPct_);
  }

  function setTimeouts(uint256 depositTimeout_, uint256 withdrawalTimeout_) external override onlyOwner {
    depositTimeout = depositTimeout_;
    withdrawalTimeout = withdrawalTimeout_;
    emit SetTimeouts(depositTimeout_, withdrawalTimeout_);
  }

  /**
   * @notice The owner pauses poke*-operations
   */
  function pause() external override onlyOwner {
    _pause();
  }

  /**
   * @notice The owner unpauses poke*-operations
   */
  function unpause() external override onlyOwner {
    _unpause();
  }

  /*** PERMISSIONLESS INTERFACE ***/

  /**
   * @notice Set a given address as a reporter if his deposit is higher than the current highestDeposit
   * @param candidateId_ Te candidate address to try
   */
  function setHDH(uint256 candidateId_) external override {
    uint256 candidateDeposit = users[candidateId_].deposit;
    uint256 prevHdhId = _hdhId;
    uint256 currentReporterDeposit = users[prevHdhId].deposit;

    require(candidateDeposit > currentReporterDeposit, "INSUFFICIENT_CANDIDATE_DEPOSIT");

    emit ReporterChange(prevHdhId, candidateId_, _highestDeposit, currentReporterDeposit, candidateDeposit);
    emit SetReporter(candidateId_, msg.sender);

    _highestDeposit = candidateDeposit;
    _hdhId = candidateId_;
  }

  /*** VIEWERS ***/

  function getHDHID() external view override returns (uint256) {
    return _hdhId;
  }

  function getHighestDeposit() external view override returns (uint256) {
    return _highestDeposit;
  }

  function getDepositOf(uint256 userId_) external view override returns (uint256) {
    return users[userId_].deposit;
  }

  function getPendingDepositOf(uint256 userId_) external view override returns (uint256 balance, uint256 timeout) {
    return (users[userId_].pendingDeposit, users[userId_].pendingDepositTimeout);
  }

  function getPendingWithdrawalOf(uint256 userId_) external view override returns (uint256 balance, uint256 timeout) {
    return (users[userId_].pendingWithdrawal, users[userId_].pendingWithdrawalTimeout);
  }

  function getSlashAmount(uint256 slasheeId_, uint256 times_)
    public
    view
    override
    returns (
      uint256 slasherReward,
      uint256 reservoirReward,
      uint256 totalSlash
    )
  {
    uint256 product = times_.mul(users[slasheeId_].deposit);
    // slasherReward = times_ * reporterDeposit * slasherRewardPct / HUNDRED_PCT;
    slasherReward = product.mul(slasherSlashingRewardPct) / HUNDRED_PCT;
    // reservoirReward = times_ * reporterDeposit * reservoirSlashingRewardPct / HUNDRED_PCT;
    reservoirReward = product.mul(protocolSlashingRewardPct) / HUNDRED_PCT;
    // totalSlash = slasherReward + reservoirReward
    totalSlash = slasherReward.add(reservoirReward);
  }

  function getUserStatus(
    uint256 userId_,
    address pokerKey_,
    uint256 minDeposit_
  ) external view override returns (UserStatus) {
    if (userId_ == _hdhId && users[userId_].pokerKey == pokerKey_) {
      return UserStatus.HDH;
    }
    if (users[userId_].deposit >= minDeposit_ && users[userId_].pokerKey == pokerKey_) {
      return UserStatus.MEMBER;
    }
    return UserStatus.UNAUTHORIZED;
  }

  function authorizeHDH(uint256 userId_, address pokerKey_) external view override {
    require(userId_ == _hdhId, "NOT_HDH");
    require(users[userId_].pokerKey == pokerKey_, "INVALID_POKER_KEY");
  }

  function authorizeNonHDH(
    uint256 userId_,
    address pokerKey_,
    uint256 minDeposit_
  ) external view override {
    require(userId_ != _hdhId, "IS_HDH");
    authorizeMember(userId_, pokerKey_, minDeposit_);
  }

  function authorizeMember(
    uint256 userId_,
    address pokerKey_,
    uint256 minDeposit_
  ) public view override {
    require(users[userId_].deposit >= minDeposit_, "INSUFFICIENT_DEPOSIT");
    require(users[userId_].pokerKey == pokerKey_, "INVALID_POKER_KEY");
  }

  function requireValidAdminKey(uint256 userId_, address adminKey_) external view override {
    require(users[userId_].adminKey == adminKey_, "INVALID_AMIN_KEY");
  }

  function requireValidAdminOrPokerKey(uint256 userId_, address adminOrPokerKey_) external view override {
    require(
      users[userId_].adminKey == adminOrPokerKey_ || users[userId_].pokerKey == adminOrPokerKey_,
      "INVALID_AMIN_OR_POKER_KEY"
    );
  }

  function getLastDepositChange(uint256 userId_) external view override returns (uint256) {
    return _lastDepositChange[userId_];
  }
}

// File: contracts/PowerPokeStorageV1.sol

pragma solidity ^0.6.12;


contract PowerPokeStorageV1 {
  struct Client {
    bool active;
    bool canSlash;
    bool _deprecated;
    address owner;
    uint256 credit;
    uint256 minReportInterval;
    uint256 maxReportInterval;
    uint256 slasherHeartbeat;
    uint256 gasPriceLimit;
    uint256 defaultMinDeposit;
    uint256 fixedCompensationCVP;
    uint256 fixedCompensationETH;
  }

  struct BonusPlan {
    bool active;
    uint64 bonusNumerator;
    uint64 bonusDenominator;
    uint64 perGas;
  }

  IPowerOracle public oracle;

  uint256 public totalCredits;

  mapping(uint256 => uint256) public rewards;

  mapping(uint256 => bool) public pokerKeyRewardWithdrawAllowance;

  mapping(address => Client) public clients;

  mapping(address => mapping(uint256 => BonusPlan)) public bonusPlans;
}

// File: contracts/PowerPoke.sol

pragma solidity ^0.6.12;

contract PowerPoke is IPowerPoke, PowerOwnable, Initializable, PowerPausable, ReentrancyGuard, PowerPokeStorageV1 {
  using SafeMath for uint256;

  event RewardUser(
    address indexed client,
    uint256 indexed userId,
    uint256 indexed bonusPlan,
    bool compensateInETH,
    uint256 gasUsed,
    uint256 gasPrice,
    uint256 userDeposit,
    uint256 ethPrice,
    uint256 cvpPrice,
    uint256 compensationEvaluationCVP,
    uint256 bonusCVP,
    uint256 earnedCVP,
    uint256 earnedETH
  );

  event TransferClientOwnership(address indexed client, address indexed from, address indexed to);

  event SetReportIntervals(address indexed client, uint256 minReportInterval, uint256 maxReportInterval);

  event SetGasPriceLimit(address indexed client, uint256 gasPriceLimit);

  event SetSlasherHeartbeat(address indexed client, uint256 slasherHeartbeat);

  event SetBonusPlan(
    address indexed client,
    uint256 indexed planId,
    bool indexed active,
    uint64 bonusNominator,
    uint64 bonsuDenominator,
    uint128 perGas
  );

  event SetFixedCompensations(address indexed client, uint256 fixedCompensationETH, uint256 fixedCompensationCVP);

  event SetDefaultMinDeposit(address indexed client, uint256 defaultMinDeposit);

  event WithdrawRewards(uint256 indexed userId, address indexed to, uint256 amount);

  event AddCredit(address indexed client, uint256 amount);

  event WithdrawCredit(address indexed client, address indexed to, uint256 amount);

  event SetOracle(address indexed oracle);

  event AddClient(
    address indexed client,
    address indexed owner,
    bool canSlash,
    uint256 gasPriceLimit,
    uint256 minReportInterval,
    uint256 maxReportInterval,
    uint256 slasherHeartbeat
  );

  event SetClientActiveFlag(address indexed client, bool indexed active);

  event SetCanSlashFlag(address indexed client, bool indexed canSlash);

  event SetPokerKeyRewardWithdrawAllowance(uint256 indexed userId, bool allow);

  struct PokeRewardOptions {
    address to;
    bool compensateInETH;
  }

  struct RewardHelperStruct {
    uint256 gasPrice;
    uint256 ethPrice;
    uint256 cvpPrice;
    uint256 totalInCVP;
    uint256 compensationCVP;
    uint256 bonusCVP;
    uint256 earnedCVP;
    uint256 earnedETH;
  }

  address public immutable WETH_TOKEN;

  IERC20 public immutable CVP_TOKEN;

  IEACAggregatorProxy public immutable FAST_GAS_ORACLE;

  PowerPokeStaking public immutable POWER_POKE_STAKING;

  IUniswapV2Router02 public immutable UNISWAP_ROUTER;

  modifier onlyClientOwner(address client_) {
    require(clients[client_].owner == msg.sender, "ONLY_CLIENT_OWNER");
    _;
  }

  constructor(
    address cvpToken_,
    address wethToken_,
    address fastGasOracle_,
    address uniswapRouter_,
    address powerPokeStaking_
  ) public {
    require(cvpToken_ != address(0), "CVP_ADDR_IS_0");
    require(wethToken_ != address(0), "WETH_ADDR_IS_0");
    require(fastGasOracle_ != address(0), "FAST_GAS_ORACLE_IS_0");
    require(uniswapRouter_ != address(0), "UNISWAP_ROUTER_IS_0");
    require(powerPokeStaking_ != address(0), "POWER_POKE_STAKING_ADDR_IS_0");

    CVP_TOKEN = IERC20(cvpToken_);
    WETH_TOKEN = wethToken_;
    FAST_GAS_ORACLE = IEACAggregatorProxy(fastGasOracle_);
    POWER_POKE_STAKING = PowerPokeStaking(powerPokeStaking_);
    UNISWAP_ROUTER = IUniswapV2Router02(uniswapRouter_);
  }

  function initialize(address owner_, address oracle_) external initializer {
    _transferOwnership(owner_);
    oracle = IPowerOracle(oracle_);
  }

  /*** CLIENT'S CONTRACT INTERFACE ***/
  function authorizeReporter(uint256 userId_, address pokerKey_) external view override {
    POWER_POKE_STAKING.authorizeHDH(userId_, pokerKey_);
  }

  function authorizeNonReporter(uint256 userId_, address pokerKey_) external view override {
    POWER_POKE_STAKING.authorizeNonHDH(userId_, pokerKey_, clients[msg.sender].defaultMinDeposit);
  }

  function authorizeNonReporterWithDeposit(
    uint256 userId_,
    address pokerKey_,
    uint256 overrideMinDeposit_
  ) external view override {
    POWER_POKE_STAKING.authorizeNonHDH(userId_, pokerKey_, overrideMinDeposit_);
  }

  function authorizePoker(uint256 userId_, address pokerKey_) external view override {
    POWER_POKE_STAKING.authorizeMember(userId_, pokerKey_, clients[msg.sender].defaultMinDeposit);
  }

  function authorizePokerWithDeposit(
    uint256 userId_,
    address pokerKey_,
    uint256 overrideMinStake_
  ) external view override {
    POWER_POKE_STAKING.authorizeMember(userId_, pokerKey_, overrideMinStake_);
  }

  function slashReporter(uint256 slasherId_, uint256 times_) external override nonReentrant {
    require(clients[msg.sender].active, "INVALID_CLIENT");
    require(clients[msg.sender].canSlash, "CANT_SLASH");
    if (times_ == 0) {
      return;
    }

    POWER_POKE_STAKING.slashHDH(slasherId_, times_);
  }

  function reward(
    uint256 userId_,
    uint256 gasUsed_,
    uint256 compensationPlan_,
    bytes calldata pokeOptions_
  ) external override nonReentrant whenNotPaused {
    RewardHelperStruct memory helper;
    require(clients[msg.sender].active, "INVALID_CLIENT");

    PokeRewardOptions memory opts = abi.decode(pokeOptions_, (PokeRewardOptions));
    if (opts.compensateInETH) {
      gasUsed_ = gasUsed_.add(clients[msg.sender].fixedCompensationETH);
    } else {
      gasUsed_ = gasUsed_.add(clients[msg.sender].fixedCompensationCVP);
    }

    if (gasUsed_ == 0) {
      return;
    }

    helper.ethPrice = oracle.getPriceByAsset(WETH_TOKEN);
    helper.cvpPrice = oracle.getPriceByAsset(address(CVP_TOKEN));

    helper.gasPrice = getGasPriceFor(msg.sender);
    helper.compensationCVP = helper.gasPrice.mul(gasUsed_).mul(helper.ethPrice) / helper.cvpPrice;
    uint256 userDeposit = POWER_POKE_STAKING.getDepositOf(userId_);

    if (userDeposit != 0) {
      helper.bonusCVP = getPokerBonus(msg.sender, compensationPlan_, gasUsed_, userDeposit);
    }

    helper.totalInCVP = helper.compensationCVP.add(helper.bonusCVP);
    require(clients[msg.sender].credit >= helper.totalInCVP, "NOT_ENOUGH_CREDITS");
    clients[msg.sender].credit = clients[msg.sender].credit.sub(helper.totalInCVP);

    if (opts.compensateInETH) {
      helper.earnedCVP = helper.bonusCVP;
      rewards[userId_] = rewards[userId_].add(helper.bonusCVP);
      helper.earnedETH = _payoutCompensationInETH(opts.to, helper.compensationCVP);
    } else {
      helper.earnedCVP = helper.compensationCVP.add(helper.bonusCVP);
      rewards[userId_] = rewards[userId_].add(helper.earnedCVP);
    }

    emit RewardUser(
      msg.sender,
      userId_,
      compensationPlan_,
      opts.compensateInETH,
      gasUsed_,
      helper.gasPrice,
      userDeposit,
      helper.ethPrice,
      helper.cvpPrice,
      helper.compensationCVP,
      helper.bonusCVP,
      helper.earnedCVP,
      helper.earnedETH
    );
  }

  /*** CLIENT OWNER INTERFACE ***/
  function transferClientOwnership(address client_, address to_) external override onlyClientOwner(client_) {
    clients[client_].owner = to_;
    emit TransferClientOwnership(client_, msg.sender, to_);
  }

  function addCredit(address client_, uint256 amount_) external override {
    Client storage client = clients[client_];

    require(client.active, "ONLY_ACTIVE_CLIENT");

    CVP_TOKEN.transferFrom(msg.sender, address(this), amount_);
    client.credit = client.credit.add(amount_);
    totalCredits = totalCredits.add(amount_);

    emit AddCredit(client_, amount_);
  }

  function withdrawCredit(
    address client_,
    address to_,
    uint256 amount_
  ) external override onlyClientOwner(client_) {
    Client storage client = clients[client_];

    client.credit = client.credit.sub(amount_);
    totalCredits = totalCredits.sub(amount_);

    CVP_TOKEN.transfer(to_, amount_);

    emit WithdrawCredit(client_, to_, amount_);
  }

  function setReportIntervals(
    address client_,
    uint256 minReportInterval_,
    uint256 maxReportInterval_
  ) external override onlyClientOwner(client_) {
    require(maxReportInterval_ > minReportInterval_ && minReportInterval_ > 0, "INVALID_REPORT_INTERVALS");
    clients[client_].minReportInterval = minReportInterval_;
    clients[client_].maxReportInterval = maxReportInterval_;
    emit SetReportIntervals(client_, minReportInterval_, maxReportInterval_);
  }

  function setSlasherHeartbeat(address client_, uint256 slasherHeartbeat_) external override onlyClientOwner(client_) {
    clients[client_].slasherHeartbeat = slasherHeartbeat_;
    emit SetSlasherHeartbeat(client_, slasherHeartbeat_);
  }

  function setGasPriceLimit(address client_, uint256 gasPriceLimit_) external override onlyClientOwner(client_) {
    clients[client_].gasPriceLimit = gasPriceLimit_;
    emit SetGasPriceLimit(client_, gasPriceLimit_);
  }

  function setFixedCompensations(
    address client_,
    uint256 eth_,
    uint256 cvp_
  ) external override onlyClientOwner(client_) {
    clients[client_].fixedCompensationETH = eth_;
    clients[client_].fixedCompensationCVP = cvp_;
    emit SetFixedCompensations(client_, eth_, cvp_);
  }

  function setBonusPlan(
    address client_,
    uint256 planId_,
    bool active_,
    uint64 bonusNominator_,
    uint64 bonusDenominator_,
    uint64 perGas_
  ) external override onlyClientOwner(client_) {
    bonusPlans[client_][planId_] = BonusPlan(active_, bonusNominator_, bonusDenominator_, perGas_);
    emit SetBonusPlan(client_, planId_, active_, bonusNominator_, bonusDenominator_, perGas_);
  }

  function setMinimalDeposit(address client_, uint256 defaultMinDeposit_) external override onlyClientOwner(client_) {
    clients[client_].defaultMinDeposit = defaultMinDeposit_;
    emit SetDefaultMinDeposit(client_, defaultMinDeposit_);
  }

  /*** POKER INTERFACE ***/
  function withdrawRewards(uint256 userId_, address to_) external override {
    if (pokerKeyRewardWithdrawAllowance[userId_] == true) {
      POWER_POKE_STAKING.requireValidAdminOrPokerKey(userId_, msg.sender);
    } else {
      POWER_POKE_STAKING.requireValidAdminKey(userId_, msg.sender);
    }
    require(to_ != address(0), "0_ADDRESS");
    uint256 rewardAmount = rewards[userId_];
    require(rewardAmount > 0, "NOTHING_TO_WITHDRAW");
    rewards[userId_] = 0;

    CVP_TOKEN.transfer(to_, rewardAmount);

    emit WithdrawRewards(userId_, to_, rewardAmount);
  }

  function setPokerKeyRewardWithdrawAllowance(uint256 userId_, bool allow_) external override {
    POWER_POKE_STAKING.requireValidAdminKey(userId_, msg.sender);
    pokerKeyRewardWithdrawAllowance[userId_] = allow_;
    emit SetPokerKeyRewardWithdrawAllowance(userId_, allow_);
  }

  /*** OWNER INTERFACE ***/
  function addClient(
    address client_,
    address owner_,
    bool canSlash_,
    uint256 gasPriceLimit_,
    uint256 minReportInterval_,
    uint256 maxReportInterval_
  ) external override onlyOwner {
    require(maxReportInterval_ > minReportInterval_ && minReportInterval_ > 0, "INVALID_REPORT_INTERVALS");

    Client storage c = clients[client_];
    c.active = true;
    c.canSlash = canSlash_;
    c.owner = owner_;
    c.gasPriceLimit = gasPriceLimit_;
    c.minReportInterval = minReportInterval_;
    c.maxReportInterval = maxReportInterval_;
    c.slasherHeartbeat = uint256(-1);

    emit AddClient(client_, owner_, canSlash_, gasPriceLimit_, minReportInterval_, maxReportInterval_, uint256(-1));
  }

  function setClientActiveFlag(address client_, bool active_) external override onlyOwner {
    clients[client_].active = active_;
    emit SetClientActiveFlag(client_, active_);
  }

  function setCanSlashFlag(address client_, bool canSlash) external override onlyOwner {
    clients[client_].active = canSlash;
    emit SetCanSlashFlag(client_, canSlash);
  }

  function setOracle(address oracle_) external override onlyOwner {
    oracle = IPowerOracle(oracle_);
    emit SetOracle(oracle_);
  }

  /**
   * @notice The owner pauses reward-operation
   */
  function pause() external override onlyOwner {
    _pause();
  }

  /**
   * @notice The owner unpauses reward-operation
   */
  function unpause() external override onlyOwner {
    _unpause();
  }

  /*** INTERNAL HELPERS ***/
  function _payoutCompensationInETH(address _to, uint256 _cvpAmount) internal returns (uint256) {
    CVP_TOKEN.approve(address(UNISWAP_ROUTER), _cvpAmount);

    address[] memory path = new address[](2);
    path[0] = address(CVP_TOKEN);
    path[1] = address(WETH_TOKEN);

    uint256[] memory amounts = UNISWAP_ROUTER.swapExactTokensForETH(_cvpAmount, uint256(0), path, _to, now.add(1800));
    return amounts[1];
  }

  function _latestFastGas() internal view returns (uint256) {
    return uint256(FAST_GAS_ORACLE.latestAnswer());
  }

  /*** GETTERS ***/
  function creditOf(address client_) external view override returns (uint256) {
    return clients[client_].credit;
  }

  function ownerOf(address client_) external view override returns (address) {
    return clients[client_].owner;
  }

  function getMinMaxReportIntervals(address client_) external view override returns (uint256 min, uint256 max) {
    return (clients[client_].minReportInterval, clients[client_].maxReportInterval);
  }

  function getSlasherHeartbeat(address client_) external view override returns (uint256) {
    return clients[client_].slasherHeartbeat;
  }

  function getGasPriceLimit(address client_) external view override returns (uint256) {
    return clients[client_].gasPriceLimit;
  }

  function getPokerBonus(
    address client_,
    uint256 bonusPlanId_,
    uint256 gasUsed_,
    uint256 userDeposit_
  ) public view override returns (uint256) {
    BonusPlan memory plan = bonusPlans[client_][bonusPlanId_];
    require(plan.active, "INACTIVE_BONUS_PLAN");

    // gasUsed_ * userDeposit_ * plan.bonusNumerator / bonusDenominator / plan.perGas
    return gasUsed_.mul(userDeposit_).mul(plan.bonusNumerator) / plan.bonusDenominator / plan.perGas;
  }

  function getGasPriceFor(address client_) public view override returns (uint256) {
    return Math.min(tx.gasprice, Math.min(_latestFastGas(), clients[client_].gasPriceLimit));
  }
}

// File: contracts/PowerOracle.sol

pragma solidity ^0.6.12;

contract PowerOracle is IPowerOracle, PowerOwnable, Initializable, PowerPausable, UniswapTWAPProvider {
  using SafeMath for uint256;
  using SafeCast for uint256;

  uint256 internal constant COMPENSATION_PLAN_1_ID = 1;
  uint256 internal constant COMPENSATION_PLAN_2_ID = 2;
  uint256 public constant HUNDRED_PCT = 100 ether;

  /// @notice The event emitted when a reporter calls a poke operation
  event PokeFromReporter(uint256 indexed reporterId, uint256 tokenCount);

  /// @notice The event emitted when a slasher executes poke and slashes the current reporter
  event PokeFromSlasher(uint256 indexed slasherId, uint256 tokenCount);

  /// @notice The event emitted when an arbitrary user calls poke operation
  event Poke(address indexed poker, uint256 tokenCount);

  /// @notice The event emitted when the owner updates the powerOracleStaking address
  event SetPowerPoke(address powerPoke);

  /// @notice The event emitted when the slasher timestamps are updated
  event SlasherHeartbeat(uint256 indexed slasherId, uint256 prevSlasherTimestamp, uint256 newSlasherTimestamp);

  /// @notice CVP token address
  IERC20 public immutable CVP_TOKEN;

  modifier onlyReporter(uint256 reporterId_, bytes calldata rewardOpts) {
    uint256 gasStart = gasleft();
    powerPoke.authorizeReporter(reporterId_, msg.sender);
    _;
    powerPoke.reward(reporterId_, gasStart.sub(gasleft()), COMPENSATION_PLAN_1_ID, rewardOpts);
  }

  modifier onlySlasher(uint256 slasherId_, bytes calldata rewardOpts) {
    uint256 gasStart = gasleft();
    powerPoke.authorizeNonReporter(slasherId_, msg.sender);
    _;
    powerPoke.reward(slasherId_, gasStart.sub(gasleft()), COMPENSATION_PLAN_1_ID, rewardOpts);
  }

  modifier onlyEOA() {
    require(msg.sender == tx.origin, "CONTRACT_CALL");
    _;
  }

  constructor(
    address cvpToken_,
    uint256 anchorPeriod_,
    TokenConfig[] memory configs
  ) public UniswapTWAPProvider(anchorPeriod_, configs) UniswapConfig(configs) {
    CVP_TOKEN = IERC20(cvpToken_);
  }

  function initialize(address owner_, address powerPoke_) external initializer {
    _transferOwnership(owner_);
    powerPoke = IPowerPoke(powerPoke_);
  }

  /*** Current Poke Interface ***/

  function _fetchEthPrice() internal returns (uint256) {
    bytes32 symbolHash = keccak256(abi.encodePacked("ETH"));
    if (getIntervalStatus(symbolHash) == ReportInterval.LESS_THAN_MIN) {
      return uint256(prices[symbolHash].value);
    }
    uint256 ethPrice = fetchEthPrice();
    _savePrice(symbolHash, ethPrice);
    return ethPrice;
  }

  function _fetchCvpPrice(uint256 ethPrice_) internal returns (uint256) {
    bytes32 symbolHash = keccak256(abi.encodePacked("CVP"));
    if (getIntervalStatus(symbolHash) == ReportInterval.LESS_THAN_MIN) {
      return uint256(prices[symbolHash].value);
    }
    uint256 cvpPrice = fetchCvpPrice(ethPrice_);
    _savePrice(symbolHash, cvpPrice);
    return cvpPrice;
  }

  function _fetchAndSavePrice(
    string memory symbol_,
    uint256 ethPrice_,
    uint256 minReportInterval_,
    uint256 maxReportInterval_
  ) internal returns (ReportInterval) {
    TokenConfig memory config = getTokenConfigBySymbol(symbol_);
    require(config.priceSource == PriceSource.REPORTER, "NOT_REPORTER");
    bytes32 symbolHash = keccak256(abi.encodePacked(symbol_));

    ReportInterval intervalStatus = getIntervalStatusForIntervals(symbolHash, minReportInterval_, maxReportInterval_);
    if (intervalStatus == ReportInterval.LESS_THAN_MIN) {
      return intervalStatus;
    }

    uint256 price;
    if (symbolHash == ethHash) {
      price = ethPrice_;
    } else {
      price = fetchAnchorPrice(symbol_, config, ethPrice_);
    }

    _savePrice(symbolHash, price);

    return intervalStatus;
  }

  function _savePrice(bytes32 _symbolHash, uint256 price_) internal {
    prices[_symbolHash] = Price(block.timestamp.toUint128(), price_.toUint128());
  }

  function priceInternal(TokenConfig memory config_) internal view returns (uint256) {
    if (config_.priceSource == PriceSource.REPORTER) return prices[config_.symbolHash].value;
    if (config_.priceSource == PriceSource.FIXED_USD) return config_.fixedPrice;
    if (config_.priceSource == PriceSource.FIXED_ETH) {
      uint256 usdPerEth = prices[ethHash].value;
      require(usdPerEth > 0, "ETH_PRICE_NOT_SET");
      return mul(usdPerEth, config_.fixedPrice) / ethBaseUnit;
    }
    revert("UNSUPPORTED_PRICE_CASE");
  }

  /*** Pokers ***/

  /**
   * @notice A reporter pokes symbols with incentive to be rewarded
   * @param reporterId_ The valid reporter's user ID
   * @param symbols_ Asset symbols to poke
   */
  function pokeFromReporter(
    uint256 reporterId_,
    string[] memory symbols_,
    bytes calldata rewardOpts_
  ) external override onlyReporter(reporterId_, rewardOpts_) onlyEOA whenNotPaused {
    uint256 len = symbols_.length;
    require(len > 0, "MISSING_SYMBOLS");

    uint256 ethPrice = _fetchEthPrice();
    _fetchCvpPrice(ethPrice);

    (uint256 minReportInterval, uint256 maxReportInterval) = _getMinMaxReportInterval();

    for (uint256 i = 0; i < len; i++) {
      require(
        _fetchAndSavePrice(symbols_[i], ethPrice, minReportInterval, maxReportInterval) != ReportInterval.LESS_THAN_MIN,
        "TOO_EARLY_UPDATE"
      );
    }

    emit PokeFromReporter(reporterId_, len);
  }

  /**
   * @notice A slasher pokes symbols with incentive to be rewarded
   * @param slasherId_ The slasher's user ID
   * @param symbols_ Asset symbols to poke
   */
  function pokeFromSlasher(
    uint256 slasherId_,
    string[] memory symbols_,
    bytes calldata rewardOpts_
  ) external override onlySlasher(slasherId_, rewardOpts_) onlyEOA whenNotPaused {
    uint256 len = symbols_.length;
    require(len > 0, "MISSING_SYMBOLS");

    uint256 ethPrice = _fetchEthPrice();
    _fetchCvpPrice(ethPrice);

    (uint256 minReportInterval, uint256 maxReportInterval) = _getMinMaxReportInterval();

    for (uint256 i = 0; i < len; i++) {
      require(
        _fetchAndSavePrice(symbols_[i], ethPrice, minReportInterval, maxReportInterval) ==
          ReportInterval.GREATER_THAN_MAX,
        "INTERVAL_IS_OK"
      );
    }

    _updateSlasherTimestamp(slasherId_, false);
    powerPoke.slashReporter(slasherId_, len);

    emit PokeFromSlasher(slasherId_, len);
  }

  function slasherHeartbeat(uint256 slasherId_) external override whenNotPaused onlyEOA {
    uint256 gasStart = gasleft();
    powerPoke.authorizeNonReporter(slasherId_, msg.sender);

    _updateSlasherTimestamp(slasherId_, true);

    PowerPoke.PokeRewardOptions memory opts = PowerPoke.PokeRewardOptions(msg.sender, false);
    bytes memory rewardConfig = abi.encode(opts);
    // reward in CVP
    powerPoke.reward(slasherId_, gasStart.sub(gasleft()), COMPENSATION_PLAN_2_ID, rewardConfig);
  }

  function _updateSlasherTimestamp(uint256 _slasherId, bool assertOnTimeDelta) internal {
    uint256 prevSlasherUpdate = lastSlasherUpdates[_slasherId];

    if (assertOnTimeDelta) {
      uint256 delta = block.timestamp.sub(prevSlasherUpdate);
      require(delta >= powerPoke.getSlasherHeartbeat(address(this)), "BELOW_HEARTBEAT_INTERVAL");
    }

    lastSlasherUpdates[_slasherId] = block.timestamp;
    emit SlasherHeartbeat(_slasherId, prevSlasherUpdate, block.timestamp);
  }

  /**
   * @notice Arbitrary user pokes symbols without being rewarded
   * @param symbols_ Asset symbols to poke
   */
  function poke(string[] memory symbols_) external override whenNotPaused {
    uint256 len = symbols_.length;
    require(len > 0, "MISSING_SYMBOLS");

    uint256 ethPrice = _fetchEthPrice();
    (uint256 minReportInterval, uint256 maxReportInterval) = _getMinMaxReportInterval();

    for (uint256 i = 0; i < len; i++) {
      _fetchAndSavePrice(symbols_[i], ethPrice, minReportInterval, maxReportInterval);
    }

    emit Poke(msg.sender, len);
  }

  /*** Owner Interface ***/

  /**
   * @notice The owner sets a new powerPoke contract
   * @param powerPoke_ The powerPoke contract address
   */
  function setPowerPoke(address powerPoke_) external override onlyOwner {
    powerPoke = PowerPoke(powerPoke_);
    emit SetPowerPoke(powerPoke_);
  }

  /**
   * @notice The owner pauses poke*-operations
   */
  function pause() external override onlyOwner {
    _pause();
  }

  /**
   * @notice The owner unpauses poke*-operations
   */
  function unpause() external override onlyOwner {
    _unpause();
  }

  /*** Viewers ***/

  function _getMinMaxReportInterval() internal view returns (uint256 min, uint256 max) {
    return powerPoke.getMinMaxReportIntervals(address(this));
  }

  function getIntervalStatus(bytes32 _symbolHash) public view returns (ReportInterval) {
    (uint256 minReportInterval, uint256 maxReportInterval) = _getMinMaxReportInterval();

    return getIntervalStatusForIntervals(_symbolHash, minReportInterval, maxReportInterval);
  }

  function getIntervalStatusForIntervals(
    bytes32 symbolHash_,
    uint256 minReportInterval_,
    uint256 maxReportInterval_
  ) public view returns (ReportInterval) {
    uint256 delta = block.timestamp.sub(prices[symbolHash_].timestamp);

    if (delta < minReportInterval_) {
      return ReportInterval.LESS_THAN_MIN;
    }

    if (delta < maxReportInterval_) {
      return ReportInterval.OK;
    }

    return ReportInterval.GREATER_THAN_MAX;
  }

  /**
   * @notice Get the underlying price of a token
   * @param token_ The token address for price retrieval
   * @return Price denominated in USD, with 6 decimals, for the given asset address
   */
  function getPriceByAsset(address token_) external view override returns (uint256) {
    TokenConfig memory config = getTokenConfigByUnderlying(token_);
    return priceInternal(config);
  }

  /**
   * @notice Get the official price for a symbol, like "COMP"
   * @param symbol_ The symbol for price retrieval
   * @return Price denominated in USD, with 6 decimals
   */
  function getPriceBySymbol(string calldata symbol_) external view override returns (uint256) {
    TokenConfig memory config = getTokenConfigBySymbol(symbol_);
    return priceInternal(config);
  }

  /**
   * @notice Get price by a token symbol hash,
   *    like "0xd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa" for USDC
   * @param symbolHash_ The symbol hash for price retrieval
   * @return Price denominated in USD, with 6 decimals, for the given asset address
   */
  function getPriceBySymbolHash(bytes32 symbolHash_) external view override returns (uint256) {
    TokenConfig memory config = getTokenConfigBySymbolHash(symbolHash_);
    return priceInternal(config);
  }

  /**
   * @notice Get the underlying price of a cToken
   * @dev Implements the PriceOracle interface for Compound v2.
   * @param cToken_ The cToken address for price retrieval
   * @return Price denominated in USD, with 18 decimals, for the given cToken address
   */
  function getUnderlyingPrice(address cToken_) external view override returns (uint256) {
    TokenConfig memory config = getTokenConfigByCToken(cToken_);
    // Comptroller needs prices in the format: ${raw price} * 1e(36 - baseUnit)
    // Since the prices in this view have 6 decimals, we must scale them by 1e(36 - 6 - baseUnit)
    return mul(1e30, priceInternal(config)) / config.baseUnit;
  }

  /**
   * @notice Get the price by underlying address
   * @dev Implements the old PriceOracle interface for Compound v2.
   * @param token_ The underlying address for price retrieval
   * @return Price denominated in USD, with 18 decimals, for the given underlying address
   */
  function assetPrices(address token_) external view override returns (uint256) {
    TokenConfig memory config = getTokenConfigByUnderlying(token_);
    // Return price in the same format as getUnderlyingPrice, but by token address
    return mul(1e30, priceInternal(config)) / config.baseUnit;
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"cvpToken_","type":"address"},{"internalType":"uint256","name":"anchorPeriod_","type":"uint256"},{"components":[{"internalType":"address","name":"cToken","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"internalType":"uint256","name":"baseUnit","type":"uint256"},{"internalType":"enum UniswapConfig.PriceSource","name":"priceSource","type":"uint8"},{"internalType":"uint256","name":"fixedPrice","type":"uint256"},{"internalType":"address","name":"uniswapMarket","type":"address"},{"internalType":"bool","name":"isUniswapReversed","type":"bool"}],"internalType":"struct UniswapConfig.TokenConfig[]","name":"configs","type":"tuple[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"symbol","type":"string"},{"indexed":true,"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"anchorPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTimestamp","type":"uint256"}],"name":"AnchorPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"poker","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"Poke","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"reporterId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"PokeFromReporter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slasherId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"PokeFromSlasher","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"powerPoke","type":"address"}],"name":"SetPowerPoke","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slasherId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prevSlasherTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSlasherTimestamp","type":"uint256"}],"name":"SlasherHeartbeat","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"oldTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"UniswapWindowUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CVP_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HUNDRED_PCT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"anchorPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"}],"name":"assetPrices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethBaseUnit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"expScale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_symbolHash","type":"bytes32"}],"name":"getIntervalStatus","outputs":[{"internalType":"enum IPowerOracle.ReportInterval","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"symbolHash_","type":"bytes32"},{"internalType":"uint256","name":"minReportInterval_","type":"uint256"},{"internalType":"uint256","name":"maxReportInterval_","type":"uint256"}],"name":"getIntervalStatusForIntervals","outputs":[{"internalType":"enum IPowerOracle.ReportInterval","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"}],"name":"getPriceByAsset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"symbol_","type":"string"}],"name":"getPriceBySymbol","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"symbolHash_","type":"bytes32"}],"name":"getPriceBySymbolHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"getTokenConfig","outputs":[{"components":[{"internalType":"address","name":"cToken","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"internalType":"uint256","name":"baseUnit","type":"uint256"},{"internalType":"enum UniswapConfig.PriceSource","name":"priceSource","type":"uint8"},{"internalType":"uint256","name":"fixedPrice","type":"uint256"},{"internalType":"address","name":"uniswapMarket","type":"address"},{"internalType":"bool","name":"isUniswapReversed","type":"bool"}],"internalType":"struct UniswapConfig.TokenConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"cToken","type":"address"}],"name":"getTokenConfigByCToken","outputs":[{"components":[{"internalType":"address","name":"cToken","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"internalType":"uint256","name":"baseUnit","type":"uint256"},{"internalType":"enum UniswapConfig.PriceSource","name":"priceSource","type":"uint8"},{"internalType":"uint256","name":"fixedPrice","type":"uint256"},{"internalType":"address","name":"uniswapMarket","type":"address"},{"internalType":"bool","name":"isUniswapReversed","type":"bool"}],"internalType":"struct UniswapConfig.TokenConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"symbol","type":"string"}],"name":"getTokenConfigBySymbol","outputs":[{"components":[{"internalType":"address","name":"cToken","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"internalType":"uint256","name":"baseUnit","type":"uint256"},{"internalType":"enum UniswapConfig.PriceSource","name":"priceSource","type":"uint8"},{"internalType":"uint256","name":"fixedPrice","type":"uint256"},{"internalType":"address","name":"uniswapMarket","type":"address"},{"internalType":"bool","name":"isUniswapReversed","type":"bool"}],"internalType":"struct UniswapConfig.TokenConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"symbolHash","type":"bytes32"}],"name":"getTokenConfigBySymbolHash","outputs":[{"components":[{"internalType":"address","name":"cToken","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"internalType":"uint256","name":"baseUnit","type":"uint256"},{"internalType":"enum UniswapConfig.PriceSource","name":"priceSource","type":"uint8"},{"internalType":"uint256","name":"fixedPrice","type":"uint256"},{"internalType":"address","name":"uniswapMarket","type":"address"},{"internalType":"bool","name":"isUniswapReversed","type":"bool"}],"internalType":"struct UniswapConfig.TokenConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"underlying","type":"address"}],"name":"getTokenConfigByUnderlying","outputs":[{"components":[{"internalType":"address","name":"cToken","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bytes32","name":"symbolHash","type":"bytes32"},{"internalType":"uint256","name":"baseUnit","type":"uint256"},{"internalType":"enum UniswapConfig.PriceSource","name":"priceSource","type":"uint8"},{"internalType":"uint256","name":"fixedPrice","type":"uint256"},{"internalType":"address","name":"uniswapMarket","type":"address"},{"internalType":"bool","name":"isUniswapReversed","type":"bool"}],"internalType":"struct UniswapConfig.TokenConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"cToken_","type":"address"}],"name":"getUnderlyingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"powerPoke_","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastSlasherUpdates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"newObservations","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"acc","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"oldObservations","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"acc","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"symbols_","type":"string[]"}],"name":"poke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reporterId_","type":"uint256"},{"internalType":"string[]","name":"symbols_","type":"string[]"},{"internalType":"bytes","name":"rewardOpts_","type":"bytes"}],"name":"pokeFromReporter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"slasherId_","type":"uint256"},{"internalType":"string[]","name":"symbols_","type":"string[]"},{"internalType":"bytes","name":"rewardOpts_","type":"bytes"}],"name":"pokeFromSlasher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"powerPoke","outputs":[{"internalType":"contract IPowerPoke","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"prices","outputs":[{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"value","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"powerPoke_","type":"address"}],"name":"setPowerPoke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"slasherId_","type":"uint256"}],"name":"slasherHeartbeat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6115e06040523480156200001257600080fd5b5060405162007b6238038062007b62833981016040819052620000359162001a31565b600080546001600160a01b0319163390811782556040518492849283929091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3601581511115620000a85760405162461bcd60e51b81526004016200009f9062001bd2565b60405180910390fd5b8051608052620000ba816000620015c6565b5160601b6001600160601b03191660a052620000d8816001620015c6565b5160601b6001600160601b03191660c052620000f6816002620015c6565b5160601b6001600160601b03191660e05262000114816003620015c6565b5160601b6001600160601b0319166101005262000133816004620015c6565b5160601b6001600160601b0319166101205262000152816005620015c6565b5160601b6001600160601b0319166101405262000171816006620015c6565b5160601b6001600160601b0319166101605262000190816007620015c6565b5160601b6001600160601b03191661018052620001af816008620015c6565b5160601b6001600160601b0319166101a052620001ce816009620015c6565b5160601b6001600160601b0319166101c052620001ed81600a620015c6565b5160601b6001600160601b0319166101e0526200020c81600b620015c6565b5160601b6001600160601b031916610200526200022b81600c620015c6565b5160601b6001600160601b031916610220526200024a81600d620015c6565b5160601b6001600160601b031916610240526200026981600e620015c6565b5160601b6001600160601b031916610260526200028881600f620015c6565b5160601b6001600160601b03191661028052620002a7816010620015c6565b5160601b6001600160601b0319166102a052620002c6816011620015c6565b5160601b6001600160601b0319166102c052620002e5816012620015c6565b5160601b6001600160601b0319166102e05262000304816013620015c6565b5160601b6001600160601b0319166103005262000323816014620015c6565b5160601b6001600160601b0319166103205262000342816000620015c6565b6020015160601b6001600160601b0319166103405262000364816001620015c6565b6020015160601b6001600160601b0319166103605262000386816002620015c6565b6020015160601b6001600160601b03191661038052620003a8816003620015c6565b6020015160601b6001600160601b0319166103a052620003ca816004620015c6565b6020015160601b6001600160601b0319166103c052620003ec816005620015c6565b6020015160601b6001600160601b0319166103e0526200040e816006620015c6565b6020015160601b6001600160601b0319166104005262000430816007620015c6565b6020015160601b6001600160601b0319166104205262000452816008620015c6565b6020015160601b6001600160601b0319166104405262000474816009620015c6565b6020015160601b6001600160601b031916610460526200049681600a620015c6565b6020015160601b6001600160601b03191661048052620004b881600b620015c6565b6020015160601b6001600160601b0319166104a052620004da81600c620015c6565b6020015160601b6001600160601b0319166104c052620004fc81600d620015c6565b6020015160601b6001600160601b0319166104e0526200051e81600e620015c6565b6020015160601b6001600160601b031916610500526200054081600f620015c6565b6020015160601b6001600160601b0319166105205262000562816010620015c6565b6020015160601b6001600160601b0319166105405262000584816011620015c6565b6020015160601b6001600160601b03191661056052620005a6816012620015c6565b6020015160601b6001600160601b03191661058052620005c8816013620015c6565b6020015160601b6001600160601b0319166105a052620005ea816014620015c6565b6020015160601b6001600160601b0319166105c0526200060c816000620015c6565b604001516105e05262000621816001620015c6565b604001516106005262000636816002620015c6565b60400151610620526200064b816003620015c6565b604001516106405262000660816004620015c6565b604001516106605262000675816005620015c6565b60400151610680526200068a816006620015c6565b604001516106a0526200069f816007620015c6565b604001516106c052620006b4816008620015c6565b604001516106e052620006c9816009620015c6565b6040015161070052620006de81600a620015c6565b6040015161072052620006f381600b620015c6565b60400151610740526200070881600c620015c6565b60400151610760526200071d81600d620015c6565b60400151610780526200073281600e620015c6565b604001516107a0526200074781600f620015c6565b604001516107c0526200075c816010620015c6565b604001516107e05262000771816011620015c6565b604001516108005262000786816012620015c6565b60400151610820526200079b816013620015c6565b6040015161084052620007b0816014620015c6565b6040015161086052620007c5816000620015c6565b6060015161088052620007da816001620015c6565b606001516108a052620007ef816002620015c6565b606001516108c05262000804816003620015c6565b606001516108e05262000819816004620015c6565b60600151610900526200082e816005620015c6565b606001516109205262000843816006620015c6565b606001516109405262000858816007620015c6565b60600151610960526200086d816008620015c6565b606001516109805262000882816009620015c6565b606001516109a0526200089781600a620015c6565b606001516109c052620008ac81600b620015c6565b606001516109e052620008c181600c620015c6565b60600151610a0052620008d681600d620015c6565b60600151610a2052620008eb81600e620015c6565b60600151610a40526200090081600f620015c6565b60600151610a605262000915816010620015c6565b60600151610a80526200092a816011620015c6565b60600151610aa0526200093f816012620015c6565b60600151610ac05262000954816013620015c6565b60600151610ae05262000969816014620015c6565b60600151610b00526200097e816000620015c6565b6080015160028111156200098e57fe5b610b208160028111156200099e57fe5b60f81b905250620009b1816001620015c6565b608001516002811115620009c157fe5b610b40816002811115620009d157fe5b60f81b905250620009e4816002620015c6565b608001516002811115620009f457fe5b610b6081600281111562000a0457fe5b60f81b90525062000a17816003620015c6565b60800151600281111562000a2757fe5b610b8081600281111562000a3757fe5b60f81b90525062000a4a816004620015c6565b60800151600281111562000a5a57fe5b610ba081600281111562000a6a57fe5b60f81b90525062000a7d816005620015c6565b60800151600281111562000a8d57fe5b610bc081600281111562000a9d57fe5b60f81b90525062000ab0816006620015c6565b60800151600281111562000ac057fe5b610be081600281111562000ad057fe5b60f81b90525062000ae3816007620015c6565b60800151600281111562000af357fe5b610c0081600281111562000b0357fe5b60f81b90525062000b16816008620015c6565b60800151600281111562000b2657fe5b610c2081600281111562000b3657fe5b60f81b90525062000b49816009620015c6565b60800151600281111562000b5957fe5b610c4081600281111562000b6957fe5b60f81b90525062000b7c81600a620015c6565b60800151600281111562000b8c57fe5b610c6081600281111562000b9c57fe5b60f81b90525062000baf81600b620015c6565b60800151600281111562000bbf57fe5b610c8081600281111562000bcf57fe5b60f81b90525062000be281600c620015c6565b60800151600281111562000bf257fe5b610ca081600281111562000c0257fe5b60f81b90525062000c1581600d620015c6565b60800151600281111562000c2557fe5b610cc081600281111562000c3557fe5b60f81b90525062000c4881600e620015c6565b60800151600281111562000c5857fe5b610ce081600281111562000c6857fe5b60f81b90525062000c7b81600f620015c6565b60800151600281111562000c8b57fe5b610d0081600281111562000c9b57fe5b60f81b90525062000cae816010620015c6565b60800151600281111562000cbe57fe5b610d2081600281111562000cce57fe5b60f81b90525062000ce1816011620015c6565b60800151600281111562000cf157fe5b610d4081600281111562000d0157fe5b60f81b90525062000d14816012620015c6565b60800151600281111562000d2457fe5b610d6081600281111562000d3457fe5b60f81b90525062000d47816013620015c6565b60800151600281111562000d5757fe5b610d8081600281111562000d6757fe5b60f81b90525062000d7a816014620015c6565b60800151600281111562000d8a57fe5b610da081600281111562000d9a57fe5b60f81b90525062000dad816000620015c6565b60a00151610dc05262000dc2816001620015c6565b60a00151610de05262000dd7816002620015c6565b60a00151610e005262000dec816003620015c6565b60a00151610e205262000e01816004620015c6565b60a00151610e405262000e16816005620015c6565b60a00151610e605262000e2b816006620015c6565b60a00151610e805262000e40816007620015c6565b60a00151610ea05262000e55816008620015c6565b60a00151610ec05262000e6a816009620015c6565b60a00151610ee05262000e7f81600a620015c6565b60a00151610f005262000e9481600b620015c6565b60a00151610f205262000ea981600c620015c6565b60a00151610f405262000ebe81600d620015c6565b60a00151610f605262000ed381600e620015c6565b60a00151610f805262000ee881600f620015c6565b60a00151610fa05262000efd816010620015c6565b60a00151610fc05262000f12816011620015c6565b60a00151610fe05262000f27816012620015c6565b60a001516110005262000f3c816013620015c6565b60a001516110205262000f51816014620015c6565b60a001516110405262000f66816000620015c6565b60c0015160601b6001600160601b0319166110605262000f88816001620015c6565b60c0015160601b6001600160601b0319166110805262000faa816002620015c6565b60c0015160601b6001600160601b0319166110a05262000fcc816003620015c6565b60c0015160601b6001600160601b0319166110c05262000fee816004620015c6565b60c0015160601b6001600160601b0319166110e05262001010816005620015c6565b60c0015160601b6001600160601b0319166111005262001032816006620015c6565b60c0015160601b6001600160601b0319166111205262001054816007620015c6565b60c0015160601b6001600160601b0319166111405262001076816008620015c6565b60c0015160601b6001600160601b0319166111605262001098816009620015c6565b60c0015160601b6001600160601b03191661118052620010ba81600a620015c6565b60c0015160601b6001600160601b0319166111a052620010dc81600b620015c6565b60c0015160601b6001600160601b0319166111c052620010fe81600c620015c6565b60c0015160601b6001600160601b0319166111e0526200112081600d620015c6565b60c0015160601b6001600160601b031916611200526200114281600e620015c6565b60c0015160601b6001600160601b031916611220526200116481600f620015c6565b60c0015160601b6001600160601b0319166112405262001186816010620015c6565b60c0015160601b6001600160601b03191661126052620011a8816011620015c6565b60c0015160601b6001600160601b03191661128052620011ca816012620015c6565b60c0015160601b6001600160601b0319166112a052620011ec816013620015c6565b60c0015160601b6001600160601b0319166112c0526200120e816014620015c6565b60c0015160601b6001600160601b0319166112e05262001230816000620015c6565b60e00151151560f81b611300526200124a816001620015c6565b60e00151151560f81b6113205262001264816002620015c6565b60e00151151560f81b611340526200127e816003620015c6565b60e00151151560f81b6113605262001298816004620015c6565b60e00151151560f81b61138052620012b2816005620015c6565b60e00151151560f81b6113a052620012cc816006620015c6565b60e00151151560f81b6113c052620012e6816007620015c6565b60e00151151560f81b6113e05262001300816008620015c6565b60e00151151560f81b611400526200131a816009620015c6565b60e00151151560f81b611420526200133481600a620015c6565b60e00151151560f81b611440526200134e81600b620015c6565b60e00151151560f81b611460526200136881600c620015c6565b60e00151151560f81b611480526200138281600d620015c6565b60e00151151560f81b6114a0526200139c81600e620015c6565b60e00151151560f81b6114c052620013b681600f620015c6565b60e00151151560f81b6114e052620013d0816010620015c6565b60e00151151560f81b61150052620013ea816011620015c6565b60e00151151560f81b6115205262001404816012620015c6565b60e00151151560f81b611540526200141e816013620015c6565b60e00151151560f81b6115605262001438816014620015c6565b60e00151151560f81b61158052506115a082905260005b8151811015620015aa576200146362001909565b8282815181106200147057fe5b602002602001015190506000816060015111620014a15760405162461bcd60e51b81526004016200009f9062001ba7565b60c0810151600282608001516002811115620014b957fe5b141562001575576001600160a01b038116620014e95760405162461bcd60e51b81526004016200009f9062001b7f565b60408201516000620014fb8462001640565b600083815260366020908152604080832042808255603790935292819020828155600193840185905592909201839055905191925083917fe37d39315e3419c0937360f1ac88f2c52ecf67e3b22b367f82047ddb4591904a91620015659181908690819062001c47565b60405180910390a250506200159f565b6001600160a01b038116156200159f5760405162461bcd60e51b81526004016200009f9062001c1b565b50506001016200144f565b505050505060601b6001600160601b0319166115c05262001ca2565b620015d062001909565b8251821015620015f757828281518110620015e757fe5b602002602001015190506200163a565b506040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091525b92915050565b60008060006200165f8460c001516200168260201b6200301f1760201c565b50915091508360e0015115620016795791506200167d9050565b5090505b919050565b600080806200169062001885565b9050836001600160a01b0316635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b158015620016cc57600080fd5b505afa158015620016e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001707919062001b66565b9250836001600160a01b0316635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b1580156200174357600080fd5b505afa15801562001758573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200177e919062001b66565b91506000806000866001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015620017bf57600080fd5b505afa158015620017d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017fa919062001b0c565b9250925092508363ffffffff168163ffffffff16146200187b57600081850390508063ffffffff166200183984866200188f60201b620031f41760201c565b600001516001600160e01b031602870196508063ffffffff166200186985856200188f60201b620031f41760201c565b516001600160e01b0316029590950194505b5050509193909250565b63ffffffff421690565b620018996200194e565b6000826001600160701b031611620018c55760405162461bcd60e51b81526004016200009f9062001bf6565b6040805160208101909152806001600160701b038416600160701b600160e01b03607087901b1681620018f457fe5b046001600160e01b0316815250905092915050565b60408051610100810182526000808252602082018190529181018290526060810182905290608082019081526000602082018190526040820181905260609091015290565b60408051602081019091526000815290565b80516001600160a01b03811681146200163a57600080fd5b805180151581146200163a57600080fd5b60006101008083850312156200199d578182fd5b620019a88162001c62565b915050620019b7838362001960565b8152620019c8836020840162001960565b60208201526040820151604082015260608201516060820152608082015160038110620019f457600080fd5b608082015260a0828101519082015262001a128360c0840162001960565b60c082015262001a268360e0840162001978565b60e082015292915050565b60008060006060848603121562001a46578283fd5b62001a52858562001960565b60208581015160408701519295509350906001600160401b038082111562001a78578384fd5b818701915087601f83011262001a8c578384fd5b81518181111562001a9b578485fd5b62001aaa848583020162001c62565b8181528481019250838501610100808402860187018c101562001acb578788fd5b8795505b8386101562001afb5762001ae48c8362001989565b855260019590950194938601939081019062001acf565b505080955050505050509250925092565b60008060006060848603121562001b21578283fd5b835162001b2e8162001c89565b602085015190935062001b418162001c89565b604085015190925063ffffffff8116811462001b5b578182fd5b809150509250925092565b60006020828403121562001b78578081fd5b5051919050565b6020808252600e908201526d13505492d15517d254d7d395531360921b604082015260600190565b602080825260119082015270109054d157d553925517d254d7d3955313607a1b604082015260600190565b6020808252600a90820152694d41585f544f4b454e5360b01b604082015260600190565b6020808252600b908201526a4449565f42595f5a45524f60a81b604082015260600190565b60208082526012908201527113505492d15517d254d7d393d517d395531360721b604082015260600190565b93845260208401929092526040830152606082015260800190565b6040518181016001600160401b038111828210171562001c8157600080fd5b604052919050565b6001600160701b038116811462001c9f57600080fd5b50565b60805160a05160601c60c05160601c60e05160601c6101005160601c6101205160601c6101405160601c6101605160601c6101805160601c6101a05160601c6101c05160601c6101e05160601c6102005160601c6102205160601c6102405160601c6102605160601c6102805160601c6102a05160601c6102c05160601c6102e05160601c6103005160601c6103205160601c6103405160601c6103605160601c6103805160601c6103a05160601c6103c05160601c6103e05160601c6104005160601c6104205160601c6104405160601c6104605160601c6104805160601c6104a05160601c6104c05160601c6104e05160601c6105005160601c6105205160601c6105405160601c6105605160601c6105805160601c6105a05160601c6105c05160601c6105e05161060051610620516106405161066051610680516106a0516106c0516106e05161070051610720516107405161076051610780516107a0516107c0516107e05161080051610820516108405161086051610880516108a0516108c0516108e05161090051610920516109405161096051610980516109a0516109c0516109e051610a0051610a2051610a4051610a6051610a8051610aa051610ac051610ae051610b0051610b205160f81c610b405160f81c610b605160f81c610b805160f81c610ba05160f81c610bc05160f81c610be05160f81c610c005160f81c610c205160f81c610c405160f81c610c605160f81c610c805160f81c610ca05160f81c610cc05160f81c610ce05160f81c610d005160f81c610d205160f81c610d405160f81c610d605160f81c610d805160f81c610da05160f81c610dc051610de051610e0051610e2051610e4051610e6051610e8051610ea051610ec051610ee051610f0051610f2051610f4051610f6051610f8051610fa051610fc051610fe0516110005161102051611040516110605160601c6110805160601c6110a05160601c6110c05160601c6110e05160601c6111005160601c6111205160601c6111405160601c6111605160601c6111805160601c6111a05160601c6111c05160601c6111e05160601c6112005160601c6112205160601c6112405160601c6112605160601c6112805160601c6112a05160601c6112c05160601c6112e05160601c6113005160f81c6113205160f81c6113405160f81c6113605160f81c6113805160f81c6113a05160f81c6113c05160f81c6113e05160f81c6114005160f81c6114205160f81c6114405160f81c6114605160f81c6114805160f81c6114a05160f81c6114c05160f81c6114e05160f81c6115005160f81c6115205160f81c6115405160f81c6115605160f81c6115805160f81c6115a0516115c05160601c615581620025e160003980612d0d525080612ed25280614a4d525080612c12525080612aa052508061292e5250806127bc52508061264a5250806124d85250806123665250806121f4525080612082525080611f10525080611d9e525080611c2c525080611aba5250806119485250806117d65250806116645250806114f252508061138052508061120e52508061109c525080610f2a525080612be3525080612a715250806128ff52508061278d52508061261b5250806124a95250806123375250806121c5525080612053525080611ee1525080611d6f525080611bfd525080611a8b5250806119195250806117a75250806116355250806114c35250806113515250806111df52508061106d525080610efb525080612bbd525080612a4b5250806128d95250806127675250806125f552508061248352508061231152508061219f52508061202d525080611ebb525080611d49525080611bd7525080611a655250806118f352508061178152508061160f52508061149d52508061132b5250806111b9525080611047525080610ed5525080612b8c525080612a1a5250806128a85250806127365250806125c45250806124525250806122e052508061216e525080611ffc525080611e8a525080611d18525080611ba6525080611a345250806118c25250806117505250806115de52508061146c5250806112fa525080611188525080611016525080610ea4525080612b665250806129f452508061288252508061271052508061259e52508061242c5250806122ba525080612148525080611fd6525080611e64525080611cf2525080611b80525080611a0e52508061189c52508061172a5250806115b85250806114465250806112d4525080611162525080610ff0525080610e7e525080612b4052806139095250806129ce52806138d952508061285c52806138a95250806126ea52806138795250806125785280613849525080612406528061381952508061229452806137e952508061212252806137b9525080611fb05280613789525080611e3e5280613759525080611ccc5280613729525080611b5a52806136f95250806119e852806136c952508061187652806136995250806117045280613669525080611592528061363952508061142052806136095250806112ae52806135d952508061113c52806135a9525080610fca5280613579525080610e585280613549525080612b115280613ff352508061299f5280613fb152508061282d5280613f6f5250806126bb5280613f2d5250806125495280613eeb5250806123d75280613ea95250806122655280613e675250806120f35280613e25525080611f815280613de3525080611e0f5280613da1525080611c9d5280613d5f525080611b2b5280613d1d5250806119b95280613cdb5250806118475280613c995250806116d55280613c575250806115635280613c155250806113f15280613bd352508061127f5280613b9152508061110d5280613b4f525080610f9b5280613b0d525080610e295280613acb525080612ae2528061471f52508061297052806146dd5250806127fe528061469b52508061268c528061465952508061251a52806146175250806123a852806145d552508061223652806145935250806120c45280614551525080611f52528061450f525080611de052806144cd525080611c6e528061448b525080611afc528061444952508061198a528061440752508061181852806143c55250806116a6528061438352508061153452806143415250806113c252806142ff52508061125052806142bd5250806110de528061427b525080610f6c5280614239525080610dfa52806141f7525080610daa5280612c4e52506155816000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638456cb5911610125578063c8ef8c57116100ad578063e9206d781161007c578063e9206d781461044a578063eaa1c2ca14610452578063f2fde38b14610465578063f86f359314610478578063fc57d4df1461048b5761021c565b8063c8ef8c571461041c578063d1b353b414610385578063e42d25951461042f578063e8315742146104425761021c565b80639f599631116100f45780639f599631146103d3578063b6f8a424146103e6578063ba6ac589146103ee578063c1b5dcb614610401578063c5992e7d146104095761021c565b80638456cb59146103a85780638a003888146103b05780638da5cb5b146103c35780638e499bcf146103cb5761021c565b80634da21942116101a85780635e9a523c116101775780635e9a523c1461035157806360846bc61461036457806369aa3ac614610385578063715018a61461038d5780638373ec01146103955761021c565b80634da21942146102f657806357907ed91461030957806358accb69146103295780635c975abb1461033c5761021c565b80633a152fd3116101ef5780633a152fd3146102935780633bba5b5d146102b35780633f4ba83a146102c8578063485cc955146102d05780634b3218dc146102e35761021c565b8063094ba46b146102215780631a12520414610236578063276c2cba1461025f57806337c0e12d14610272575b600080fd5b61023461022f366004614ecb565b61049e565b005b610249610244366004614da9565b6106bb565b6040516102569190615373565b60405180910390f35b61024961026d366004614e2c565b610707565b610285610280366004614da9565b610744565b604051610256929190615421565b6102a66102a1366004614dc1565b61075d565b6040516102569190614fe0565b6102bb6107b5565b6040516102569190614fc1565b6102346107c9565b6102346102de366004614d3e565b6107fd565b6102346102f1366004614da9565b6108c2565b610249610304366004614d06565b610a47565b61031c610317366004614da9565b610a5a565b6040516102569190615401565b610234610337366004614ecb565b610a6c565b610344610c52565b6040516102569190614fd5565b61031c61035f366004614d06565b610c5c565b610377610372366004614da9565b610ca4565b6040516102569291906153e7565b61031c610cca565b610234610cd6565b6102a66103a3366004614da9565b610d4a565b610234610d6e565b6102496103be366004614da9565b610da0565b6102bb612c3d565b61031c612c4c565b6102496103e1366004614d06565b612c70565b6102bb612d0b565b6102346103fc366004614d76565b612d2f565b61031c612e08565b610234610417366004614d06565b612e15565b61031c61042a366004614da9565b612e9a565b61031c61043d366004614d06565b612eb8565b61031c612ecb565b61031c612ed0565b610285610460366004614da9565b612ef4565b610234610473366004614d06565b612f0d565b61031c610486366004614dec565b612fb8565b61031c610499366004614d06565b61300c565b83828260005a60335460405163b1f6126960e01b815291925061010090046001600160a01b03169063b1f61269906104dc908790339060040161540a565b60006040518083038186803b1580156104f457600080fd5b505afa158015610508573d6000803e3d6000fd5b5050333214915061053690505760405162461bcd60e51b815260040161052d90615292565b60405180910390fd5b60335460ff16156105595760405162461bcd60e51b815260040161052d90615035565b8651806105785760405162461bcd60e51b815260040161052d906152dd565b600061058261326f565b905061058d816132f9565b5060008061059961337e565b9150915060005b848110156105fa5760006105c98d83815181106105b957fe5b602002602001015186868661340e565b60028111156105d457fe5b14156105f25760405162461bcd60e51b815260040161052d906150b0565b6001016105a0565b508b7f8102e106a741dcb2d49ab29d2712ed39341f0495f4198de9c91feadb949e27c68560405161062b9190615401565b60405180910390a2505060335461010090046001600160a01b0316915063e9cf230990508561065b5a8590613503565b600187876040518663ffffffff1660e01b815260040161067f95949392919061542f565b600060405180830381600087803b15801561069957600080fd5b505af11580156106ad573d6000803e3d6000fd5b505050505050505050505050565b6106c3614b57565b60006106ce83613545565b905060001981146106ea576106e281610da0565b915050610702565b60405162461bcd60e51b815260040161052d906151f0565b919050565b61070f614b57565b61073e826040516020016107239190614f87565b604051602081830303815290604052805190602001206106bb565b92915050565b6036602052600090815260409020805460019091015482565b60008381526034602052604081205481906107829042906001600160801b0316613503565b9050838110156107965760009150506107ae565b828110156107a85760019150506107ae565b60029150505b9392505050565b60335461010090046001600160a01b031681565b6000546001600160a01b031633146107f35760405162461bcd60e51b815260040161052d9061516c565b6107fb613940565b565b600054600160a81b900460ff168061081857506108186139a6565b8061082d5750600054600160a01b900460ff16155b6108495760405162461bcd60e51b815260040161052d90615244565b600054600160a81b900460ff16158015610880576000805460ff60a01b1960ff60a81b19909116600160a81b1716600160a01b1790555b61088983612f37565b60338054610100600160a81b0319166101006001600160a01b0385160217905580156108bd576000805460ff60a81b191690555b505050565b60335460ff16156108e55760405162461bcd60e51b815260040161052d90615035565b3332146109045760405162461bcd60e51b815260040161052d90615292565b60005a603354604051635cfff80960e11b815291925061010090046001600160a01b03169063b9fff0129061093f908590339060040161540a565b60006040518083038186803b15801561095757600080fd5b505afa15801561096b573d6000803e3d6000fd5b5050505061097a8260016139ac565b610982614b9c565b6040518060400160405280336001600160a01b031681526020016000151581525090506060816040516020016109b89190615351565b60408051808303601f1901815291905260335490915061010090046001600160a01b031663e9cf2309856109ed5a8790613503565b6002856040518563ffffffff1660e01b8152600401610a0f9493929190615473565b600060405180830381600087803b158015610a2957600080fd5b505af1158015610a3d573d6000803e3d6000fd5b5050505050505050565b610a4f614b57565b60006106ce83613ac7565b60356020526000908152604090205481565b83828260005a603354604051635cfff80960e11b815291925061010090046001600160a01b03169063b9fff01290610aaa908790339060040161540a565b60006040518083038186803b158015610ac257600080fd5b505afa158015610ad6573d6000803e3d6000fd5b50503332149150610afb90505760405162461bcd60e51b815260040161052d90615292565b60335460ff1615610b1e5760405162461bcd60e51b815260040161052d90615035565b865180610b3d5760405162461bcd60e51b815260040161052d906152dd565b6000610b4761326f565b9050610b52816132f9565b50600080610b5e61337e565b9150915060005b84811015610bae576002610b7e8d83815181106105b957fe5b6002811115610b8957fe5b14610ba65760405162461bcd60e51b815260040161052d90615144565b600101610b65565b50610bba8c60006139ac565b60335460405163face263560e01b81526101009091046001600160a01b03169063face263590610bf0908f908890600401615421565b600060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b505050508b7fc17ac34dde85f587ed7bbd51b13db5e89fa964be685ba8b62eea0abf09ca8bb58560405161062b9190615401565b60335460ff165b90565b6000610c66614b57565b610c6f83610a47565b90508060600151610c956c0c9f2c9cd04674edea40000000610c9084614033565b614159565b81610c9c57fe5b049392505050565b6034602052600090815260409020546001600160801b0380821691600160801b90041682565b670de0b6b3a764000081565b6000546001600160a01b03163314610d005760405162461bcd60e51b815260040161052d9061516c565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000806000610d5761337e565b91509150610d6684838361075d565b949350505050565b6000546001600160a01b03163314610d985760405162461bcd60e51b815260040161052d9061516c565b6107fb614193565b610da8614b57565b7f00000000000000000000000000000000000000000000000000000000000000008210610de75760405162461bcd60e51b815260040161052d906151f0565b81610f55576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115610ece57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600114156110c7576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561104057fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160021415611239576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000060028111156111b257fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600314156113ab576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561132457fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b816004141561151d576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561149657fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b816005141561168f576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561160857fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160061415611801576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561177a57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160071415611973576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000060028111156118ec57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160081415611ae5576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115611a5e57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160091415611c57576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115611bd057fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600a1415611dc9576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115611d4257fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600b1415611f3b576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115611eb457fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600c14156120ad576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561202657fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600d141561221f576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561219857fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600e1415612391576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561230a57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600f1415612503576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561247c57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160101415612675576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000060028111156125ee57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81601114156127e7576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000000000000000000000000000000000000000000000600281111561276057fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160121415612959576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000060028111156128d257fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160131415612acb576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115612a4457fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160141415610702576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115612bb657fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b6000546001600160a01b031690565b7f000000000000000000000000000000000000000000000000000000000000000081565b612c78614b57565b6000612c83836141f3565b90506000198114612c97576106e281610da0565b6107ae836001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b158015612cd357600080fd5b505afa158015612ce7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103049190614d22565b7f000000000000000000000000000000000000000000000000000000000000000081565b60335460ff1615612d525760405162461bcd60e51b815260040161052d90615035565b805180612d715760405162461bcd60e51b815260040161052d906152dd565b6000612d7b61326f565b9050600080612d8861337e565b9150915060005b84811015612dbf57612db6868281518110612da657fe5b602002602001015185858561340e565b50600101612d8f565b50336001600160a01b03167f82fb3e667ddfbcb21220df20a7407d7ecf93310ab8731c8767d756d4f0068e1885604051612df99190615401565b60405180910390a25050505050565b68056bc75e2d6310000081565b6000546001600160a01b03163314612e3f5760405162461bcd60e51b815260040161052d9061516c565b60338054610100600160a81b0319166101006001600160a01b038416021790556040517f5a28f58a97415d12a9873ae3120db67fb83f7818f9b21801c0f5f4a919f6b9e490612e8f908390614fc1565b60405180910390a150565b6000612ea4614b57565b612ead836106bb565b90506107ae81614033565b6000612ec2614b57565b612ead83610a47565b601581565b7f000000000000000000000000000000000000000000000000000000000000000081565b6037602052600090815260409020805460019091015482565b6000546001600160a01b03163314612f375760405162461bcd60e51b815260040161052d9061516c565b6001600160a01b038116612f5d5760405162461bcd60e51b815260040161052d90615085565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000612fc2614b57565b61300184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061070792505050565b9050610d6681614033565b6000613016614b57565b610c6f83612c70565b600080600061302c61475f565b9050836001600160a01b0316635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b15801561306757600080fd5b505afa15801561307b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061309f9190614eb3565b9250836001600160a01b0316635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b1580156130da57600080fd5b505afa1580156130ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131129190614eb3565b91506000806000866001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561315257600080fd5b505afa158015613166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061318a9190614e5f565b9250925092508363ffffffff168163ffffffff16146131ea5780840363ffffffff81166131b784866131f4565b516001600160e01b031602969096019563ffffffff81166131d885856131f4565b516001600160e01b0316029590950194505b5050509193909250565b6131fc614bb3565b6000826001600160701b0316116132255760405162461bcd60e51b815260040161052d90615306565b6040805160208101909152806001600160701b0384166dffffffffffffffffffffffffffff60701b607087901b168161325a57fe5b046001600160e01b0316815250905092915050565b60008060405160200161328190614fb2565b60408051601f198184030181529190528051602090910120905060006132a682610d4a565b60028111156132b157fe5b14156132dd57600090815260346020526040902054600160801b90046001600160801b03169050610c59565b60006132e7614769565b90506132f382826147af565b91505090565b60008060405160200161330b90614fa3565b60408051601f1981840301815291905280516020909101209050600061333082610d4a565b600281111561333b57fe5b141561336757600090815260346020526040902054600160801b90046001600160801b03169050610702565b600061337284614831565b90506107ae82826147af565b603354604051635316033760e11b815260009182916101009091046001600160a01b03169063a62c066e906133b7903090600401614fc1565b604080518083038186803b1580156133ce57600080fd5b505afa1580156133e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134069190614f38565b915091509091565b6000613418614b57565b61342186610707565b905060028160800151600281111561343557fe5b146134525760405162461bcd60e51b815260040161052d906151ca565b6000866040516020016134659190614f87565b604051602081830303815290604052805190602001209050600061348a82878761075d565b9050600081600281111561349a57fe5b14156134aa579250610d66915050565b60006040516020016134bb90614fb2565b604051602081830303815290604052805190602001208314156134df5750866134ed565b6134ea89858a614866565b90505b6134f783826147af565b50979650505050505050565b60006107ae83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506149a5565b60007f000000000000000000000000000000000000000000000000000000000000000082141561357757506000610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156135a757506001610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156135d757506002610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561360757506003610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561363757506004610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561366757506005610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561369757506006610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156136c757506007610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156136f757506008610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561372757506009610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156137575750600a610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156137875750600b610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156137b75750600c610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156137e75750600d610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156138175750600e610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156138475750600f610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561387757506010610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156138a757506011610702565b7f00000000000000000000000000000000000000000000000000000000000000008214156138d757506012610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561390757506013610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561393757506014610702565b50600019919050565b60335460ff166139625760405162461bcd60e51b815260040161052d906152b9565b6033805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9061399c903390614fc1565b60405180910390a1565b303b1590565b6000828152603560205260409020548115613a745760006139cd4283613503565b6033546040516364f6f4d360e11b815291925061010090046001600160a01b03169063c9ede9a690613a03903090600401614fc1565b60206040518083038186803b158015613a1b57600080fd5b505afa158015613a2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a539190614eb3565b811015613a725760405162461bcd60e51b815260040161052d90615193565b505b600083815260356020526040908190204290819055905184917f81f6ad25ea9b9c6225cb44dd6b5938f33ebef46d9f97e90864f6b8512f80cb4f91613aba918591615421565b60405180910390a2505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613b0b57506000610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613b4d57506001610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613b8f57506002610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613bd157506003610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613c1357506004610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613c5557506005610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613c9757506006610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613cd957506007610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613d1b57506008610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613d5d57506009610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613d9f5750600a610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613de15750600b610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613e235750600c610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613e655750600d610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613ea75750600e610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613ee95750600f610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613f2b57506010610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613f6d57506011610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613faf57506012610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415613ff157506013610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561393757506014610702565b600060028260800151600281111561404757fe5b14156140755750604081810151600090815260346020522054600160801b90046001600160801b0316610702565b60018260800151600281111561408757fe5b1415614098575060a0810151610702565b6000826080015160028111156140aa57fe5b1415614141576000603460006040516020016140c590614fb2565b60408051808303601f1901815291815281516020928301208352908201929092520160002054600160801b90046001600160801b031690508061411a5760405162461bcd60e51b815260040161052d90615219565b670de0b6b3a7640000614131828560a00151614159565b8161413857fe5b04915050610702565b60405162461bcd60e51b815260040161052d90615055565b6000826141685750600061073e565b8282028284828161417557fe5b04146107ae5760405162461bcd60e51b815260040161052d9061532b565b60335460ff16156141b65760405162461bcd60e51b815260040161052d90615035565b6033805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589061399c903390614fc1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561423757506000610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561427957506001610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156142bb57506002610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156142fd57506003610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561433f57506004610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561438157506005610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156143c357506006610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561440557506007610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561444757506008610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561448957506009610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156144cb5750600a610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561450d5750600b610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561454f5750600c610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156145915750600d610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156145d35750600e610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156146155750600f610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561465757506010610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561469957506011610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156146db57506012610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561471d57506013610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561393757506014610702565b63ffffffff421690565b60006147aa6040518060400160405280600381526020016208aa8960eb1b81525061479c60405160200161072390614fb2565b670de0b6b3a7640000614866565b905090565b60405180604001604052806147c3426149d1565b6001600160801b031681526020016147da836149d1565b6001600160801b0390811690915260009384526034602090815260409094208251815493909501518216600160801b029482166fffffffffffffffffffffffffffffffff1990931692909217169290921790915550565b600061073e6040518060400160405280600381526020016204356560ec1b81525061486460405160200161072390614fa3565b845b600080600080614875866149fa565b92509250925080421161489a5760405162461bcd60e51b815260040161052d90615121565b428190036148a6614bb3565b604051806020016040528083868803816148bc57fe5b046001600160e01b0316815250905060006148d682614b0d565b905060006148e4828a614159565b905060008a60e0015115614907578a6060015182816148ff57fe5b049050614932565b670de0b6b3a76400008061491f848e60600151614159565b8161492657fe5b048161492e57fe5b0490505b8b6040516020016149439190614f87565b604051602081830303815290604052805190602001207fce41fe9ec958f339dc607b2f51cfbd3586d3c88f253619eb0bc061c8541c0ef88d83894260405161498e9493929190615006565b60405180910390a29b9a5050505050505050505050565b600081848411156149c95760405162461bcd60e51b815260040161052d9190614ff3565b505050900390565b6000600160801b82106149f65760405162461bcd60e51b815260040161052d906150da565b5090565b600080600080846040015190506000614a1286614b25565b9050614a1c614bc5565b50600082815260376020908152604091829020825180840190935280548084526001909101549183019190915242037f00000000000000000000000000000000000000000000000000000000000000008110614ae8578151600085815260366020908152604080832093845581860180516001958601556037909252918290204280825593018690558a82015185519151925190937fe37d39315e3419c0937360f1ac88f2c52ecf67e3b22b367f82047ddb4591904a93614adf939289906154a2565b60405180910390a25b5050600091825260366020526040909120600181015490549196909550909350915050565b516612725dd1d243ab6001600160e01b039091160490565b6000806000614b378460c0015161301f565b50915091508360e0015115614b4f5791506107029050565b509050610702565b60408051610100810182526000808252602082018190529181018290526060810182905290608082019081526000602082018190526040820181905260609091015290565b604080518082019091526000808252602082015290565b60408051602081019091526000815290565b604051806040016040528060008152602001600081525090565b600082601f830112614bef578081fd5b813567ffffffffffffffff811115614c05578182fd5b6020614c1481828402016154bd565b828152925080830184820160005b84811015614c4b57614c39888584358a0101614c9d565b83529183019190830190600101614c22565b505050505092915050565b60008083601f840112614c67578182fd5b50813567ffffffffffffffff811115614c7e578182fd5b602083019150836020828501011115614c9657600080fd5b9250929050565b600082601f830112614cad578081fd5b813567ffffffffffffffff811115614cc3578182fd5b614cd6601f8201601f19166020016154bd565b9150808252836020828501011115614ced57600080fd5b8060208401602084013760009082016020015292915050565b600060208284031215614d17578081fd5b81356107ae81615521565b600060208284031215614d33578081fd5b81516107ae81615521565b60008060408385031215614d50578081fd5b8235614d5b81615521565b91506020830135614d6b81615521565b809150509250929050565b600060208284031215614d87578081fd5b813567ffffffffffffffff811115614d9d578182fd5b610d6684828501614bdf565b600060208284031215614dba578081fd5b5035919050565b600080600060608486031215614dd5578081fd5b505081359360208301359350604090920135919050565b60008060208385031215614dfe578182fd5b823567ffffffffffffffff811115614e14578283fd5b614e2085828601614c56565b90969095509350505050565b600060208284031215614e3d578081fd5b813567ffffffffffffffff811115614e53578182fd5b610d6684828501614c9d565b600080600060608486031215614e73578283fd5b8351614e7e81615536565b6020850151909350614e8f81615536565b604085015190925063ffffffff81168114614ea8578182fd5b809150509250925092565b600060208284031215614ec4578081fd5b5051919050565b60008060008060608587031215614ee0578081fd5b84359350602085013567ffffffffffffffff80821115614efe578283fd5b614f0a88838901614bdf565b94506040870135915080821115614f1f578283fd5b50614f2c87828801614c56565b95989497509550505050565b60008060408385031215614f4a578182fd5b505080516020909101519092909150565b60008151808452614f738160208601602086016154e4565b601f01601f19169290920160200192915050565b60008251614f998184602087016154e4565b9190910192915050565b6204356560ec1b815260030190565b6208aa8960eb1b815260030190565b6001600160a01b0391909116815260200190565b901515815260200190565b60208101614fed83615514565b91905290565b6000602082526107ae6020830184614f5b565b6000608082526150196080830187614f5b565b6020830195909552506040810192909252606090910152919050565b60208082526006908201526514105554d15160d21b604082015260600190565b602080825260169082015275554e535550504f525445445f50524943455f4341534560501b604082015260600190565b602080825260119082015270139155d7d3d5d3915497d254d7d3955313607a1b604082015260600190565b60208082526010908201526f544f4f5f4541524c595f55504441544560801b604082015260600190565b60208082526027908201527f53616665436173743a2076616c756520646f65736e27742066697420696e20316040820152663238206269747360c81b606082015260800190565b602080825260099082015268544f4f5f4541524c5960b81b604082015260600190565b6020808252600e908201526d494e54455256414c5f49535f4f4b60901b604082015260600190565b6020808252600d908201526c2727aa2faa2422afa7aba722a960991b604082015260600190565b60208082526018908201527f42454c4f575f4845415254424541545f494e54455256414c0000000000000000604082015260600190565b6020808252600c908201526b2727aa2fa922a827a92a22a960a11b604082015260600190565b6020808252600f908201526e1513d2d15397d393d517d193d55391608a1b604082015260600190565b60208082526011908201527011551217d4149250d157d393d517d4d155607a1b604082015260600190565b6020808252602e908201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560408201526d195b881a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252600d908201526c10d3d395149050d517d0d05313609a1b604082015260600190565b6020808252600a90820152691393d517d4105554d15160b21b604082015260600190565b6020808252600f908201526e4d495353494e475f53594d424f4c5360881b604082015260600190565b6020808252600b908201526a4449565f42595f5a45524f60a81b604082015260600190565b6020808252600c908201526b4d554c5f4f564552464c4f5760a01b604082015260600190565b81516001600160a01b0316815260209182015115159181019190915260400190565b81516001600160a01b03908116825260208084015182169083015260408084015190830152606080840151908301526080830151610100830191906153b781615514565b8060808501525060a084015160a08401528060c08501511660c08401525060e0830151151560e083015292915050565b6001600160801b0392831681529116602082015260400190565b90815260200190565b9182526001600160a01b0316602082015260400190565b918252602082015260400190565b600086825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b6000858252846020830152836040830152608060608301526154986080830184614f5b565b9695505050505050565b93845260208401929092526040830152606082015260800190565b60405181810167ffffffffffffffff811182821017156154dc57600080fd5b604052919050565b60005b838110156154ff5781810151838201526020016154e7565b8381111561550e576000848401525b50505050565b6003811061551e57fe5b50565b6001600160a01b038116811461551e57600080fd5b6001600160701b038116811461551e57600080fdfea2646970667358221220d191ded1b8571439296dcf10ac203e6c9a5d467f825cc2cc76e1b722d2a7efba64736f6c634300060c003300000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca10000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2aaaebeba3810b1e6b70781f14b2d72c1cb89c0b2b320c43bb67ff79f562f5ff40000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec78b1a1d9c2b109e527c9134b25b1a1833b16b6594f92daa9f6d9b7a6024bce9d000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48d6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa00000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93eec34391362c28ee226b3b8624a699ee507a40fa771fd01d38b03ac7b70998bbe0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000002fdbadf3c4d5a8666bc06645b8358ab803996e280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000c00e94cb662c3520282e6f5717214004a7f26888b6dbcaeee318e11fe1e87d4af04bdd7b4d6a3f13307225dc7ee72f7c085ab4540000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cffdded873554f362ac02f8fb1f02e5ada10516f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca186124892ab41173705cd24e05606f34d3d7ae66c6c2c17d4edf2a8f04424ce120000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d4444f96c644385d8ab355f6ddf801315b625400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6fc33e514e79311fe606801af4b4f343c83a3b72dca711239a516f2103673922d10000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043ae24960e5534731fc831386c07755a2dc33d47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000d438f3b5175bebc262bf23753c1e53d03432bde79cf5191e4d4b10cb8a4e1486180f6a1330381ab71e16ac64070116e5c6441b80000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023bff8ca20aac06efdf23cee3b8ae296a30dfd27000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2ec76ec3a7e5f010a9229e69fa1945af6f0c6cc5b0a625bf03bd63812221920200000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c2adda861f89bbb333c90c492cb837741916a225000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000130000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984fba01d52a7cd84480d0573725899486a0b5e55c20ff45d6628874349375d16500000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d3d2e2692501a5c9ca623199d38826e513033a170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000004fa0d235c4abf4bcf4787af4cf447de572ef828bebbee9d39fececb0724ab1ef868a1430dbe5c23dd01c88e2707583165338b0d0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088d97d199b9ed37c29d846d00d443de980832a22000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000150000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae9de46fbfa339d54cd65b79d8320a7a53c78177565c2aaf4c8b13eed7865e7cfc80000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dfc14d2af169b0d36c4eff567ada9b2e0cae044f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000006b175474e89094c44da98b954eedeac495271d0fa5e92f3efb6826155f1f728e162af9d7cda33a574a1153b58f03ea01cc37e5680000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe20000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2bbf304add43db0a05d104474683215530b076be1dfdf72a4d53a1e443d8e4c210000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ce84867c3c02b05dc570d0135103d3fb9cc1943300000000000000000000000000000000000000000000000000000000000000000000000000000000000000002ba592f78db6436527729929aaf6c908497cb2000000000000000000000000002ba592f78db6436527729929aaf6c908497cb20033193346d5ac67109f71b71498547f7ed71927d9210c4f22f30e402d81c8ee7f0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddf9b7a31b32ebaf5c064c80900046c9e5b7c65f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d70000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d7915a7130ef0575d7524025c91f4ef4cd6cd364d548c6392051eb453d1c9052ba0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000008cb77ea869def8f7fdeab9e4da6cf02897bbf07600000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a440000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a44ce743ac69486b39b7468fa585dbe61a14bbdb6be9540e7c870bcdc40b3977b410000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087febfb3ac5791034fd5ef1a615e9d9627c2665d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca5000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca52a79f612db8970325b555935bab14defa07a4e9b391bf1c0b0cc3892f5580bc90000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dc98556ce24f007a5ef6dc1ce96322d65832a8190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a7000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a7a47d0c8384a45c8d13bb421eb726a8e1a470202e9ef24be0f8d15a9f5a6fddef0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e81ec0b8b4022fac83a21b2f2b4b8f5ed744d7000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b440000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b44fc713b0452a135b28df40d3b8315f953ef95347876f0786cc56bb5228885791e0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a3b79b78678c15eec77389b380988b0229da18760000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80638456cb5911610125578063c8ef8c57116100ad578063e9206d781161007c578063e9206d781461044a578063eaa1c2ca14610452578063f2fde38b14610465578063f86f359314610478578063fc57d4df1461048b5761021c565b8063c8ef8c571461041c578063d1b353b414610385578063e42d25951461042f578063e8315742146104425761021c565b80639f599631116100f45780639f599631146103d3578063b6f8a424146103e6578063ba6ac589146103ee578063c1b5dcb614610401578063c5992e7d146104095761021c565b80638456cb59146103a85780638a003888146103b05780638da5cb5b146103c35780638e499bcf146103cb5761021c565b80634da21942116101a85780635e9a523c116101775780635e9a523c1461035157806360846bc61461036457806369aa3ac614610385578063715018a61461038d5780638373ec01146103955761021c565b80634da21942146102f657806357907ed91461030957806358accb69146103295780635c975abb1461033c5761021c565b80633a152fd3116101ef5780633a152fd3146102935780633bba5b5d146102b35780633f4ba83a146102c8578063485cc955146102d05780634b3218dc146102e35761021c565b8063094ba46b146102215780631a12520414610236578063276c2cba1461025f57806337c0e12d14610272575b600080fd5b61023461022f366004614ecb565b61049e565b005b610249610244366004614da9565b6106bb565b6040516102569190615373565b60405180910390f35b61024961026d366004614e2c565b610707565b610285610280366004614da9565b610744565b604051610256929190615421565b6102a66102a1366004614dc1565b61075d565b6040516102569190614fe0565b6102bb6107b5565b6040516102569190614fc1565b6102346107c9565b6102346102de366004614d3e565b6107fd565b6102346102f1366004614da9565b6108c2565b610249610304366004614d06565b610a47565b61031c610317366004614da9565b610a5a565b6040516102569190615401565b610234610337366004614ecb565b610a6c565b610344610c52565b6040516102569190614fd5565b61031c61035f366004614d06565b610c5c565b610377610372366004614da9565b610ca4565b6040516102569291906153e7565b61031c610cca565b610234610cd6565b6102a66103a3366004614da9565b610d4a565b610234610d6e565b6102496103be366004614da9565b610da0565b6102bb612c3d565b61031c612c4c565b6102496103e1366004614d06565b612c70565b6102bb612d0b565b6102346103fc366004614d76565b612d2f565b61031c612e08565b610234610417366004614d06565b612e15565b61031c61042a366004614da9565b612e9a565b61031c61043d366004614d06565b612eb8565b61031c612ecb565b61031c612ed0565b610285610460366004614da9565b612ef4565b610234610473366004614d06565b612f0d565b61031c610486366004614dec565b612fb8565b61031c610499366004614d06565b61300c565b83828260005a60335460405163b1f6126960e01b815291925061010090046001600160a01b03169063b1f61269906104dc908790339060040161540a565b60006040518083038186803b1580156104f457600080fd5b505afa158015610508573d6000803e3d6000fd5b5050333214915061053690505760405162461bcd60e51b815260040161052d90615292565b60405180910390fd5b60335460ff16156105595760405162461bcd60e51b815260040161052d90615035565b8651806105785760405162461bcd60e51b815260040161052d906152dd565b600061058261326f565b905061058d816132f9565b5060008061059961337e565b9150915060005b848110156105fa5760006105c98d83815181106105b957fe5b602002602001015186868661340e565b60028111156105d457fe5b14156105f25760405162461bcd60e51b815260040161052d906150b0565b6001016105a0565b508b7f8102e106a741dcb2d49ab29d2712ed39341f0495f4198de9c91feadb949e27c68560405161062b9190615401565b60405180910390a2505060335461010090046001600160a01b0316915063e9cf230990508561065b5a8590613503565b600187876040518663ffffffff1660e01b815260040161067f95949392919061542f565b600060405180830381600087803b15801561069957600080fd5b505af11580156106ad573d6000803e3d6000fd5b505050505050505050505050565b6106c3614b57565b60006106ce83613545565b905060001981146106ea576106e281610da0565b915050610702565b60405162461bcd60e51b815260040161052d906151f0565b919050565b61070f614b57565b61073e826040516020016107239190614f87565b604051602081830303815290604052805190602001206106bb565b92915050565b6036602052600090815260409020805460019091015482565b60008381526034602052604081205481906107829042906001600160801b0316613503565b9050838110156107965760009150506107ae565b828110156107a85760019150506107ae565b60029150505b9392505050565b60335461010090046001600160a01b031681565b6000546001600160a01b031633146107f35760405162461bcd60e51b815260040161052d9061516c565b6107fb613940565b565b600054600160a81b900460ff168061081857506108186139a6565b8061082d5750600054600160a01b900460ff16155b6108495760405162461bcd60e51b815260040161052d90615244565b600054600160a81b900460ff16158015610880576000805460ff60a01b1960ff60a81b19909116600160a81b1716600160a01b1790555b61088983612f37565b60338054610100600160a81b0319166101006001600160a01b0385160217905580156108bd576000805460ff60a81b191690555b505050565b60335460ff16156108e55760405162461bcd60e51b815260040161052d90615035565b3332146109045760405162461bcd60e51b815260040161052d90615292565b60005a603354604051635cfff80960e11b815291925061010090046001600160a01b03169063b9fff0129061093f908590339060040161540a565b60006040518083038186803b15801561095757600080fd5b505afa15801561096b573d6000803e3d6000fd5b5050505061097a8260016139ac565b610982614b9c565b6040518060400160405280336001600160a01b031681526020016000151581525090506060816040516020016109b89190615351565b60408051808303601f1901815291905260335490915061010090046001600160a01b031663e9cf2309856109ed5a8790613503565b6002856040518563ffffffff1660e01b8152600401610a0f9493929190615473565b600060405180830381600087803b158015610a2957600080fd5b505af1158015610a3d573d6000803e3d6000fd5b5050505050505050565b610a4f614b57565b60006106ce83613ac7565b60356020526000908152604090205481565b83828260005a603354604051635cfff80960e11b815291925061010090046001600160a01b03169063b9fff01290610aaa908790339060040161540a565b60006040518083038186803b158015610ac257600080fd5b505afa158015610ad6573d6000803e3d6000fd5b50503332149150610afb90505760405162461bcd60e51b815260040161052d90615292565b60335460ff1615610b1e5760405162461bcd60e51b815260040161052d90615035565b865180610b3d5760405162461bcd60e51b815260040161052d906152dd565b6000610b4761326f565b9050610b52816132f9565b50600080610b5e61337e565b9150915060005b84811015610bae576002610b7e8d83815181106105b957fe5b6002811115610b8957fe5b14610ba65760405162461bcd60e51b815260040161052d90615144565b600101610b65565b50610bba8c60006139ac565b60335460405163face263560e01b81526101009091046001600160a01b03169063face263590610bf0908f908890600401615421565b600060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b505050508b7fc17ac34dde85f587ed7bbd51b13db5e89fa964be685ba8b62eea0abf09ca8bb58560405161062b9190615401565b60335460ff165b90565b6000610c66614b57565b610c6f83610a47565b90508060600151610c956c0c9f2c9cd04674edea40000000610c9084614033565b614159565b81610c9c57fe5b049392505050565b6034602052600090815260409020546001600160801b0380821691600160801b90041682565b670de0b6b3a764000081565b6000546001600160a01b03163314610d005760405162461bcd60e51b815260040161052d9061516c565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000806000610d5761337e565b91509150610d6684838361075d565b949350505050565b6000546001600160a01b03163314610d985760405162461bcd60e51b815260040161052d9061516c565b6107fb614193565b610da8614b57565b7f00000000000000000000000000000000000000000000000000000000000000148210610de75760405162461bcd60e51b815260040161052d906151f0565b81610f55576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000016001600160a01b031681526020017f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031681526020017faaaebeba3810b1e6b70781f14b2d72c1cb89c0b2b320c43bb67ff79f562f5ff481526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f00000000000000000000000000000000000000000000000000000000000000026002811115610ece57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000b4e16d0168e52d35cacd2c6185b44281ec28c9dc6001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000115158152509050610702565b81600114156110c7576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000026001600160a01b031681526020017f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec76001600160a01b031681526020017f8b1a1d9c2b109e527c9134b25b1a1833b16b6594f92daa9f6d9b7a6024bce9d081526020017f00000000000000000000000000000000000000000000000000000000000f424081526020017f0000000000000000000000000000000000000000000000000000000000000001600281111561104057fe5b81526020017f00000000000000000000000000000000000000000000000000000000000f424081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160021415611239576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000036001600160a01b031681526020017f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b031681526020017fd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa81526020017f00000000000000000000000000000000000000000000000000000000000f424081526020017f000000000000000000000000000000000000000000000000000000000000000160028111156111b257fe5b81526020017f00000000000000000000000000000000000000000000000000000000000f424081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600314156113ab576040518061010001604052807f000000000000000000000000000000000000000000000000000000000000000b6001600160a01b031681526020017f0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93e6001600160a01b031681526020017fec34391362c28ee226b3b8624a699ee507a40fa771fd01d38b03ac7b70998bbe81526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561132457fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000002fdbadf3c4d5a8666bc06645b8358ab803996e286001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b816004141561151d576040518061010001604052807f000000000000000000000000000000000000000000000000000000000000000c6001600160a01b031681526020017f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268886001600160a01b031681526020017fb6dbcaeee318e11fe1e87d4af04bdd7b4d6a3f13307225dc7ee72f7c085ab45481526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561149657fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000cffdded873554f362ac02f8fb1f02e5ada10516f6001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b816005141561168f576040518061010001604052807f000000000000000000000000000000000000000000000000000000000000000f6001600160a01b031681526020017f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca16001600160a01b031681526020017f86124892ab41173705cd24e05606f34d3d7ae66c6c2c17d4edf2a8f04424ce1281526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561160857fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000012d4444f96c644385d8ab355f6ddf801315b62546001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160061415611801576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000106001600160a01b031681526020017f000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f6001600160a01b031681526020017fc33e514e79311fe606801af4b4f343c83a3b72dca711239a516f2103673922d181526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561177a57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000043ae24960e5534731fc831386c07755a2dc33d476001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160071415611973576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000116001600160a01b031681526020017f0000000000000000000000000d438f3b5175bebc262bf23753c1e53d03432bde6001600160a01b031681526020017f79cf5191e4d4b10cb8a4e1486180f6a1330381ab71e16ac64070116e5c6441b881526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f000000000000000000000000000000000000000000000000000000000000000260028111156118ec57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000023bff8ca20aac06efdf23cee3b8ae296a30dfd276001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160081415611ae5576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000126001600160a01b031681526020017f0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a26001600160a01b031681526020017fec76ec3a7e5f010a9229e69fa1945af6f0c6cc5b0a625bf03bd638122219202081526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f00000000000000000000000000000000000000000000000000000000000000026002811115611a5e57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000c2adda861f89bbb333c90c492cb837741916a2256001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160091415611c57576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000136001600160a01b031681526020017f0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f9846001600160a01b031681526020017ffba01d52a7cd84480d0573725899486a0b5e55c20ff45d6628874349375d165081526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f00000000000000000000000000000000000000000000000000000000000000026002811115611bd057fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000d3d2e2692501a5c9ca623199d38826e513033a176001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600a1415611dc9576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000146001600160a01b031681526020017f00000000000000000000000004fa0d235c4abf4bcf4787af4cf447de572ef8286001600160a01b031681526020017fbebbee9d39fececb0724ab1ef868a1430dbe5c23dd01c88e2707583165338b0d81526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f00000000000000000000000000000000000000000000000000000000000000026002811115611d4257fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000088d97d199b9ed37c29d846d00d443de980832a226001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600b1415611f3b576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000156001600160a01b031681526020017f0000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae96001600160a01b031681526020017fde46fbfa339d54cd65b79d8320a7a53c78177565c2aaf4c8b13eed7865e7cfc881526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f00000000000000000000000000000000000000000000000000000000000000026002811115611eb457fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000dfc14d2af169b0d36c4eff567ada9b2e0cae044f6001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600c14156120ad576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000166001600160a01b031681526020017f0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f6001600160a01b031681526020017fa5e92f3efb6826155f1f728e162af9d7cda33a574a1153b58f03ea01cc37e56881526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561202657fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb116001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600d141561221f576040518061010001604052807f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b031681526020017f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b031681526020017fbbf304add43db0a05d104474683215530b076be1dfdf72a4d53a1e443d8e4c2181526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561219857fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000ce84867c3c02b05dc570d0135103d3fb9cc194336001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600e1415612391576040518061010001604052807f0000000000000000000000002ba592f78db6436527729929aaf6c908497cb2006001600160a01b031681526020017f0000000000000000000000002ba592f78db6436527729929aaf6c908497cb2006001600160a01b031681526020017f33193346d5ac67109f71b71498547f7ed71927d9210c4f22f30e402d81c8ee7f81526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561230a57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000ddf9b7a31b32ebaf5c064c80900046c9e5b7c65f6001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81600f1415612503576040518061010001604052807f0000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d76001600160a01b031681526020017f0000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d76001600160a01b031681526020017f915a7130ef0575d7524025c91f4ef4cd6cd364d548c6392051eb453d1c9052ba81526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561247c57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000008cb77ea869def8f7fdeab9e4da6cf02897bbf0766001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160101415612675576040518061010001604052807f0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b031681526020017f0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b031681526020017fce743ac69486b39b7468fa585dbe61a14bbdb6be9540e7c870bcdc40b3977b4181526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f000000000000000000000000000000000000000000000000000000000000000260028111156125ee57fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000087febfb3ac5791034fd5ef1a615e9d9627c2665d6001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b81601114156127e7576040518061010001604052807f000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca56001600160a01b031681526020017f000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca56001600160a01b031681526020017f2a79f612db8970325b555935bab14defa07a4e9b391bf1c0b0cc3892f5580bc981526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f0000000000000000000000000000000000000000000000000000000000000002600281111561276057fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000dc98556ce24f007a5ef6dc1ce96322d65832a8196001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160121415612959576040518061010001604052807f000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a76001600160a01b031681526020017f000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a76001600160a01b031681526020017fa47d0c8384a45c8d13bb421eb726a8e1a470202e9ef24be0f8d15a9f5a6fddef81526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f000000000000000000000000000000000000000000000000000000000000000260028111156128d257fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f0000000000000000000000002e81ec0b8b4022fac83a21b2f2b4b8f5ed744d706001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000115158152509050610702565b8160131415612acb576040518061010001604052807f0000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b446001600160a01b031681526020017f0000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b446001600160a01b031681526020017ffc713b0452a135b28df40d3b8315f953ef95347876f0786cc56bb5228885791e81526020017f0000000000000000000000000000000000000000000000000de0b6b3a764000081526020017f00000000000000000000000000000000000000000000000000000000000000026002811115612a4457fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000a3b79b78678c15eec77389b380988b0229da18766001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b8160141415610702576040518061010001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006002811115612bb657fe5b81526020017f000000000000000000000000000000000000000000000000000000000000000081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000015158152509050610702565b6000546001600160a01b031690565b7f000000000000000000000000000000000000000000000000000000000000001481565b612c78614b57565b6000612c83836141f3565b90506000198114612c97576106e281610da0565b6107ae836001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b158015612cd357600080fd5b505afa158015612ce7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103049190614d22565b7f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca181565b60335460ff1615612d525760405162461bcd60e51b815260040161052d90615035565b805180612d715760405162461bcd60e51b815260040161052d906152dd565b6000612d7b61326f565b9050600080612d8861337e565b9150915060005b84811015612dbf57612db6868281518110612da657fe5b602002602001015185858561340e565b50600101612d8f565b50336001600160a01b03167f82fb3e667ddfbcb21220df20a7407d7ecf93310ab8731c8767d756d4f0068e1885604051612df99190615401565b60405180910390a25050505050565b68056bc75e2d6310000081565b6000546001600160a01b03163314612e3f5760405162461bcd60e51b815260040161052d9061516c565b60338054610100600160a81b0319166101006001600160a01b038416021790556040517f5a28f58a97415d12a9873ae3120db67fb83f7818f9b21801c0f5f4a919f6b9e490612e8f908390614fc1565b60405180910390a150565b6000612ea4614b57565b612ead836106bb565b90506107ae81614033565b6000612ec2614b57565b612ead83610a47565b601581565b7f000000000000000000000000000000000000000000000000000000000000070881565b6037602052600090815260409020805460019091015482565b6000546001600160a01b03163314612f375760405162461bcd60e51b815260040161052d9061516c565b6001600160a01b038116612f5d5760405162461bcd60e51b815260040161052d90615085565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000612fc2614b57565b61300184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061070792505050565b9050610d6681614033565b6000613016614b57565b610c6f83612c70565b600080600061302c61475f565b9050836001600160a01b0316635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b15801561306757600080fd5b505afa15801561307b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061309f9190614eb3565b9250836001600160a01b0316635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b1580156130da57600080fd5b505afa1580156130ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131129190614eb3565b91506000806000866001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561315257600080fd5b505afa158015613166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061318a9190614e5f565b9250925092508363ffffffff168163ffffffff16146131ea5780840363ffffffff81166131b784866131f4565b516001600160e01b031602969096019563ffffffff81166131d885856131f4565b516001600160e01b0316029590950194505b5050509193909250565b6131fc614bb3565b6000826001600160701b0316116132255760405162461bcd60e51b815260040161052d90615306565b6040805160208101909152806001600160701b0384166dffffffffffffffffffffffffffff60701b607087901b168161325a57fe5b046001600160e01b0316815250905092915050565b60008060405160200161328190614fb2565b60408051601f198184030181529190528051602090910120905060006132a682610d4a565b60028111156132b157fe5b14156132dd57600090815260346020526040902054600160801b90046001600160801b03169050610c59565b60006132e7614769565b90506132f382826147af565b91505090565b60008060405160200161330b90614fa3565b60408051601f1981840301815291905280516020909101209050600061333082610d4a565b600281111561333b57fe5b141561336757600090815260346020526040902054600160801b90046001600160801b03169050610702565b600061337284614831565b90506107ae82826147af565b603354604051635316033760e11b815260009182916101009091046001600160a01b03169063a62c066e906133b7903090600401614fc1565b604080518083038186803b1580156133ce57600080fd5b505afa1580156133e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134069190614f38565b915091509091565b6000613418614b57565b61342186610707565b905060028160800151600281111561343557fe5b146134525760405162461bcd60e51b815260040161052d906151ca565b6000866040516020016134659190614f87565b604051602081830303815290604052805190602001209050600061348a82878761075d565b9050600081600281111561349a57fe5b14156134aa579250610d66915050565b60006040516020016134bb90614fb2565b604051602081830303815290604052805190602001208314156134df5750866134ed565b6134ea89858a614866565b90505b6134f783826147af565b50979650505050505050565b60006107ae83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506149a5565b60007faaaebeba3810b1e6b70781f14b2d72c1cb89c0b2b320c43bb67ff79f562f5ff482141561357757506000610702565b7f8b1a1d9c2b109e527c9134b25b1a1833b16b6594f92daa9f6d9b7a6024bce9d08214156135a757506001610702565b7fd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa8214156135d757506002610702565b7fec34391362c28ee226b3b8624a699ee507a40fa771fd01d38b03ac7b70998bbe82141561360757506003610702565b7fb6dbcaeee318e11fe1e87d4af04bdd7b4d6a3f13307225dc7ee72f7c085ab45482141561363757506004610702565b7f86124892ab41173705cd24e05606f34d3d7ae66c6c2c17d4edf2a8f04424ce1282141561366757506005610702565b7fc33e514e79311fe606801af4b4f343c83a3b72dca711239a516f2103673922d182141561369757506006610702565b7f79cf5191e4d4b10cb8a4e1486180f6a1330381ab71e16ac64070116e5c6441b88214156136c757506007610702565b7fec76ec3a7e5f010a9229e69fa1945af6f0c6cc5b0a625bf03bd63812221920208214156136f757506008610702565b7ffba01d52a7cd84480d0573725899486a0b5e55c20ff45d6628874349375d165082141561372757506009610702565b7fbebbee9d39fececb0724ab1ef868a1430dbe5c23dd01c88e2707583165338b0d8214156137575750600a610702565b7fde46fbfa339d54cd65b79d8320a7a53c78177565c2aaf4c8b13eed7865e7cfc88214156137875750600b610702565b7fa5e92f3efb6826155f1f728e162af9d7cda33a574a1153b58f03ea01cc37e5688214156137b75750600c610702565b7fbbf304add43db0a05d104474683215530b076be1dfdf72a4d53a1e443d8e4c218214156137e75750600d610702565b7f33193346d5ac67109f71b71498547f7ed71927d9210c4f22f30e402d81c8ee7f8214156138175750600e610702565b7f915a7130ef0575d7524025c91f4ef4cd6cd364d548c6392051eb453d1c9052ba8214156138475750600f610702565b7fce743ac69486b39b7468fa585dbe61a14bbdb6be9540e7c870bcdc40b3977b4182141561387757506010610702565b7f2a79f612db8970325b555935bab14defa07a4e9b391bf1c0b0cc3892f5580bc98214156138a757506011610702565b7fa47d0c8384a45c8d13bb421eb726a8e1a470202e9ef24be0f8d15a9f5a6fddef8214156138d757506012610702565b7ffc713b0452a135b28df40d3b8315f953ef95347876f0786cc56bb5228885791e82141561390757506013610702565b7f000000000000000000000000000000000000000000000000000000000000000082141561393757506014610702565b50600019919050565b60335460ff166139625760405162461bcd60e51b815260040161052d906152b9565b6033805460ff191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9061399c903390614fc1565b60405180910390a1565b303b1590565b6000828152603560205260409020548115613a745760006139cd4283613503565b6033546040516364f6f4d360e11b815291925061010090046001600160a01b03169063c9ede9a690613a03903090600401614fc1565b60206040518083038186803b158015613a1b57600080fd5b505afa158015613a2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a539190614eb3565b811015613a725760405162461bcd60e51b815260040161052d90615193565b505b600083815260356020526040908190204290819055905184917f81f6ad25ea9b9c6225cb44dd6b5938f33ebef46d9f97e90864f6b8512f80cb4f91613aba918591615421565b60405180910390a2505050565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316826001600160a01b03161415613b0b57506000610702565b7f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec76001600160a01b0316826001600160a01b03161415613b4d57506001610702565b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b0316826001600160a01b03161415613b8f57506002610702565b7f0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93e6001600160a01b0316826001600160a01b03161415613bd157506003610702565b7f000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268886001600160a01b0316826001600160a01b03161415613c1357506004610702565b7f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca16001600160a01b0316826001600160a01b03161415613c5557506005610702565b7f000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f6001600160a01b0316826001600160a01b03161415613c9757506006610702565b7f0000000000000000000000000d438f3b5175bebc262bf23753c1e53d03432bde6001600160a01b0316826001600160a01b03161415613cd957506007610702565b7f0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a26001600160a01b0316826001600160a01b03161415613d1b57506008610702565b7f0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f9846001600160a01b0316826001600160a01b03161415613d5d57506009610702565b7f00000000000000000000000004fa0d235c4abf4bcf4787af4cf447de572ef8286001600160a01b0316826001600160a01b03161415613d9f5750600a610702565b7f0000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae96001600160a01b0316826001600160a01b03161415613de15750600b610702565b7f0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f6001600160a01b0316826001600160a01b03161415613e235750600c610702565b7f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b0316826001600160a01b03161415613e655750600d610702565b7f0000000000000000000000002ba592f78db6436527729929aaf6c908497cb2006001600160a01b0316826001600160a01b03161415613ea75750600e610702565b7f0000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d76001600160a01b0316826001600160a01b03161415613ee95750600f610702565b7f0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b0316826001600160a01b03161415613f2b57506010610702565b7f000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca56001600160a01b0316826001600160a01b03161415613f6d57506011610702565b7f000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a76001600160a01b0316826001600160a01b03161415613faf57506012610702565b7f0000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b446001600160a01b0316826001600160a01b03161415613ff157506013610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561393757506014610702565b600060028260800151600281111561404757fe5b14156140755750604081810151600090815260346020522054600160801b90046001600160801b0316610702565b60018260800151600281111561408757fe5b1415614098575060a0810151610702565b6000826080015160028111156140aa57fe5b1415614141576000603460006040516020016140c590614fb2565b60408051808303601f1901815291815281516020928301208352908201929092520160002054600160801b90046001600160801b031690508061411a5760405162461bcd60e51b815260040161052d90615219565b670de0b6b3a7640000614131828560a00151614159565b8161413857fe5b04915050610702565b60405162461bcd60e51b815260040161052d90615055565b6000826141685750600061073e565b8282028284828161417557fe5b04146107ae5760405162461bcd60e51b815260040161052d9061532b565b60335460ff16156141b65760405162461bcd60e51b815260040161052d90615035565b6033805460ff191660011790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589061399c903390614fc1565b60007f00000000000000000000000000000000000000000000000000000000000000016001600160a01b0316826001600160a01b0316141561423757506000610702565b7f00000000000000000000000000000000000000000000000000000000000000026001600160a01b0316826001600160a01b0316141561427957506001610702565b7f00000000000000000000000000000000000000000000000000000000000000036001600160a01b0316826001600160a01b031614156142bb57506002610702565b7f000000000000000000000000000000000000000000000000000000000000000b6001600160a01b0316826001600160a01b031614156142fd57506003610702565b7f000000000000000000000000000000000000000000000000000000000000000c6001600160a01b0316826001600160a01b0316141561433f57506004610702565b7f000000000000000000000000000000000000000000000000000000000000000f6001600160a01b0316826001600160a01b0316141561438157506005610702565b7f00000000000000000000000000000000000000000000000000000000000000106001600160a01b0316826001600160a01b031614156143c357506006610702565b7f00000000000000000000000000000000000000000000000000000000000000116001600160a01b0316826001600160a01b0316141561440557506007610702565b7f00000000000000000000000000000000000000000000000000000000000000126001600160a01b0316826001600160a01b0316141561444757506008610702565b7f00000000000000000000000000000000000000000000000000000000000000136001600160a01b0316826001600160a01b0316141561448957506009610702565b7f00000000000000000000000000000000000000000000000000000000000000146001600160a01b0316826001600160a01b031614156144cb5750600a610702565b7f00000000000000000000000000000000000000000000000000000000000000156001600160a01b0316826001600160a01b0316141561450d5750600b610702565b7f00000000000000000000000000000000000000000000000000000000000000166001600160a01b0316826001600160a01b0316141561454f5750600c610702565b7f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b0316826001600160a01b031614156145915750600d610702565b7f0000000000000000000000002ba592f78db6436527729929aaf6c908497cb2006001600160a01b0316826001600160a01b031614156145d35750600e610702565b7f0000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d76001600160a01b0316826001600160a01b031614156146155750600f610702565b7f0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a446001600160a01b0316826001600160a01b0316141561465757506010610702565b7f000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca56001600160a01b0316826001600160a01b0316141561469957506011610702565b7f000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a76001600160a01b0316826001600160a01b031614156146db57506012610702565b7f0000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b446001600160a01b0316826001600160a01b0316141561471d57506013610702565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561393757506014610702565b63ffffffff421690565b60006147aa6040518060400160405280600381526020016208aa8960eb1b81525061479c60405160200161072390614fb2565b670de0b6b3a7640000614866565b905090565b60405180604001604052806147c3426149d1565b6001600160801b031681526020016147da836149d1565b6001600160801b0390811690915260009384526034602090815260409094208251815493909501518216600160801b029482166fffffffffffffffffffffffffffffffff1990931692909217169290921790915550565b600061073e6040518060400160405280600381526020016204356560ec1b81525061486460405160200161072390614fa3565b845b600080600080614875866149fa565b92509250925080421161489a5760405162461bcd60e51b815260040161052d90615121565b428190036148a6614bb3565b604051806020016040528083868803816148bc57fe5b046001600160e01b0316815250905060006148d682614b0d565b905060006148e4828a614159565b905060008a60e0015115614907578a6060015182816148ff57fe5b049050614932565b670de0b6b3a76400008061491f848e60600151614159565b8161492657fe5b048161492e57fe5b0490505b8b6040516020016149439190614f87565b604051602081830303815290604052805190602001207fce41fe9ec958f339dc607b2f51cfbd3586d3c88f253619eb0bc061c8541c0ef88d83894260405161498e9493929190615006565b60405180910390a29b9a5050505050505050505050565b600081848411156149c95760405162461bcd60e51b815260040161052d9190614ff3565b505050900390565b6000600160801b82106149f65760405162461bcd60e51b815260040161052d906150da565b5090565b600080600080846040015190506000614a1286614b25565b9050614a1c614bc5565b50600082815260376020908152604091829020825180840190935280548084526001909101549183019190915242037f00000000000000000000000000000000000000000000000000000000000007088110614ae8578151600085815260366020908152604080832093845581860180516001958601556037909252918290204280825593018690558a82015185519151925190937fe37d39315e3419c0937360f1ac88f2c52ecf67e3b22b367f82047ddb4591904a93614adf939289906154a2565b60405180910390a25b5050600091825260366020526040909120600181015490549196909550909350915050565b516612725dd1d243ab6001600160e01b039091160490565b6000806000614b378460c0015161301f565b50915091508360e0015115614b4f5791506107029050565b509050610702565b60408051610100810182526000808252602082018190529181018290526060810182905290608082019081526000602082018190526040820181905260609091015290565b604080518082019091526000808252602082015290565b60408051602081019091526000815290565b604051806040016040528060008152602001600081525090565b600082601f830112614bef578081fd5b813567ffffffffffffffff811115614c05578182fd5b6020614c1481828402016154bd565b828152925080830184820160005b84811015614c4b57614c39888584358a0101614c9d565b83529183019190830190600101614c22565b505050505092915050565b60008083601f840112614c67578182fd5b50813567ffffffffffffffff811115614c7e578182fd5b602083019150836020828501011115614c9657600080fd5b9250929050565b600082601f830112614cad578081fd5b813567ffffffffffffffff811115614cc3578182fd5b614cd6601f8201601f19166020016154bd565b9150808252836020828501011115614ced57600080fd5b8060208401602084013760009082016020015292915050565b600060208284031215614d17578081fd5b81356107ae81615521565b600060208284031215614d33578081fd5b81516107ae81615521565b60008060408385031215614d50578081fd5b8235614d5b81615521565b91506020830135614d6b81615521565b809150509250929050565b600060208284031215614d87578081fd5b813567ffffffffffffffff811115614d9d578182fd5b610d6684828501614bdf565b600060208284031215614dba578081fd5b5035919050565b600080600060608486031215614dd5578081fd5b505081359360208301359350604090920135919050565b60008060208385031215614dfe578182fd5b823567ffffffffffffffff811115614e14578283fd5b614e2085828601614c56565b90969095509350505050565b600060208284031215614e3d578081fd5b813567ffffffffffffffff811115614e53578182fd5b610d6684828501614c9d565b600080600060608486031215614e73578283fd5b8351614e7e81615536565b6020850151909350614e8f81615536565b604085015190925063ffffffff81168114614ea8578182fd5b809150509250925092565b600060208284031215614ec4578081fd5b5051919050565b60008060008060608587031215614ee0578081fd5b84359350602085013567ffffffffffffffff80821115614efe578283fd5b614f0a88838901614bdf565b94506040870135915080821115614f1f578283fd5b50614f2c87828801614c56565b95989497509550505050565b60008060408385031215614f4a578182fd5b505080516020909101519092909150565b60008151808452614f738160208601602086016154e4565b601f01601f19169290920160200192915050565b60008251614f998184602087016154e4565b9190910192915050565b6204356560ec1b815260030190565b6208aa8960eb1b815260030190565b6001600160a01b0391909116815260200190565b901515815260200190565b60208101614fed83615514565b91905290565b6000602082526107ae6020830184614f5b565b6000608082526150196080830187614f5b565b6020830195909552506040810192909252606090910152919050565b60208082526006908201526514105554d15160d21b604082015260600190565b602080825260169082015275554e535550504f525445445f50524943455f4341534560501b604082015260600190565b602080825260119082015270139155d7d3d5d3915497d254d7d3955313607a1b604082015260600190565b60208082526010908201526f544f4f5f4541524c595f55504441544560801b604082015260600190565b60208082526027908201527f53616665436173743a2076616c756520646f65736e27742066697420696e20316040820152663238206269747360c81b606082015260800190565b602080825260099082015268544f4f5f4541524c5960b81b604082015260600190565b6020808252600e908201526d494e54455256414c5f49535f4f4b60901b604082015260600190565b6020808252600d908201526c2727aa2faa2422afa7aba722a960991b604082015260600190565b60208082526018908201527f42454c4f575f4845415254424541545f494e54455256414c0000000000000000604082015260600190565b6020808252600c908201526b2727aa2fa922a827a92a22a960a11b604082015260600190565b6020808252600f908201526e1513d2d15397d393d517d193d55391608a1b604082015260600190565b60208082526011908201527011551217d4149250d157d393d517d4d155607a1b604082015260600190565b6020808252602e908201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560408201526d195b881a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252600d908201526c10d3d395149050d517d0d05313609a1b604082015260600190565b6020808252600a90820152691393d517d4105554d15160b21b604082015260600190565b6020808252600f908201526e4d495353494e475f53594d424f4c5360881b604082015260600190565b6020808252600b908201526a4449565f42595f5a45524f60a81b604082015260600190565b6020808252600c908201526b4d554c5f4f564552464c4f5760a01b604082015260600190565b81516001600160a01b0316815260209182015115159181019190915260400190565b81516001600160a01b03908116825260208084015182169083015260408084015190830152606080840151908301526080830151610100830191906153b781615514565b8060808501525060a084015160a08401528060c08501511660c08401525060e0830151151560e083015292915050565b6001600160801b0392831681529116602082015260400190565b90815260200190565b9182526001600160a01b0316602082015260400190565b918252602082015260400190565b600086825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b6000858252846020830152836040830152608060608301526154986080830184614f5b565b9695505050505050565b93845260208401929092526040830152606082015260800190565b60405181810167ffffffffffffffff811182821017156154dc57600080fd5b604052919050565b60005b838110156154ff5781810151838201526020016154e7565b8381111561550e576000848401525b50505050565b6003811061551e57fe5b50565b6001600160a01b038116811461551e57600080fd5b6001600160701b038116811461551e57600080fdfea2646970667358221220d191ded1b8571439296dcf10ac203e6c9a5d467f825cc2cc76e1b722d2a7efba64736f6c634300060c0033

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

00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca10000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2aaaebeba3810b1e6b70781f14b2d72c1cb89c0b2b320c43bb67ff79f562f5ff40000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4e16d0168e52d35cacd2c6185b44281ec28c9dc00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec78b1a1d9c2b109e527c9134b25b1a1833b16b6594f92daa9f6d9b7a6024bce9d000000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48d6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa00000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93eec34391362c28ee226b3b8624a699ee507a40fa771fd01d38b03ac7b70998bbe0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000002fdbadf3c4d5a8666bc06645b8358ab803996e280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000c00e94cb662c3520282e6f5717214004a7f26888b6dbcaeee318e11fe1e87d4af04bdd7b4d6a3f13307225dc7ee72f7c085ab4540000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cffdded873554f362ac02f8fb1f02e5ada10516f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca186124892ab41173705cd24e05606f34d3d7ae66c6c2c17d4edf2a8f04424ce120000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d4444f96c644385d8ab355f6ddf801315b625400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6fc33e514e79311fe606801af4b4f343c83a3b72dca711239a516f2103673922d10000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043ae24960e5534731fc831386c07755a2dc33d47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000d438f3b5175bebc262bf23753c1e53d03432bde79cf5191e4d4b10cb8a4e1486180f6a1330381ab71e16ac64070116e5c6441b80000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023bff8ca20aac06efdf23cee3b8ae296a30dfd27000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2ec76ec3a7e5f010a9229e69fa1945af6f0c6cc5b0a625bf03bd63812221920200000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c2adda861f89bbb333c90c492cb837741916a225000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000130000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984fba01d52a7cd84480d0573725899486a0b5e55c20ff45d6628874349375d16500000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d3d2e2692501a5c9ca623199d38826e513033a170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000004fa0d235c4abf4bcf4787af4cf447de572ef828bebbee9d39fececb0724ab1ef868a1430dbe5c23dd01c88e2707583165338b0d0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088d97d199b9ed37c29d846d00d443de980832a22000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000150000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae9de46fbfa339d54cd65b79d8320a7a53c78177565c2aaf4c8b13eed7865e7cfc80000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dfc14d2af169b0d36c4eff567ada9b2e0cae044f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000006b175474e89094c44da98b954eedeac495271d0fa5e92f3efb6826155f1f728e162af9d7cda33a574a1153b58f03ea01cc37e5680000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb1100000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe20000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2bbf304add43db0a05d104474683215530b076be1dfdf72a4d53a1e443d8e4c210000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ce84867c3c02b05dc570d0135103d3fb9cc1943300000000000000000000000000000000000000000000000000000000000000000000000000000000000000002ba592f78db6436527729929aaf6c908497cb2000000000000000000000000002ba592f78db6436527729929aaf6c908497cb20033193346d5ac67109f71b71498547f7ed71927d9210c4f22f30e402d81c8ee7f0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddf9b7a31b32ebaf5c064c80900046c9e5b7c65f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d70000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d7915a7130ef0575d7524025c91f4ef4cd6cd364d548c6392051eb453d1c9052ba0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000008cb77ea869def8f7fdeab9e4da6cf02897bbf07600000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a440000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a44ce743ac69486b39b7468fa585dbe61a14bbdb6be9540e7c870bcdc40b3977b410000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087febfb3ac5791034fd5ef1a615e9d9627c2665d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca5000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca52a79f612db8970325b555935bab14defa07a4e9b391bf1c0b0cc3892f5580bc90000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dc98556ce24f007a5ef6dc1ce96322d65832a8190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a7000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a7a47d0c8384a45c8d13bb421eb726a8e1a470202e9ef24be0f8d15a9f5a6fddef0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e81ec0b8b4022fac83a21b2f2b4b8f5ed744d7000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b440000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b44fc713b0452a135b28df40d3b8315f953ef95347876f0786cc56bb5228885791e0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a3b79b78678c15eec77389b380988b0229da18760000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : cvpToken_ (address): 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1
Arg [1] : anchorPeriod_ (uint256): 1800
Arg [2] : configs (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
164 Constructor Arguments found :
Arg [0] : 00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000708
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : aaaebeba3810b1e6b70781f14b2d72c1cb89c0b2b320c43bb67ff79f562f5ff4
Arg [7] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000b4e16d0168e52d35cacd2c6185b44281ec28c9dc
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [13] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [14] : 8b1a1d9c2b109e527c9134b25b1a1833b16b6594f92daa9f6d9b7a6024bce9d0
Arg [15] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [17] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [21] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [22] : d6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa
Arg [23] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [25] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [28] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [29] : 0000000000000000000000000bc529c00c6401aef6d220be8c6ea1667f6ad93e
Arg [30] : ec34391362c28ee226b3b8624a699ee507a40fa771fd01d38b03ac7b70998bbe
Arg [31] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [32] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [34] : 0000000000000000000000002fdbadf3c4d5a8666bc06645b8358ab803996e28
Arg [35] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [36] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [37] : 000000000000000000000000c00e94cb662c3520282e6f5717214004a7f26888
Arg [38] : b6dbcaeee318e11fe1e87d4af04bdd7b4d6a3f13307225dc7ee72f7c085ab454
Arg [39] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [40] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [41] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [42] : 000000000000000000000000cffdded873554f362ac02f8fb1f02e5ada10516f
Arg [43] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [44] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [45] : 00000000000000000000000038e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
Arg [46] : 86124892ab41173705cd24e05606f34d3d7ae66c6c2c17d4edf2a8f04424ce12
Arg [47] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [48] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [50] : 00000000000000000000000012d4444f96c644385d8ab355f6ddf801315b6254
Arg [51] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [52] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [53] : 000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f
Arg [54] : c33e514e79311fe606801af4b4f343c83a3b72dca711239a516f2103673922d1
Arg [55] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [56] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [57] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [58] : 00000000000000000000000043ae24960e5534731fc831386c07755a2dc33d47
Arg [59] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [60] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [61] : 0000000000000000000000000d438f3b5175bebc262bf23753c1e53d03432bde
Arg [62] : 79cf5191e4d4b10cb8a4e1486180f6a1330381ab71e16ac64070116e5c6441b8
Arg [63] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [64] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [65] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [66] : 00000000000000000000000023bff8ca20aac06efdf23cee3b8ae296a30dfd27
Arg [67] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [68] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [69] : 0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2
Arg [70] : ec76ec3a7e5f010a9229e69fa1945af6f0c6cc5b0a625bf03bd6381222192020
Arg [71] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [72] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [73] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [74] : 000000000000000000000000c2adda861f89bbb333c90c492cb837741916a225
Arg [75] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [76] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [77] : 0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984
Arg [78] : fba01d52a7cd84480d0573725899486a0b5e55c20ff45d6628874349375d1650
Arg [79] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [80] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [81] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [82] : 000000000000000000000000d3d2e2692501a5c9ca623199d38826e513033a17
Arg [83] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [84] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [85] : 00000000000000000000000004fa0d235c4abf4bcf4787af4cf447de572ef828
Arg [86] : bebbee9d39fececb0724ab1ef868a1430dbe5c23dd01c88e2707583165338b0d
Arg [87] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [88] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [89] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [90] : 00000000000000000000000088d97d199b9ed37c29d846d00d443de980832a22
Arg [91] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [92] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [93] : 0000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
Arg [94] : de46fbfa339d54cd65b79d8320a7a53c78177565c2aaf4c8b13eed7865e7cfc8
Arg [95] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [96] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [97] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [98] : 000000000000000000000000dfc14d2af169b0d36c4eff567ada9b2e0cae044f
Arg [99] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [100] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [101] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [102] : a5e92f3efb6826155f1f728e162af9d7cda33a574a1153b58f03ea01cc37e568
Arg [103] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [104] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [105] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [106] : 000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb11
Arg [107] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [108] : 0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2
Arg [109] : 0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2
Arg [110] : bbf304add43db0a05d104474683215530b076be1dfdf72a4d53a1e443d8e4c21
Arg [111] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [112] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [113] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [114] : 000000000000000000000000ce84867c3c02b05dc570d0135103d3fb9cc19433
Arg [115] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [116] : 0000000000000000000000002ba592f78db6436527729929aaf6c908497cb200
Arg [117] : 0000000000000000000000002ba592f78db6436527729929aaf6c908497cb200
Arg [118] : 33193346d5ac67109f71b71498547f7ed71927d9210c4f22f30e402d81c8ee7f
Arg [119] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [120] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [121] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [122] : 000000000000000000000000ddf9b7a31b32ebaf5c064c80900046c9e5b7c65f
Arg [123] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [124] : 0000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d7
Arg [125] : 0000000000000000000000008ab7404063ec4dbcfd4598215992dc3f8ec853d7
Arg [126] : 915a7130ef0575d7524025c91f4ef4cd6cd364d548c6392051eb453d1c9052ba
Arg [127] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [128] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [129] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [130] : 0000000000000000000000008cb77ea869def8f7fdeab9e4da6cf02897bbf076
Arg [131] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [132] : 0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a44
Arg [133] : 0000000000000000000000001ceb5cb57c4d4e2b2433641b95dd330a33185a44
Arg [134] : ce743ac69486b39b7468fa585dbe61a14bbdb6be9540e7c870bcdc40b3977b41
Arg [135] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [136] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [137] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [138] : 00000000000000000000000087febfb3ac5791034fd5ef1a615e9d9627c2665d
Arg [139] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [140] : 000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca5
Arg [141] : 000000000000000000000000429881672b9ae42b8eba0e26cd9c73711b891ca5
Arg [142] : 2a79f612db8970325b555935bab14defa07a4e9b391bf1c0b0cc3892f5580bc9
Arg [143] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [144] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [145] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [146] : 000000000000000000000000dc98556ce24f007a5ef6dc1ce96322d65832a819
Arg [147] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [148] : 000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a7
Arg [149] : 000000000000000000000000c944e90c64b2c07662a292be6244bdf05cda44a7
Arg [150] : a47d0c8384a45c8d13bb421eb726a8e1a470202e9ef24be0f8d15a9f5a6fddef
Arg [151] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [152] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [153] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [154] : 0000000000000000000000002e81ec0b8b4022fac83a21b2f2b4b8f5ed744d70
Arg [155] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [156] : 0000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b44
Arg [157] : 0000000000000000000000005f0e628b693018f639d10e4a4f59bd4d8b2b6b44
Arg [158] : fc713b0452a135b28df40d3b8315f953ef95347876f0786cc56bb5228885791e
Arg [159] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [160] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [161] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [162] : 000000000000000000000000a3b79b78678c15eec77389b380988b0229da1876
Arg [163] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

121094:12224:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;125864:725;;;;;;:::i;:::-;;:::i;:::-;;63178:285;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;62808:184;;;;;;:::i;:::-;;:::i;22792:54::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;130256:472::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;22483:27::-;;;:::i;:::-;;;;;;;:::i;129714:70::-;;;:::i;123163:157::-;;;;;;:::i;:::-;;:::i;127602:506::-;;;;;;:::i;:::-;;:::i;64240:283::-;;;;;;:::i;:::-;;:::i;22677:53::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;126767:829::-;;;;;;:::i;:::-;;:::i;77354:72::-;;;:::i;:::-;;;;;;;:::i;133014:301::-;;;;;;:::i;:::-;;:::i;22578:39::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;70396:36::-;;;:::i;80174:138::-;;;:::i;129973:277::-;;;;;;:::i;:::-;;:::i;129578:66::-;;;:::i;54645:8007::-;;;;;;:::i;:::-;;:::i;79593:73::-;;;:::i;24278:31::-;;;:::i;63736:306::-;;;;;;:::i;:::-;;:::i;122241:33::-;;;:::i;128735:463::-;;;;;;:::i;:::-;;:::i;121379:47::-;;;:::i;129358:152::-;;;;;;:::i;:::-;;:::i;131829:207::-;;;;;;:::i;:::-;;:::i;130941:192::-;;;;;;:::i;:::-;;:::i;24164:35::-;;;:::i;71092:34::-;;;:::i;22908:54::-;;;;;;:::i;:::-;;:::i;80457:209::-;;;;;;:::i;:::-;;:::i;131324:199::-;;;;;;:::i;:::-;;:::i;132319:402::-;;;;;;:::i;:::-;;:::i;125864:725::-;126016:11;126029;;122358:16;122377:9;122393;;:52;;-1:-1:-1;;;122393:52:0;;122358:28;;-1:-1:-1;122393:9:0;;;-1:-1:-1;;;;;122393:9:0;;:27;;:52;;122421:11;;122434:10;;122393:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;122876:10:0::1;122890:9;122876:23;::::0;-1:-1:-1;122868:49:0::1;::::0;-1:-1:-1;122868:49:0::1;;;-1:-1:-1::0;;;122868:49:0::1;;;;;;;:::i;:::-;;;;;;;;;77646:7:::2;::::0;::::2;;77645:8;77637:27;;;;-1:-1:-1::0;;;77637:27:0::2;;;;;;;:::i;:::-;126085:15:::0;;126115:7;126107:35:::3;;;;-1:-1:-1::0;;;126107:35:0::3;;;;;;;:::i;:::-;126151:16;126170;:14;:16::i;:::-;126151:35;;126193:24;126208:8;126193:14;:24::i;:::-;;126227:25;126254::::0;126283:26:::3;:24;:26::i;:::-;126226:83;;;;126323:9;126318:218;126342:3;126338:1;:7;126318:218;;;126462:28;126379:79;126398:8;126407:1;126398:11;;;;;;;;;;;;;;126411:8;126421:17;126440;126379:18;:79::i;:::-;:111;;;;;;;;;;126361:167;;;;-1:-1:-1::0;;;126361:167:0::3;;;;;;;:::i;:::-;126347:3;;126318:218;;;;126566:11;126549:34;126579:3;126549:34;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;122460:9:0;;;;;-1:-1:-1;;;;;122460:9:0;;-1:-1:-1;122460:16:0;;-1:-1:-1;122477:11:0;122490:23;122503:9;122490:8;;:12;:23::i;:::-;121316:1;122539:10;;122460:90;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;125864:725;;;;;;;;:::o;63178:285::-;63255:18;;:::i;:::-;63286:10;63299:30;63318:10;63299:18;:30::i;:::-;63286:43;;-1:-1:-1;;63344:5:0;:17;63340:78;;63385:21;63400:5;63385:14;:21::i;:::-;63378:28;;;;;63340:78;63430:25;;-1:-1:-1;;;63430:25:0;;;;;;;:::i;63178:285::-;;;;:::o;62808:184::-;62883:18;;:::i;:::-;62921:63;62975:6;62958:24;;;;;;;;:::i;:::-;;;;;;;;;;;;;62948:35;;;;;;62921:26;:63::i;:::-;62914:70;62808:184;-1:-1:-1;;62808:184:0:o;22792:54::-;;;;;;;;;;;;;;;;;;;:::o;130256:472::-;130413:14;130472:19;;;:6;:19;;;;;:29;130413:14;;130452:50;;:15;;-1:-1:-1;;;;;130472:29:0;130452:19;:50::i;:::-;130436:66;;130523:18;130515:5;:26;130511:84;;;130559:28;130552:35;;;;;130511:84;130615:18;130607:5;:26;130603:73;;;130651:17;130644:24;;;;;130603:73;130691:31;130684:38;;;130256:472;;;;;;:::o;22483:27::-;;;;;;-1:-1:-1;;;;;22483:27:0;;:::o;129714:70::-;79787:6;;-1:-1:-1;;;;;79787:6:0;79797:10;79787:20;79779:46;;;;-1:-1:-1;;;79779:46:0;;;;;;;:::i;:::-;129768:10:::1;:8;:10::i;:::-;129714:70::o:0;123163:157::-;1754:12;;-1:-1:-1;;;1754:12:0;;;;;:31;;;1770:15;:13;:15::i;:::-;1754:47;;;-1:-1:-1;1790:11:0;;-1:-1:-1;;;1790:11:0;;;;1789:12;1754:47;1746:106;;;;-1:-1:-1;;;1746:106:0;;;;;;;:::i;:::-;1861:19;1884:12;-1:-1:-1;;;1884:12:0;;;;1883:13;1903:83;;;;1932:12;:19;;-1:-1:-1;;;;;;;;1932:19:0;;;-1:-1:-1;;;1932:19:0;1960:18;-1:-1:-1;;;1960:18:0;;;1903:83;123247:26:::1;123266:6;123247:18;:26::i;:::-;123280:9;:34:::0;;-1:-1:-1;;;;;;123280:34:0::1;;-1:-1:-1::0;;;;;123280:34:0;::::1;;;::::0;;2004:57;;;;2048:5;2033:20;;-1:-1:-1;;;;2033:20:0;;;2004:57;123163:157;;;:::o;127602:506::-;77646:7;;;;77645:8;77637:27;;;;-1:-1:-1;;;77637:27:0;;;;;;;:::i;:::-;122876:10:::1;122890:9;122876:23;122868:49;;;;-1:-1:-1::0;;;122868:49:0::1;;;;;;;:::i;:::-;127695:16:::2;127714:9;127730;::::0;:54:::2;::::0;-1:-1:-1;;;127730:54:0;;127695:28;;-1:-1:-1;127730:9:0::2;::::0;::::2;-1:-1:-1::0;;;;;127730:9:0::2;::::0;:30:::2;::::0;:54:::2;::::0;127761:10;;127773::::2;::::0;127730:54:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;127793:41;127817:10;127829:4;127793:23;:41::i;:::-;127843:39;;:::i;:::-;127885:46;;;;;;;;127913:10;-1:-1:-1::0;;;;;127885:46:0::2;;;;;127925:5;127885:46;;;;::::0;127843:88:::2;;127938:25;127977:4;127966:16;;;;;;;;:::i;:::-;;::::0;;;;::::2;-1:-1:-1::0;;127966:16:0;;;;;;128011:9:::2;::::0;127966:16;;-1:-1:-1;128011:9:0::2;::::0;::::2;-1:-1:-1::0;;;;;128011:9:0::2;:16;128028:10:::0;128040:23:::2;128053:9;128040:8:::0;;:12:::2;:23::i;:::-;121373:1;128089:12;128011:91;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;122924:1;;;127602:506:::0;:::o;64240:283::-;64317:18;;:::i;:::-;64348:10;64361:30;64380:10;64361:18;:30::i;22677:53::-;;;;;;;;;;;;;:::o;126767:829::-;126916:10;126928:11;;122637:16;122656:9;122672;;:54;;-1:-1:-1;;;122672:54:0;;122637:28;;-1:-1:-1;122672:9:0;;;-1:-1:-1;;;;;122672:9:0;;:30;;:54;;122703:10;;122715;;122672:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;122876:10:0::1;122890:9;122876:23;::::0;-1:-1:-1;122868:49:0::1;::::0;-1:-1:-1;122868:49:0::1;;;-1:-1:-1::0;;;122868:49:0::1;;;;;;;:::i;:::-;77646:7:::2;::::0;::::2;;77645:8;77637:27;;;;-1:-1:-1::0;;;77637:27:0::2;;;;;;;:::i;:::-;126984:15:::0;;127014:7;127006:35:::3;;;;-1:-1:-1::0;;;127006:35:0::3;;;;;;;:::i;:::-;127050:16;127069;:14;:16::i;:::-;127050:35;;127092:24;127107:8;127092:14;:24::i;:::-;;127126:25;127153::::0;127182:26:::3;:24;:26::i;:::-;127125:83;;;;127222:9;127217:230;127241:3;127237:1;:7;127217:230;;;127372:31;127278:79;127297:8;127306:1;127297:11;;;;;;;127278:79;:125;;;;;;;;;127260:179;;;;-1:-1:-1::0;;;127260:179:0::3;;;;;;;:::i;:::-;127246:3;;127217:230;;;;127455:42;127479:10;127491:5;127455:23;:42::i;:::-;127504:9;::::0;:40:::3;::::0;-1:-1:-1;;;127504:40:0;;:9:::3;::::0;;::::3;-1:-1:-1::0;;;;;127504:9:0::3;::::0;:23:::3;::::0;:40:::3;::::0;127528:10;;127540:3;;127504:40:::3;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;127574:10;127558:32;127586:3;127558:32;;;;;;:::i;77354:72::-:0;77413:7;;;;77354:72;;:::o;133014:301::-;133083:7;133099:25;;:::i;:::-;133127:34;133154:6;133127:26;:34::i;:::-;133099:62;;133294:6;:15;;;133259:32;133263:4;133269:21;133283:6;133269:13;:21::i;:::-;133259:3;:32::i;:::-;:50;;;;;;;133014:301;-1:-1:-1;;;133014:301:0:o;22578:39::-;;;;;;;;;;;;-1:-1:-1;;;;;22578:39:0;;;;-1:-1:-1;;;22578:39:0;;;;:::o;70396:36::-;70428:4;70396:36;:::o;80174:138::-;79787:6;;-1:-1:-1;;;;;79787:6:0;79797:10;79787:20;79779:46;;;;-1:-1:-1;;;79779:46:0;;;;;;;:::i;:::-;80277:1:::1;80261:6:::0;;80240:40:::1;::::0;-1:-1:-1;;;;;80261:6:0;;::::1;::::0;80240:40:::1;::::0;80277:1;;80240:40:::1;80304:1;80287:19:::0;;-1:-1:-1;;;;;;80287:19:0::1;::::0;;80174:138::o;129973:277::-;130042:14;130066:25;130093;130122:26;:24;:26::i;:::-;130065:83;;;;130164:80;130194:11;130207:17;130226;130164:29;:80::i;:::-;130157:87;129973:277;-1:-1:-1;;;;129973:277:0:o;129578:66::-;79787:6;;-1:-1:-1;;;;;79787:6:0;79797:10;79787:20;79779:46;;;;-1:-1:-1;;;79779:46:0;;;;;;;:::i;:::-;129630:8:::1;:6;:8::i;54645:8007::-:0;54698:18;;:::i;:::-;54741:9;54737:1;:13;54729:41;;;;-1:-1:-1;;;54729:41:0;;;;;;;:::i;:::-;54787:6;54783:250;;54802:231;;;;;;;;54823:8;-1:-1:-1;;;;;54802:231:0;;;;;54845:12;-1:-1:-1;;;;;54802:231:0;;;;;54871:12;54802:231;;;;54895:10;54802:231;;;;54920:13;54802:231;;;;;;;;;;;;54947:12;54802:231;;;;54976:15;-1:-1:-1;;;;;54802:231:0;;;;;55012:19;54802:231;;;;;54795:238;;;;54783:250;55048:1;55053;55048:6;55044:250;;;55063:231;;;;;;;;55084:8;-1:-1:-1;;;;;55063:231:0;;;;;55106:12;-1:-1:-1;;;;;55063:231:0;;;;;55132:12;55063:231;;;;55156:10;55063:231;;;;55181:13;55063:231;;;;;;;;;;;;55208:12;55063:231;;;;55237:15;-1:-1:-1;;;;;55063:231:0;;;;;55273:19;55063:231;;;;;55056:238;;;;55044:250;55309:1;55314;55309:6;55305:250;;;55324:231;;;;;;;;55345:8;-1:-1:-1;;;;;55324:231:0;;;;;55367:12;-1:-1:-1;;;;;55324:231:0;;;;;55393:12;55324:231;;;;55417:10;55324:231;;;;55442:13;55324:231;;;;;;;;;;;;55469:12;55324:231;;;;55498:15;-1:-1:-1;;;;;55324:231:0;;;;;55534:19;55324:231;;;;;55317:238;;;;55305:250;55570:1;55575;55570:6;55566:250;;;55585:231;;;;;;;;55606:8;-1:-1:-1;;;;;55585:231:0;;;;;55628:12;-1:-1:-1;;;;;55585:231:0;;;;;55654:12;55585:231;;;;55678:10;55585:231;;;;55703:13;55585:231;;;;;;;;;;;;55730:12;55585:231;;;;55759:15;-1:-1:-1;;;;;55585:231:0;;;;;55795:19;55585:231;;;;;55578:238;;;;55566:250;55831:1;55836;55831:6;55827:250;;;55846:231;;;;;;;;55867:8;-1:-1:-1;;;;;55846:231:0;;;;;55889:12;-1:-1:-1;;;;;55846:231:0;;;;;55915:12;55846:231;;;;55939:10;55846:231;;;;55964:13;55846:231;;;;;;;;;;;;55991:12;55846:231;;;;56020:15;-1:-1:-1;;;;;55846:231:0;;;;;56056:19;55846:231;;;;;55839:238;;;;55827:250;56092:1;56097;56092:6;56088:250;;;56107:231;;;;;;;;56128:8;-1:-1:-1;;;;;56107:231:0;;;;;56150:12;-1:-1:-1;;;;;56107:231:0;;;;;56176:12;56107:231;;;;56200:10;56107:231;;;;56225:13;56107:231;;;;;;;;;;;;56252:12;56107:231;;;;56281:15;-1:-1:-1;;;;;56107:231:0;;;;;56317:19;56107:231;;;;;56100:238;;;;56088:250;56353:1;56358;56353:6;56349:250;;;56368:231;;;;;;;;56389:8;-1:-1:-1;;;;;56368:231:0;;;;;56411:12;-1:-1:-1;;;;;56368:231:0;;;;;56437:12;56368:231;;;;56461:10;56368:231;;;;56486:13;56368:231;;;;;;;;;;;;56513:12;56368:231;;;;56542:15;-1:-1:-1;;;;;56368:231:0;;;;;56578:19;56368:231;;;;;56361:238;;;;56349:250;56614:1;56619;56614:6;56610:250;;;56629:231;;;;;;;;56650:8;-1:-1:-1;;;;;56629:231:0;;;;;56672:12;-1:-1:-1;;;;;56629:231:0;;;;;56698:12;56629:231;;;;56722:10;56629:231;;;;56747:13;56629:231;;;;;;;;;;;;56774:12;56629:231;;;;56803:15;-1:-1:-1;;;;;56629:231:0;;;;;56839:19;56629:231;;;;;56622:238;;;;56610:250;56875:1;56880;56875:6;56871:250;;;56890:231;;;;;;;;56911:8;-1:-1:-1;;;;;56890:231:0;;;;;56933:12;-1:-1:-1;;;;;56890:231:0;;;;;56959:12;56890:231;;;;56983:10;56890:231;;;;57008:13;56890:231;;;;;;;;;;;;57035:12;56890:231;;;;57064:15;-1:-1:-1;;;;;56890:231:0;;;;;57100:19;56890:231;;;;;56883:238;;;;56871:250;57136:1;57141;57136:6;57132:250;;;57151:231;;;;;;;;57172:8;-1:-1:-1;;;;;57151:231:0;;;;;57194:12;-1:-1:-1;;;;;57151:231:0;;;;;57220:12;57151:231;;;;57244:10;57151:231;;;;57269:13;57151:231;;;;;;;;;;;;57296:12;57151:231;;;;57325:15;-1:-1:-1;;;;;57151:231:0;;;;;57361:19;57151:231;;;;;57144:238;;;;57132:250;57399:1;57404:2;57399:7;57395:251;;;57415:231;;;;;;;;57436:8;-1:-1:-1;;;;;57415:231:0;;;;;57458:12;-1:-1:-1;;;;;57415:231:0;;;;;57484:12;57415:231;;;;57508:10;57415:231;;;;57533:13;57415:231;;;;;;;;;;;;57560:12;57415:231;;;;57589:15;-1:-1:-1;;;;;57415:231:0;;;;;57625:19;57415:231;;;;;57408:238;;;;57395:251;57661:1;57666:2;57661:7;57657:251;;;57677:231;;;;;;;;57698:8;-1:-1:-1;;;;;57677:231:0;;;;;57720:12;-1:-1:-1;;;;;57677:231:0;;;;;57746:12;57677:231;;;;57770:10;57677:231;;;;57795:13;57677:231;;;;;;;;;;;;57822:12;57677:231;;;;57851:15;-1:-1:-1;;;;;57677:231:0;;;;;57887:19;57677:231;;;;;57670:238;;;;57657:251;57923:1;57928:2;57923:7;57919:251;;;57939:231;;;;;;;;57960:8;-1:-1:-1;;;;;57939:231:0;;;;;57982:12;-1:-1:-1;;;;;57939:231:0;;;;;58008:12;57939:231;;;;58032:10;57939:231;;;;58057:13;57939:231;;;;;;;;;;;;58084:12;57939:231;;;;58113:15;-1:-1:-1;;;;;57939:231:0;;;;;58149:19;57939:231;;;;;57932:238;;;;57919:251;58185:1;58190:2;58185:7;58181:251;;;58201:231;;;;;;;;58222:8;-1:-1:-1;;;;;58201:231:0;;;;;58244:12;-1:-1:-1;;;;;58201:231:0;;;;;58270:12;58201:231;;;;58294:10;58201:231;;;;58319:13;58201:231;;;;;;;;;;;;58346:12;58201:231;;;;58375:15;-1:-1:-1;;;;;58201:231:0;;;;;58411:19;58201:231;;;;;58194:238;;;;58181:251;58447:1;58452:2;58447:7;58443:251;;;58463:231;;;;;;;;58484:8;-1:-1:-1;;;;;58463:231:0;;;;;58506:12;-1:-1:-1;;;;;58463:231:0;;;;;58532:12;58463:231;;;;58556:10;58463:231;;;;58581:13;58463:231;;;;;;;;;;;;58608:12;58463:231;;;;58637:15;-1:-1:-1;;;;;58463:231:0;;;;;58673:19;58463:231;;;;;58456:238;;;;58443:251;58709:1;58714:2;58709:7;58705:251;;;58725:231;;;;;;;;58746:8;-1:-1:-1;;;;;58725:231:0;;;;;58768:12;-1:-1:-1;;;;;58725:231:0;;;;;58794:12;58725:231;;;;58818:10;58725:231;;;;58843:13;58725:231;;;;;;;;;;;;58870:12;58725:231;;;;58899:15;-1:-1:-1;;;;;58725:231:0;;;;;58935:19;58725:231;;;;;58718:238;;;;58705:251;58971:1;58976:2;58971:7;58967:251;;;58987:231;;;;;;;;59008:8;-1:-1:-1;;;;;58987:231:0;;;;;59030:12;-1:-1:-1;;;;;58987:231:0;;;;;59056:12;58987:231;;;;59080:10;58987:231;;;;59105:13;58987:231;;;;;;;;;;;;59132:12;58987:231;;;;59161:15;-1:-1:-1;;;;;58987:231:0;;;;;59197:19;58987:231;;;;;58980:238;;;;58967:251;59233:1;59238:2;59233:7;59229:251;;;59249:231;;;;;;;;59270:8;-1:-1:-1;;;;;59249:231:0;;;;;59292:12;-1:-1:-1;;;;;59249:231:0;;;;;59318:12;59249:231;;;;59342:10;59249:231;;;;59367:13;59249:231;;;;;;;;;;;;59394:12;59249:231;;;;59423:15;-1:-1:-1;;;;;59249:231:0;;;;;59459:19;59249:231;;;;;59242:238;;;;59229:251;59495:1;59500:2;59495:7;59491:251;;;59511:231;;;;;;;;59532:8;-1:-1:-1;;;;;59511:231:0;;;;;59554:12;-1:-1:-1;;;;;59511:231:0;;;;;59580:12;59511:231;;;;59604:10;59511:231;;;;59629:13;59511:231;;;;;;;;;;;;59656:12;59511:231;;;;59685:15;-1:-1:-1;;;;;59511:231:0;;;;;59721:19;59511:231;;;;;59504:238;;;;59491:251;59757:1;59762:2;59757:7;59753:251;;;59773:231;;;;;;;;59794:8;-1:-1:-1;;;;;59773:231:0;;;;;59816:12;-1:-1:-1;;;;;59773:231:0;;;;;59842:12;59773:231;;;;59866:10;59773:231;;;;59891:13;59773:231;;;;;;;;;;;;59918:12;59773:231;;;;59947:15;-1:-1:-1;;;;;59773:231:0;;;;;59983:19;59773:231;;;;;59766:238;;;;59753:251;60021:1;60026:2;60021:7;60017:251;;;60037:231;;;;;;;;60058:8;-1:-1:-1;;;;;60037:231:0;;;;;60080:12;-1:-1:-1;;;;;60037:231:0;;;;;60106:12;60037:231;;;;60130:10;60037:231;;;;60155:13;60037:231;;;;;;;;;;;;60182:12;60037:231;;;;60211:15;-1:-1:-1;;;;;60037:231:0;;;;;60247:19;60037:231;;;;;60030:238;;;;79593:73;79631:7;79654:6;-1:-1:-1;;;;;79654:6:0;79593:73;:::o;24278:31::-;;;:::o;63736:306::-;63805:18;;:::i;:::-;63836:10;63849:22;63864:6;63849:14;:22::i;:::-;63836:35;;-1:-1:-1;;63886:5:0;:17;63882:78;;63927:21;63942:5;63927:14;:21::i;63882:78::-;63979:55;64013:6;-1:-1:-1;;;;;64006:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;122241:33::-;;;:::o;128735:463::-;77646:7;;;;77645:8;77637:27;;;;-1:-1:-1;;;77637:27:0;;;;;;;:::i;:::-;128828:15;;128858:7;128850:35:::1;;;;-1:-1:-1::0;;;128850:35:0::1;;;;;;;:::i;:::-;128894:16;128913;:14;:16::i;:::-;128894:35;;128937:25;128964::::0;128993:26:::1;:24;:26::i;:::-;128936:83;;;;129033:9;129028:130;129052:3;129048:1;:7;129028:130;;;129071:79;129090:8;129099:1;129090:11;;;;;;;;;;;;;;129103:8;129113:17;129132;129071:18;:79::i;:::-;-1:-1:-1::0;129057:3:0::1;;129028:130;;;;129176:10;-1:-1:-1::0;;;;;129171:21:0::1;;129188:3;129171:21;;;;;;:::i;:::-;;;;;;;;77671:1;;;;128735:463:::0;:::o;121379:47::-;121417:9;121379:47;:::o;129358:152::-;79787:6;;-1:-1:-1;;;;;79787:6:0;79797:10;79787:20;79779:46;;;;-1:-1:-1;;;79779:46:0;;;;;;;:::i;:::-;129435:9:::1;:33:::0;;-1:-1:-1;;;;;;129435:33:0::1;;-1:-1:-1::0;;;;;129435:33:0;::::1;;;::::0;;129480:24:::1;::::0;::::1;::::0;::::1;::::0;129435:33;;129480:24:::1;:::i;:::-;;;;;;;;129358:152:::0;:::o;131829:207::-;131912:7;131928:25;;:::i;:::-;131956:39;131983:11;131956:26;:39::i;:::-;131928:67;;132009:21;132023:6;132009:13;:21::i;130941:192::-;131014:7;131030:25;;:::i;:::-;131058:34;131085:6;131058:26;:34::i;24164:35::-;24197:2;24164:35;:::o;71092:34::-;;;:::o;22908:54::-;;;;;;;;;;;;;;;;;;;:::o;80457:209::-;79787:6;;-1:-1:-1;;;;;79787:6:0;79797:10;79787:20;79779:46;;;;-1:-1:-1;;;79779:46:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;80542:22:0;::::1;80534:52;;;;-1:-1:-1::0;;;80534:52:0::1;;;;;;;:::i;:::-;80619:6;::::0;;80598:38:::1;::::0;-1:-1:-1;;;;;80598:38:0;;::::1;::::0;80619:6;::::1;::::0;80598:38:::1;::::0;::::1;80643:6;:17:::0;;-1:-1:-1;;;;;;80643:17:0::1;-1:-1:-1::0;;;;;80643:17:0;;;::::1;::::0;;;::::1;::::0;;80457:209::o;131324:199::-;131407:7;131423:25;;:::i;:::-;131451:31;131474:7;;131451:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;131451:22:0;;-1:-1:-1;;;131451:31:0:i;:::-;131423:59;;131496:21;131510:6;131496:13;:21::i;132319:402::-;132396:7;132412:25;;:::i;:::-;132440:31;132463:7;132440:22;:31::i;68960:1058::-;69046:21;69069;69092;69143:23;:21;:23::i;:::-;69126:40;;69211:4;-1:-1:-1;;;;;69196:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69177:62;;69284:4;-1:-1:-1;;;;;69269:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69250:62;;69427:16;69445;69463:25;69507:4;-1:-1:-1;;;;;69492:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69426:100;;;;;;69563:14;69541:36;;:18;:36;;;69537:474;;69663:35;;;69809:62;;;69814:39;69834:8;69844;69814:19;:39::i;:::-;:42;-1:-1:-1;;;;;69809:48:0;:62;69789:82;;;;;69937:62;;;69942:39;69962:8;69972;69942:19;:39::i;:::-;:42;-1:-1:-1;;;;;69937:48:0;:62;69917:82;;;;;-1:-1:-1;69537:474:0;68960:1058;;;;;;;;:::o;67762:227::-;67843:16;;:::i;:::-;67894:1;67880:11;-1:-1:-1;;;;;67880:15:0;;67872:39;;;;-1:-1:-1;;;67872:39:0;;;;;;;:::i;:::-;67929:52;;;;;;;;;;-1:-1:-1;;;;;67939:41:0;;-1:-1:-1;;;67962:3:0;67940:25;;;;67939:41;;;;;;-1:-1:-1;;;;;67929:52:0;;;;67922:59;;67762:227;;;;:::o;123364:353::-;123408:7;123424:18;123455:23;;;;;;;:::i;:::-;;;;-1:-1:-1;;123455:23:0;;;;;;;;;123445:34;;123455:23;123445:34;;;;;-1:-1:-1;123523:28:0;123490:29;123508:10;123490:17;:29::i;:::-;:61;;;;;;;;;123486:124;;;123577:18;;;;:6;:18;;;;;:24;-1:-1:-1;;;123577:24:0;;-1:-1:-1;;;;;123577:24:0;;-1:-1:-1;123562:40:0;;123486:124;123616:16;123635:15;:13;:15::i;:::-;123616:34;;123657:32;123668:10;123680:8;123657:10;:32::i;:::-;123703:8;-1:-1:-1;;123364:353:0;:::o;123723:379::-;123784:7;123800:18;123831:23;;;;;;;:::i;:::-;;;;-1:-1:-1;;123831:23:0;;;;;;;;;123821:34;;123831:23;123821:34;;;;;-1:-1:-1;123899:28:0;123866:29;123884:10;123866:17;:29::i;:::-;:61;;;;;;;;;123862:124;;;123953:18;;;;:6;:18;;;;;:24;-1:-1:-1;;;123953:24:0;;-1:-1:-1;;;;;123953:24:0;;-1:-1:-1;123938:40:0;;123862:124;123992:16;124011:24;124025:9;124011:13;:24::i;:::-;123992:43;;124042:32;124053:10;124065:8;124042:10;:32::i;129813:154::-;129912:9;;:49;;-1:-1:-1;;;129912:49:0;;129872:11;;;;129912:9;;;;-1:-1:-1;;;;;129912:9:0;;:34;;:49;;129955:4;;129912:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;129905:56;;;;129813:154;;:::o;124108:845::-;124277:14;124300:25;;:::i;:::-;124328:31;124351:7;124328:22;:31::i;:::-;124300:59;-1:-1:-1;124396:20:0;124374:6;:18;;;:42;;;;;;;;;124366:67;;;;-1:-1:-1;;;124366:67:0;;;;;;;:::i;:::-;124440:18;124488:7;124471:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;124461:36;;;;;;124440:57;;124506:29;124538:81;124568:10;124580:18;124600;124538:29;:81::i;:::-;124506:113;-1:-1:-1;124648:28:0;124630:14;:46;;;;;;;;;124626:90;;;124694:14;-1:-1:-1;124687:21:0;;-1:-1:-1;;124687:21:0;124626:90;124724:13;70560:23;;;;;;;:::i;:::-;;;;;;;;;;;;;70550:34;;;;;;124748:10;:21;124744:136;;;-1:-1:-1;124788:9:0;124744:136;;;124828:44;124845:7;124854:6;124862:9;124828:16;:44::i;:::-;124820:52;;124744:136;124888:29;124899:10;124911:5;124888:10;:29::i;:::-;-1:-1:-1;124933:14:0;124108:845;-1:-1:-1;;;;;;;124108:845:0:o;6978:136::-;7036:7;7063:43;7067:1;7070;7063:43;;;;;;;;;;;;;;;;;:3;:43::i;52765:1681::-;52836:4;52871:12;52857:10;:26;52853:40;;;-1:-1:-1;52892:1:0;52885:8;;52853:40;52922:12;52908:10;:26;52904:40;;;-1:-1:-1;52943:1:0;52936:8;;52904:40;52973:12;52959:10;:26;52955:40;;;-1:-1:-1;52994:1:0;52987:8;;52955:40;53024:12;53010:10;:26;53006:40;;;-1:-1:-1;53045:1:0;53038:8;;53006:40;53075:12;53061:10;:26;53057:40;;;-1:-1:-1;53096:1:0;53089:8;;53057:40;53126:12;53112:10;:26;53108:40;;;-1:-1:-1;53147:1:0;53140:8;;53108:40;53177:12;53163:10;:26;53159:40;;;-1:-1:-1;53198:1:0;53191:8;;53159:40;53228:12;53214:10;:26;53210:40;;;-1:-1:-1;53249:1:0;53242:8;;53210:40;53279:12;53265:10;:26;53261:40;;;-1:-1:-1;53300:1:0;53293:8;;53261:40;53330:12;53316:10;:26;53312:40;;;-1:-1:-1;53351:1:0;53344:8;;53312:40;53381:12;53367:10;:26;53363:41;;;-1:-1:-1;53402:2:0;53395:9;;53363:41;53433:12;53419:10;:26;53415:41;;;-1:-1:-1;53454:2:0;53447:9;;53415:41;53485:12;53471:10;:26;53467:41;;;-1:-1:-1;53506:2:0;53499:9;;53467:41;53537:12;53523:10;:26;53519:41;;;-1:-1:-1;53558:2:0;53551:9;;53519:41;53589:12;53575:10;:26;53571:41;;;-1:-1:-1;53610:2:0;53603:9;;53571:41;53641:12;53627:10;:26;53623:41;;;-1:-1:-1;53662:2:0;53655:9;;53623:41;53693:12;53679:10;:26;53675:41;;;-1:-1:-1;53714:2:0;53707:9;;53675:41;53745:12;53731:10;:26;53727:41;;;-1:-1:-1;53766:2:0;53759:9;;53727:41;53797:12;53783:10;:26;53779:41;;;-1:-1:-1;53818:2:0;53811:9;;53779:41;53849:12;53835:10;:26;53831:41;;;-1:-1:-1;53870:2:0;53863:9;;53831:41;53901:12;53887:10;:26;53883:41;;;-1:-1:-1;53922:2:0;53915:9;;53883:41;-1:-1:-1;;;52765:1681:0;;;:::o;78281:108::-;77886:7;;;;77878:30;;;;-1:-1:-1;;;77878:30:0;;;;;;;:::i;:::-;78336:7:::1;:15:::0;;-1:-1:-1;;78336:15:0::1;::::0;;78363:20:::1;::::0;::::1;::::0;::::1;::::0;78372:10:::1;::::0;78363:20:::1;:::i;:::-;;;;;;;;78281:108::o:0;2155:508::-;2572:4;2618:17;2650:7;2155:508;:::o;128114:491::-;128207:25;128235:30;;;:18;:30;;;;;;128274:193;;;;128306:13;128322:38;:15;128342:17;128322:19;:38::i;:::-;128386:9;;:44;;-1:-1:-1;;;128386:44:0;;128306:54;;-1:-1:-1;128386:9:0;;;-1:-1:-1;;;;;128386:9:0;;:29;;:44;;128424:4;;128386:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;128377:5;:53;;128369:90;;;;-1:-1:-1;;;128369:90:0;;;;;;;:::i;:::-;128274:193;;128475:30;;;;:18;:30;;;;;;;128508:15;128475:48;;;;128535:64;;128494:10;;128535:64;;;;128564:17;;128535:64;:::i;:::-;;;;;;;;128114:491;;;:::o;51076:1681::-;51147:4;51182:12;-1:-1:-1;;;;;51168:26:0;:10;-1:-1:-1;;;;;51168:26:0;;51164:40;;;-1:-1:-1;51203:1:0;51196:8;;51164:40;51233:12;-1:-1:-1;;;;;51219:26:0;:10;-1:-1:-1;;;;;51219:26:0;;51215:40;;;-1:-1:-1;51254:1:0;51247:8;;51215:40;51284:12;-1:-1:-1;;;;;51270:26:0;:10;-1:-1:-1;;;;;51270:26:0;;51266:40;;;-1:-1:-1;51305:1:0;51298:8;;51266:40;51335:12;-1:-1:-1;;;;;51321:26:0;:10;-1:-1:-1;;;;;51321:26:0;;51317:40;;;-1:-1:-1;51356:1:0;51349:8;;51317:40;51386:12;-1:-1:-1;;;;;51372:26:0;:10;-1:-1:-1;;;;;51372:26:0;;51368:40;;;-1:-1:-1;51407:1:0;51400:8;;51368:40;51437:12;-1:-1:-1;;;;;51423:26:0;:10;-1:-1:-1;;;;;51423:26:0;;51419:40;;;-1:-1:-1;51458:1:0;51451:8;;51419:40;51488:12;-1:-1:-1;;;;;51474:26:0;:10;-1:-1:-1;;;;;51474:26:0;;51470:40;;;-1:-1:-1;51509:1:0;51502:8;;51470:40;51539:12;-1:-1:-1;;;;;51525:26:0;:10;-1:-1:-1;;;;;51525:26:0;;51521:40;;;-1:-1:-1;51560:1:0;51553:8;;51521:40;51590:12;-1:-1:-1;;;;;51576:26:0;:10;-1:-1:-1;;;;;51576:26:0;;51572:40;;;-1:-1:-1;51611:1:0;51604:8;;51572:40;51641:12;-1:-1:-1;;;;;51627:26:0;:10;-1:-1:-1;;;;;51627:26:0;;51623:40;;;-1:-1:-1;51662:1:0;51655:8;;51623:40;51692:12;-1:-1:-1;;;;;51678:26:0;:10;-1:-1:-1;;;;;51678:26:0;;51674:41;;;-1:-1:-1;51713:2:0;51706:9;;51674:41;51744:12;-1:-1:-1;;;;;51730:26:0;:10;-1:-1:-1;;;;;51730:26:0;;51726:41;;;-1:-1:-1;51765:2:0;51758:9;;51726:41;51796:12;-1:-1:-1;;;;;51782:26:0;:10;-1:-1:-1;;;;;51782:26:0;;51778:41;;;-1:-1:-1;51817:2:0;51810:9;;51778:41;51848:12;-1:-1:-1;;;;;51834:26:0;:10;-1:-1:-1;;;;;51834:26:0;;51830:41;;;-1:-1:-1;51869:2:0;51862:9;;51830:41;51900:12;-1:-1:-1;;;;;51886:26:0;:10;-1:-1:-1;;;;;51886:26:0;;51882:41;;;-1:-1:-1;51921:2:0;51914:9;;51882:41;51952:12;-1:-1:-1;;;;;51938:26:0;:10;-1:-1:-1;;;;;51938:26:0;;51934:41;;;-1:-1:-1;51973:2:0;51966:9;;51934:41;52004:12;-1:-1:-1;;;;;51990:26:0;:10;-1:-1:-1;;;;;51990:26:0;;51986:41;;;-1:-1:-1;52025:2:0;52018:9;;51986:41;52056:12;-1:-1:-1;;;;;52042:26:0;:10;-1:-1:-1;;;;;52042:26:0;;52038:41;;;-1:-1:-1;52077:2:0;52070:9;;52038:41;52108:12;-1:-1:-1;;;;;52094:26:0;:10;-1:-1:-1;;;;;52094:26:0;;52090:41;;;-1:-1:-1;52129:2:0;52122:9;;52090:41;52160:12;-1:-1:-1;;;;;52146:26:0;:10;-1:-1:-1;;;;;52146:26:0;;52142:41;;;-1:-1:-1;52181:2:0;52174:9;;52142:41;52212:12;-1:-1:-1;;;;;52198:26:0;:10;-1:-1:-1;;;;;52198:26:0;;52194:41;;;-1:-1:-1;52233:2:0;52226:9;;125120:535;125194:7;125237:20;125214:7;:19;;;:43;;;;;;;;;125210:88;;;-1:-1:-1;125273:18:0;;;;;125266:26;;;;:6;:26;;;:32;-1:-1:-1;;;125266:32:0;;-1:-1:-1;;;;;125266:32:0;125259:39;;125210:88;125332:21;125309:7;:19;;;:44;;;;;;;;;125305:75;;;-1:-1:-1;125362:18:0;;;;125355:25;;125305:75;125414:21;125391:7;:19;;;:44;;;;;;;;;125387:224;;;125446:17;125466:6;:15;70560:23;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;70560:23:0;;;;;;70550:34;;70560:23;70550:34;;;;125466:15;;;;;;;;;;-1:-1:-1;125466:15:0;:21;-1:-1:-1;;;125466:21:0;;-1:-1:-1;;;;;125466:21:0;;-1:-1:-1;125466:21:0;125496:43;;;;-1:-1:-1;;;125496:43:0;;;;;;;:::i;:::-;70324:4;125555:34;125559:9;125570:7;:18;;;125555:3;:34::i;:::-;:48;;;;;;125548:55;;;;;125387:224;125617:32;;-1:-1:-1;;;125617:32:0;;;;;;;:::i;76121:169::-;76173:4;76190:6;76186:20;;-1:-1:-1;76205:1:0;76198:8;;76186:20;76222:5;;;76226:1;76222;:5;:1;76242:5;;;;;:10;76234:35;;;;-1:-1:-1;;;76234:35:0;;;;;;;:::i;78050:106::-;77646:7;;;;77645:8;77637:27;;;;-1:-1:-1;;;77637:27:0;;;;;;;:::i;:::-;78106:7:::1;:14:::0;;-1:-1:-1;;78106:14:0::1;78116:4;78106:14;::::0;;78132:18:::1;::::0;::::1;::::0;::::1;::::0;78139:10:::1;::::0;78132:18:::1;:::i;49635:1433::-:0;49698:4;49729:8;-1:-1:-1;;;;;49719:18:0;:6;-1:-1:-1;;;;;49719:18:0;;49715:32;;;-1:-1:-1;49746:1:0;49739:8;;49715:32;49772:8;-1:-1:-1;;;;;49762:18:0;:6;-1:-1:-1;;;;;49762:18:0;;49758:32;;;-1:-1:-1;49789:1:0;49782:8;;49758:32;49815:8;-1:-1:-1;;;;;49805:18:0;:6;-1:-1:-1;;;;;49805:18:0;;49801:32;;;-1:-1:-1;49832:1:0;49825:8;;49801:32;49858:8;-1:-1:-1;;;;;49848:18:0;:6;-1:-1:-1;;;;;49848:18:0;;49844:32;;;-1:-1:-1;49875:1:0;49868:8;;49844:32;49901:8;-1:-1:-1;;;;;49891:18:0;:6;-1:-1:-1;;;;;49891:18:0;;49887:32;;;-1:-1:-1;49918:1:0;49911:8;;49887:32;49944:8;-1:-1:-1;;;;;49934:18:0;:6;-1:-1:-1;;;;;49934:18:0;;49930:32;;;-1:-1:-1;49961:1:0;49954:8;;49930:32;49987:8;-1:-1:-1;;;;;49977:18:0;:6;-1:-1:-1;;;;;49977:18:0;;49973:32;;;-1:-1:-1;50004:1:0;49997:8;;49973:32;50030:8;-1:-1:-1;;;;;50020:18:0;:6;-1:-1:-1;;;;;50020:18:0;;50016:32;;;-1:-1:-1;50047:1:0;50040:8;;50016:32;50073:8;-1:-1:-1;;;;;50063:18:0;:6;-1:-1:-1;;;;;50063:18:0;;50059:32;;;-1:-1:-1;50090:1:0;50083:8;;50059:32;50116:8;-1:-1:-1;;;;;50106:18:0;:6;-1:-1:-1;;;;;50106:18:0;;50102:32;;;-1:-1:-1;50133:1:0;50126:8;;50102:32;50159:8;-1:-1:-1;;;;;50149:18:0;:6;-1:-1:-1;;;;;50149:18:0;;50145:33;;;-1:-1:-1;50176:2:0;50169:9;;50145:33;50203:8;-1:-1:-1;;;;;50193:18:0;:6;-1:-1:-1;;;;;50193:18:0;;50189:33;;;-1:-1:-1;50220:2:0;50213:9;;50189:33;50247:8;-1:-1:-1;;;;;50237:18:0;:6;-1:-1:-1;;;;;50237:18:0;;50233:33;;;-1:-1:-1;50264:2:0;50257:9;;50233:33;50291:8;-1:-1:-1;;;;;50281:18:0;:6;-1:-1:-1;;;;;50281:18:0;;50277:33;;;-1:-1:-1;50308:2:0;50301:9;;50277:33;50335:8;-1:-1:-1;;;;;50325:18:0;:6;-1:-1:-1;;;;;50325:18:0;;50321:33;;;-1:-1:-1;50352:2:0;50345:9;;50321:33;50379:8;-1:-1:-1;;;;;50369:18:0;:6;-1:-1:-1;;;;;50369:18:0;;50365:33;;;-1:-1:-1;50396:2:0;50389:9;;50365:33;50423:8;-1:-1:-1;;;;;50413:18:0;:6;-1:-1:-1;;;;;50413:18:0;;50409:33;;;-1:-1:-1;50440:2:0;50433:9;;50409:33;50467:8;-1:-1:-1;;;;;50457:18:0;:6;-1:-1:-1;;;;;50457:18:0;;50453:33;;;-1:-1:-1;50484:2:0;50477:9;;50453:33;50511:8;-1:-1:-1;;;;;50501:18:0;:6;-1:-1:-1;;;;;50501:18:0;;50497:33;;;-1:-1:-1;50528:2:0;50521:9;;50497:33;50555:8;-1:-1:-1;;;;;50545:18:0;:6;-1:-1:-1;;;;;50545:18:0;;50541:33;;;-1:-1:-1;50572:2:0;50565:9;;50541:33;50599:8;-1:-1:-1;;;;;50589:18:0;:6;-1:-1:-1;;;;;50589:18:0;;50585:33;;;-1:-1:-1;50616:2:0;50609:9;;68731:123;68820:25;:15;:25;;68731:123::o;72829:142::-;72872:4;72892:73;;;;;;;;;;;;;;-1:-1:-1;;;72892:73:0;;;72916:35;70560:23;;;;;;;:::i;72916:35::-;70324:4;72892:16;:73::i;:::-;72885:80;;72829:142;:::o;124959:155::-;125054:54;;;;;;;;125060:27;:15;:25;:27::i;:::-;-1:-1:-1;;;;;125054:54:0;;;;;125089:18;:6;:16;:18::i;:::-;-1:-1:-1;;;;;125054:54:0;;;;;;125032:19;;;;:6;:19;;;;;;;;:76;;;;;;;;;;;-1:-1:-1;;;125032:76:0;;;;-1:-1:-1;;125032:76:0;;;;;;;;;;;;;;;-1:-1:-1;124959:155:0:o;72977:::-;73036:4;73056:70;;;;;;;;;;;;;;-1:-1:-1;;;73056:70:0;;;73080:35;70485:23;;;;;;;:::i;73080:35::-;73117:8;73363:1551;73487:4;73501:23;73526;73551:17;73572:24;73589:6;73572:16;:24::i;:::-;73500:96;;;;;;73693:12;73675:15;:30;73667:52;;;;-1:-1:-1;;;73667:52:0;;;;;;;:::i;:::-;73745:15;:30;;;73933:40;;:::i;:::-;73976:86;;;;;;;;74049:11;74027:18;74006;:39;74005:55;;;;;;-1:-1:-1;;;;;73976:86:0;;;;73933:129;;74069:28;74100:30;:12;:28;:30::i;:::-;74069:61;;74137:26;74166:46;74170:23;74195:16;74166:3;:46::i;:::-;74137:75;;74219:16;74441:6;:24;;;74437:324;;;74633:6;:15;;;74609:21;:39;;;;;;74595:53;;74437:324;;;70428:4;70324;74685:43;74689:21;74712:6;:15;;;74685:3;:43::i;:::-;:57;;;;;;:68;;;;;;74671:82;;74437:324;74828:6;74811:24;;;;;;;;:::i;:::-;;;;;;;;;;;;;74801:35;;;;;;74774:107;74793:6;74838:11;74851:12;74865:15;74774:107;;;;;;;;;:::i;:::-;;;;;;;;74897:11;73363:1551;-1:-1:-1;;;;;;;;;;;73363:1551:0:o;7417:192::-;7503:7;7539:12;7531:6;;;;7523:29;;;;-1:-1:-1;;;7523:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;7575:5:0;;;7417:192::o;12112:184::-;12169:7;-1:-1:-1;;;12197:5:0;:14;12189:67;;;;-1:-1:-1;;;12189:67:0;;;;;;;:::i;:::-;-1:-1:-1;12282:5:0;12112:184::o;75092:981::-;75163:4;75169;75175;75188:18;75209:6;:17;;;75188:38;;75233:20;75256:30;75279:6;75256:22;:30::i;:::-;75233:53;;75295:33;;:::i;:::-;-1:-1:-1;75331:27:0;;;;:15;:27;;;;;;;;;75295:63;;;;;;;;;;;;;;;;;;;;;;;;;75484:15;:42;75552:12;75537:27;;75533:432;;75615:24;;;75575:27;;;:15;:27;;;;;;;;:64;;;75682:18;;;;;75648:31;;;;:52;75711:15;:27;;;;;;;75751:15;75711:55;;;75775:31;;:49;;;75859:17;;;;75878:24;;75921:18;;75838:119;;75859:17;;75838:119;;;;75878:24;75809:15;;75838:119;:::i;:::-;;;;;;;;75533:432;-1:-1:-1;;75996:27:0;;;;:15;:27;;;;;;:31;;;;76029:37;;75996:27;;:31;;-1:-1:-1;76029:37:0;;-1:-1:-1;75092:981:0;-1:-1:-1;;75092:981:0:o;68066:383::-;68414:7;68425:16;-1:-1:-1;;;;;68409:13:0;;;:32;;68066:383::o;72266:341::-;72348:4;72362:21;72385;72411:68;72458:6;:20;;;72411:46;:68::i;:::-;72361:118;;;;;72490:6;:24;;;72486:116;;;72532:16;-1:-1:-1;72525:23:0;;-1:-1:-1;72525:23:0;72486:116;-1:-1:-1;72578:16:0;-1:-1:-1;72571:23:0;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;300:708::-;;427:3;420:4;412:6;408:17;404:27;394:2;;-1:-1;;435:12;394:2;482:6;469:20;35165:18;35157:6;35154:30;35151:2;;;-1:-1;;35187:12;35151:2;35232:4;504:90;35232:4;;35224:6;35220:17;35285:15;504:90;:::i;:::-;622:21;;;495:99;-1:-1;679:14;;;654:17;;;774:1;759:243;784:6;781:1;778:13;759:243;;;891:47;934:3;35232:4;867:3;854:17;658:6;842:30;;891:47;:::i;:::-;879:60;;953:14;;;;981;;;;806:1;799:9;759:243;;;763:14;;;;;387:621;;;;:::o;1167:336::-;;;1281:3;1274:4;1266:6;1262:17;1258:27;1248:2;;-1:-1;;1289:12;1248:2;-1:-1;1319:20;;1359:18;1348:30;;1345:2;;;-1:-1;;1381:12;1345:2;1425:4;1417:6;1413:17;1401:29;;1476:3;1425:4;1456:17;1417:6;1442:32;;1439:41;1436:2;;;1493:1;;1483:12;1436:2;1241:262;;;;;:::o;1872:442::-;;1974:3;1967:4;1959:6;1955:17;1951:27;1941:2;;-1:-1;;1982:12;1941:2;2029:6;2016:20;35461:18;35453:6;35450:30;35447:2;;;-1:-1;;35483:12;35447:2;2051:65;35556:9;35537:17;;-1:-1;;35533:33;35624:4;35614:15;2051:65;:::i;:::-;2042:74;;2136:6;2129:5;2122:21;2240:3;35624:4;2231:6;2164;2222:16;;2219:25;2216:2;;;2257:1;;2247:12;2216:2;38838:6;35624:4;2164:6;2160:17;35624:4;2198:5;2194:16;38815:30;38894:1;38876:16;;;35624:4;38876:16;38869:27;2198:5;1934:380;-1:-1;;1934:380::o;2880:241::-;;2984:2;2972:9;2963:7;2959:23;2955:32;2952:2;;;-1:-1;;2990:12;2952:2;85:6;72:20;97:33;124:5;97:33;:::i;3128:263::-;;3243:2;3231:9;3222:7;3218:23;3214:32;3211:2;;;-1:-1;;3249:12;3211:2;226:6;220:13;238:33;265:5;238:33;:::i;3398:366::-;;;3519:2;3507:9;3498:7;3494:23;3490:32;3487:2;;;-1:-1;;3525:12;3487:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3577:63;-1:-1;3677:2;3716:22;;72:20;97:33;72:20;97:33;:::i;:::-;3685:63;;;;3481:283;;;;;:::o;3771:397::-;;3910:2;3898:9;3889:7;3885:23;3881:32;3878:2;;;-1:-1;;3916:12;3878:2;3974:17;3961:31;4012:18;4004:6;4001:30;3998:2;;;-1:-1;;4034:12;3998:2;4064:88;4144:7;4135:6;4124:9;4120:22;4064:88;:::i;4175:241::-;;4279:2;4267:9;4258:7;4254:23;4250:32;4247:2;;;-1:-1;;4285:12;4247:2;-1:-1;1083:20;;4241:175;-1:-1;4241:175::o;4423:491::-;;;;4561:2;4549:9;4540:7;4536:23;4532:32;4529:2;;;-1:-1;;4567:12;4529:2;-1:-1;;1083:20;;;4719:2;4758:22;;2530:20;;-1:-1;4827:2;4866:22;;;2530:20;;4523:391;-1:-1;4523:391::o;4921:367::-;;;5045:2;5033:9;5024:7;5020:23;5016:32;5013:2;;;-1:-1;;5051:12;5013:2;5109:17;5096:31;5147:18;5139:6;5136:30;5133:2;;;-1:-1;;5169:12;5133:2;5207:65;5264:7;5255:6;5244:9;5240:22;5207:65;:::i;:::-;5189:83;;;;-1:-1;5007:281;-1:-1;;;;5007:281::o;5295:347::-;;5409:2;5397:9;5388:7;5384:23;5380:32;5377:2;;;-1:-1;;5415:12;5377:2;5473:17;5460:31;5511:18;5503:6;5500:30;5497:2;;;-1:-1;;5533:12;5497:2;5563:63;5618:7;5609:6;5598:9;5594:22;5563:63;:::i;5649:533::-;;;;5797:2;5785:9;5776:7;5772:23;5768:32;5765:2;;;-1:-1;;5803:12;5765:2;2406:6;2400:13;2418:33;2445:5;2418:33;:::i;:::-;5966:2;6016:22;;2400:13;5855:74;;-1:-1;2418:33;2400:13;2418:33;:::i;:::-;6085:2;6134:22;;2818:13;5974:74;;-1:-1;37478:10;37467:22;;40076:34;;40066:2;;-1:-1;;40114:12;40066:2;6093:73;;;;5759:423;;;;;:::o;6437:263::-;;6552:2;6540:9;6531:7;6527:23;6523:32;6520:2;;;-1:-1;;6558:12;6520:2;-1:-1;2678:13;;6514:186;-1:-1;6514:186::o;6707:771::-;;;;;6899:2;6887:9;6878:7;6874:23;6870:32;6867:2;;;-1:-1;;6905:12;6867:2;2543:6;2530:20;6957:63;;7085:2;7074:9;7070:18;7057:32;7109:18;;7101:6;7098:30;7095:2;;;-1:-1;;7131:12;7095:2;7161:88;7241:7;7232:6;7221:9;7217:22;7161:88;:::i;:::-;7151:98;;7314:2;7303:9;7299:18;7286:32;7272:46;;7109:18;7330:6;7327:30;7324:2;;;-1:-1;;7360:12;7324:2;;7398:64;7454:7;7445:6;7434:9;7430:22;7398:64;:::i;:::-;6861:617;;;;-1:-1;7380:82;-1:-1;;;;6861:617::o;7485:399::-;;;7617:2;7605:9;7596:7;7592:23;7588:32;7585:2;;;-1:-1;;7623:12;7585:2;-1:-1;;2678:13;;7786:2;7836:22;;;2678:13;;;;;-1:-1;7579:305::o;8920:343::-;;9062:5;35733:12;36018:6;36013:3;36006:19;9155:52;9200:6;36055:4;36050:3;36046:14;36055:4;9181:5;9177:16;9155:52;:::i;:::-;35556:9;39255:14;-1:-1;;39251:28;9219:39;;;;36055:4;9219:39;;9010:253;-1:-1;;9010:253::o;19762:275::-;;10433:5;35733:12;10545:52;10590:6;10585:3;10578:4;10571:5;10567:16;10545:52;:::i;:::-;10609:16;;;;;19898:139;-1:-1;;19898:139::o;20044:381::-;-1:-1;;;13556:26;;13541:1;13601:11;;20233:192::o;20432:381::-;-1:-1;;;15598:26;;15583:1;15643:11;;20621:192::o;20820:222::-;-1:-1;;;;;37261:54;;;;8101:37;;20947:2;20932:18;;20918:124::o;21294:210::-;36564:13;;36557:21;8325:34;;21415:2;21400:18;;21386:118::o;22033:254::-;22176:2;22161:18;;36753:49;36796:5;36753:49;:::i;:::-;9838:66;;;22147:140;:::o;22294:310::-;;22441:2;22462:17;22455:47;22516:78;22441:2;22430:9;22426:18;22580:6;22516:78;:::i;22611:644::-;;22842:3;22864:17;22857:47;22918:78;22842:3;22831:9;22827:19;22982:6;22918:78;:::i;:::-;23075:2;23060:18;;8543:37;;;;-1:-1;23158:2;23143:18;;8543:37;;;;23241:2;23226:18;;;8543:37;22910:86;22813:442;-1:-1;22813:442::o;23262:416::-;23462:2;23476:47;;;10862:1;23447:18;;;36006:19;-1:-1;;;36046:14;;;10877:29;10925:12;;;23433:245::o;23685:416::-;23885:2;23899:47;;;11176:2;23870:18;;;36006:19;-1:-1;;;36046:14;;;11192:45;11256:12;;;23856:245::o;24108:416::-;24308:2;24322:47;;;11507:2;24293:18;;;36006:19;-1:-1;;;36046:14;;;11523:40;11582:12;;;24279:245::o;24531:416::-;24731:2;24745:47;;;11833:2;24716:18;;;36006:19;-1:-1;;;36046:14;;;11849:39;11907:12;;;24702:245::o;24954:416::-;25154:2;25168:47;;;12158:2;25139:18;;;36006:19;12194:34;36046:14;;;12174:55;-1:-1;;;12249:12;;;12242:31;12292:12;;;25125:245::o;25377:416::-;25577:2;25591:47;;;12543:1;25562:18;;;36006:19;-1:-1;;;36046:14;;;12558:32;12609:12;;;25548:245::o;25800:416::-;26000:2;26014:47;;;12860:2;25985:18;;;36006:19;-1:-1;;;36046:14;;;12876:37;12932:12;;;25971:245::o;26223:416::-;26423:2;26437:47;;;13183:2;26408:18;;;36006:19;-1:-1;;;36046:14;;;13199:36;13254:12;;;26394:245::o;26646:416::-;26846:2;26860:47;;;13851:2;26831:18;;;36006:19;13887:26;36046:14;;;13867:47;13933:12;;;26817:245::o;27069:416::-;27269:2;27283:47;;;14184:2;27254:18;;;36006:19;-1:-1;;;36046:14;;;14200:35;14254:12;;;27240:245::o;27492:416::-;27692:2;27706:47;;;14505:2;27677:18;;;36006:19;-1:-1;;;36046:14;;;14521:38;14578:12;;;27663:245::o;27915:416::-;28115:2;28129:47;;;14829:2;28100:18;;;36006:19;-1:-1;;;36046:14;;;14845:40;14904:12;;;28086:245::o;28338:416::-;28538:2;28552:47;;;15155:2;28523:18;;;36006:19;15191:34;36046:14;;;15171:55;-1:-1;;;15246:12;;;15239:38;15296:12;;;28509:245::o;28761:416::-;28961:2;28975:47;;;15893:2;28946:18;;;36006:19;-1:-1;;;36046:14;;;15909:36;15964:12;;;28932:245::o;29184:416::-;29384:2;29398:47;;;16215:2;29369:18;;;36006:19;-1:-1;;;36046:14;;;16231:33;16283:12;;;29355:245::o;29607:416::-;29807:2;29821:47;;;16534:2;29792:18;;;36006:19;-1:-1;;;36046:14;;;16550:38;16607:12;;;29778:245::o;30030:416::-;30230:2;30244:47;;;16858:2;30215:18;;;36006:19;-1:-1;;;36046:14;;;16874:34;16927:12;;;30201:245::o;30453:416::-;30653:2;30667:47;;;17178:2;30638:18;;;36006:19;-1:-1;;;36046:14;;;17194:35;17248:12;;;30624:245::o;30876:362::-;17580:23;;-1:-1;;;;;37261:54;8101:37;;17762:4;17751:16;;;17745:23;36564:13;36557:21;17816:14;;;8325:34;;;;31073:2;31058:18;;31044:194::o;31245:339::-;18155:23;;-1:-1;;;;;37261:54;;;8101:37;;18332:4;18321:16;;;18315:23;37261:54;;18392:14;;;8101:37;18492:4;18481:16;;;18475:23;18552:14;;;8543:37;18650:4;18639:16;;;18633:23;18710:14;;;8543:37;18811:4;18800:16;;18794:23;31430:3;31415:19;;;37272:42;36753:49;18794:23;36753:49;:::i;:::-;38312:40;18811:4;18889:3;18885:14;9675:64;;18985:4;18978:5;18974:16;18968:23;18985:4;19049:3;19045:14;8543:37;37272:42;19148:4;19141:5;19137:16;19131:23;37261:54;19148:4;19212:3;19208:14;8101:37;;19315:4;19308:5;19304:16;19298:23;36564:13;36557:21;19315:4;19373:3;19369:14;8325:34;31401:183;;;;:::o;31591:333::-;-1:-1;;;;;37141:46;;;19483:37;;37141:46;;31910:2;31895:18;;19483:37;31746:2;31731:18;;31717:207::o;31931:222::-;8543:37;;;32058:2;32043:18;;32029:124::o;32160:349::-;8543:37;;;-1:-1;;;;;37261:54;32495:2;32480:18;;7970:58;32323:2;32308:18;;32294:215::o;32516:333::-;8543:37;;;32835:2;32820:18;;8543:37;32671:2;32656:18;;32642:207::o;32856:660::-;;8573:5;8550:3;8543:37;8573:5;33260:2;33249:9;33245:18;8543:37;8573:5;33343:2;33332:9;33328:18;8543:37;33095:3;33380:2;33369:9;33365:18;33358:48;36018:6;33095:3;33084:9;33080:19;36006;38838:6;38833:3;36046:14;33084:9;36046:14;38815:30;38876:16;;;36046:14;38876:16;;;38869:27;;;;35556:9;39255:14;;;-1:-1;;39251:28;8867:39;;;33066:450;-1:-1;;;;33066:450::o;33523:640::-;;8573:5;8550:3;8543:37;8573:5;33917:2;33906:9;33902:18;8543:37;8573:5;34000:2;33989:9;33985:18;8543:37;33752:3;34037:2;34026:9;34022:18;34015:48;34077:76;33752:3;33741:9;33737:19;34139:6;34077:76;:::i;:::-;34069:84;33723:440;-1:-1;;;;;;33723:440::o;34170:556::-;8543:37;;;34546:2;34531:18;;8543:37;;;;34629:2;34614:18;;8543:37;34712:2;34697:18;;8543:37;34381:3;34366:19;;34352:374::o;34733:256::-;34795:2;34789:9;34821:17;;;34896:18;34881:34;;34917:22;;;34878:62;34875:2;;;34953:1;;34943:12;34875:2;34795;34962:22;34773:216;;-1:-1;34773:216::o;38911:268::-;38976:1;38983:101;38997:6;38994:1;38991:13;38983:101;;;39064:11;;;39058:18;39045:11;;;39038:39;39019:2;39012:10;38983:101;;;39099:6;39096:1;39093:13;39090:2;;;38976:1;39155:6;39150:3;39146:16;39139:27;39090:2;;38960:219;;;:::o;39292:107::-;39377:1;39370:5;39367:12;39357:2;;39383:9;39357:2;39351:48;:::o;39522:117::-;-1:-1;;;;;37261:54;;39581:35;;39571:2;;39630:1;;39620:12;39770:117;-1:-1;;;;;39857:5;37025:42;39832:5;39829:35;39819:2;;39878:1;;39868:12

Swarm Source

ipfs://d191ded1b8571439296dcf10ac203e6c9a5d467f825cc2cc76e1b722d2a7efba

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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