ETH Price: $2,195.34 (+5.59%)

Contract

0xc2fC89E79D4Fd2570dD9B413b851F38076bCd930
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Max Report D...127002002021-06-25 0:48:281349 days ago1624582108IN
0xc2fC89E7...076bCd930
0 ETH0.000268589
Set Max Report D...126678682021-06-19 23:53:031354 days ago1624146783IN
0xc2fC89E7...076bCd930
0 ETH0.0002984310
Set Max Report D...126277842021-06-13 18:34:411360 days ago1623609281IN
0xc2fC89E7...076bCd930
0 ETH0.0003282711
Harvest126087072021-06-10 19:35:331363 days ago1623353733IN
0xc2fC89E7...076bCd930
0 ETH0.0173732720.02
Set Max Report D...125846912021-06-07 2:11:481367 days ago1623031908IN
0xc2fC89E7...076bCd930
0 ETH0.0005966220
Harvest125813752021-06-06 14:02:281367 days ago1622988148IN
0xc2fC89E7...076bCd930
0 ETH0.013025515
Harvest125704602021-06-04 21:30:141369 days ago1622842214IN
0xc2fC89E7...076bCd930
0 ETH0.0218048426
Harvest125619162021-06-03 13:51:571370 days ago1622728317IN
0xc2fC89E7...076bCd930
0 ETH0.0271110833
Harvest125522122021-06-02 1:57:401372 days ago1622599060IN
0xc2fC89E7...076bCd930
0 ETH0.0190116722
Harvest125396812021-05-31 3:21:041374 days ago1622431264IN
0xc2fC89E7...076bCd930
0 ETH0.0224282627.3
Harvest125334362021-05-30 3:55:501375 days ago1622346950IN
0xc2fC89E7...076bCd930
0 ETH0.0154671419.8
Set Max Report D...125320012021-05-29 22:37:291375 days ago1622327849IN
0xc2fC89E7...076bCd930
0 ETH0.000626721
Set Keeper125296512021-05-29 13:59:541375 days ago1622296794IN
0xc2fC89E7...076bCd930
0 ETH0.0010568635
Harvest125262962021-05-29 1:28:341376 days ago1622251714IN
0xc2fC89E7...076bCd930
0 ETH0.0290578233.8
Set Rewards125202392021-05-28 2:50:291377 days ago1622170229IN
0xc2fC89E7...076bCd930
0 ETH0.0016154430
Harvest125049332021-05-25 17:49:321379 days ago1621964972IN
0xc2fC89E7...076bCd930
0 ETH0.0305235555.90200028

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
127748892021-07-06 16:13:511337 days ago1625588031
0xc2fC89E7...076bCd930
2.20622416 ETH
127748892021-07-06 16:13:511337 days ago1625588031
0xc2fC89E7...076bCd930
1.06942238 ETH
127748892021-07-06 16:13:511337 days ago1625588031
0xc2fC89E7...076bCd930
1.13680178 ETH
127711132021-07-06 2:01:521338 days ago1625536912
0xc2fC89E7...076bCd930
13.53176284 ETH
127711132021-07-06 2:01:521338 days ago1625536912
0xc2fC89E7...076bCd930
6.46173936 ETH
127711132021-07-06 2:01:521338 days ago1625536912
0xc2fC89E7...076bCd930
7.07002348 ETH
127468772021-07-02 7:32:281341 days ago1625211148
0xc2fC89E7...076bCd930
17.66333957 ETH
127468772021-07-02 7:32:281341 days ago1625211148
0xc2fC89E7...076bCd930
9.65413097 ETH
127468772021-07-02 7:32:281341 days ago1625211148
0xc2fC89E7...076bCd930
8.0092086 ETH
127227572021-06-28 13:22:061345 days ago1624886526
0xc2fC89E7...076bCd930
16.93480792 ETH
127227572021-06-28 13:22:061345 days ago1624886526
0xc2fC89E7...076bCd930
8.35270752 ETH
127227572021-06-28 13:22:061345 days ago1624886526
0xc2fC89E7...076bCd930
8.5821004 ETH
126986572021-06-24 19:16:091349 days ago1624562169
0xc2fC89E7...076bCd930
13.10109914 ETH
126986572021-06-24 19:16:091349 days ago1624562169
0xc2fC89E7...076bCd930
6.71324403 ETH
126986572021-06-24 19:16:091349 days ago1624562169
0xc2fC89E7...076bCd930
6.3878551 ETH
126863492021-06-22 21:03:401351 days ago1624395820
0xc2fC89E7...076bCd930
14.54381821 ETH
126863492021-06-22 21:03:401351 days ago1624395820
0xc2fC89E7...076bCd930
7.77668398 ETH
126863492021-06-22 21:03:401351 days ago1624395820
0xc2fC89E7...076bCd930
6.76713422 ETH
126740282021-06-20 22:54:051353 days ago1624229645
0xc2fC89E7...076bCd930
16.97225872 ETH
126740282021-06-20 22:54:051353 days ago1624229645
0xc2fC89E7...076bCd930
8.64725349 ETH
126740282021-06-20 22:54:051353 days ago1624229645
0xc2fC89E7...076bCd930
8.32500523 ETH
126616992021-06-19 0:47:041355 days ago1624063624
0xc2fC89E7...076bCd930
13.19544914 ETH
126616992021-06-19 0:47:041355 days ago1624063624
0xc2fC89E7...076bCd930
7.00554843 ETH
126616992021-06-19 0:47:041355 days ago1624063624
0xc2fC89E7...076bCd930
6.1899007 ETH
126502632021-06-17 6:10:531357 days ago1623910253
0xc2fC89E7...076bCd930
16.35243049 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyConvexsETH

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: AGPL-3.0

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

// Global Enums and Structs

struct StrategyParams {
    uint256 performanceFee;
    uint256 activation;
    uint256 debtRatio;
    uint256 minDebtPerHarvest;
    uint256 maxDebtPerHarvest;
    uint256 lastReport;
    uint256 totalDebt;
    uint256 totalGain;
    uint256 totalLoss;
}

// Part: IConvexDeposit

interface IConvexDeposit {
    // deposit into convex, receive a tokenized deposit.  parameter to stake immediately (we always do this).
    function deposit(
        uint256 _pid,
        uint256 _amount,
        bool _stake
    ) external returns (bool);

    // burn a tokenized deposit (Convex deposit tokens) to receive curve lp tokens back
    function withdraw(uint256 _pid, uint256 _amount) external returns (bool);
}

// Part: IConvexRewards

interface IConvexRewards {
    // strategy's staked balance in the synthetix staking contract
    function balanceOf(address account) external view returns (uint256);

    // read how much claimable CRV a strategy has
    function earned(address account) external view returns (uint256);

    // stake a convex tokenized deposit
    function stake(uint256 _amount) external returns (bool);

    // withdraw to a convex tokenized deposit, probably never need to use this
    function withdraw(uint256 _amount, bool _claim) external returns (bool);

    // withdraw directly to curve LP token, this is what we primarily use
    function withdrawAndUnwrap(uint256 _amount, bool _claim)
        external
        returns (bool);

    // claim rewards, with an option to claim extra rewards or not
    function getReward(address _account, bool _claimExtras)
        external
        returns (bool);
}

// Part: ICurveFi

interface ICurveFi {
    function add_liquidity(uint256[2] calldata amounts, uint256 min_mint_amount)
        external
        payable;

    function remove_liquidity_imbalance(
        uint256[2] calldata amounts,
        uint256 max_burn_amount
    ) external;

    function remove_liquidity_one_coin(
        uint256 _token_amount,
        int128 i,
        uint256 min_amount
    ) external;

    function calc_token_amount(uint256[2] calldata amounts, bool is_deposit)
        external
        view
        returns (uint256);

    function calc_withdraw_one_coin(uint256 amount, int128 i)
        external
        view
        returns (uint256);
}

// Part: IUniswapV2Router01

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

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

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

// Part: OpenZeppelin/[email protected]/Address

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// Part: OpenZeppelin/[email protected]/IERC20

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

// Part: OpenZeppelin/[email protected]/Math

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

// Part: OpenZeppelin/[email protected]/SafeMath

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

// Part: ICrvV3

interface ICrvV3 is IERC20 {
    function minter() external view returns (address);
}

// Part: IUniswapV2Router02

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

// Part: OpenZeppelin/[email protected]/SafeERC20

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

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

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

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

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

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

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

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

// Part: iearn-finance/[email protected]/VaultAPI

interface VaultAPI is IERC20 {
    function apiVersion() external pure returns (string memory);

    function withdraw(uint256 shares, address recipient) external returns (uint256);

    function token() external view returns (address);

    function strategies(address _strategy) external view returns (StrategyParams memory);

    /**
     * View how much the Vault would increase this Strategy's borrow limit,
     * based on its present performance (since its last report). Can be used to
     * determine expectedReturn in your Strategy.
     */
    function creditAvailable() external view returns (uint256);

    /**
     * View how much the Vault would like to pull back from the Strategy,
     * based on its present performance (since its last report). Can be used to
     * determine expectedReturn in your Strategy.
     */
    function debtOutstanding() external view returns (uint256);

    /**
     * View how much the Vault expect this Strategy to return at the current
     * block, based on its present performance (since its last report). Can be
     * used to determine expectedReturn in your Strategy.
     */
    function expectedReturn() external view returns (uint256);

    /**
     * This is the main contact point where the Strategy interacts with the
     * Vault. It is critical that this call is handled as intended by the
     * Strategy. Therefore, this function will be called by BaseStrategy to
     * make sure the integration is correct.
     */
    function report(
        uint256 _gain,
        uint256 _loss,
        uint256 _debtPayment
    ) external returns (uint256);

    /**
     * This function should only be used in the scenario where the Strategy is
     * being retired but no migration of the positions are possible, or in the
     * extreme scenario that the Strategy needs to be put into "Emergency Exit"
     * mode in order for it to exit as quickly as possible. The latter scenario
     * could be for any reason that is considered "critical" that the Strategy
     * exits its position as fast as possible, such as a sudden change in
     * market conditions leading to losses, or an imminent failure in an
     * external dependency.
     */
    function revokeStrategy() external;

    /**
     * View the governance address of the Vault to assert privileged functions
     * can only be called by governance. The Strategy serves the Vault, so it
     * is subject to governance defined by the Vault.
     */
    function governance() external view returns (address);

    /**
     * View the management address of the Vault to assert privileged functions
     * can only be called by management. The Strategy serves the Vault, so it
     * is subject to management defined by the Vault.
     */
    function management() external view returns (address);

    /**
     * View the guardian address of the Vault to assert privileged functions
     * can only be called by guardian. The Strategy serves the Vault, so it
     * is subject to guardian defined by the Vault.
     */
    function guardian() external view returns (address);
}

// Part: iearn-finance/[email protected]/BaseStrategy

/**
 * @title Yearn Base Strategy
 * @author yearn.finance
 * @notice
 *  BaseStrategy implements all of the required functionality to interoperate
 *  closely with the Vault contract. This contract should be inherited and the
 *  abstract methods implemented to adapt the Strategy to the particular needs
 *  it has to create a return.
 *
 *  Of special interest is the relationship between `harvest()` and
 *  `vault.report()'. `harvest()` may be called simply because enough time has
 *  elapsed since the last report, and not because any funds need to be moved
 *  or positions adjusted. This is critical so that the Vault may maintain an
 *  accurate picture of the Strategy's performance. See  `vault.report()`,
 *  `harvest()`, and `harvestTrigger()` for further details.
 */
abstract contract BaseStrategy {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    string public metadataURI;

    /**
     * @notice
     *  Used to track which version of `StrategyAPI` this Strategy
     *  implements.
     * @dev The Strategy's version must match the Vault's `API_VERSION`.
     * @return A string which holds the current API version of this contract.
     */
    function apiVersion() public pure returns (string memory) {
        return "0.3.2";
    }

    /**
     * @notice This Strategy's name.
     * @dev
     *  You can use this field to manage the "version" of this Strategy, e.g.
     *  `StrategySomethingOrOtherV1`. However, "API Version" is managed by
     *  `apiVersion()` function above.
     * @return This Strategy's name.
     */
    function name() external virtual view returns (string memory);

    /**
     * @notice
     *  The amount (priced in want) of the total assets managed by this strategy should not count
     *  towards Yearn's TVL calculations.
     * @dev
     *  You can override this field to set it to a non-zero value if some of the assets of this
     *  Strategy is somehow delegated inside another part of of Yearn's ecosystem e.g. another Vault.
     *  Note that this value must be strictly less than or equal to the amount provided by
     *  `estimatedTotalAssets()` below, as the TVL calc will be total assets minus delegated assets.
     * @return
     *  The amount of assets this strategy manages that should not be included in Yearn's Total Value
     *  Locked (TVL) calculation across it's ecosystem.
     */
    function delegatedAssets() external virtual view returns (uint256) {
        return 0;
    }

    VaultAPI public vault;
    address public strategist;
    address public rewards;
    address public keeper;

    IERC20 public want;

    // So indexers can keep track of this
    event Harvested(uint256 profit, uint256 loss, uint256 debtPayment, uint256 debtOutstanding);

    event UpdatedStrategist(address newStrategist);

    event UpdatedKeeper(address newKeeper);

    event UpdatedRewards(address rewards);

    event UpdatedMinReportDelay(uint256 delay);

    event UpdatedMaxReportDelay(uint256 delay);

    event UpdatedProfitFactor(uint256 profitFactor);

    event UpdatedDebtThreshold(uint256 debtThreshold);

    event EmergencyExitEnabled();

    event UpdatedMetadataURI(string metadataURI);

    // The minimum number of seconds between harvest calls. See
    // `setMinReportDelay()` for more details.
    uint256 public minReportDelay = 0;

    // The maximum number of seconds between harvest calls. See
    // `setMaxReportDelay()` for more details.
    uint256 public maxReportDelay = 86400; // ~ once a day

    // The minimum multiple that `callCost` must be above the credit/profit to
    // be "justifiable". See `setProfitFactor()` for more details.
    uint256 public profitFactor = 100;

    // Use this to adjust the threshold at which running a debt causes a
    // harvest trigger. See `setDebtThreshold()` for more details.
    uint256 public debtThreshold = 0;

    // See note on `setEmergencyExit()`.
    bool public emergencyExit;

    // modifiers
    modifier onlyAuthorized() {
        require(msg.sender == strategist || msg.sender == governance(), "!authorized");
        _;
    }

    modifier onlyStrategist() {
        require(msg.sender == strategist, "!strategist");
        _;
    }

    modifier onlyGovernance() {
        require(msg.sender == governance(), "!authorized");
        _;
    }

    modifier onlyKeepers() {
        require(
            msg.sender == keeper ||
                msg.sender == strategist ||
                msg.sender == governance() ||
                msg.sender == vault.guardian() ||
                msg.sender == vault.management(),
            "!authorized"
        );
        _;
    }

    constructor(address _vault) public {
        _initialize(_vault, msg.sender, msg.sender, msg.sender);
    }

    /**
     * @notice
     *  Initializes the Strategy, this is called only once, when the
     *  contract is deployed.
     * @dev `_vault` should implement `VaultAPI`.
     * @param _vault The address of the Vault responsible for this Strategy.
     */
    function _initialize(
        address _vault,
        address _strategist,
        address _rewards,
        address _keeper
    ) internal {
        require(address(want) == address(0), "Strategy already initialized");

        vault = VaultAPI(_vault);
        want = IERC20(vault.token());
        want.safeApprove(_vault, uint256(-1)); // Give Vault unlimited access (might save gas)
        strategist = _strategist;
        rewards = _rewards;
        keeper = _keeper;
        vault.approve(rewards, uint256(-1)); // Allow rewards to be pulled
    }

    /**
     * @notice
     *  Used to change `strategist`.
     *
     *  This may only be called by governance or the existing strategist.
     * @param _strategist The new address to assign as `strategist`.
     */
    function setStrategist(address _strategist) external onlyAuthorized {
        require(_strategist != address(0));
        strategist = _strategist;
        emit UpdatedStrategist(_strategist);
    }

    /**
     * @notice
     *  Used to change `keeper`.
     *
     *  `keeper` is the only address that may call `tend()` or `harvest()`,
     *  other than `governance()` or `strategist`. However, unlike
     *  `governance()` or `strategist`, `keeper` may *only* call `tend()`
     *  and `harvest()`, and no other authorized functions, following the
     *  principle of least privilege.
     *
     *  This may only be called by governance or the strategist.
     * @param _keeper The new address to assign as `keeper`.
     */
    function setKeeper(address _keeper) external onlyAuthorized {
        require(_keeper != address(0));
        keeper = _keeper;
        emit UpdatedKeeper(_keeper);
    }

    /**
     * @notice
     *  Used to change `rewards`. EOA or smart contract which has the permission
     *  to pull rewards from the vault.
     *
     *  This may only be called by the strategist.
     * @param _rewards The address to use for pulling rewards.
     */
    function setRewards(address _rewards) external onlyStrategist {
        require(_rewards != address(0));
        vault.approve(rewards, 0);
        rewards = _rewards;
        vault.approve(rewards, uint256(-1));
        emit UpdatedRewards(_rewards);
    }

    /**
     * @notice
     *  Used to change `minReportDelay`. `minReportDelay` is the minimum number
     *  of blocks that should pass for `harvest()` to be called.
     *
     *  For external keepers (such as the Keep3r network), this is the minimum
     *  time between jobs to wait. (see `harvestTrigger()`
     *  for more details.)
     *
     *  This may only be called by governance or the strategist.
     * @param _delay The minimum number of seconds to wait between harvests.
     */
    function setMinReportDelay(uint256 _delay) external onlyAuthorized {
        minReportDelay = _delay;
        emit UpdatedMinReportDelay(_delay);
    }

    /**
     * @notice
     *  Used to change `maxReportDelay`. `maxReportDelay` is the maximum number
     *  of blocks that should pass for `harvest()` to be called.
     *
     *  For external keepers (such as the Keep3r network), this is the maximum
     *  time between jobs to wait. (see `harvestTrigger()`
     *  for more details.)
     *
     *  This may only be called by governance or the strategist.
     * @param _delay The maximum number of seconds to wait between harvests.
     */
    function setMaxReportDelay(uint256 _delay) external onlyAuthorized {
        maxReportDelay = _delay;
        emit UpdatedMaxReportDelay(_delay);
    }

    /**
     * @notice
     *  Used to change `profitFactor`. `profitFactor` is used to determine
     *  if it's worthwhile to harvest, given gas costs. (See `harvestTrigger()`
     *  for more details.)
     *
     *  This may only be called by governance or the strategist.
     * @param _profitFactor A ratio to multiply anticipated
     * `harvest()` gas cost against.
     */
    function setProfitFactor(uint256 _profitFactor) external onlyAuthorized {
        profitFactor = _profitFactor;
        emit UpdatedProfitFactor(_profitFactor);
    }

    /**
     * @notice
     *  Sets how far the Strategy can go into loss without a harvest and report
     *  being required.
     *
     *  By default this is 0, meaning any losses would cause a harvest which
     *  will subsequently report the loss to the Vault for tracking. (See
     *  `harvestTrigger()` for more details.)
     *
     *  This may only be called by governance or the strategist.
     * @param _debtThreshold How big of a loss this Strategy may carry without
     * being required to report to the Vault.
     */
    function setDebtThreshold(uint256 _debtThreshold) external onlyAuthorized {
        debtThreshold = _debtThreshold;
        emit UpdatedDebtThreshold(_debtThreshold);
    }

    /**
     * @notice
     *  Used to change `metadataURI`. `metadataURI` is used to store the URI
     * of the file describing the strategy.
     *
     *  This may only be called by governance or the strategist.
     * @param _metadataURI The URI that describe the strategy.
     */
    function setMetadataURI(string calldata _metadataURI) external onlyAuthorized {
        metadataURI = _metadataURI;
        emit UpdatedMetadataURI(_metadataURI);
    }

    /**
     * Resolve governance address from Vault contract, used to make assertions
     * on protected functions in the Strategy.
     */
    function governance() internal view returns (address) {
        return vault.governance();
    }

    /**
     * @notice
     *  Provide an accurate estimate for the total amount of assets
     *  (principle + return) that this Strategy is currently managing,
     *  denominated in terms of `want` tokens.
     *
     *  This total should be "realizable" e.g. the total value that could
     *  *actually* be obtained from this Strategy if it were to divest its
     *  entire position based on current on-chain conditions.
     * @dev
     *  Care must be taken in using this function, since it relies on external
     *  systems, which could be manipulated by the attacker to give an inflated
     *  (or reduced) value produced by this function, based on current on-chain
     *  conditions (e.g. this function is possible to influence through
     *  flashloan attacks, oracle manipulations, or other DeFi attack
     *  mechanisms).
     *
     *  It is up to governance to use this function to correctly order this
     *  Strategy relative to its peers in the withdrawal queue to minimize
     *  losses for the Vault based on sudden withdrawals. This value should be
     *  higher than the total debt of the Strategy and higher than its expected
     *  value to be "safe".
     * @return The estimated total assets in this Strategy.
     */
    function estimatedTotalAssets() public virtual view returns (uint256);

    /*
     * @notice
     *  Provide an indication of whether this strategy is currently "active"
     *  in that it is managing an active position, or will manage a position in
     *  the future. This should correlate to `harvest()` activity, so that Harvest
     *  events can be tracked externally by indexing agents.
     * @return True if the strategy is actively managing a position.
     */
    function isActive() public view returns (bool) {
        return vault.strategies(address(this)).debtRatio > 0 || estimatedTotalAssets() > 0;
    }

    /**
     * Perform any Strategy unwinding or other calls necessary to capture the
     * "free return" this Strategy has generated since the last time its core
     * position(s) were adjusted. Examples include unwrapping extra rewards.
     * This call is only used during "normal operation" of a Strategy, and
     * should be optimized to minimize losses as much as possible.
     *
     * This method returns any realized profits and/or realized losses
     * incurred, and should return the total amounts of profits/losses/debt
     * payments (in `want` tokens) for the Vault's accounting (e.g.
     * `want.balanceOf(this) >= _debtPayment + _profit - _loss`).
     *
     * `_debtOutstanding` will be 0 if the Strategy is not past the configured
     * debt limit, otherwise its value will be how far past the debt limit
     * the Strategy is. The Strategy's debt limit is configured in the Vault.
     *
     * NOTE: `_debtPayment` should be less than or equal to `_debtOutstanding`.
     *       It is okay for it to be less than `_debtOutstanding`, as that
     *       should only used as a guide for how much is left to pay back.
     *       Payments should be made to minimize loss from slippage, debt,
     *       withdrawal fees, etc.
     *
     * See `vault.debtOutstanding()`.
     */
    function prepareReturn(uint256 _debtOutstanding)
        internal
        virtual
        returns (
            uint256 _profit,
            uint256 _loss,
            uint256 _debtPayment
        );

    /**
     * Perform any adjustments to the core position(s) of this Strategy given
     * what change the Vault made in the "investable capital" available to the
     * Strategy. Note that all "free capital" in the Strategy after the report
     * was made is available for reinvestment. Also note that this number
     * could be 0, and you should handle that scenario accordingly.
     *
     * See comments regarding `_debtOutstanding` on `prepareReturn()`.
     */
    function adjustPosition(uint256 _debtOutstanding) internal virtual;

    /**
     * Liquidate up to `_amountNeeded` of `want` of this strategy's positions,
     * irregardless of slippage. Any excess will be re-invested with `adjustPosition()`.
     * This function should return the amount of `want` tokens made available by the
     * liquidation. If there is a difference between them, `_loss` indicates whether the
     * difference is due to a realized loss, or if there is some other sitution at play
     * (e.g. locked funds) where the amount made available is less than what is needed.
     * This function is used during emergency exit instead of `prepareReturn()` to
     * liquidate all of the Strategy's positions back to the Vault.
     *
     * NOTE: The invariant `_liquidatedAmount + _loss <= _amountNeeded` should always be maintained
     */
    function liquidatePosition(uint256 _amountNeeded) internal virtual returns (uint256 _liquidatedAmount, uint256 _loss);

    /**
     * @notice
     *  Provide a signal to the keeper that `tend()` should be called. The
     *  keeper will provide the estimated gas cost that they would pay to call
     *  `tend()`, and this function should use that estimate to make a
     *  determination if calling it is "worth it" for the keeper. This is not
     *  the only consideration into issuing this trigger, for example if the
     *  position would be negatively affected if `tend()` is not called
     *  shortly, then this can return `true` even if the keeper might be
     *  "at a loss" (keepers are always reimbursed by Yearn).
     * @dev
     *  `callCost` must be priced in terms of `want`.
     *
     *  This call and `harvestTrigger()` should never return `true` at the same
     *  time.
     * @param callCost The keeper's estimated cast cost to call `tend()`.
     * @return `true` if `tend()` should be called, `false` otherwise.
     */
    function tendTrigger(uint256 callCost) public virtual view returns (bool) {
        // We usually don't need tend, but if there are positions that need
        // active maintainence, overriding this function is how you would
        // signal for that.
        return false;
    }

    /**
     * @notice
     *  Adjust the Strategy's position. The purpose of tending isn't to
     *  realize gains, but to maximize yield by reinvesting any returns.
     *
     *  See comments on `adjustPosition()`.
     *
     *  This may only be called by governance, the strategist, or the keeper.
     */
    function tend() external onlyKeepers {
        // Don't take profits with this call, but adjust for better gains
        adjustPosition(vault.debtOutstanding());
    }

    /**
     * @notice
     *  Provide a signal to the keeper that `harvest()` should be called. The
     *  keeper will provide the estimated gas cost that they would pay to call
     *  `harvest()`, and this function should use that estimate to make a
     *  determination if calling it is "worth it" for the keeper. This is not
     *  the only consideration into issuing this trigger, for example if the
     *  position would be negatively affected if `harvest()` is not called
     *  shortly, then this can return `true` even if the keeper might be "at a
     *  loss" (keepers are always reimbursed by Yearn).
     * @dev
     *  `callCost` must be priced in terms of `want`.
     *
     *  This call and `tendTrigger` should never return `true` at the
     *  same time.
     *
     *  See `min/maxReportDelay`, `profitFactor`, `debtThreshold` to adjust the
     *  strategist-controlled parameters that will influence whether this call
     *  returns `true` or not. These parameters will be used in conjunction
     *  with the parameters reported to the Vault (see `params`) to determine
     *  if calling `harvest()` is merited.
     *
     *  It is expected that an external system will check `harvestTrigger()`.
     *  This could be a script run off a desktop or cloud bot (e.g.
     *  https://github.com/iearn-finance/yearn-vaults/blob/master/scripts/keep.py),
     *  or via an integration with the Keep3r network (e.g.
     *  https://github.com/Macarse/GenericKeep3rV2/blob/master/contracts/keep3r/GenericKeep3rV2.sol).
     * @param callCost The keeper's estimated cast cost to call `harvest()`.
     * @return `true` if `harvest()` should be called, `false` otherwise.
     */
    function harvestTrigger(uint256 callCost) public virtual view returns (bool) {
        StrategyParams memory params = vault.strategies(address(this));

        // Should not trigger if Strategy is not activated
        if (params.activation == 0) return false;

        // Should not trigger if we haven't waited long enough since previous harvest
        if (block.timestamp.sub(params.lastReport) < minReportDelay) return false;

        // Should trigger if hasn't been called in a while
        if (block.timestamp.sub(params.lastReport) >= maxReportDelay) return true;

        // If some amount is owed, pay it back
        // NOTE: Since debt is based on deposits, it makes sense to guard against large
        //       changes to the value from triggering a harvest directly through user
        //       behavior. This should ensure reasonable resistance to manipulation
        //       from user-initiated withdrawals as the outstanding debt fluctuates.
        uint256 outstanding = vault.debtOutstanding();
        if (outstanding > debtThreshold) return true;

        // Check for profits and losses
        uint256 total = estimatedTotalAssets();
        // Trigger if we have a loss to report
        if (total.add(debtThreshold) < params.totalDebt) return true;

        uint256 profit = 0;
        if (total > params.totalDebt) profit = total.sub(params.totalDebt); // We've earned a profit!

        // Otherwise, only trigger if it "makes sense" economically (gas cost
        // is <N% of value moved)
        uint256 credit = vault.creditAvailable();
        return (profitFactor.mul(callCost) < credit.add(profit));
    }

    /**
     * @notice
     *  Harvests the Strategy, recognizing any profits or losses and adjusting
     *  the Strategy's position.
     *
     *  In the rare case the Strategy is in emergency shutdown, this will exit
     *  the Strategy's position.
     *
     *  This may only be called by governance, the strategist, or the keeper.
     * @dev
     *  When `harvest()` is called, the Strategy reports to the Vault (via
     *  `vault.report()`), so in some cases `harvest()` must be called in order
     *  to take in profits, to borrow newly available funds from the Vault, or
     *  otherwise adjust its position. In other cases `harvest()` must be
     *  called to report to the Vault on the Strategy's position, especially if
     *  any losses have occurred.
     */
    function harvest() external onlyKeepers {
        uint256 profit = 0;
        uint256 loss = 0;
        uint256 debtOutstanding = vault.debtOutstanding();
        uint256 debtPayment = 0;
        if (emergencyExit) {
            // Free up as much capital as possible
            uint256 totalAssets = estimatedTotalAssets();
            // NOTE: use the larger of total assets or debt outstanding to book losses properly
            (debtPayment, loss) = liquidatePosition(totalAssets > debtOutstanding ? totalAssets : debtOutstanding);
            // NOTE: take up any remainder here as profit
            if (debtPayment > debtOutstanding) {
                profit = debtPayment.sub(debtOutstanding);
                debtPayment = debtOutstanding;
            }
        } else {
            // Free up returns for Vault to pull
            (profit, loss, debtPayment) = prepareReturn(debtOutstanding);
        }

        // Allow Vault to take up to the "harvested" balance of this contract,
        // which is the amount it has earned since the last time it reported to
        // the Vault.
        debtOutstanding = vault.report(profit, loss, debtPayment);

        // Check if free returns are left, and re-invest them
        adjustPosition(debtOutstanding);

        emit Harvested(profit, loss, debtPayment, debtOutstanding);
    }

    /**
     * @notice
     *  Withdraws `_amountNeeded` to `vault`.
     *
     *  This may only be called by the Vault.
     * @param _amountNeeded How much `want` to withdraw.
     * @return _loss Any realized losses
     */
    function withdraw(uint256 _amountNeeded) external returns (uint256 _loss) {
        require(msg.sender == address(vault), "!vault");
        // Liquidate as much as possible to `want`, up to `_amountNeeded`
        uint256 amountFreed;
        (amountFreed, _loss) = liquidatePosition(_amountNeeded);
        // Send it directly back (NOTE: Using `msg.sender` saves some gas here)
        want.safeTransfer(msg.sender, amountFreed);
        // NOTE: Reinvest anything leftover on next `tend`/`harvest`
    }

    /**
     * Do anything necessary to prepare this Strategy for migration, such as
     * transferring any reserve or LP tokens, CDPs, or other tokens or stores of
     * value.
     */
    function prepareMigration(address _newStrategy) internal virtual;

    /**
     * @notice
     *  Transfers all `want` from this Strategy to `_newStrategy`.
     *
     *  This may only be called by governance or the Vault.
     * @dev
     *  The new Strategy's Vault must be the same as this Strategy's Vault.
     * @param _newStrategy The Strategy to migrate to.
     */
    function migrate(address _newStrategy) external {
        require(msg.sender == address(vault) || msg.sender == governance());
        require(BaseStrategy(_newStrategy).vault() == vault);
        prepareMigration(_newStrategy);
        want.safeTransfer(_newStrategy, want.balanceOf(address(this)));
    }

    /**
     * @notice
     *  Activates emergency exit. Once activated, the Strategy will exit its
     *  position upon the next harvest, depositing all funds into the Vault as
     *  quickly as is reasonable given on-chain conditions.
     *
     *  This may only be called by governance or the strategist.
     * @dev
     *  See `vault.setEmergencyShutdown()` and `harvest()` for further details.
     */
    function setEmergencyExit() external onlyAuthorized {
        emergencyExit = true;
        vault.revokeStrategy();

        emit EmergencyExitEnabled();
    }

    /**
     * Override this to add all tokens/tokenized positions this contract
     * manages on a *persistent* basis (e.g. not just for swapping back to
     * want ephemerally).
     *
     * NOTE: Do *not* include `want`, already included in `sweep` below.
     *
     * Example:
     *
     *    function protectedTokens() internal override view returns (address[] memory) {
     *      address[] memory protected = new address[](3);
     *      protected[0] = tokenA;
     *      protected[1] = tokenB;
     *      protected[2] = tokenC;
     *      return protected;
     *    }
     */
    function protectedTokens() internal virtual view returns (address[] memory);

    /**
     * @notice
     *  Removes tokens from this Strategy that are not the type of tokens
     *  managed by this Strategy. This may be used in case of accidentally
     *  sending the wrong kind of token to this Strategy.
     *
     *  Tokens will be sent to `governance()`.
     *
     *  This will fail if an attempt is made to sweep `want`, or any tokens
     *  that are protected by this Strategy.
     *
     *  This may only be called by governance.
     * @dev
     *  Implement `protectedTokens()` to specify any additional tokens that
     *  should be protected from sweeping in addition to `want`.
     * @param _token The token to transfer out of this vault.
     */
    function sweep(address _token) external onlyGovernance {
        require(_token != address(want), "!want");
        require(_token != address(vault), "!shares");

        address[] memory _protectedTokens = protectedTokens();
        for (uint256 i; i < _protectedTokens.length; i++) require(_token != _protectedTokens[i], "!protected");

        IERC20(_token).safeTransfer(governance(), IERC20(_token).balanceOf(address(this)));
    }
}

// File: StrategyConvexsETH.sol

/* ========== CONTRACT ========== */

contract StrategyConvexsETH is BaseStrategy {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    ICurveFi public constant curve =
        ICurveFi(0xc5424B857f758E906013F3555Dad202e4bdB4567); // Curve sETH Pool, need this for buying more pool tokens
    address public crvRouter = 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F; // default to sushiswap, more CRV liquidity there
    address public cvxRouter = 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F; // default to sushiswap, more CVX liquidity there
    address public constant voter = 0xF147b8125d2ef93FB6965Db97D6746952a133934; // Yearn's veCRV voter, we send some extra CRV here
    address[] public crvPath; // path to sell CRV
    address[] public convexTokenPath; // path to sell CVX

    address public depositContract = 0xF403C135812408BFbE8713b5A23a04b3D48AAE31; // this is the deposit contract that all pools use, aka booster
    address public rewardsContract = 0x192469CadE297D6B21F418cFA8c366b63FFC9f9b; // This is unique to each curve pool, this one is for sETH pool
    uint256 public pid = 23; // this is unique to each pool, this is the one for sETH, aka eCRV

    // Swap stuff
    uint256 public keepCRV = 1000; // the percentage of CRV we re-lock for boost (in basis points)
    uint256 public constant FEE_DENOMINATOR = 10000; // with this and the above, sending 10% of our CRV yield to our voter

    ICrvV3 public constant crv =
        ICrvV3(0xD533a949740bb3306d119CC777fa900bA034cd52);
    IERC20 public constant convexToken =
        IERC20(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B);
    IERC20 public constant weth =
        IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
    IERC20 public constant dai =
        IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);

    uint256 public USE_SUSHI = 1; // if 1, use sushiswap as our router for CRV or CVX sells
    address public constant sushiswapRouter =
        0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F;
    address public constant uniswapRouter =
        0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

    // convex-specific variables
    bool public harvestExtras = true; // boolean to determine if we should always claim extra rewards during getReward (generally this should be true)
    bool public claimRewards = false; // boolean if we should always claim rewards when withdrawing, usually withdrawAndUnwrap (generally this should be false)

    // Keep3r stuff
    uint256 public manualKeep3rHarvest; // this is used in case we want to manually trigger a keep3r harvest since they are cheaper than a strategist harvest
    uint256 public harvestProfitFactor; // the multiple that our harvest profit needs to be compared to harvest cost for it to trigger
    uint256 public tendCounter; // track our tendies
    uint256 public tendsPerHarvest; // how many tends we call before we harvest. set to 0 to never call tends.
    uint256 internal harvestNow; // 0 for false, 1 for true if we are mid-harvest. this is used to differentiate tends vs harvests in adjustPosition

    constructor(address _vault) public BaseStrategy(_vault) {
        // You can set these parameters on deployment to whatever you want
        minReportDelay = 0;
        maxReportDelay = 172800; // 2 days in seconds, if we hit this then harvestTrigger = True
        debtThreshold = 1000 * 1e18; // we shouldn't ever have debt, but set a bit of a buffer
        profitFactor = 4000; // in this strategy, profitFactor is only used for telling keep3rs when to move funds from vault to strategy (what previously was an earn call)

        // want = crvSETH, sETH curve pool (sETH + ETH)
        want.safeApprove(address(depositContract), type(uint256).max);

        // add approvals for crv on sushiswap and uniswap due to weird crv approval issues for setCrvRouter
        // add approvals on all tokens. since we use ETH to deposit to Curve pool, we don't need approvals for it
        IERC20(address(crv)).safeApprove(uniswapRouter, type(uint256).max);
        IERC20(address(crv)).safeApprove(sushiswapRouter, type(uint256).max);
        convexToken.safeApprove(uniswapRouter, type(uint256).max);
        convexToken.safeApprove(sushiswapRouter, type(uint256).max);

        // crv token path
        crvPath = new address[](2);
        crvPath[0] = address(crv);
        crvPath[1] = address(weth);

        // convex token path
        convexTokenPath = new address[](2);
        convexTokenPath[0] = address(convexToken);
        convexTokenPath[1] = address(weth);
    }

    function name() external view override returns (string memory) {
        return "StrategyConvexsETH";
    }

    // total assets held by strategy. loose funds in strategy and all staked funds
    function estimatedTotalAssets() public view override returns (uint256) {
        return
            IConvexRewards(rewardsContract).balanceOf(address(this)).add(
                want.balanceOf(address(this))
            );
    }

    function prepareReturn(uint256 _debtOutstanding)
        internal
        override
        returns (
            uint256 _profit,
            uint256 _loss,
            uint256 _debtPayment
        )
    {
        // TODO: Do stuff here to free up any returns back into `want`
        // NOTE: Return `_profit` which is value generated by all positions, priced in `want`
        // NOTE: Should try to free up at least `_debtOutstanding` of underlying position

        // if we have anything staked, then harvest CRV and CVX from the rewards contract
        uint256 stakedTokens =
            IConvexRewards(rewardsContract).balanceOf(address(this));
        uint256 claimableTokens =
            IConvexRewards(rewardsContract).earned(address(this));
        if (stakedTokens > 0 && claimableTokens > 0) {
            // this claims our CRV, CVX, and any extra tokens like SNX or ANKR
            // if for some reason we don't want extra rewards, make sure we don't harvest them
            IConvexRewards(rewardsContract).getReward(
                address(this),
                harvestExtras
            );

            uint256 crvBalance = crv.balanceOf(address(this));
            uint256 convexBalance = convexToken.balanceOf(address(this));

            uint256 _keepCRV = crvBalance.mul(keepCRV).div(FEE_DENOMINATOR);
            IERC20(address(crv)).safeTransfer(voter, _keepCRV);
            uint256 crvRemainder = crvBalance.sub(_keepCRV);

            _sellCrv(crvRemainder);
            if (convexBalance > 0) _sellConvex(convexBalance);

            uint256 ethBalance = address(this).balance;
            if (ethBalance > 0) {
                curve.add_liquidity{value: ethBalance}([ethBalance, 0], 0);
            }
        }
        // this is a harvest, so set our switch equal to 1 so this
        // performs as a harvest the whole way through
        harvestNow = 1;

        // if this was the result of a manual keep3r harvest, then reset our trigger
        if (manualKeep3rHarvest == 1) manualKeep3rHarvest = 0;

        // serious loss should never happen, but if it does (for instance, if Curve is hacked), let's record it accurately
        uint256 assets = estimatedTotalAssets();
        uint256 debt = vault.strategies(address(this)).totalDebt;

        // if assets are greater than debt, things are working great!
        if (assets > debt) {
            _profit = want.balanceOf(address(this));
        } else {
            // if assets are less than debt, we are in trouble
            _loss = debt.sub(assets);
            _profit = 0;
        }

        // debtOustanding will only be > 0 in the event of revoking or lowering debtRatio of a strategy
        if (_debtOutstanding > 0) {
            IConvexRewards(rewardsContract).withdrawAndUnwrap(
                Math.min(stakedTokens, _debtOutstanding),
                claimRewards
            );

            _debtPayment = Math.min(
                _debtOutstanding,
                want.balanceOf(address(this))
            );
        }
    }

    function adjustPosition(uint256 _debtOutstanding) internal override {
        if (emergencyExit) {
            return;
        }

        if (harvestNow == 1) {
            // if this is part of a harvest call, send all of our Iron Bank pool tokens to be deposited
            uint256 _toInvest = want.balanceOf(address(this));
            // deposit into convex and stake immediately but only if we have something to invest
            if (_toInvest > 0)
                IConvexDeposit(depositContract).deposit(pid, _toInvest, true);
            // since we've completed our harvest call, reset our tend counter and our harvest now
            tendCounter = 0;
            harvestNow = 0;
        } else {
            // This is our tend call. If we have anything staked, then harvest CRV and CVX from the rewards contract
            uint256 stakedTokens =
                IConvexRewards(rewardsContract).balanceOf(address(this));
            uint256 claimableTokens =
                IConvexRewards(rewardsContract).earned(address(this));
            if (stakedTokens > 0 && claimableTokens > 0) {
                // if for some reason we don't want extra rewards, make sure we don't harvest them
                IConvexRewards(rewardsContract).getReward(
                    address(this),
                    harvestExtras
                );

                uint256 crvBalance = crv.balanceOf(address(this));
                uint256 convexBalance = convexToken.balanceOf(address(this));

                uint256 _keepCRV = crvBalance.mul(keepCRV).div(FEE_DENOMINATOR);
                IERC20(address(crv)).safeTransfer(voter, _keepCRV);
                uint256 crvRemainder = crvBalance.sub(_keepCRV);

                _sellCrv(crvRemainder);
                if (convexBalance > 0) _sellConvex(convexBalance);
                // increase our tend counter by 1 so we can know when we should harvest again
                uint256 previousTendCounter = tendCounter;
                tendCounter = previousTendCounter.add(1);
            }
        }
    }

    function liquidatePosition(uint256 _amountNeeded)
        internal
        override
        returns (uint256 _liquidatedAmount, uint256 _loss)
    {
        uint256 wantBal = want.balanceOf(address(this));
        if (_amountNeeded > wantBal) {
            uint256 stakedTokens =
                IConvexRewards(rewardsContract).balanceOf(address(this));
            IConvexRewards(rewardsContract).withdrawAndUnwrap(
                Math.min(stakedTokens, _amountNeeded - wantBal),
                claimRewards
            );

            uint256 withdrawnBal = want.balanceOf(address(this));
            _liquidatedAmount = Math.min(_amountNeeded, withdrawnBal);

            // if _amountNeeded != withdrawnBal, then we have an error
            if (_amountNeeded != withdrawnBal) {
                uint256 assets = estimatedTotalAssets();
                uint256 debt = vault.strategies(address(this)).totalDebt;
                _loss = debt.sub(assets);
            }
        } else {
            // we have enough balance to cover the liquidation available
            return (_amountNeeded, 0);
        }
    }

    // Sells our harvested CRV into the selected output (ETH).
    function _sellCrv(uint256 _crvAmount) internal {
        IUniswapV2Router02(crvRouter).swapExactTokensForETH(
            _crvAmount,
            uint256(0),
            crvPath,
            address(this),
            now
        );
    }

    // Sells our harvested CVX into the selected output (ETH).
    function _sellConvex(uint256 _convexAmount) internal {
        IUniswapV2Router02(cvxRouter).swapExactTokensForETH(
            _convexAmount,
            uint256(0),
            convexTokenPath,
            address(this),
            now
        );
    }

    // in case we need to exit into the convex deposit token, this will allow us to do that
    // make sure to check claimRewards before this step if needed
    // plan to have gov sweep convex deposit tokens from strategy after this
    function withdrawToConvexDepositTokens() external onlyAuthorized {
        uint256 stakedTokens =
            IConvexRewards(rewardsContract).balanceOf(address(this));
        IConvexRewards(rewardsContract).withdraw(stakedTokens, claimRewards);
    }

    // migrate our want token to a new strategy if needed, make sure to check claimRewards first
    // also send over any CRV or CVX that is claimed; for migrations we definitely want to claim
    function prepareMigration(address _newStrategy) internal override {
        uint256 stakedTokens =
            IConvexRewards(rewardsContract).balanceOf(address(this));
        if (stakedTokens > 0) {
            IConvexRewards(rewardsContract).withdrawAndUnwrap(
                stakedTokens,
                claimRewards
            );
        }
        IERC20(address(crv)).safeTransfer(
            _newStrategy,
            crv.balanceOf(address(this))
        );
        IERC20(address(convexToken)).safeTransfer(
            _newStrategy,
            convexToken.balanceOf(address(this))
        );
    }

    // we don't want for these tokens to be swept out. We allow gov to sweep out cvx vault tokens; we would only be holding these if things were really, really rekt.
    function protectedTokens()
        internal
        view
        override
        returns (address[] memory)
    {
        address[] memory protected = new address[](2);
        protected[0] = address(convexToken);
        protected[1] = address(crv);

        return protected;
    }

    /* ========== KEEP3RS ========== */

    function harvestTrigger(uint256 callCostinEth)
        public
        view
        override
        returns (bool)
    {
        StrategyParams memory params = vault.strategies(address(this));

        // have a manual toggle switch if needed since keep3rs are more efficient than manual harvest
        if (manualKeep3rHarvest == 1) return true;

        // Should not trigger if Strategy is not activated
        if (params.activation == 0) return false;

        // Should not trigger if we haven't waited long enough since previous harvest
        if (block.timestamp.sub(params.lastReport) < minReportDelay)
            return false;

        // Should trigger if hasn't been called in a while
        if (block.timestamp.sub(params.lastReport) >= maxReportDelay)
            return true;

        // If some amount is owed, pay it back
        // NOTE: Since debt is based on deposits, it makes sense to guard against large
        //       changes to the value from triggering a harvest directly through user
        //       behavior. This should ensure reasonable resistance to manipulation
        //       from user-initiated withdrawals as the outstanding debt fluctuates.
        uint256 outstanding = vault.debtOutstanding();
        if (outstanding > debtThreshold) return true;

        // Check for profits and losses
        uint256 total = estimatedTotalAssets();
        // Trigger if we have a loss to report
        if (total.add(debtThreshold) < params.totalDebt) return true;

        // no need to spend the gas to harvest every time; tend is much cheaper
        if (tendCounter < tendsPerHarvest) return false;

        // Trigger if it makes sense for the vault to send funds idle funds from the vault to the strategy, or to harvest.
        uint256 profit = 0;
        if (total > params.totalDebt) profit = total.sub(params.totalDebt); // We've earned a profit!

        // calculate how much the call costs in dollars (converted from ETH)
        uint256 callCost = ethToDollaBill(callCostinEth);

        // check if it makes sense to send funds from vault to strategy
        uint256 credit = vault.creditAvailable();
        if (profitFactor.mul(callCost) < credit.add(profit)) return true;

        // calculate how much profit we'll make if we harvest
        uint256 harvestProfit = claimableProfitInDolla();

        // check if we make enough from this to justify the harvest call
        return (harvestProfitFactor.mul(callCost)) < harvestProfit;
    }

    // set what will trigger keepers to call tend, which will harvest and sell CRV for optimal asset but not deposit or report profits
    function tendTrigger(uint256 callCostinEth)
        public
        view
        override
        returns (bool)
    {
        // we need to call a harvest every once in a while, every tendsPerHarvest number of tends
        if (tendCounter >= tendsPerHarvest) return false;

        StrategyParams memory params = vault.strategies(address(this));
        // Tend should trigger once it has been the minimum time between harvests divided by 1+tendsPerHarvest to space out tends equally
        // we multiply this number by the current tendCounter+1 to know where we are in time
        // we are assuming here that keepers will essentially call tend as soon as this is true
        if (
            block.timestamp.sub(params.lastReport) >
            (
                minReportDelay.div(
                    (tendCounter.add(1)).mul(tendsPerHarvest.add(1))
                )
            )
        ) return true;
    }

    // convert our keeper's eth cost into dai
    function ethToDollaBill(uint256 _ethAmount)
        internal
        view
        returns (uint256)
    {
        address[] memory ethPath = new address[](2);
        ethPath[0] = address(weth);
        ethPath[1] = address(dai);

        uint256[] memory callCostInDai =
            IUniswapV2Router02(crvRouter).getAmountsOut(_ethAmount, ethPath);

        return callCostInDai[callCostInDai.length - 1];
    }

    // convert our unsold CRV and CVX into USD profit for our keep3r
    function claimableProfitInDolla() internal view returns (uint256) {
        uint256 claimableCrv =
            IConvexRewards(rewardsContract).earned(address(this)); // how much CRV we can claim from the staking contract

        // calculations pulled directly from CVX's contract for minting CVX per CRV claimed
        uint256 totalCliffs = 1000;
        uint256 maxSupply = 100 * 1000000 * 1e18; // 100mil
        uint256 reductionPerCliff = 100000000000000000000000; // 100,000
        uint256 supply = convexToken.totalSupply();
        uint256 mintableCvx;

        uint256 cliff = supply.div(reductionPerCliff);
        //mint if below total cliffs
        if (cliff < totalCliffs) {
            //for reduction% take inverse of current cliff
            uint256 reduction = totalCliffs.sub(cliff);
            //reduce
            mintableCvx = claimableCrv.mul(reduction).div(totalCliffs);

            //supply cap check
            uint256 amtTillMax = maxSupply.sub(supply);
            if (mintableCvx > amtTillMax) {
                mintableCvx = amtTillMax;
            }
        }
        uint256 crvValue;
        if (claimableCrv > 0) {
                uint256[] memory crvSwap =
                IUniswapV2Router02(crvRouter).getAmountsOut(claimableCrv, crvPath);
                crvValue = crvSwap[1];
        }

        uint256 cvxValue;
        if (mintableCvx > 0) {
            uint256[] memory cvxSwap =
                IUniswapV2Router02(cvxRouter).getAmountsOut(
                    mintableCvx,
                    convexTokenPath
                );
            cvxValue = cvxSwap[1];
        }
        return (crvValue.add(cvxValue)).mul(ethToDollaBill(1e18).div(1e18)); // dollar value of our harvest
    }

    // set number of tends before we call our next harvest
    function setTendsPerHarvest(uint256 _tendsPerHarvest)
        external
        onlyAuthorized
    {
        tendsPerHarvest = _tendsPerHarvest;
    }

    // set this to 1 if we want our keep3rs to manually harvest the strategy; keep3r harvest is more cost-efficient than strategist harvest
    function setKeep3rHarvest(uint256 _setKeep3rHarvest)
        external
        onlyAuthorized
    {
        manualKeep3rHarvest = _setKeep3rHarvest;
    }

    /* ========== SETTERS ========== */

    // These functions are useful for setting parameters of the strategy that may need to be adjusted.

    // Set the amount of CRV to be locked in Yearn's veCRV voter from each harvest. Default is 10%.
    function setKeepCRV(uint256 _keepCRV) external onlyGovernance {
        keepCRV = _keepCRV;
    }

    // 1 is for TRUE value and 0 for FALSE to keep in sync with binary convention
    // Use SushiSwap for CRV Router = 1;
    // Use Uniswap for CRV Router = 0 (or anything else);
    function setCrvRouter(uint256 _isSushiswap) external onlyAuthorized {
        if (_isSushiswap == USE_SUSHI) {
            crvRouter = sushiswapRouter;
        } else {
            crvRouter = uniswapRouter;
        }
    }

    // 1 is for TRUE value and 0 for FALSE to keep in sync with binary convention
    // Use SushiSwap for CVX Router = 1;
    // Use Uniswap for CVX Router = 0 (or anything else);
    function setCvxRouter(uint256 _isSushiswap) external onlyAuthorized {
        if (_isSushiswap == USE_SUSHI) {
            cvxRouter = sushiswapRouter;
        } else {
            cvxRouter = uniswapRouter;
        }
    }

    // Unless contract is borked for some reason, we should always harvest extra tokens
    function setHarvestExtras(bool _harvestExtras) external onlyAuthorized {
        harvestExtras = _harvestExtras;
    }

    // We usually don't need to claim rewards on withdrawals, but might change our mind for migrations etc
    function setClaimRewards(bool _claimRewards) external onlyAuthorized {
        claimRewards = _claimRewards;
    }

    // set this to the multiple we want to make on our harvests vs the cost
    function setHarvestProfitFactor(uint256 _harvestProfitFactor)
        external
        onlyAuthorized
    {
        harvestProfitFactor = _harvestProfitFactor;
    }

    // allow our contract to receive ETH (gimme dat future of france, plz)
    receive() external payable {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"EmergencyExitEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"profit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"loss","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"debtPayment","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"debtOutstanding","type":"uint256"}],"name":"Harvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"debtThreshold","type":"uint256"}],"name":"UpdatedDebtThreshold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newKeeper","type":"address"}],"name":"UpdatedKeeper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"delay","type":"uint256"}],"name":"UpdatedMaxReportDelay","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"metadataURI","type":"string"}],"name":"UpdatedMetadataURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"delay","type":"uint256"}],"name":"UpdatedMinReportDelay","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"profitFactor","type":"uint256"}],"name":"UpdatedProfitFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"rewards","type":"address"}],"name":"UpdatedRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStrategist","type":"address"}],"name":"UpdatedStrategist","type":"event"},{"inputs":[],"name":"FEE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USE_SUSHI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apiVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convexToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"convexTokenPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"contract ICrvV3","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"crvPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curve","outputs":[{"internalType":"contract ICurveFi","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dai","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delegatedAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyExit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"estimatedTotalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestExtras","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestProfitFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"callCostinEth","type":"uint256"}],"name":"harvestTrigger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keepCRV","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualKeep3rHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReportDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newStrategy","type":"address"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minReportDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"profitFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimRewards","type":"bool"}],"name":"setClaimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_isSushiswap","type":"uint256"}],"name":"setCrvRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_isSushiswap","type":"uint256"}],"name":"setCvxRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_debtThreshold","type":"uint256"}],"name":"setDebtThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setEmergencyExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvestExtras","type":"bool"}],"name":"setHarvestExtras","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_harvestProfitFactor","type":"uint256"}],"name":"setHarvestProfitFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_setKeep3rHarvest","type":"uint256"}],"name":"setKeep3rHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_keepCRV","type":"uint256"}],"name":"setKeepCRV","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_delay","type":"uint256"}],"name":"setMaxReportDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadataURI","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_delay","type":"uint256"}],"name":"setMinReportDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_profitFactor","type":"uint256"}],"name":"setProfitFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewards","type":"address"}],"name":"setRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tendsPerHarvest","type":"uint256"}],"name":"setTendsPerHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tendCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"callCostinEth","type":"uint256"}],"name":"tendTrigger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tendsPerHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"contract VaultAPI","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountNeeded","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"_loss","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawToConvexDepositTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260006006819055620151806007556064600855600955600a8054610100600160a81b03191674d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00179055600b805473d9e1ce17f2641f24ae83637ab66a2cca9c378b9f6001600160a01b031991821617909155600e805473f403c135812408bfbe8713b5a23a04b3d48aae31908316179055600f805473192469cade297d6b21f418cfa8c366b63ffc9f9b921691909117905560176010556103e8601155600160128190556013805460ff191690911761ff0019169055348015620000dc57600080fd5b50604051620055bb380380620055bb833981016040819052620000ff9162000943565b806200010e813380806200041a565b5060006006556202a300600755683635c9adc5dea00000600955610fa0600855600e546005546200015b916001600160a01b039182169116600019620005e9602090811b620026fa17901c565b6200019e73d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d600019620005e9602090811b620026fa17901c565b620001e173d533a949740bb3306d119cc777fa900ba034cd5273d9e1ce17f2641f24ae83637ab66a2cca9c378b9f600019620005e9602090811b620026fa17901c565b62000224734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b737a250d5630b4cf539739df2c5dacb4c659f2488d600019620005e9602090811b620026fa17901c565b62000267734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73d9e1ce17f2641f24ae83637ab66a2cca9c378b9f600019620005e9602090811b620026fa17901c565b6040805160028082526060820183529091602083019080368337505081516200029892600c925060200190620008b8565b5073d533a949740bb3306d119cc777fa900ba034cd52600c600081548110620002bd57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600c6001815481106200030f57fe5b600091825260209091200180546001600160a01b03929092166001600160a01b03199092169190911790556040805160028082526060820190925290816020016020820280368337505081516200036e92600d925060200190620008b8565b50734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b600d6000815481106200039357fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600d600181548110620003e557fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505062000b7c565b6005546001600160a01b0316156200044f5760405162461bcd60e51b8152600401620004469062000a34565b60405180910390fd5b600180546001600160a01b0319166001600160a01b03868116919091179182905560408051637e062a3560e11b81529051929091169163fc0c546a91600480820192602092909190829003018186803b158015620004ac57600080fd5b505afa158015620004c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e7919062000943565b600580546001600160a01b0319166001600160a01b03928316179081905562000521911685600019620005e9602090811b620026fa17901c565b600280546001600160a01b038086166001600160a01b03199283161790925560038054858416908316179081905560048054858516931692909217825560015460405163095ea7b360e01b81529084169363095ea7b3936200058c93909116916000199101620009e6565b602060405180830381600087803b158015620005a757600080fd5b505af1158015620005bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e2919062000973565b5050505050565b801580620006785750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90620006229030908690600401620009cc565b60206040518083038186803b1580156200063b57600080fd5b505afa15801562000650573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000676919062000995565b155b620006975760405162461bcd60e51b8152600401620004469062000aec565b620006f28363095ea7b360e01b8484604051602401620006b9929190620009e6565b60408051808303601f190181529190526020810180516001600160e01b0319939093166001600160e01b0393841617905290620006f716565b505050565b606062000753826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200079360201b620027f9179092919060201c565b805190915015620006f2578080602001905181019062000774919062000973565b620006f25760405162461bcd60e51b8152600401620004469062000aa2565b6060620007a48484600085620007ac565b949350505050565b6060620007b9856200087e565b620007d85760405162461bcd60e51b8152600401620004469062000a6b565b60006060866001600160a01b03168587604051620007f79190620009ae565b60006040518083038185875af1925050503d806000811462000836576040519150601f19603f3d011682016040523d82523d6000602084013e6200083b565b606091505b5091509150811562000851579150620007a49050565b805115620008625780518082602001fd5b8360405162461bcd60e51b8152600401620004469190620009ff565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590620007a4575050151592915050565b82805482825590600052602060002090810192821562000910579160200282015b828111156200091057825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620008d9565b506200091e92915062000922565b5090565b5b808211156200091e5780546001600160a01b031916815560010162000923565b60006020828403121562000955578081fd5b81516001600160a01b03811681146200096c578182fd5b9392505050565b60006020828403121562000985578081fd5b815180151581146200096c578182fd5b600060208284031215620009a7578081fd5b5051919050565b60008251620009c281846020870162000b49565b9190910192915050565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b600060208252825180602084015262000a2081604085016020870162000b49565b601f01601f19169190910160400192915050565b6020808252601c908201527f537472617465677920616c726561647920696e697469616c697a656400000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606082015260800190565b60005b8381101562000b6657818101518382015260200162000b4c565b8381111562000b76576000848401525b50505050565b614a2f8062000b8c6000396000f3fe6080604052600436106103d25760003560e01c80637b51d24c116101fd578063ce5494bb11610118578063ed882c2b116100ab578063f10684541161007a578063f1068454146109fb578063f4b9fa7514610a10578063fbfa77cf14610a25578063fcf2d0ad14610a3a578063fd82d58b14610a4f576103d9565b8063ed882c2b14610986578063eef2d86a146109a6578063efbb5cb0146109c6578063f017c92f146109db576103d9565b8063e89133b2116100e7578063e89133b214610927578063e9240c2d1461093c578063e94ad65b14610951578063ec38a86214610966576103d9565b8063ce5494bb146108b2578063d52f8ec8146108d2578063d73792a9146108f2578063e5af8bfe14610907576103d9565b8063955383bd11610190578063a98f92961161015f578063a98f92961461083d578063aced16611461085d578063ad40950014610872578063c7b9d53014610892576103d9565b8063955383bd146107de57806395e80c50146107fe5780639ec5a89414610813578063a1fa2c6514610828576103d9565b80638a2bd25c116101cc5780638a2bd25c146107745780638cdfe166146107945780638e6350e2146107a957806391397ab4146107be576103d9565b80637b51d24c146107155780637f173559146107355780637fef901a1461074a578063893f10681461075f576103d9565b806339a172a8116102ed578063650d1880116102805780637165485d1161024f5780637165485d146106ab578063735de9f7146106c0578063748747e6146106d5578063750521f5146106f5576103d9565b8063650d18801461064157806369a7f7f5146106615780636a4874a1146106815780637062d39e14610696576103d9565b806346c96aac116102bc57806346c96aac146105ed5780634c04e59e146106025780635641ec03146106175780635e1b5b601461062c576103d9565b806339a172a81461058e5780633fc8cef3146105ae578063440368a3146105c35780634641257d146105d8576103d9565b8063220cce97116103655780632e1a7d4d116103345780632e1a7d4d1461052f57806334659dc51461054f57806334fe1d6414610564578063372500ab14610579576103d9565b8063220cce97146104ce57806322f3e2d4146104e3578063258294101461050557806328b7ccf71461051a576103d9565b80630f969b87116103a15780630f969b87146104625780631d12f28b146104825780631f1fcd51146104975780631fe4a686146104b9576103d9565b806301681a62146103de57806303ee438c1461040057806306fdde031461042b5780630ce008e014610440576103d9565b366103d957005b600080fd5b3480156103ea57600080fd5b506103fe6103f93660046142ac565b610a6f565b005b34801561040c57600080fd5b50610415610c0e565b6040516104229190614602565b60405180910390f35b34801561043757600080fd5b50610415610c9c565b34801561044c57600080fd5b50610455610cc8565b6040516104229190614852565b34801561046e57600080fd5b506103fe61047d36600461449c565b610cce565b34801561048e57600080fd5b50610455610d5b565b3480156104a357600080fd5b506104ac610d61565b604051610422919061452e565b3480156104c557600080fd5b506104ac610d70565b3480156104da57600080fd5b506104ac610d7f565b3480156104ef57600080fd5b506104f8610d8e565b60405161042291906145c8565b34801561051157600080fd5b50610415610e30565b34801561052657600080fd5b50610455610e4f565b34801561053b57600080fd5b5061045561054a36600461449c565b610e55565b34801561055b57600080fd5b506103fe610eb0565b34801561057057600080fd5b5061045561100f565b34801561058557600080fd5b506104f8611015565b34801561059a57600080fd5b506103fe6105a936600461449c565b611023565b3480156105ba57600080fd5b506104ac6110a5565b3480156105cf57600080fd5b506103fe6110bd565b3480156105e457600080fd5b506103fe6112e6565b3480156105f957600080fd5b506104ac611650565b34801561060e57600080fd5b506104ac611668565b34801561062357600080fd5b506104f8611677565b34801561063857600080fd5b50610455611680565b34801561064d57600080fd5b506104f861065c36600461449c565b611686565b34801561066d57600080fd5b506103fe61067c36600461449c565b611780565b34801561068d57600080fd5b506104ac61182c565b3480156106a257600080fd5b506104f8611844565b3480156106b757600080fd5b506104ac61184d565b3480156106cc57600080fd5b506104ac611865565b3480156106e157600080fd5b506103fe6106f03660046142ac565b61187d565b34801561070157600080fd5b506103fe6107103660046143b1565b611928565b34801561072157600080fd5b506103fe61073036600461449c565b6119bf565b34801561074157600080fd5b506104ac611a11565b34801561075657600080fd5b50610455611a25565b34801561076b57600080fd5b50610455611a2b565b34801561078057600080fd5b506103fe61078f366004614379565b611a31565b3480156107a057600080fd5b50610455611a91565b3480156107b557600080fd5b50610455611a97565b3480156107ca57600080fd5b506103fe6107d936600461449c565b611a9c565b3480156107ea57600080fd5b506103fe6107f936600461449c565b611b1e565b34801561080a57600080fd5b50610455611b5b565b34801561081f57600080fd5b506104ac611b61565b34801561083457600080fd5b50610455611b70565b34801561084957600080fd5b506103fe610858366004614379565b611b76565b34801561086957600080fd5b506104ac611bdd565b34801561087e57600080fd5b506104ac61088d36600461449c565b611bec565b34801561089e57600080fd5b506103fe6108ad3660046142ac565b611c13565b3480156108be57600080fd5b506103fe6108cd3660046142ac565b611cbe565b3480156108de57600080fd5b506103fe6108ed36600461449c565b611e2c565b3480156108fe57600080fd5b50610455611edb565b34801561091357600080fd5b506103fe61092236600461449c565b611ee1565b34801561093357600080fd5b506104ac611f33565b34801561094857600080fd5b506104ac611f4b565b34801561095d57600080fd5b506104ac611f63565b34801561097257600080fd5b506103fe6109813660046142ac565b611f72565b34801561099257600080fd5b506104f86109a136600461449c565b612109565b3480156109b257600080fd5b506103fe6109c136600461449c565b6123fb565b3480156109d257600080fd5b5061045561244d565b3480156109e757600080fd5b506103fe6109f636600461449c565b61255a565b348015610a0757600080fd5b506104556125dc565b348015610a1c57600080fd5b506104ac6125e2565b348015610a3157600080fd5b506104ac6125fa565b348015610a4657600080fd5b506103fe612609565b348015610a5b57600080fd5b506104ac610a6a36600461449c565b6126ed565b610a77612810565b6001600160a01b0316336001600160a01b031614610ab05760405162461bcd60e51b8152600401610aa790614769565b60405180910390fd5b6005546001600160a01b0382811691161415610ade5760405162461bcd60e51b8152600401610aa79061465a565b6001546001600160a01b0382811691161415610b0c5760405162461bcd60e51b8152600401610aa790614711565b6060610b1661288d565b905060005b8151811015610b7157818181518110610b3057fe5b60200260200101516001600160a01b0316836001600160a01b03161415610b695760405162461bcd60e51b8152600401610aa7906147d8565b600101610b1b565b50610c0a610b7d612810565b6040516370a0823160e01b81526001600160a01b038516906370a0823190610ba990309060040161452e565b60206040518083038186803b158015610bc157600080fd5b505afa158015610bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf991906144b4565b6001600160a01b0385169190612932565b5050565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b505050505081565b6040805180820190915260128152710a6e8e4c2e8cacef286dedceccaf0e68aa8960731b602082015290565b60155481565b6002546001600160a01b0316331480610cff5750610cea612810565b6001600160a01b0316336001600160a01b0316145b610d1b5760405162461bcd60e51b8152600401610aa790614769565b60098190556040517fa68ba126373d04c004c5748c300c9fca12bd444b3d4332e261f3bd2bac4a860090610d50908390614852565b60405180910390a150565b60095481565b6005546001600160a01b031681565b6002546001600160a01b031681565b600f546001600160a01b031681565b6001546040516339ebf82360e01b815260009182916001600160a01b03909116906339ebf82390610dc390309060040161452e565b6101206040518083038186803b158015610ddc57600080fd5b505afa158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e14919061441e565b604001511180610e2b57506000610e2961244d565b115b905090565b604080518082019091526005815264181719971960d91b602082015290565b60075481565b6001546000906001600160a01b03163314610e825760405162461bcd60e51b8152600401610aa7906146f1565b6000610e8d83612951565b600554909350909150610eaa906001600160a01b03163383612932565b50919050565b6002546001600160a01b0316331480610ee15750610ecc612810565b6001600160a01b0316336001600160a01b0316145b610efd5760405162461bcd60e51b8152600401610aa790614769565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610f2e90309060040161452e565b60206040518083038186803b158015610f4657600080fd5b505afa158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e91906144b4565b600f54601354604051631c683a1b60e11b81529293506001600160a01b03909116916338d0743691610fbd918591610100900460ff16906004016148ca565b602060405180830381600087803b158015610fd757600080fd5b505af1158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190614395565b60145481565b601354610100900460ff1681565b6002546001600160a01b0316331480611054575061103f612810565b6001600160a01b0316336001600160a01b0316145b6110705760405162461bcd60e51b8152600401610aa790614769565b60068190556040517fbb2c369a0355a34b02ab5fce0643150c87e1c8dfe7c918d465591879f57948b190610d50908390614852565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6004546001600160a01b03163314806110e057506002546001600160a01b031633145b8061110357506110ee612810565b6001600160a01b0316336001600160a01b0316145b806111a45750600160009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b15801561115757600080fd5b505afa15801561116b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118f91906142c8565b6001600160a01b0316336001600160a01b0316145b806112455750600160009054906101000a90046001600160a01b03166001600160a01b03166388a8d6026040518163ffffffff1660e01b815260040160206040518083038186803b1580156111f857600080fd5b505afa15801561120c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123091906142c8565b6001600160a01b0316336001600160a01b0316145b6112615760405162461bcd60e51b8152600401610aa790614769565b6001546040805163bf3759b560e01b815290516112e4926001600160a01b03169163bf3759b5916004808301926020929190829003018186803b1580156112a757600080fd5b505afa1580156112bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112df91906144b4565b612c58565b565b6004546001600160a01b031633148061130957506002546001600160a01b031633145b8061132c5750611317612810565b6001600160a01b0316336001600160a01b0316145b806113cd5750600160009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b15801561138057600080fd5b505afa158015611394573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b891906142c8565b6001600160a01b0316336001600160a01b0316145b8061146e5750600160009054906101000a90046001600160a01b03166001600160a01b03166388a8d6026040518163ffffffff1660e01b815260040160206040518083038186803b15801561142157600080fd5b505afa158015611435573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145991906142c8565b6001600160a01b0316336001600160a01b0316145b61148a5760405162461bcd60e51b8152600401610aa790614769565b6000806000600160009054906101000a90046001600160a01b03166001600160a01b031663bf3759b56040518163ffffffff1660e01b815260040160206040518083038186803b1580156114dd57600080fd5b505afa1580156114f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151591906144b4565b600a5490915060009060ff161561156b57600061153061244d565b90506115498382116115425783611544565b815b612951565b94509150828211156115655761155f82846130ee565b94508291505b5061157c565b61157482613139565b919550935090505b6001546040516328766ebf60e21b81526001600160a01b039091169063a1d9bafc906115b09087908790869060040161492e565b602060405180830381600087803b1580156115ca57600080fd5b505af11580156115de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160291906144b4565b915061160d82612c58565b7f4c0f499ffe6befa0ca7c826b0916cf87bea98de658013e76938489368d60d509848483856040516116429493929190614944565b60405180910390a150505050565b73f147b8125d2ef93fb6965db97d6746952a13393481565b600b546001600160a01b031681565b600a5460ff1681565b60165481565b60006017546016541061169b5750600061177b565b6116a36141cd565b6001546040516339ebf82360e01b81526001600160a01b03909116906339ebf823906116d390309060040161452e565b6101206040518083038186803b1580156116ec57600080fd5b505afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611724919061441e565b905061175f611756611742600160175461378b90919063ffffffff16565b60165461175090600161378b565b906137b0565b600654906137ea565b60a082015161176f9042906130ee565b1115610eaa5760019150505b919050565b6002546001600160a01b03163314806117b1575061179c612810565b6001600160a01b0316336001600160a01b0316145b6117cd5760405162461bcd60e51b8152600401610aa790614769565b60125481141561180257600b80546001600160a01b03191673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f179055611829565b600b80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790555b50565b73d533a949740bb3306d119cc777fa900ba034cd5281565b60135460ff1681565b73c5424b857f758e906013f3555dad202e4bdb456781565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6002546001600160a01b03163314806118ae5750611899612810565b6001600160a01b0316336001600160a01b0316145b6118ca5760405162461bcd60e51b8152600401610aa790614769565b6001600160a01b0381166118dd57600080fd5b600480546001600160a01b0319166001600160a01b0383161790556040517f2f202ddb4a2e345f6323ed90f8fc8559d770a7abbbeee84dde8aca3351fe715490610d5090839061452e565b6002546001600160a01b03163314806119595750611944612810565b6001600160a01b0316336001600160a01b0316145b6119755760405162461bcd60e51b8152600401610aa790614769565b61198160008383614219565b507f300e67d5a415b6d015a471d9c7b95dd58f3e8290af965e84e0f845de2996dda682826040516119b39291906145d3565b60405180910390a15050565b6002546001600160a01b03163314806119f057506119db612810565b6001600160a01b0316336001600160a01b0316145b611a0c5760405162461bcd60e51b8152600401610aa790614769565b601755565b600a5461010090046001600160a01b031681565b60115481565b60125481565b6002546001600160a01b0316331480611a625750611a4d612810565b6001600160a01b0316336001600160a01b0316145b611a7e5760405162461bcd60e51b8152600401610aa790614769565b6013805460ff1916911515919091179055565b60085481565b600090565b6002546001600160a01b0316331480611acd5750611ab8612810565b6001600160a01b0316336001600160a01b0316145b611ae95760405162461bcd60e51b8152600401610aa790614769565b60088190556040517fd94596337df4c2f0f44d30a7fc5db1c7bb60d9aca4185ed77c6fd96eb45ec29890610d50908390614852565b611b26612810565b6001600160a01b0316336001600160a01b031614611b565760405162461bcd60e51b8152600401610aa790614769565b601155565b60065481565b6003546001600160a01b031681565b60175481565b6002546001600160a01b0316331480611ba75750611b92612810565b6001600160a01b0316336001600160a01b0316145b611bc35760405162461bcd60e51b8152600401610aa790614769565b601380549115156101000261ff0019909216919091179055565b6004546001600160a01b031681565b600c8181548110611bf957fe5b6000918252602090912001546001600160a01b0316905081565b6002546001600160a01b0316331480611c445750611c2f612810565b6001600160a01b0316336001600160a01b0316145b611c605760405162461bcd60e51b8152600401610aa790614769565b6001600160a01b038116611c7357600080fd5b600280546001600160a01b0319166001600160a01b0383161790556040517f352ececae6d7d1e6d26bcf2c549dfd55be1637e9b22dc0cf3b71ddb36097a6b490610d5090839061452e565b6001546001600160a01b0316331480611cef5750611cda612810565b6001600160a01b0316336001600160a01b0316145b611cf857600080fd5b6001546040805163fbfa77cf60e01b815290516001600160a01b039283169284169163fbfa77cf916004808301926020929190829003018186803b158015611d3f57600080fd5b505afa158015611d53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7791906142c8565b6001600160a01b031614611d8a57600080fd5b611d938161382c565b6005546040516370a0823160e01b81526118299183916001600160a01b03909116906370a0823190611dc990309060040161452e565b60206040518083038186803b158015611de157600080fd5b505afa158015611df5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1991906144b4565b6005546001600160a01b03169190612932565b6002546001600160a01b0316331480611e5d5750611e48612810565b6001600160a01b0316336001600160a01b0316145b611e795760405162461bcd60e51b8152600401610aa790614769565b601254811415611eb057600a8054610100600160a81b03191674d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00179055611829565b50600a8054610100600160a81b031916747a250d5630b4cf539739df2c5dacb4c659f2488d00179055565b61271081565b6002546001600160a01b0316331480611f125750611efd612810565b6001600160a01b0316336001600160a01b0316145b611f2e5760405162461bcd60e51b8152600401610aa790614769565b601555565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b73d9e1ce17f2641f24ae83637ab66a2cca9c378b9f81565b600e546001600160a01b031681565b6002546001600160a01b03163314611f9c5760405162461bcd60e51b8152600401610aa790614635565b6001600160a01b038116611faf57600080fd5b60015460035460405163095ea7b360e01b81526001600160a01b039283169263095ea7b392611fe692911690600090600401614577565b602060405180830381600087803b15801561200057600080fd5b505af1158015612014573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120389190614395565b50600380546001600160a01b0319166001600160a01b03838116919091179182905560015460405163095ea7b360e01b81529082169263095ea7b3926120879291169060001990600401614577565b602060405180830381600087803b1580156120a157600080fd5b505af11580156120b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d99190614395565b507fafbb66abf8f3b719799940473a4052a3717cdd8e40fb6c8a3faadab316b1a06981604051610d50919061452e565b60006121136141cd565b6001546040516339ebf82360e01b81526001600160a01b03909116906339ebf8239061214390309060040161452e565b6101206040518083038186803b15801561215c57600080fd5b505afa158015612170573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612194919061441e565b9050601454600114156121ab57600191505061177b565b60208101516121be57600091505061177b565b60065460a08201516121d19042906130ee565b10156121e157600091505061177b565b60075460a08201516121f49042906130ee565b1061220357600191505061177b565b6001546040805163bf3759b560e01b815290516000926001600160a01b03169163bf3759b5916004808301926020929190829003018186803b15801561224857600080fd5b505afa15801561225c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228091906144b4565b90506009548111156122975760019250505061177b565b60006122a161244d565b90508260c001516122bd6009548361378b90919063ffffffff16565b10156122cf576001935050505061177b565b60175460165410156122e7576000935050505061177b565b60008360c001518211156123085760c08401516123059083906130ee565b90505b600061231387613a97565b90506000600160009054906101000a90046001600160a01b03166001600160a01b031663112c1f9b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561236557600080fd5b505afa158015612379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239d91906144b4565b90506123a9818461378b565b6008546123b690846137b0565b10156123cb576001965050505050505061177b565b60006123d5613be1565b9050806123ed846015546137b090919063ffffffff16565b109998505050505050505050565b6002546001600160a01b031633148061242c5750612417612810565b6001600160a01b0316336001600160a01b0316145b6124485760405162461bcd60e51b8152600401610aa790614769565b601455565b6005546040516370a0823160e01b8152600091610e2b916001600160a01b03909116906370a082319061248490309060040161452e565b60206040518083038186803b15801561249c57600080fd5b505afa1580156124b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d491906144b4565b600f546040516370a0823160e01b81526001600160a01b03909116906370a082319061250490309060040161452e565b60206040518083038186803b15801561251c57600080fd5b505afa158015612530573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255491906144b4565b9061378b565b6002546001600160a01b031633148061258b5750612576612810565b6001600160a01b0316336001600160a01b0316145b6125a75760405162461bcd60e51b8152600401610aa790614769565b60078190556040517f5430e11864ad7aa9775b07d12657fe52df9aa2ba734355bd8ef8747be2c800c590610d50908390614852565b60105481565b736b175474e89094c44da98b954eedeac495271d0f81565b6001546001600160a01b031681565b6002546001600160a01b031633148061263a5750612625612810565b6001600160a01b0316336001600160a01b0316145b6126565760405162461bcd60e51b8152600401610aa790614769565b600a805460ff19166001908117909155546040805163507257cd60e11b815290516001600160a01b039092169163a0e4af9a9160048082019260009290919082900301818387803b1580156126aa57600080fd5b505af11580156126be573d6000803e3d6000fd5b50506040517f97e963041e952738788b9d4871d854d282065b8f90a464928d6528f2e9a4fd0b925060009150a1565b600d8181548110611bf957fe5b8015806127825750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90612730903090869060040161455d565b60206040518083038186803b15801561274857600080fd5b505afa15801561275c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278091906144b4565b155b61279e5760405162461bcd60e51b8152600401610aa7906147fc565b6127f48363095ea7b360e01b84846040516024016127bd929190614577565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613efa565b505050565b60606128088484600085613f89565b949350505050565b60015460408051635aa6e67560e01b815290516000926001600160a01b031691635aa6e675916004808301926020929190829003018186803b15801561285557600080fd5b505afa158015612869573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b91906142c8565b604080516002808252606080830184529283929190602083019080368337019050509050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b816000815181106128d357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073d533a949740bb3306d119cc777fa900ba034cd528160018151811061291557fe5b6001600160a01b0390921660209283029190910190910152905090565b6127f48363a9059cbb60e01b84846040516024016127bd929190614577565b6005546040516370a0823160e01b8152600091829182916001600160a01b0316906370a082319061298690309060040161452e565b60206040518083038186803b15801561299e57600080fd5b505afa1580156129b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129d691906144b4565b905080841115612c4457600f546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612a1190309060040161452e565b60206040518083038186803b158015612a2957600080fd5b505afa158015612a3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6191906144b4565b600f549091506001600160a01b031663c32e7202612a818385890361404d565b60135460405160e084901b6001600160e01b0319168152612aae9291610100900460ff16906004016148ca565b602060405180830381600087803b158015612ac857600080fd5b505af1158015612adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b009190614395565b506005546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612b3290309060040161452e565b60206040518083038186803b158015612b4a57600080fd5b505afa158015612b5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8291906144b4565b9050612b8e868261404d565b9450808614612c3d576000612ba161244d565b6001546040516339ebf82360e01b81529192506000916001600160a01b03909116906339ebf82390612bd790309060040161452e565b6101206040518083038186803b158015612bf057600080fd5b505afa158015612c04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c28919061441e565b60c001519050612c3881836130ee565b955050505b5050612c51565b8360009250925050612c53565b505b915091565b600a5460ff1615612c6857611829565b60185460011415612d96576005546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612ca490309060040161452e565b60206040518083038186803b158015612cbc57600080fd5b505afa158015612cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf491906144b4565b90508015612d8657600e546010546040516321d0683360e11b81526001600160a01b03909216916343a0d06691612d32918590600190600401614916565b602060405180830381600087803b158015612d4c57600080fd5b505af1158015612d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d849190614395565b505b5060006016819055601855611829565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612dc790309060040161452e565b60206040518083038186803b158015612ddf57600080fd5b505afa158015612df3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1791906144b4565b600f546040516246613160e11b81529192506000916001600160a01b0390911690628cc26290612e4b90309060040161452e565b60206040518083038186803b158015612e6357600080fd5b505afa158015612e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9b91906144b4565b9050600082118015612ead5750600081115b156127f457600f54601354604051637050ccd960e01b81526001600160a01b0390921691637050ccd991612ee991309160ff1690600401614542565b602060405180830381600087803b158015612f0357600080fd5b505af1158015612f17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3b9190614395565b506040516370a0823160e01b815260009073d533a949740bb3306d119cc777fa900ba034cd52906370a0823190612f7690309060040161452e565b60206040518083038186803b158015612f8e57600080fd5b505afa158015612fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fc691906144b4565b6040516370a0823160e01b8152909150600090734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a082319061300390309060040161452e565b60206040518083038186803b15801561301b57600080fd5b505afa15801561302f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061305391906144b4565b90506000613078612710613072601154866137b090919063ffffffff16565b906137ea565b90506130ad73d533a949740bb3306d119cc777fa900ba034cd5273f147b8125d2ef93fb6965db97d6746952a13393483612932565b60006130b984836130ee565b90506130c481614063565b82156130d3576130d3836140f7565b6016546130e181600161378b565b6016555050505050505050565b600061313083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614131565b90505b92915050565b600f546040516370a0823160e01b81526000918291829182916001600160a01b03909116906370a082319061317290309060040161452e565b60206040518083038186803b15801561318a57600080fd5b505afa15801561319e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131c291906144b4565b600f546040516246613160e11b81529192506000916001600160a01b0390911690628cc262906131f690309060040161452e565b60206040518083038186803b15801561320e57600080fd5b505afa158015613222573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324691906144b4565b90506000821180156132585750600081115b1561350457600f54601354604051637050ccd960e01b81526001600160a01b0390921691637050ccd99161329491309160ff1690600401614542565b602060405180830381600087803b1580156132ae57600080fd5b505af11580156132c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e69190614395565b506040516370a0823160e01b815260009073d533a949740bb3306d119cc777fa900ba034cd52906370a082319061332190309060040161452e565b60206040518083038186803b15801561333957600080fd5b505afa15801561334d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061337191906144b4565b6040516370a0823160e01b8152909150600090734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a08231906133ae90309060040161452e565b60206040518083038186803b1580156133c657600080fd5b505afa1580156133da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fe91906144b4565b9050600061341d612710613072601154866137b090919063ffffffff16565b905061345273d533a949740bb3306d119cc777fa900ba034cd5273f147b8125d2ef93fb6965db97d6746952a13393483612932565b600061345e84836130ee565b905061346981614063565b821561347857613478836140f7565b4780156134fe576040805180820182528281526000602082018190529151630b4c7e4d60e01b815273c5424b857f758e906013f3555dad202e4bdb456792630b4c7e4d9285926134cb9290600401614590565b6000604051808303818588803b1580156134e457600080fd5b505af11580156134f8573d6000803e3d6000fd5b50505050505b50505050505b60016018819055601454141561351a5760006014555b600061352461244d565b6001546040516339ebf82360e01b81529192506000916001600160a01b03909116906339ebf8239061355a90309060040161452e565b6101206040518083038186803b15801561357357600080fd5b505afa158015613587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ab919061441e565b60c00151905080821115613640576005546040516370a0823160e01b81526001600160a01b03909116906370a08231906135e990309060040161452e565b60206040518083038186803b15801561360157600080fd5b505afa158015613615573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363991906144b4565b9650613651565b61364a81836130ee565b9550600096505b871561378057600f546001600160a01b031663c32e7202613672868b61404d565b60135460405160e084901b6001600160e01b031916815261369f9291610100900460ff16906004016148ca565b602060405180830381600087803b1580156136b957600080fd5b505af11580156136cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136f19190614395565b506005546040516370a0823160e01b815261377d918a916001600160a01b03909116906370a082319061372890309060040161452e565b60206040518083038186803b15801561374057600080fd5b505afa158015613754573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061377891906144b4565b61404d565b94505b505050509193909250565b6000828201838110156131305760405162461bcd60e51b8152600401610aa790614679565b6000826137bf57506000613133565b828202828482816137cc57fe5b04146131305760405162461bcd60e51b8152600401610aa7906146b0565b600061313083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061415d565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a082319061385d90309060040161452e565b60206040518083038186803b15801561387557600080fd5b505afa158015613889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ad91906144b4565b9050801561394557600f54601354604051636197390160e11b81526001600160a01b039092169163c32e7202916138f1918591610100900460ff16906004016148ca565b602060405180830381600087803b15801561390b57600080fd5b505af115801561391f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139439190614395565b505b6040516370a0823160e01b81526139ee90839073d533a949740bb3306d119cc777fa900ba034cd52906370a082319061398290309060040161452e565b60206040518083038186803b15801561399a57600080fd5b505afa1580156139ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139d291906144b4565b73d533a949740bb3306d119cc777fa900ba034cd529190612932565b6040516370a0823160e01b8152610c0a908390734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a0823190613a2b90309060040161452e565b60206040518083038186803b158015613a4357600080fd5b505afa158015613a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a7b91906144b4565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b9190612932565b604080516002808252606080830184526000939092919060208301908036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110613adf57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600181518110613b2157fe5b6001600160a01b039283166020918202929092010152600a5460405163d06ca61f60e01b81526060926101009092049091169063d06ca61f90613b6a908790869060040161485b565b60006040518083038186803b158015613b8257600080fd5b505afa158015613b96573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bbe91908101906142e4565b905080600182510381518110613bd057fe5b602002602001015192505050919050565b600f546040516246613160e11b815260009182916001600160a01b0390911690628cc26290613c1490309060040161452e565b60206040518083038186803b158015613c2c57600080fd5b505afa158015613c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c6491906144b4565b905060006103e8905060006a52b7d2dcc80cd2e40000009050600069152d02c7e14af680000090506000734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015613cdb57600080fd5b505afa158015613cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d1391906144b4565b9050600080613d2283856137ea565b905085811015613d67576000613d3887836130ee565b9050613d48876130728a846137b0565b92506000613d5687866130ee565b905080841115613d64578093505b50505b60008715613e1757600a5460405163d06ca61f60e01b815260609161010090046001600160a01b03169063d06ca61f90613da8908c90600c906004016148b1565b60006040518083038186803b158015613dc057600080fd5b505afa158015613dd4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613dfc91908101906142e4565b905080600181518110613e0b57fe5b60200260200101519150505b60008315613ec257600b5460405163d06ca61f60e01b81526060916001600160a01b03169063d06ca61f90613e53908890600d906004016148b1565b60006040518083038186803b158015613e6b57600080fd5b505afa158015613e7f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613ea791908101906142e4565b905080600181518110613eb657fe5b60200260200101519150505b613eec613ee2670de0b6b3a7640000613072670de0b6b3a7640000613a97565b611750848461378b565b995050505050505050505090565b6060613f4f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127f99092919063ffffffff16565b8051909150156127f45780806020019051810190613f6d9190614395565b6127f45760405162461bcd60e51b8152600401610aa79061478e565b6060613f9485614194565b613fb05760405162461bcd60e51b8152600401610aa790614732565b60006060866001600160a01b03168587604051613fcd9190614512565b60006040518083038185875af1925050503d806000811461400a576040519150601f19603f3d011682016040523d82523d6000602084013e61400f565b606091505b509150915081156140235791506128089050565b8051156140335780518082602001fd5b8360405162461bcd60e51b8152600401610aa79190614602565b600081831061405c5781613130565b5090919050565b600a546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe5906140a1908490600090600c90309042906004016148da565b600060405180830381600087803b1580156140bb57600080fd5b505af11580156140cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a91908101906142e4565b600b546040516318cbafe560e01b81526001600160a01b03909116906318cbafe5906140a1908490600090600d90309042906004016148da565b600081848411156141555760405162461bcd60e51b8152600401610aa79190614602565b505050900390565b6000818361417e5760405162461bcd60e51b8152600401610aa79190614602565b50600083858161418a57fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612808575050151592915050565b6040518061012001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061425a5782800160ff19823516178555614287565b82800160010185558215614287579182015b8281111561428757823582559160200191906001019061426c565b50614293929150614297565b5090565b5b808211156142935760008155600101614298565b6000602082840312156142bd578081fd5b8135613130816149d6565b6000602082840312156142d9578081fd5b8151613130816149d6565b600060208083850312156142f6578182fd5b825167ffffffffffffffff81111561430c578283fd5b8301601f8101851361431c578283fd5b805161432f61432a82614986565b61495f565b818152838101908385018584028501860189101561434b578687fd5b8694505b8385101561436d57805183526001949094019391850191850161434f565b50979650505050505050565b60006020828403121561438a578081fd5b8135613130816149eb565b6000602082840312156143a6578081fd5b8151613130816149eb565b600080602083850312156143c3578081fd5b823567ffffffffffffffff808211156143da578283fd5b818501915085601f8301126143ed578283fd5b8135818111156143fb578384fd5b86602082850101111561440c578384fd5b60209290920196919550909350505050565b6000610120808385031215614431578182fd5b61443a8161495f565b9050825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b6000602082840312156144ad578081fd5b5035919050565b6000602082840312156144c5578081fd5b5051919050565b6000815480845260208085019450838352808320835b838110156145075781546001600160a01b0316875295820195600191820191016144e2565b509495945050505050565b600082516145248184602087016149a6565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b60608101818460005b60028110156145b8578151835260209283019290910190600101614599565b5050508260408301529392505050565b901515815260200190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b60006020825282518060208401526146218160408501602087016149a6565b601f01601f19169190910160400192915050565b6020808252600b908201526a085cdd1c985d1959da5cdd60aa1b604082015260600190565b602080825260059082015264085dd85b9d60da1b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b6020808252600790820152662173686172657360c81b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252600b908201526a08585d5d1a1bdc9a5e995960aa1b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252600a9082015269085c1c9bdd1958dd195960b21b604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b90815260200190565b60006040820184835260206040818501528185518084526060860191508287019350845b818110156148a45784516001600160a01b03168352938301939183019160010161487f565b5090979650505050505050565b60008382526040602083015261280860408301846144cc565b9182521515602082015260400190565b600086825285602083015260a060408301526148f960a08301866144cc565b6001600160a01b0394909416606083015250608001529392505050565b92835260208301919091521515604082015260600190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60405181810167ffffffffffffffff8111828210171561497e57600080fd5b604052919050565b600067ffffffffffffffff82111561499c578081fd5b5060209081020190565b60005b838110156149c15781810151838201526020016149a9565b838111156149d0576000848401525b50505050565b6001600160a01b038116811461182957600080fd5b801515811461182957600080fdfea2646970667358221220aa72b29ade1f1c5fde54b524fce34e4629143eeda2cdfbb6a4743aca74580e1064736f6c634300060c0033000000000000000000000000986b4aff588a109c09b50a03f42e4110e29d353f

Deployed Bytecode

0x6080604052600436106103d25760003560e01c80637b51d24c116101fd578063ce5494bb11610118578063ed882c2b116100ab578063f10684541161007a578063f1068454146109fb578063f4b9fa7514610a10578063fbfa77cf14610a25578063fcf2d0ad14610a3a578063fd82d58b14610a4f576103d9565b8063ed882c2b14610986578063eef2d86a146109a6578063efbb5cb0146109c6578063f017c92f146109db576103d9565b8063e89133b2116100e7578063e89133b214610927578063e9240c2d1461093c578063e94ad65b14610951578063ec38a86214610966576103d9565b8063ce5494bb146108b2578063d52f8ec8146108d2578063d73792a9146108f2578063e5af8bfe14610907576103d9565b8063955383bd11610190578063a98f92961161015f578063a98f92961461083d578063aced16611461085d578063ad40950014610872578063c7b9d53014610892576103d9565b8063955383bd146107de57806395e80c50146107fe5780639ec5a89414610813578063a1fa2c6514610828576103d9565b80638a2bd25c116101cc5780638a2bd25c146107745780638cdfe166146107945780638e6350e2146107a957806391397ab4146107be576103d9565b80637b51d24c146107155780637f173559146107355780637fef901a1461074a578063893f10681461075f576103d9565b806339a172a8116102ed578063650d1880116102805780637165485d1161024f5780637165485d146106ab578063735de9f7146106c0578063748747e6146106d5578063750521f5146106f5576103d9565b8063650d18801461064157806369a7f7f5146106615780636a4874a1146106815780637062d39e14610696576103d9565b806346c96aac116102bc57806346c96aac146105ed5780634c04e59e146106025780635641ec03146106175780635e1b5b601461062c576103d9565b806339a172a81461058e5780633fc8cef3146105ae578063440368a3146105c35780634641257d146105d8576103d9565b8063220cce97116103655780632e1a7d4d116103345780632e1a7d4d1461052f57806334659dc51461054f57806334fe1d6414610564578063372500ab14610579576103d9565b8063220cce97146104ce57806322f3e2d4146104e3578063258294101461050557806328b7ccf71461051a576103d9565b80630f969b87116103a15780630f969b87146104625780631d12f28b146104825780631f1fcd51146104975780631fe4a686146104b9576103d9565b806301681a62146103de57806303ee438c1461040057806306fdde031461042b5780630ce008e014610440576103d9565b366103d957005b600080fd5b3480156103ea57600080fd5b506103fe6103f93660046142ac565b610a6f565b005b34801561040c57600080fd5b50610415610c0e565b6040516104229190614602565b60405180910390f35b34801561043757600080fd5b50610415610c9c565b34801561044c57600080fd5b50610455610cc8565b6040516104229190614852565b34801561046e57600080fd5b506103fe61047d36600461449c565b610cce565b34801561048e57600080fd5b50610455610d5b565b3480156104a357600080fd5b506104ac610d61565b604051610422919061452e565b3480156104c557600080fd5b506104ac610d70565b3480156104da57600080fd5b506104ac610d7f565b3480156104ef57600080fd5b506104f8610d8e565b60405161042291906145c8565b34801561051157600080fd5b50610415610e30565b34801561052657600080fd5b50610455610e4f565b34801561053b57600080fd5b5061045561054a36600461449c565b610e55565b34801561055b57600080fd5b506103fe610eb0565b34801561057057600080fd5b5061045561100f565b34801561058557600080fd5b506104f8611015565b34801561059a57600080fd5b506103fe6105a936600461449c565b611023565b3480156105ba57600080fd5b506104ac6110a5565b3480156105cf57600080fd5b506103fe6110bd565b3480156105e457600080fd5b506103fe6112e6565b3480156105f957600080fd5b506104ac611650565b34801561060e57600080fd5b506104ac611668565b34801561062357600080fd5b506104f8611677565b34801561063857600080fd5b50610455611680565b34801561064d57600080fd5b506104f861065c36600461449c565b611686565b34801561066d57600080fd5b506103fe61067c36600461449c565b611780565b34801561068d57600080fd5b506104ac61182c565b3480156106a257600080fd5b506104f8611844565b3480156106b757600080fd5b506104ac61184d565b3480156106cc57600080fd5b506104ac611865565b3480156106e157600080fd5b506103fe6106f03660046142ac565b61187d565b34801561070157600080fd5b506103fe6107103660046143b1565b611928565b34801561072157600080fd5b506103fe61073036600461449c565b6119bf565b34801561074157600080fd5b506104ac611a11565b34801561075657600080fd5b50610455611a25565b34801561076b57600080fd5b50610455611a2b565b34801561078057600080fd5b506103fe61078f366004614379565b611a31565b3480156107a057600080fd5b50610455611a91565b3480156107b557600080fd5b50610455611a97565b3480156107ca57600080fd5b506103fe6107d936600461449c565b611a9c565b3480156107ea57600080fd5b506103fe6107f936600461449c565b611b1e565b34801561080a57600080fd5b50610455611b5b565b34801561081f57600080fd5b506104ac611b61565b34801561083457600080fd5b50610455611b70565b34801561084957600080fd5b506103fe610858366004614379565b611b76565b34801561086957600080fd5b506104ac611bdd565b34801561087e57600080fd5b506104ac61088d36600461449c565b611bec565b34801561089e57600080fd5b506103fe6108ad3660046142ac565b611c13565b3480156108be57600080fd5b506103fe6108cd3660046142ac565b611cbe565b3480156108de57600080fd5b506103fe6108ed36600461449c565b611e2c565b3480156108fe57600080fd5b50610455611edb565b34801561091357600080fd5b506103fe61092236600461449c565b611ee1565b34801561093357600080fd5b506104ac611f33565b34801561094857600080fd5b506104ac611f4b565b34801561095d57600080fd5b506104ac611f63565b34801561097257600080fd5b506103fe6109813660046142ac565b611f72565b34801561099257600080fd5b506104f86109a136600461449c565b612109565b3480156109b257600080fd5b506103fe6109c136600461449c565b6123fb565b3480156109d257600080fd5b5061045561244d565b3480156109e757600080fd5b506103fe6109f636600461449c565b61255a565b348015610a0757600080fd5b506104556125dc565b348015610a1c57600080fd5b506104ac6125e2565b348015610a3157600080fd5b506104ac6125fa565b348015610a4657600080fd5b506103fe612609565b348015610a5b57600080fd5b506104ac610a6a36600461449c565b6126ed565b610a77612810565b6001600160a01b0316336001600160a01b031614610ab05760405162461bcd60e51b8152600401610aa790614769565b60405180910390fd5b6005546001600160a01b0382811691161415610ade5760405162461bcd60e51b8152600401610aa79061465a565b6001546001600160a01b0382811691161415610b0c5760405162461bcd60e51b8152600401610aa790614711565b6060610b1661288d565b905060005b8151811015610b7157818181518110610b3057fe5b60200260200101516001600160a01b0316836001600160a01b03161415610b695760405162461bcd60e51b8152600401610aa7906147d8565b600101610b1b565b50610c0a610b7d612810565b6040516370a0823160e01b81526001600160a01b038516906370a0823190610ba990309060040161452e565b60206040518083038186803b158015610bc157600080fd5b505afa158015610bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf991906144b4565b6001600160a01b0385169190612932565b5050565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b505050505081565b6040805180820190915260128152710a6e8e4c2e8cacef286dedceccaf0e68aa8960731b602082015290565b60155481565b6002546001600160a01b0316331480610cff5750610cea612810565b6001600160a01b0316336001600160a01b0316145b610d1b5760405162461bcd60e51b8152600401610aa790614769565b60098190556040517fa68ba126373d04c004c5748c300c9fca12bd444b3d4332e261f3bd2bac4a860090610d50908390614852565b60405180910390a150565b60095481565b6005546001600160a01b031681565b6002546001600160a01b031681565b600f546001600160a01b031681565b6001546040516339ebf82360e01b815260009182916001600160a01b03909116906339ebf82390610dc390309060040161452e565b6101206040518083038186803b158015610ddc57600080fd5b505afa158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e14919061441e565b604001511180610e2b57506000610e2961244d565b115b905090565b604080518082019091526005815264181719971960d91b602082015290565b60075481565b6001546000906001600160a01b03163314610e825760405162461bcd60e51b8152600401610aa7906146f1565b6000610e8d83612951565b600554909350909150610eaa906001600160a01b03163383612932565b50919050565b6002546001600160a01b0316331480610ee15750610ecc612810565b6001600160a01b0316336001600160a01b0316145b610efd5760405162461bcd60e51b8152600401610aa790614769565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610f2e90309060040161452e565b60206040518083038186803b158015610f4657600080fd5b505afa158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e91906144b4565b600f54601354604051631c683a1b60e11b81529293506001600160a01b03909116916338d0743691610fbd918591610100900460ff16906004016148ca565b602060405180830381600087803b158015610fd757600080fd5b505af1158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190614395565b60145481565b601354610100900460ff1681565b6002546001600160a01b0316331480611054575061103f612810565b6001600160a01b0316336001600160a01b0316145b6110705760405162461bcd60e51b8152600401610aa790614769565b60068190556040517fbb2c369a0355a34b02ab5fce0643150c87e1c8dfe7c918d465591879f57948b190610d50908390614852565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6004546001600160a01b03163314806110e057506002546001600160a01b031633145b8061110357506110ee612810565b6001600160a01b0316336001600160a01b0316145b806111a45750600160009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b15801561115757600080fd5b505afa15801561116b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118f91906142c8565b6001600160a01b0316336001600160a01b0316145b806112455750600160009054906101000a90046001600160a01b03166001600160a01b03166388a8d6026040518163ffffffff1660e01b815260040160206040518083038186803b1580156111f857600080fd5b505afa15801561120c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123091906142c8565b6001600160a01b0316336001600160a01b0316145b6112615760405162461bcd60e51b8152600401610aa790614769565b6001546040805163bf3759b560e01b815290516112e4926001600160a01b03169163bf3759b5916004808301926020929190829003018186803b1580156112a757600080fd5b505afa1580156112bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112df91906144b4565b612c58565b565b6004546001600160a01b031633148061130957506002546001600160a01b031633145b8061132c5750611317612810565b6001600160a01b0316336001600160a01b0316145b806113cd5750600160009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b15801561138057600080fd5b505afa158015611394573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b891906142c8565b6001600160a01b0316336001600160a01b0316145b8061146e5750600160009054906101000a90046001600160a01b03166001600160a01b03166388a8d6026040518163ffffffff1660e01b815260040160206040518083038186803b15801561142157600080fd5b505afa158015611435573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145991906142c8565b6001600160a01b0316336001600160a01b0316145b61148a5760405162461bcd60e51b8152600401610aa790614769565b6000806000600160009054906101000a90046001600160a01b03166001600160a01b031663bf3759b56040518163ffffffff1660e01b815260040160206040518083038186803b1580156114dd57600080fd5b505afa1580156114f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151591906144b4565b600a5490915060009060ff161561156b57600061153061244d565b90506115498382116115425783611544565b815b612951565b94509150828211156115655761155f82846130ee565b94508291505b5061157c565b61157482613139565b919550935090505b6001546040516328766ebf60e21b81526001600160a01b039091169063a1d9bafc906115b09087908790869060040161492e565b602060405180830381600087803b1580156115ca57600080fd5b505af11580156115de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160291906144b4565b915061160d82612c58565b7f4c0f499ffe6befa0ca7c826b0916cf87bea98de658013e76938489368d60d509848483856040516116429493929190614944565b60405180910390a150505050565b73f147b8125d2ef93fb6965db97d6746952a13393481565b600b546001600160a01b031681565b600a5460ff1681565b60165481565b60006017546016541061169b5750600061177b565b6116a36141cd565b6001546040516339ebf82360e01b81526001600160a01b03909116906339ebf823906116d390309060040161452e565b6101206040518083038186803b1580156116ec57600080fd5b505afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611724919061441e565b905061175f611756611742600160175461378b90919063ffffffff16565b60165461175090600161378b565b906137b0565b600654906137ea565b60a082015161176f9042906130ee565b1115610eaa5760019150505b919050565b6002546001600160a01b03163314806117b1575061179c612810565b6001600160a01b0316336001600160a01b0316145b6117cd5760405162461bcd60e51b8152600401610aa790614769565b60125481141561180257600b80546001600160a01b03191673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f179055611829565b600b80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790555b50565b73d533a949740bb3306d119cc777fa900ba034cd5281565b60135460ff1681565b73c5424b857f758e906013f3555dad202e4bdb456781565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6002546001600160a01b03163314806118ae5750611899612810565b6001600160a01b0316336001600160a01b0316145b6118ca5760405162461bcd60e51b8152600401610aa790614769565b6001600160a01b0381166118dd57600080fd5b600480546001600160a01b0319166001600160a01b0383161790556040517f2f202ddb4a2e345f6323ed90f8fc8559d770a7abbbeee84dde8aca3351fe715490610d5090839061452e565b6002546001600160a01b03163314806119595750611944612810565b6001600160a01b0316336001600160a01b0316145b6119755760405162461bcd60e51b8152600401610aa790614769565b61198160008383614219565b507f300e67d5a415b6d015a471d9c7b95dd58f3e8290af965e84e0f845de2996dda682826040516119b39291906145d3565b60405180910390a15050565b6002546001600160a01b03163314806119f057506119db612810565b6001600160a01b0316336001600160a01b0316145b611a0c5760405162461bcd60e51b8152600401610aa790614769565b601755565b600a5461010090046001600160a01b031681565b60115481565b60125481565b6002546001600160a01b0316331480611a625750611a4d612810565b6001600160a01b0316336001600160a01b0316145b611a7e5760405162461bcd60e51b8152600401610aa790614769565b6013805460ff1916911515919091179055565b60085481565b600090565b6002546001600160a01b0316331480611acd5750611ab8612810565b6001600160a01b0316336001600160a01b0316145b611ae95760405162461bcd60e51b8152600401610aa790614769565b60088190556040517fd94596337df4c2f0f44d30a7fc5db1c7bb60d9aca4185ed77c6fd96eb45ec29890610d50908390614852565b611b26612810565b6001600160a01b0316336001600160a01b031614611b565760405162461bcd60e51b8152600401610aa790614769565b601155565b60065481565b6003546001600160a01b031681565b60175481565b6002546001600160a01b0316331480611ba75750611b92612810565b6001600160a01b0316336001600160a01b0316145b611bc35760405162461bcd60e51b8152600401610aa790614769565b601380549115156101000261ff0019909216919091179055565b6004546001600160a01b031681565b600c8181548110611bf957fe5b6000918252602090912001546001600160a01b0316905081565b6002546001600160a01b0316331480611c445750611c2f612810565b6001600160a01b0316336001600160a01b0316145b611c605760405162461bcd60e51b8152600401610aa790614769565b6001600160a01b038116611c7357600080fd5b600280546001600160a01b0319166001600160a01b0383161790556040517f352ececae6d7d1e6d26bcf2c549dfd55be1637e9b22dc0cf3b71ddb36097a6b490610d5090839061452e565b6001546001600160a01b0316331480611cef5750611cda612810565b6001600160a01b0316336001600160a01b0316145b611cf857600080fd5b6001546040805163fbfa77cf60e01b815290516001600160a01b039283169284169163fbfa77cf916004808301926020929190829003018186803b158015611d3f57600080fd5b505afa158015611d53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7791906142c8565b6001600160a01b031614611d8a57600080fd5b611d938161382c565b6005546040516370a0823160e01b81526118299183916001600160a01b03909116906370a0823190611dc990309060040161452e565b60206040518083038186803b158015611de157600080fd5b505afa158015611df5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1991906144b4565b6005546001600160a01b03169190612932565b6002546001600160a01b0316331480611e5d5750611e48612810565b6001600160a01b0316336001600160a01b0316145b611e795760405162461bcd60e51b8152600401610aa790614769565b601254811415611eb057600a8054610100600160a81b03191674d9e1ce17f2641f24ae83637ab66a2cca9c378b9f00179055611829565b50600a8054610100600160a81b031916747a250d5630b4cf539739df2c5dacb4c659f2488d00179055565b61271081565b6002546001600160a01b0316331480611f125750611efd612810565b6001600160a01b0316336001600160a01b0316145b611f2e5760405162461bcd60e51b8152600401610aa790614769565b601555565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b73d9e1ce17f2641f24ae83637ab66a2cca9c378b9f81565b600e546001600160a01b031681565b6002546001600160a01b03163314611f9c5760405162461bcd60e51b8152600401610aa790614635565b6001600160a01b038116611faf57600080fd5b60015460035460405163095ea7b360e01b81526001600160a01b039283169263095ea7b392611fe692911690600090600401614577565b602060405180830381600087803b15801561200057600080fd5b505af1158015612014573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120389190614395565b50600380546001600160a01b0319166001600160a01b03838116919091179182905560015460405163095ea7b360e01b81529082169263095ea7b3926120879291169060001990600401614577565b602060405180830381600087803b1580156120a157600080fd5b505af11580156120b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d99190614395565b507fafbb66abf8f3b719799940473a4052a3717cdd8e40fb6c8a3faadab316b1a06981604051610d50919061452e565b60006121136141cd565b6001546040516339ebf82360e01b81526001600160a01b03909116906339ebf8239061214390309060040161452e565b6101206040518083038186803b15801561215c57600080fd5b505afa158015612170573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612194919061441e565b9050601454600114156121ab57600191505061177b565b60208101516121be57600091505061177b565b60065460a08201516121d19042906130ee565b10156121e157600091505061177b565b60075460a08201516121f49042906130ee565b1061220357600191505061177b565b6001546040805163bf3759b560e01b815290516000926001600160a01b03169163bf3759b5916004808301926020929190829003018186803b15801561224857600080fd5b505afa15801561225c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228091906144b4565b90506009548111156122975760019250505061177b565b60006122a161244d565b90508260c001516122bd6009548361378b90919063ffffffff16565b10156122cf576001935050505061177b565b60175460165410156122e7576000935050505061177b565b60008360c001518211156123085760c08401516123059083906130ee565b90505b600061231387613a97565b90506000600160009054906101000a90046001600160a01b03166001600160a01b031663112c1f9b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561236557600080fd5b505afa158015612379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239d91906144b4565b90506123a9818461378b565b6008546123b690846137b0565b10156123cb576001965050505050505061177b565b60006123d5613be1565b9050806123ed846015546137b090919063ffffffff16565b109998505050505050505050565b6002546001600160a01b031633148061242c5750612417612810565b6001600160a01b0316336001600160a01b0316145b6124485760405162461bcd60e51b8152600401610aa790614769565b601455565b6005546040516370a0823160e01b8152600091610e2b916001600160a01b03909116906370a082319061248490309060040161452e565b60206040518083038186803b15801561249c57600080fd5b505afa1580156124b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d491906144b4565b600f546040516370a0823160e01b81526001600160a01b03909116906370a082319061250490309060040161452e565b60206040518083038186803b15801561251c57600080fd5b505afa158015612530573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255491906144b4565b9061378b565b6002546001600160a01b031633148061258b5750612576612810565b6001600160a01b0316336001600160a01b0316145b6125a75760405162461bcd60e51b8152600401610aa790614769565b60078190556040517f5430e11864ad7aa9775b07d12657fe52df9aa2ba734355bd8ef8747be2c800c590610d50908390614852565b60105481565b736b175474e89094c44da98b954eedeac495271d0f81565b6001546001600160a01b031681565b6002546001600160a01b031633148061263a5750612625612810565b6001600160a01b0316336001600160a01b0316145b6126565760405162461bcd60e51b8152600401610aa790614769565b600a805460ff19166001908117909155546040805163507257cd60e11b815290516001600160a01b039092169163a0e4af9a9160048082019260009290919082900301818387803b1580156126aa57600080fd5b505af11580156126be573d6000803e3d6000fd5b50506040517f97e963041e952738788b9d4871d854d282065b8f90a464928d6528f2e9a4fd0b925060009150a1565b600d8181548110611bf957fe5b8015806127825750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90612730903090869060040161455d565b60206040518083038186803b15801561274857600080fd5b505afa15801561275c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278091906144b4565b155b61279e5760405162461bcd60e51b8152600401610aa7906147fc565b6127f48363095ea7b360e01b84846040516024016127bd929190614577565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613efa565b505050565b60606128088484600085613f89565b949350505050565b60015460408051635aa6e67560e01b815290516000926001600160a01b031691635aa6e675916004808301926020929190829003018186803b15801561285557600080fd5b505afa158015612869573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b91906142c8565b604080516002808252606080830184529283929190602083019080368337019050509050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b816000815181106128d357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073d533a949740bb3306d119cc777fa900ba034cd528160018151811061291557fe5b6001600160a01b0390921660209283029190910190910152905090565b6127f48363a9059cbb60e01b84846040516024016127bd929190614577565b6005546040516370a0823160e01b8152600091829182916001600160a01b0316906370a082319061298690309060040161452e565b60206040518083038186803b15801561299e57600080fd5b505afa1580156129b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129d691906144b4565b905080841115612c4457600f546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612a1190309060040161452e565b60206040518083038186803b158015612a2957600080fd5b505afa158015612a3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6191906144b4565b600f549091506001600160a01b031663c32e7202612a818385890361404d565b60135460405160e084901b6001600160e01b0319168152612aae9291610100900460ff16906004016148ca565b602060405180830381600087803b158015612ac857600080fd5b505af1158015612adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b009190614395565b506005546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612b3290309060040161452e565b60206040518083038186803b158015612b4a57600080fd5b505afa158015612b5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8291906144b4565b9050612b8e868261404d565b9450808614612c3d576000612ba161244d565b6001546040516339ebf82360e01b81529192506000916001600160a01b03909116906339ebf82390612bd790309060040161452e565b6101206040518083038186803b158015612bf057600080fd5b505afa158015612c04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c28919061441e565b60c001519050612c3881836130ee565b955050505b5050612c51565b8360009250925050612c53565b505b915091565b600a5460ff1615612c6857611829565b60185460011415612d96576005546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612ca490309060040161452e565b60206040518083038186803b158015612cbc57600080fd5b505afa158015612cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf491906144b4565b90508015612d8657600e546010546040516321d0683360e11b81526001600160a01b03909216916343a0d06691612d32918590600190600401614916565b602060405180830381600087803b158015612d4c57600080fd5b505af1158015612d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d849190614395565b505b5060006016819055601855611829565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612dc790309060040161452e565b60206040518083038186803b158015612ddf57600080fd5b505afa158015612df3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1791906144b4565b600f546040516246613160e11b81529192506000916001600160a01b0390911690628cc26290612e4b90309060040161452e565b60206040518083038186803b158015612e6357600080fd5b505afa158015612e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9b91906144b4565b9050600082118015612ead5750600081115b156127f457600f54601354604051637050ccd960e01b81526001600160a01b0390921691637050ccd991612ee991309160ff1690600401614542565b602060405180830381600087803b158015612f0357600080fd5b505af1158015612f17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3b9190614395565b506040516370a0823160e01b815260009073d533a949740bb3306d119cc777fa900ba034cd52906370a0823190612f7690309060040161452e565b60206040518083038186803b158015612f8e57600080fd5b505afa158015612fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fc691906144b4565b6040516370a0823160e01b8152909150600090734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a082319061300390309060040161452e565b60206040518083038186803b15801561301b57600080fd5b505afa15801561302f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061305391906144b4565b90506000613078612710613072601154866137b090919063ffffffff16565b906137ea565b90506130ad73d533a949740bb3306d119cc777fa900ba034cd5273f147b8125d2ef93fb6965db97d6746952a13393483612932565b60006130b984836130ee565b90506130c481614063565b82156130d3576130d3836140f7565b6016546130e181600161378b565b6016555050505050505050565b600061313083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614131565b90505b92915050565b600f546040516370a0823160e01b81526000918291829182916001600160a01b03909116906370a082319061317290309060040161452e565b60206040518083038186803b15801561318a57600080fd5b505afa15801561319e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131c291906144b4565b600f546040516246613160e11b81529192506000916001600160a01b0390911690628cc262906131f690309060040161452e565b60206040518083038186803b15801561320e57600080fd5b505afa158015613222573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324691906144b4565b90506000821180156132585750600081115b1561350457600f54601354604051637050ccd960e01b81526001600160a01b0390921691637050ccd99161329491309160ff1690600401614542565b602060405180830381600087803b1580156132ae57600080fd5b505af11580156132c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e69190614395565b506040516370a0823160e01b815260009073d533a949740bb3306d119cc777fa900ba034cd52906370a082319061332190309060040161452e565b60206040518083038186803b15801561333957600080fd5b505afa15801561334d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061337191906144b4565b6040516370a0823160e01b8152909150600090734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a08231906133ae90309060040161452e565b60206040518083038186803b1580156133c657600080fd5b505afa1580156133da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fe91906144b4565b9050600061341d612710613072601154866137b090919063ffffffff16565b905061345273d533a949740bb3306d119cc777fa900ba034cd5273f147b8125d2ef93fb6965db97d6746952a13393483612932565b600061345e84836130ee565b905061346981614063565b821561347857613478836140f7565b4780156134fe576040805180820182528281526000602082018190529151630b4c7e4d60e01b815273c5424b857f758e906013f3555dad202e4bdb456792630b4c7e4d9285926134cb9290600401614590565b6000604051808303818588803b1580156134e457600080fd5b505af11580156134f8573d6000803e3d6000fd5b50505050505b50505050505b60016018819055601454141561351a5760006014555b600061352461244d565b6001546040516339ebf82360e01b81529192506000916001600160a01b03909116906339ebf8239061355a90309060040161452e565b6101206040518083038186803b15801561357357600080fd5b505afa158015613587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ab919061441e565b60c00151905080821115613640576005546040516370a0823160e01b81526001600160a01b03909116906370a08231906135e990309060040161452e565b60206040518083038186803b15801561360157600080fd5b505afa158015613615573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363991906144b4565b9650613651565b61364a81836130ee565b9550600096505b871561378057600f546001600160a01b031663c32e7202613672868b61404d565b60135460405160e084901b6001600160e01b031916815261369f9291610100900460ff16906004016148ca565b602060405180830381600087803b1580156136b957600080fd5b505af11580156136cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136f19190614395565b506005546040516370a0823160e01b815261377d918a916001600160a01b03909116906370a082319061372890309060040161452e565b60206040518083038186803b15801561374057600080fd5b505afa158015613754573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061377891906144b4565b61404d565b94505b505050509193909250565b6000828201838110156131305760405162461bcd60e51b8152600401610aa790614679565b6000826137bf57506000613133565b828202828482816137cc57fe5b04146131305760405162461bcd60e51b8152600401610aa7906146b0565b600061313083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061415d565b600f546040516370a0823160e01b81526000916001600160a01b0316906370a082319061385d90309060040161452e565b60206040518083038186803b15801561387557600080fd5b505afa158015613889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ad91906144b4565b9050801561394557600f54601354604051636197390160e11b81526001600160a01b039092169163c32e7202916138f1918591610100900460ff16906004016148ca565b602060405180830381600087803b15801561390b57600080fd5b505af115801561391f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139439190614395565b505b6040516370a0823160e01b81526139ee90839073d533a949740bb3306d119cc777fa900ba034cd52906370a082319061398290309060040161452e565b60206040518083038186803b15801561399a57600080fd5b505afa1580156139ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139d291906144b4565b73d533a949740bb3306d119cc777fa900ba034cd529190612932565b6040516370a0823160e01b8152610c0a908390734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a0823190613a2b90309060040161452e565b60206040518083038186803b158015613a4357600080fd5b505afa158015613a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a7b91906144b4565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b9190612932565b604080516002808252606080830184526000939092919060208301908036833701905050905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110613adf57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600181518110613b2157fe5b6001600160a01b039283166020918202929092010152600a5460405163d06ca61f60e01b81526060926101009092049091169063d06ca61f90613b6a908790869060040161485b565b60006040518083038186803b158015613b8257600080fd5b505afa158015613b96573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bbe91908101906142e4565b905080600182510381518110613bd057fe5b602002602001015192505050919050565b600f546040516246613160e11b815260009182916001600160a01b0390911690628cc26290613c1490309060040161452e565b60206040518083038186803b158015613c2c57600080fd5b505afa158015613c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c6491906144b4565b905060006103e8905060006a52b7d2dcc80cd2e40000009050600069152d02c7e14af680000090506000734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015613cdb57600080fd5b505afa158015613cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d1391906144b4565b9050600080613d2283856137ea565b905085811015613d67576000613d3887836130ee565b9050613d48876130728a846137b0565b92506000613d5687866130ee565b905080841115613d64578093505b50505b60008715613e1757600a5460405163d06ca61f60e01b815260609161010090046001600160a01b03169063d06ca61f90613da8908c90600c906004016148b1565b60006040518083038186803b158015613dc057600080fd5b505afa158015613dd4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613dfc91908101906142e4565b905080600181518110613e0b57fe5b60200260200101519150505b60008315613ec257600b5460405163d06ca61f60e01b81526060916001600160a01b03169063d06ca61f90613e53908890600d906004016148b1565b60006040518083038186803b158015613e6b57600080fd5b505afa158015613e7f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613ea791908101906142e4565b905080600181518110613eb657fe5b60200260200101519150505b613eec613ee2670de0b6b3a7640000613072670de0b6b3a7640000613a97565b611750848461378b565b995050505050505050505090565b6060613f4f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127f99092919063ffffffff16565b8051909150156127f45780806020019051810190613f6d9190614395565b6127f45760405162461bcd60e51b8152600401610aa79061478e565b6060613f9485614194565b613fb05760405162461bcd60e51b8152600401610aa790614732565b60006060866001600160a01b03168587604051613fcd9190614512565b60006040518083038185875af1925050503d806000811461400a576040519150601f19603f3d011682016040523d82523d6000602084013e61400f565b606091505b509150915081156140235791506128089050565b8051156140335780518082602001fd5b8360405162461bcd60e51b8152600401610aa79190614602565b600081831061405c5781613130565b5090919050565b600a546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe5906140a1908490600090600c90309042906004016148da565b600060405180830381600087803b1580156140bb57600080fd5b505af11580156140cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a91908101906142e4565b600b546040516318cbafe560e01b81526001600160a01b03909116906318cbafe5906140a1908490600090600d90309042906004016148da565b600081848411156141555760405162461bcd60e51b8152600401610aa79190614602565b505050900390565b6000818361417e5760405162461bcd60e51b8152600401610aa79190614602565b50600083858161418a57fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612808575050151592915050565b6040518061012001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061425a5782800160ff19823516178555614287565b82800160010185558215614287579182015b8281111561428757823582559160200191906001019061426c565b50614293929150614297565b5090565b5b808211156142935760008155600101614298565b6000602082840312156142bd578081fd5b8135613130816149d6565b6000602082840312156142d9578081fd5b8151613130816149d6565b600060208083850312156142f6578182fd5b825167ffffffffffffffff81111561430c578283fd5b8301601f8101851361431c578283fd5b805161432f61432a82614986565b61495f565b818152838101908385018584028501860189101561434b578687fd5b8694505b8385101561436d57805183526001949094019391850191850161434f565b50979650505050505050565b60006020828403121561438a578081fd5b8135613130816149eb565b6000602082840312156143a6578081fd5b8151613130816149eb565b600080602083850312156143c3578081fd5b823567ffffffffffffffff808211156143da578283fd5b818501915085601f8301126143ed578283fd5b8135818111156143fb578384fd5b86602082850101111561440c578384fd5b60209290920196919550909350505050565b6000610120808385031215614431578182fd5b61443a8161495f565b9050825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b6000602082840312156144ad578081fd5b5035919050565b6000602082840312156144c5578081fd5b5051919050565b6000815480845260208085019450838352808320835b838110156145075781546001600160a01b0316875295820195600191820191016144e2565b509495945050505050565b600082516145248184602087016149a6565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b60608101818460005b60028110156145b8578151835260209283019290910190600101614599565b5050508260408301529392505050565b901515815260200190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b60006020825282518060208401526146218160408501602087016149a6565b601f01601f19169190910160400192915050565b6020808252600b908201526a085cdd1c985d1959da5cdd60aa1b604082015260600190565b602080825260059082015264085dd85b9d60da1b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b6020808252600790820152662173686172657360c81b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252600b908201526a08585d5d1a1bdc9a5e995960aa1b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252600a9082015269085c1c9bdd1958dd195960b21b604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b90815260200190565b60006040820184835260206040818501528185518084526060860191508287019350845b818110156148a45784516001600160a01b03168352938301939183019160010161487f565b5090979650505050505050565b60008382526040602083015261280860408301846144cc565b9182521515602082015260400190565b600086825285602083015260a060408301526148f960a08301866144cc565b6001600160a01b0394909416606083015250608001529392505050565b92835260208301919091521515604082015260600190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60405181810167ffffffffffffffff8111828210171561497e57600080fd5b604052919050565b600067ffffffffffffffff82111561499c578081fd5b5060209081020190565b60005b838110156149c15781810151838201526020016149a9565b838111156149d0576000848401525b50505050565b6001600160a01b038116811461182957600080fd5b801515811461182957600080fdfea2646970667358221220aa72b29ade1f1c5fde54b524fce34e4629143eeda2cdfbb6a4743aca74580e1064736f6c634300060c0033

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

000000000000000000000000986b4aff588a109c09b50a03f42e4110e29d353f

-----Decoded View---------------
Arg [0] : _vault (address): 0x986b4AFF588a109c09B50A03f42E4110E29D353F

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000986b4aff588a109c09b50a03f42e4110e29d353f


Deployed Bytecode Sourcemap

57835:22452:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57309:444;;;;;;;;;;-1:-1:-1;57309:444:0;;;;;:::i;:::-;;:::i;:::-;;31428:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;62454:109;;;;;;;;;;;;;:::i;60491:34::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40455:175::-;;;;;;;;;;-1:-1:-1;40455:175:0;;;;;:::i;:::-;;:::i;34475:32::-;;;;;;;;;;;;;:::i;33189:18::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33098:25::-;;;;;;;;;;;;;:::i;58788:75::-;;;;;;;;;;;;;:::i;43128:148::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31738:91::-;;;;;;;;;;;;;:::i;34081:37::-;;;;;;;;;;;;;:::i;53889:515::-;;;;;;;;;;-1:-1:-1;53889:515:0;;;;;:::i;:::-;;:::i;70164:255::-;;;;;;;;;;;;;:::i;60332:34::-;;;;;;;;;;;;;:::i;60148:32::-;;;;;;;;;;;;;:::i;38504:154::-;;;;;;;;;;-1:-1:-1;38504:154:0;;;;;:::i;:::-;;:::i;59476:89::-;;;;;;;;;;;;;:::i;47881:170::-;;;;;;;;;;;;;:::i;52274:1371::-;;;;;;;;;;;;;:::i;58397:74::-;;;;;;;;;;;;;:::i;58271:69::-;;;;;;;;;;;;;:::i;34558:25::-;;;;;;;;;;;;;:::i;60627:26::-;;;;;;;;;;;;;:::i;74463:940::-;;;;;;;;;;-1:-1:-1;74463:940:0;;;;;:::i;:::-;;:::i;79238:229::-;;;;;;;;;;-1:-1:-1;79238:229:0;;;;;:::i;:::-;;:::i;59278:88::-;;;;;;;;;;;;;:::i;59996:32::-;;;;;;;;;;;;;:::i;57986:94::-;;;;;;;;;;;;;:::i;59862:91::-;;;;;;;;;;;;;:::i;37261:174::-;;;;;;;;;;-1:-1:-1;37261:174:0;;;;;:::i;:::-;;:::i;40933:171::-;;;;;;;;;;-1:-1:-1;40933:171:0;;;;;:::i;:::-;;:::i;77807:154::-;;;;;;;;;;-1:-1:-1;77807:154:0;;;;;:::i;:::-;;:::i;58145:69::-;;;;;;;;;;;;;:::i;59052:29::-;;;;;;;;;;;;;:::i;59669:28::-;;;;;;;;;;;;;:::i;79564:120::-;;;;;;;;;;-1:-1:-1;79564:120:0;;;;;:::i;:::-;;:::i;34291:33::-;;;;;;;;;;;;;:::i;32968:94::-;;;;;;;;;;;;;:::i;39729:169::-;;;;;;;;;;-1:-1:-1;39729:169:0;;;;;:::i;:::-;;:::i;78526:99::-;;;;;;;;;;-1:-1:-1;78526:99:0;;;;;:::i;:::-;;:::i;33926:33::-;;;;;;;;;;;;;:::i;33130:22::-;;;;;;;;;;;;;:::i;60681:30::-;;;;;;;;;;;;;:::i;79800:116::-;;;;;;;;;;-1:-1:-1;79800:116:0;;;;;:::i;:::-;;:::i;33159:21::-;;;;;;;;;;;;;:::i;58530:24::-;;;;;;;;;;-1:-1:-1;58530:24:0;;;;;:::i;:::-;;:::i;36505:202::-;;;;;;;;;;-1:-1:-1;36505:202:0;;;;;:::i;:::-;;:::i;54995:311::-;;;;;;;;;;-1:-1:-1;54995:311:0;;;;;:::i;:::-;;:::i;78817:229::-;;;;;;;;;;-1:-1:-1;78817:229:0;;;;;:::i;:::-;;:::i;59152:47::-;;;;;;;;;;;;;:::i;80001:170::-;;;;;;;;;;-1:-1:-1;80001:170:0;;;;;:::i;:::-;;:::i;59373:96::-;;;;;;;;;;;;;:::i;59762:93::-;;;;;;;;;;;;;:::i;58642:75::-;;;;;;;;;;;;;:::i;37724:263::-;;;;;;;;;;-1:-1:-1;37724:263:0;;;;;:::i;:::-;;:::i;71772:2547::-;;;;;;;;;;-1:-1:-1;71772:2547:0;;;;;:::i;:::-;;:::i;78110:158::-;;;;;;;;;;-1:-1:-1;78110:158:0;;;;;:::i;:::-;;:::i;62655:233::-;;;;;;;;;;;;;:::i;39175:154::-;;;;;;;;;;-1:-1:-1;39175:154:0;;;;;:::i;:::-;;:::i;58934:23::-;;;;;;;;;;;;;:::i;59572:88::-;;;;;;;;;;;;;:::i;33070:21::-;;;;;;;;;;;;;:::i;55735:164::-;;;;;;;;;;;;;:::i;58581:32::-;;;;;;;;;;-1:-1:-1;58581:32:0;;;;;:::i;:::-;;:::i;57309:444::-;34925:12;:10;:12::i;:::-;-1:-1:-1;;;;;34911:26:0;:10;-1:-1:-1;;;;;34911:26:0;;34903:50;;;;-1:-1:-1;;;34903:50:0;;;;;;;:::i;:::-;;;;;;;;;57401:4:::1;::::0;-1:-1:-1;;;;;57383:23:0;;::::1;57401:4:::0;::::1;57383:23;;57375:41;;;;-1:-1:-1::0;;;57375:41:0::1;;;;;;;:::i;:::-;57453:5;::::0;-1:-1:-1;;;;;57435:24:0;;::::1;57453:5:::0;::::1;57435:24;;57427:44;;;;-1:-1:-1::0;;;57427:44:0::1;;;;;;;:::i;:::-;57484:33;57520:17;:15;:17::i;:::-;57484:53;;57553:9;57548:102;57568:16;:23;57564:1;:27;57548:102;;;57616:16;57633:1;57616:19;;;;;;;;;;;;;;-1:-1:-1::0;;;;;57606:29:0::1;:6;-1:-1:-1::0;;;;;57606:29:0::1;;;57598:52;;;;-1:-1:-1::0;;;57598:52:0::1;;;;;;;:::i;:::-;57593:3;;57548:102;;;;57663:82;57691:12;:10;:12::i;:::-;57705:39;::::0;-1:-1:-1;;;57705:39:0;;-1:-1:-1;;;;;57705:24:0;::::1;::::0;::::1;::::0;:39:::1;::::0;57738:4:::1;::::0;57705:39:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;57663:27:0;::::1;::::0;:82;:27:::1;:82::i;:::-;34964:1;57309:444:::0;:::o;31428:25::-;;;;;;;;;;;;;;;-1:-1:-1;;31428:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;62454:109::-;62528:27;;;;;;;;;;;;-1:-1:-1;;;62528:27:0;;;;62454:109;:::o;60491:34::-;;;;:::o;40455:175::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;40540:13:::1;:30:::0;;;40586:36:::1;::::0;::::1;::::0;::::1;::::0;40556:14;;40586:36:::1;:::i;:::-;;;;;;;;40455:175:::0;:::o;34475:32::-;;;;:::o;33189:18::-;;;-1:-1:-1;;;;;33189:18:0;;:::o;33098:25::-;;;-1:-1:-1;;;;;33098:25:0;;:::o;58788:75::-;;;-1:-1:-1;;;;;58788:75:0;;:::o;43128:148::-;43193:5;;:31;;-1:-1:-1;;;43193:31:0;;43169:4;;;;-1:-1:-1;;;;;43193:5:0;;;;:16;;:31;;43218:4;;43193:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;;:45;:75;;;;43267:1;43242:22;:20;:22::i;:::-;:26;43193:75;43186:82;;43128:148;:::o;31738:91::-;31807:14;;;;;;;;;;;;-1:-1:-1;;;31807:14:0;;;;31738:91;:::o;34081:37::-;;;;:::o;53889:515::-;54004:5;;53948:13;;-1:-1:-1;;;;;54004:5:0;53982:10;:28;53974:47;;;;-1:-1:-1;;;53974:47:0;;;;;;;:::i;:::-;54107:19;54160:32;54178:13;54160:17;:32::i;:::-;54284:4;;54137:55;;-1:-1:-1;54137:55:0;;-1:-1:-1;54284:42:0;;-1:-1:-1;;;;;54284:4:0;54302:10;54137:55;54284:17;:42::i;:::-;53889:515;;;;:::o;70164:255::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;70291:15:::1;::::0;70276:56:::1;::::0;-1:-1:-1;;;70276:56:0;;70240:20:::1;::::0;-1:-1:-1;;;;;70291:15:0::1;::::0;70276:41:::1;::::0;:56:::1;::::0;70326:4:::1;::::0;70276:56:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70358:15;::::0;70398:12:::1;::::0;70343:68:::1;::::0;-1:-1:-1;;;70343:68:0;;70240:92;;-1:-1:-1;;;;;;70358:15:0;;::::1;::::0;70343:40:::1;::::0;:68:::1;::::0;70240:92;;70358:15:::1;70398:12:::0;::::1;;;::::0;70343:68:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;60332:34::-:0;;;;:::o;60148:32::-;;;;;;;;;:::o;38504:154::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;38582:14:::1;:23:::0;;;38621:29:::1;::::0;::::1;::::0;::::1;::::0;38599:6;;38621:29:::1;:::i;59476:89::-:0;59522:42;59476:89;:::o;47881:170::-;35051:6;;-1:-1:-1;;;;;35051:6:0;35037:10;:20;;:65;;-1:-1:-1;35092:10:0;;-1:-1:-1;;;;;35092:10:0;35078;:24;35037:65;:112;;;;35137:12;:10;:12::i;:::-;-1:-1:-1;;;;;35123:26:0;:10;-1:-1:-1;;;;;35123:26:0;;35037:112;:163;;;;35184:5;;;;;;;;;-1:-1:-1;;;;;35184:5:0;-1:-1:-1;;;;;35184:14:0;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;35170:30:0;:10;-1:-1:-1;;;;;35170:30:0;;35037:163;:216;;;;35235:5;;;;;;;;;-1:-1:-1;;;;;35235:5:0;-1:-1:-1;;;;;35235:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;35221:32:0;:10;-1:-1:-1;;;;;35221:32:0;;35037:216;35015:277;;;;-1:-1:-1;;;35015:277:0;;;;;;;:::i;:::-;48019:5:::1;::::0;:23:::1;::::0;;-1:-1:-1;;;48019:23:0;;;;48004:39:::1;::::0;-1:-1:-1;;;;;48019:5:0::1;::::0;:21:::1;::::0;:23:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:5;:23;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48004:14;:39::i;:::-;47881:170::o:0;52274:1371::-;35051:6;;-1:-1:-1;;;;;35051:6:0;35037:10;:20;;:65;;-1:-1:-1;35092:10:0;;-1:-1:-1;;;;;35092:10:0;35078;:24;35037:65;:112;;;;35137:12;:10;:12::i;:::-;-1:-1:-1;;;;;35123:26:0;:10;-1:-1:-1;;;;;35123:26:0;;35037:112;:163;;;;35184:5;;;;;;;;;-1:-1:-1;;;;;35184:5:0;-1:-1:-1;;;;;35184:14:0;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;35170:30:0;:10;-1:-1:-1;;;;;35170:30:0;;35037:163;:216;;;;35235:5;;;;;;;;;-1:-1:-1;;;;;35235:5:0;-1:-1:-1;;;;;35235:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;35221:32:0;:10;-1:-1:-1;;;;;35221:32:0;;35037:216;35015:277;;;;-1:-1:-1;;;35015:277:0;;;;;;;:::i;:::-;52325:14:::1;52354:12:::0;52381:23:::1;52407:5;;;;;;;;;-1:-1:-1::0;;;;;52407:5:0::1;-1:-1:-1::0;;;;;52407:21:0::1;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52479:13;::::0;52381:49;;-1:-1:-1;52441:19:0::1;::::0;52479:13:::1;;52475:731;;;52561:19;52583:22;:20;:22::i;:::-;52561:44;;52739:80;52771:15;52757:11;:29;:61;;52803:15;52757:61;;;52789:11;52757:61;52739:17;:80::i;:::-;52717:102:::0;-1:-1:-1;52717:102:0;-1:-1:-1;52897:29:0;;::::1;52893:159;;;52956:32;:11:::0;52972:15;52956::::1;:32::i;:::-;52947:41;;53021:15;53007:29;;52893:159;52475:731;;;;53164:30;53178:15;53164:13;:30::i;:::-;53134:60:::0;;-1:-1:-1;53134:60:0;-1:-1:-1;53134:60:0;-1:-1:-1;52475:731:0::1;53420:5;::::0;:39:::1;::::0;-1:-1:-1;;;53420:39:0;;-1:-1:-1;;;;;53420:5:0;;::::1;::::0;:12:::1;::::0;:39:::1;::::0;53433:6;;53441:4;;53447:11;;53420:39:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53402:57;;53535:31;53550:15;53535:14;:31::i;:::-;53584:53;53594:6;53602:4;53608:11;53621:15;53584:53;;;;;;;;;:::i;:::-;;;;;;;;35303:1;;;;52274:1371::o:0;58397:74::-;58429:42;58397:74;:::o;58271:69::-;;;-1:-1:-1;;;;;58271:69:0;;:::o;34558:25::-;;;;;;:::o;60627:26::-;;;;:::o;74463:940::-;74573:4;74713:15;;74698:11;;:30;74694:48;;-1:-1:-1;74737:5:0;74730:12;;74694:48;74755:28;;:::i;:::-;74786:5;;:31;;-1:-1:-1;;;74786:31:0;;-1:-1:-1;;;;;74786:5:0;;;;:16;;:31;;74811:4;;74786:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74755:62;;75249:108;75290:48;75315:22;75335:1;75315:15;;:19;;:22;;;;:::i;:::-;75291:11;;:18;;75307:1;75291:15;:18::i;:::-;75290:24;;:48::i;:::-;75249:14;;;:18;:108::i;:::-;75196:17;;;;75176:38;;:15;;:19;:38::i;:::-;:196;75158:237;;;75391:4;75384:11;;;74463:940;;;;:::o;79238:229::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;79337:9:::1;;79321:12;:25;79317:143;;;79363:9;:27:::0;;-1:-1:-1;;;;;;79363:27:0::1;59813:42;79363:27;::::0;;79317:143:::1;;;79423:9;:25:::0;;-1:-1:-1;;;;;;79423:25:0::1;59911:42;79423:25;::::0;;79317:143:::1;79238:229:::0;:::o;59278:88::-;59323:42;59278:88;:::o;59996:32::-;;;;;;:::o;57986:94::-;58037:42;57986:94;:::o;59862:91::-;59911:42;59862:91;:::o;37261:174::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;37340:21:0;::::1;37332:30;;;::::0;::::1;;37373:6;:16:::0;;-1:-1:-1;;;;;;37373:16:0::1;-1:-1:-1::0;;;;;37373:16:0;::::1;;::::0;;37405:22:::1;::::0;::::1;::::0;::::1;::::0;37373:16;;37405:22:::1;:::i;40933:171::-:0;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;41022:26:::1;:11;41036:12:::0;;41022:26:::1;:::i;:::-;;41064:32;41083:12;;41064:32;;;;;;;:::i;:::-;;;;;;;;40933:171:::0;;:::o;77807:154::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;77919:15:::1;:34:::0;77807:154::o;58145:69::-;;;;;;-1:-1:-1;;;;;58145:69:0;;:::o;59052:29::-;;;;:::o;59669:28::-;;;;:::o;79564:120::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;79646:13:::1;:30:::0;;-1:-1:-1;;79646:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;79564:120::o;34291:33::-;;;;:::o;32968:94::-;33026:7;32968:94;:::o;39729:169::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;39812:12:::1;:28:::0;;;39856:34:::1;::::0;::::1;::::0;::::1;::::0;39827:13;;39856:34:::1;:::i;78526:99::-:0;34925:12;:10;:12::i;:::-;-1:-1:-1;;;;;34911:26:0;:10;-1:-1:-1;;;;;34911:26:0;;34903:50;;;;-1:-1:-1;;;34903:50:0;;;;;;;:::i;:::-;78599:7:::1;:18:::0;78526:99::o;33926:33::-;;;;:::o;33130:22::-;;;-1:-1:-1;;;;;33130:22:0;;:::o;60681:30::-;;;;:::o;79800:116::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;79880:12:::1;:28:::0;;;::::1;;;;-1:-1:-1::0;;79880:28:0;;::::1;::::0;;;::::1;::::0;;79800:116::o;33159:21::-;;;-1:-1:-1;;;;;33159:21:0;;:::o;58530:24::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58530:24:0;;-1:-1:-1;58530:24:0;:::o;36505:202::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36592:25:0;::::1;36584:34;;;::::0;::::1;;36629:10;:24:::0;;-1:-1:-1;;;;;;36629:24:0::1;-1:-1:-1::0;;;;;36629:24:0;::::1;;::::0;;36669:30:::1;::::0;::::1;::::0;::::1;::::0;36629:24;;36669:30:::1;:::i;54995:311::-:0;55084:5;;-1:-1:-1;;;;;55084:5:0;55062:10;:28;;:58;;;55108:12;:10;:12::i;:::-;-1:-1:-1;;;;;55094:26:0;:10;-1:-1:-1;;;;;55094:26:0;;55062:58;55054:67;;;;;;55178:5;;55140:34;;;-1:-1:-1;;;55140:34:0;;;;-1:-1:-1;;;;;55178:5:0;;;;55140:32;;;;;:34;;;;;;;;;;;;;;:32;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;55140:43:0;;55132:52;;;;;;55195:30;55212:12;55195:16;:30::i;:::-;55268:4;;:29;;-1:-1:-1;;;55268:29:0;;55236:62;;55254:12;;-1:-1:-1;;;;;55268:4:0;;;;:14;;:29;;55291:4;;55268:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55236:4;;-1:-1:-1;;;;;55236:4:0;;:62;:17;:62::i;78817:229::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;78916:9:::1;;78900:12;:25;78896:143;;;78942:9;:27:::0;;-1:-1:-1;;;;;;78942:27:0::1;::::0;::::1;::::0;;78896:143:::1;;;-1:-1:-1::0;79002:9:0::1;:25:::0;;-1:-1:-1;;;;;;79002:25:0::1;::::0;::::1;::::0;;78817:229::o;59152:47::-;59194:5;59152:47;:::o;80001:170::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;80121:19:::1;:42:::0;80001:170::o;59373:96::-;59426:42;59373:96;:::o;59762:93::-;59813:42;59762:93;:::o;58642:75::-;;;-1:-1:-1;;;;;58642:75:0;;:::o;37724:263::-;34812:10;;-1:-1:-1;;;;;34812:10:0;34798;:24;34790:48;;;;-1:-1:-1;;;34790:48:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;37805:22:0;::::1;37797:31;;;::::0;::::1;;37839:5;::::0;37853:7:::1;::::0;37839:25:::1;::::0;-1:-1:-1;;;37839:25:0;;-1:-1:-1;;;;;37839:5:0;;::::1;::::0;:13:::1;::::0;:25:::1;::::0;37853:7;::::1;::::0;37839:5:::1;::::0;:25:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;37875:7:0::1;:18:::0;;-1:-1:-1;;;;;;37875:18:0::1;-1:-1:-1::0;;;;;37875:18:0;;::::1;::::0;;;::::1;::::0;;;;-1:-1:-1;37904:5:0;:35:::1;::::0;-1:-1:-1;;;37904:35:0;;:5;;::::1;::::0;:13:::1;::::0;:35:::1;::::0;37918:7;::::1;::::0;-1:-1:-1;;37935:2:0;37904:35:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37955:24;37970:8;37955:24;;;;;;:::i;71772:2547::-:0;71885:4;71907:28;;:::i;:::-;71938:5;;:31;;-1:-1:-1;;;71938:31:0;;-1:-1:-1;;;;;71938:5:0;;;;:16;;:31;;71963:4;;71938:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71907:62;;72089:19;;72112:1;72089:24;72085:41;;;72122:4;72115:11;;;;;72085:41;72203:17;;;;72199:40;;72234:5;72227:12;;;;;72199:40;72384:14;;72363:17;;;;72343:38;;:15;;:19;:38::i;:::-;:55;72339:86;;;72420:5;72413:12;;;;;72339:86;72544:14;;72522:17;;;;72502:38;;:15;;:19;:38::i;:::-;:56;72498:86;;72580:4;72573:11;;;;;72498:86;73014:5;;:23;;;-1:-1:-1;;;73014:23:0;;;;72992:19;;-1:-1:-1;;;;;73014:5:0;;:21;;:23;;;;;;;;;;;;;;:5;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72992:45;;73066:13;;73052:11;:27;73048:44;;;73088:4;73081:11;;;;;;73048:44;73146:13;73162:22;:20;:22::i;:::-;73146:38;;73274:6;:16;;;73247:24;73257:13;;73247:5;:9;;:24;;;;:::i;:::-;:43;73243:60;;;73299:4;73292:11;;;;;;;73243:60;73415:15;;73401:11;;:29;73397:47;;;73439:5;73432:12;;;;;;;73397:47;73581:14;73622:6;:16;;;73614:5;:24;73610:66;;;73659:16;;;;73649:27;;:5;;:9;:27::i;:::-;73640:36;;73610:66;73793:16;73812:29;73827:13;73812:14;:29::i;:::-;73793:48;;73927:14;73944:5;;;;;;;;;-1:-1:-1;;;;;73944:5:0;-1:-1:-1;;;;;73944:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73927:40;-1:-1:-1;74011:18:0;73927:40;74022:6;74011:10;:18::i;:::-;73982:12;;:26;;73999:8;73982:16;:26::i;:::-;:47;73978:64;;;74038:4;74031:11;;;;;;;;;;73978:64;74118:21;74142:24;:22;:24::i;:::-;74118:48;;74298:13;74261:33;74285:8;74261:19;;:23;;:33;;;;:::i;:::-;74260:51;;71772:2547;-1:-1:-1;;;;;;;;;71772:2547:0:o;78110:158::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;78221:19:::1;:39:::0;78110:158::o;62655:233::-;62836:4;;:29;;-1:-1:-1;;;62836:29:0;;62717:7;;62757:123;;-1:-1:-1;;;;;62836:4:0;;;;:14;;:29;;62859:4;;62836:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62772:15;;62757:56;;-1:-1:-1;;;62757:56:0;;-1:-1:-1;;;;;62772:15:0;;;;62757:41;;:56;;62807:4;;62757:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;:123::i;39175:154::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;39253:14:::1;:23:::0;;;39292:29:::1;::::0;::::1;::::0;::::1;::::0;39270:6;;39292:29:::1;:::i;58934:23::-:0;;;;:::o;59572:88::-;59617:42;59572:88;:::o;33070:21::-;;;-1:-1:-1;;;;;33070:21:0;;:::o;55735:164::-;34669:10;;-1:-1:-1;;;;;34669:10:0;34655;:24;;:54;;;34697:12;:10;:12::i;:::-;-1:-1:-1;;;;;34683:26:0;:10;-1:-1:-1;;;;;34683:26:0;;34655:54;34647:78;;;;-1:-1:-1;;;34647:78:0;;;;;;;:::i;:::-;55798:13:::1;:20:::0;;-1:-1:-1;;55798:20:0::1;55814:4;55798:20:::0;;::::1;::::0;;;55829:5;:22:::1;::::0;;-1:-1:-1;;;55829:22:0;;;;-1:-1:-1;;;;;55829:5:0;;::::1;::::0;:20:::1;::::0;:22:::1;::::0;;::::1;::::0;55798:13:::1;::::0;55829:22;;;;;;;;55798:13;55829:5;:22;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;55869:22:0::1;::::0;::::1;::::0;-1:-1:-1;55869:22:0;;-1:-1:-1;55869:22:0::1;55735:164::o:0;58581:32::-;;;;;;;;;;24826:622;25196:10;;;25195:62;;-1:-1:-1;25212:39:0;;-1:-1:-1;;;25212:39:0;;-1:-1:-1;;;;;25212:15:0;;;;;:39;;25236:4;;25243:7;;25212:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;25195:62;25187:152;;;;-1:-1:-1;;;25187:152:0;;;;;;;:::i;:::-;25350:90;25370:5;25400:22;;;25424:7;25433:5;25377:62;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25377:62:0;;;;;;;;;;;;;;-1:-1:-1;;;;;25377:62:0;-1:-1:-1;;;;;;25377:62:0;;;;;;;;;;25350:19;:90::i;:::-;24826:622;;;:::o;10719:196::-;10822:12;10854:53;10877:6;10885:4;10891:1;10894:12;10854:22;:53::i;:::-;10847:60;10719:196;-1:-1:-1;;;;10719:196:0:o;41258:98::-;41330:5;;:18;;;-1:-1:-1;;;41330:18:0;;;;41303:7;;-1:-1:-1;;;;;41330:5:0;;:16;;:18;;;;;;;;;;;;;;:5;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;71426:295::-;71584:16;;;71598:1;71584:16;;;71521;71584;;;;;71521;;;71584;71598:1;71584:16;;;;;;;;;;-1:-1:-1;71584:16:0;71555:45;;59426:42;71611:9;71621:1;71611:12;;;;;;;;;;;;;:35;-1:-1:-1;;;;;71611:35:0;;;-1:-1:-1;;;;;71611:35:0;;;;;59323:42;71657:9;71667:1;71657:12;;;;;;;;-1:-1:-1;;;;;71657:27:0;;;:12;;;;;;;;;;;:27;71704:9;-1:-1:-1;71426:295:0;:::o;24167:177::-;24250:86;24270:5;24300:23;;;24325:2;24329:5;24277:58;;;;;;;;;:::i;68122:1143::-;68302:4;;:29;;-1:-1:-1;;;68302:29:0;;68226:25;;;;;;-1:-1:-1;;;;;68302:4:0;;:14;;:29;;68325:4;;68302:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68284:47;;68362:7;68346:13;:23;68342:916;;;68441:15;;68426:56;;-1:-1:-1;;;68426:56:0;;68386:20;;-1:-1:-1;;;;;68441:15:0;;68426:41;;:56;;68476:4;;68426:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68512:15;;68386:96;;-1:-1:-1;;;;;;68512:15:0;68497:49;68565:47;68386:96;68588:23;;;68565:8;:47::i;:::-;68631:12;;68497:161;;;;;;-1:-1:-1;;;;;;68497:161:0;;;;;;68631:12;;;;;;68497:161;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;68698:4:0;;:29;;-1:-1:-1;;;68698:29:0;;68675:20;;-1:-1:-1;;;;;68698:4:0;;:14;;:29;;68721:4;;68698:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68675:52;;68762:37;68771:13;68786:12;68762:8;:37::i;:::-;68742:57;;68909:12;68892:13;:29;68888:227;;68942:14;68959:22;:20;:22::i;:::-;69015:5;;:31;;-1:-1:-1;;;69015:31:0;;68942:39;;-1:-1:-1;69000:12:0;;-1:-1:-1;;;;;69015:5:0;;;;:16;;:31;;69040:4;;69015:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;;;-1:-1:-1;69083:16:0;69015:41;69092:6;69083:8;:16::i;:::-;69075:24;;68888:227;;;68342:916;;;;;69229:13;69244:1;69221:25;;;;;;;68342:916;68122:1143;;;;;:::o;66017:2097::-;66100:13;;;;66096:52;;;66130:7;;66096:52;66164:10;;66178:1;66164:15;66160:1947;;;66321:4;;:29;;-1:-1:-1;;;66321:29:0;;66301:17;;-1:-1:-1;;;;;66321:4:0;;:14;;:29;;66344:4;;66321:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;66301:49;-1:-1:-1;66467:13:0;;66463:97;;66514:15;;66539:3;;66499:61;;-1:-1:-1;;;66499:61:0;;-1:-1:-1;;;;;66514:15:0;;;;66499:39;;:61;;66544:9;;66514:15;;66499:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;66463:97;-1:-1:-1;66688:1:0;66674:11;:15;;;66704:10;:14;66160:1947;;;66924:15;;66909:56;;-1:-1:-1;;;66909:56:0;;66869:20;;-1:-1:-1;;;;;66924:15:0;;66909:41;;:56;;66959:4;;66909:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67038:15;;67023:53;;-1:-1:-1;;;67023:53:0;;66869:96;;-1:-1:-1;66980:23:0;;-1:-1:-1;;;;;67038:15:0;;;;67023:38;;:53;;67070:4;;67023:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;66980:96;;67110:1;67095:12;:16;:39;;;;;67133:1;67115:15;:19;67095:39;67091:1005;;;67270:15;;67355:13;;67255:132;;-1:-1:-1;;;67255:132:0;;-1:-1:-1;;;;;67270:15:0;;;;67255:41;;:132;;67327:4;;67355:13;;;67255:132;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;67429:28:0;;-1:-1:-1;;;67429:28:0;;67408:18;;59323:42;;67429:13;;:28;;67451:4;;67429:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67500:36;;-1:-1:-1;;;67500:36:0;;67408:49;;-1:-1:-1;67476:21:0;;59426:42;;67500:21;;:36;;67530:4;;67500:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67476:60;;67557:16;67576:44;59194:5;67576:23;67591:7;;67576:10;:14;;:23;;;;:::i;:::-;:27;;:44::i;:::-;67557:63;-1:-1:-1;67639:50:0;59323:42;58429;67557:63;67639:33;:50::i;:::-;67708:20;67731:24;:10;67746:8;67731:14;:24::i;:::-;67708:47;;67776:22;67785:12;67776:8;:22::i;:::-;67821:17;;67817:49;;67840:26;67852:13;67840:11;:26::i;:::-;68010:11;;68054:26;68010:11;68078:1;68054:23;:26::i;:::-;68040:11;:40;-1:-1:-1;;;;;66160:1947:0;;66017:2097;:::o;18054:136::-;18112:7;18139:43;18143:1;18146;18139:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;18132:50;;18054:136;;;;;:::o;62896:3113::-;63521:15;;63506:56;;-1:-1:-1;;;63506:56:0;;63013:15;;;;;;;;-1:-1:-1;;;;;63521:15:0;;;;63506:41;;:56;;63556:4;;63506:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63627:15;;63612:53;;-1:-1:-1;;;63612:53:0;;63470:92;;-1:-1:-1;63573:23:0;;-1:-1:-1;;;;;63627:15:0;;;;63612:38;;:53;;63659:4;;63612:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63573:92;;63695:1;63680:12;:16;:39;;;;;63718:1;63700:15;:19;63680:39;63676:1005;;;63927:15;;64004:13;;63912:120;;-1:-1:-1;;;63912:120:0;;-1:-1:-1;;;;;63927:15:0;;;;63912:41;;:120;;63980:4;;64004:13;;;63912:120;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;64070:28:0;;-1:-1:-1;;;64070:28:0;;64049:18;;59323:42;;64070:13;;:28;;64092:4;;64070:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64137:36;;-1:-1:-1;;;64137:36:0;;64049:49;;-1:-1:-1;64113:21:0;;59426:42;;64137:21;;:36;;64167:4;;64137:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64113:60;;64190:16;64209:44;59194:5;64209:23;64224:7;;64209:10;:14;;:23;;;;:::i;:44::-;64190:63;-1:-1:-1;64268:50:0;59323:42;58429;64190:63;64268:33;:50::i;:::-;64333:20;64356:24;:10;64371:8;64356:14;:24::i;:::-;64333:47;;64397:22;64406:12;64397:8;:22::i;:::-;64438:17;;64434:49;;64457:26;64469:13;64457:11;:26::i;:::-;64521:21;64561:14;;64557:113;;64596:58;;;;;;;;;;;-1:-1:-1;64596:58:0;;;;;;;;-1:-1:-1;;;64596:58:0;;58037:42;;64596:19;;64623:10;;64596:58;;-1:-1:-1;64596:58:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64557:113;63676:1005;;;;;;64828:1;64815:10;:14;;;64932:19;;:24;64928:53;;;64980:1;64958:19;:23;64928:53;65118:14;65135:22;:20;:22::i;:::-;65183:5;;:31;;-1:-1:-1;;;65183:31:0;;65118:39;;-1:-1:-1;65168:12:0;;-1:-1:-1;;;;;65183:5:0;;;;:16;;:31;;65208:4;;65183:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;;65168:56;;65321:4;65312:6;:13;65308:232;;;65352:4;;:29;;-1:-1:-1;;;65352:29:0;;-1:-1:-1;;;;;65352:4:0;;;;:14;;:29;;65375:4;;65352:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65342:39;;65308:232;;;65486:16;:4;65495:6;65486:8;:16::i;:::-;65478:24;;65527:1;65517:11;;65308:232;65661:20;;65657:345;;65713:15;;-1:-1:-1;;;;;65713:15:0;65698:49;65766:40;65775:12;65789:16;65766:8;:40::i;:::-;65825:12;;65698:154;;;;;;-1:-1:-1;;;;;;65698:154:0;;;;;;65825:12;;;;;;65698:154;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;65946:4:0;;:29;;-1:-1:-1;;;65946:29:0;;65884:106;;65911:16;;-1:-1:-1;;;;;65946:4:0;;;;:14;;:29;;65969:4;;65946:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65884:8;:106::i;:::-;65869:121;;65657:345;62896:3113;;;;;;;;;:::o;17590:181::-;17648:7;17680:5;;;17704:6;;;;17696:46;;;;-1:-1:-1;;;17696:46:0;;;;;;;:::i;18944:471::-;19002:7;19247:6;19243:47;;-1:-1:-1;19277:1:0;19270:8;;19243:47;19314:5;;;19318:1;19314;:5;:1;19338:5;;;;;:10;19330:56;;;;-1:-1:-1;;;19330:56:0;;;;;;;:::i;19891:132::-;19949:7;19976:39;19980:1;19983;19976:39;;;;;;;;;;;;;;;;;:3;:39::i;70623:628::-;70751:15;;70736:56;;-1:-1:-1;;;70736:56:0;;70700:20;;-1:-1:-1;;;;;70751:15:0;;70736:41;;:56;;70786:4;;70736:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70700:92;-1:-1:-1;70807:16:0;;70803:175;;70855:15;;70939:12;;70840:126;;-1:-1:-1;;;70840:126:0;;-1:-1:-1;;;;;70855:15:0;;;;70840:49;;:126;;70908:12;;70855:15;70939:12;;;;;70840:126;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;70803:175;71063:28;;-1:-1:-1;;;71063:28:0;;70988:114;;71036:12;;59323:42;;71063:13;;:28;;71085:4;;71063:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59323:42;;70988:114;:33;:114::i;:::-;71196:36;;-1:-1:-1;;;71196:36:0;;71113:130;;71169:12;;59426:42;;71196:21;;:36;;71226:4;;71196:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59426:42;;71113:130;:41;:130::i;75458:425::-;75604:16;;;75618:1;75604:16;;;75577:24;75604:16;;;;;75552:7;;75577:24;;75604:16;75618:1;75604:16;;;;;;;;;;-1:-1:-1;75604:16:0;75577:43;;59522:42;75631:7;75639:1;75631:10;;;;;;;;;;;;;:26;-1:-1:-1;;;;;75631:26:0;;;-1:-1:-1;;;;;75631:26:0;;;;;59617:42;75668:7;75676:1;75668:10;;;;;;;;-1:-1:-1;;;;;75668:25:0;;;:10;;;;;;;;;:25;75771:9;;75752:64;;-1:-1:-1;;;75752:64:0;;75706:30;;75771:9;;;;;;;;75752:43;;:64;;75796:10;;75808:7;;75752:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75752:64:0;;;;;;;;;;;;:::i;:::-;75706:110;;75836:13;75873:1;75850:13;:20;:24;75836:39;;;;;;;;;;;;;;75829:46;;;;75458:425;;;:::o;75961:1778::-;76089:15;;76074:53;;-1:-1:-1;;;76074:53:0;;76018:7;;;;-1:-1:-1;;;;;76089:15:0;;;;76074:38;;:53;;76121:4;;76074:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;76038:89;;76288:19;76310:4;76288:26;;76325:17;76345:20;76325:40;;76386:25;76414:24;76386:52;;76460:14;59426:42;-1:-1:-1;;;;;76477:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;76460:42;-1:-1:-1;76513:19:0;;76561:29;76460:42;76572:17;76561:10;:29::i;:::-;76545:45;;76651:11;76643:5;:19;76639:443;;;76739:17;76759:22;:11;76775:5;76759:15;:22::i;:::-;76739:42;-1:-1:-1;76832:44:0;76864:11;76832:27;:12;76739:42;76832:16;:27::i;:44::-;76818:58;-1:-1:-1;76925:18:0;76946:21;:9;76960:6;76946:13;:21::i;:::-;76925:42;;77000:10;76986:11;:24;76982:89;;;77045:10;77031:24;;76982:89;76639:443;;;77092:16;77123;;77119:203;;77223:9;;77204:66;;-1:-1:-1;;;77204:66:0;;77160:24;;77223:9;;;-1:-1:-1;;;;;77223:9:0;;77204:43;;:66;;77248:12;;77262:7;;77204:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;77204:66:0;;;;;;;;;;;;:::i;:::-;77160:110;;77300:7;77308:1;77300:10;;;;;;;;;;;;;;77289:21;;77119:203;;77334:16;77365:15;;77361:262;;77460:9;;77441:134;;-1:-1:-1;;;77441:134:0;;77397:24;;-1:-1:-1;;;;;77460:9:0;;77441:43;;:134;;77507:11;;77541:15;;77441:134;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;77441:134:0;;;;;;;;;;;;:::i;:::-;77397:178;;77601:7;77609:1;77601:10;;;;;;;;;;;;;;77590:21;;77361:262;;77640:60;77669:30;77694:4;77669:20;77684:4;77669:14;:20::i;:30::-;77641:22;:8;77654;77641:12;:22::i;77640:60::-;77633:67;;;;;;;;;;;75961:1778;:::o;26472:761::-;26896:23;26922:69;26950:4;26922:69;;;;;;;;;;;;;;;;;26930:5;-1:-1:-1;;;;;26922:27:0;;;:69;;;;;:::i;:::-;27006:17;;26896:95;;-1:-1:-1;27006:21:0;27002:224;;27148:10;27137:30;;;;;;;;;;;;:::i;:::-;27129:85;;;;-1:-1:-1;;;27129:85:0;;;;;;;:::i;12096:979::-;12226:12;12259:18;12270:6;12259:10;:18::i;:::-;12251:60;;;;-1:-1:-1;;;12251:60:0;;;;;;;:::i;:::-;12385:12;12399:23;12426:6;-1:-1:-1;;;;;12426:11:0;12446:8;12457:4;12426:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12384:78;;;;12477:7;12473:595;;;12508:10;-1:-1:-1;12501:17:0;;-1:-1:-1;12501:17:0;12473:595;12622:17;;:21;12618:439;;12885:10;12879:17;12946:15;12933:10;12929:2;12925:19;12918:44;12833:148;13028:12;13021:20;;-1:-1:-1;;;13021:20:0;;;;;;;;:::i;16262:106::-;16320:7;16351:1;16347;:5;:13;;16359:1;16347:13;;;-1:-1:-1;16355:1:0;;16262:106;-1:-1:-1;16262:106:0:o;69337:246::-;69414:9;;69395:180;;-1:-1:-1;;;69395:180:0;;69414:9;;;;-1:-1:-1;;;;;69414:9:0;;69395:51;;:180;;69461:10;;69494:1;;69511:7;;69541:4;;69561:3;;69395:180;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;69395:180:0;;;;;;;;;;;;:::i;69655:263::-;69738:9;;69719:191;;-1:-1:-1;;;69719:191:0;;-1:-1:-1;;;;;69738:9:0;;;;69719:51;;:191;;69785:13;;69738:9;;69838:15;;69876:4;;69896:3;;69719:191;;;:::i;18493:192::-;18579:7;18615:12;18607:6;;;;18599:29;;;;-1:-1:-1;;;18599:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;18651:5:0;;;18493:192::o;20519:278::-;20605:7;20640:12;20633:5;20625:28;;;;-1:-1:-1;;;20625:28:0;;;;;;;;:::i;:::-;;20664:9;20680:1;20676;:5;;;;;;;20519:278;-1:-1:-1;;;;;20519:278:0:o;7604:619::-;7664:4;8132:20;;7975:66;8172:23;;;;;;:42;;-1:-1:-1;;8199:15:0;;;8164:51;-1:-1:-1;;7604:619:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;3814:241;;3918:2;3906:9;3897:7;3893:23;3889:32;3886:2;;;-1:-1;;3924:12;3886:2;85:6;72:20;97:33;124:5;97:33;:::i;4062:263::-;;4177:2;4165:9;4156:7;4152:23;4148:32;4145:2;;;-1:-1;;4183:12;4145:2;226:6;220:13;238:33;265:5;238:33;:::i;4332:392::-;;4472:2;;4460:9;4451:7;4447:23;4443:32;4440:2;;;-1:-1;;4478:12;4440:2;4529:17;4523:24;4567:18;4559:6;4556:30;4553:2;;;-1:-1;;4589:12;4553:2;4676:22;;422:4;410:17;;406:27;-1:-1;396:2;;-1:-1;;437:12;396:2;477:6;471:13;499:80;514:64;571:6;514:64;:::i;:::-;499:80;:::i;:::-;607:21;;;664:14;;;;639:17;;;753;;;744:27;;;;741:36;-1:-1;738:2;;;-1:-1;;780:12;738:2;-1:-1;806:10;;800:217;825:6;822:1;819:13;800:217;;;3751:13;;893:61;;847:1;840:9;;;;;968:14;;;;996;;800:217;;;-1:-1;4609:99;4434:290;-1:-1;;;;;;;4434:290::o;4731:235::-;;4832:2;4820:9;4811:7;4807:23;4803:32;4800:2;;;-1:-1;;4838:12;4800:2;1108:6;1095:20;1120:30;1144:5;1120:30;:::i;4973:257::-;;5085:2;5073:9;5064:7;5060:23;5056:32;5053:2;;;-1:-1;;5091:12;5053:2;1243:6;1237:13;1255:30;1279:5;1255:30;:::i;5541:367::-;;;5665:2;5653:9;5644:7;5640:23;5636:32;5633:2;;;-1:-1;;5671:12;5633:2;5729:17;5716:31;5767:18;;5759:6;5756:30;5753:2;;;-1:-1;;5789:12;5753:2;5875:6;5864:9;5860:22;;;1602:3;1595:4;1587:6;1583:17;1579:27;1569:2;;-1:-1;;1610:12;1569:2;1653:6;1640:20;5767:18;1672:6;1669:30;1666:2;;;-1:-1;;1702:12;1666:2;1797:3;5665:2;1777:17;1738:6;1763:32;;1760:41;1757:2;;;-1:-1;;1804:12;1757:2;5665;1734:17;;;;;5809:83;;-1:-1;5627:281;;-1:-1;;;;5627:281::o;5915:324::-;;6060:3;;6048:9;6039:7;6035:23;6031:33;6028:2;;;-1:-1;;6067:12;6028:2;2028:22;6060:3;2028:22;:::i;:::-;2019:31;;2174:22;3751:13;2124:16;2117:86;2270:2;2339:9;2335:22;3751:13;2270:2;2289:5;2285:16;2278:86;2430:2;2499:9;2495:22;3751:13;2430:2;2449:5;2445:16;2438:86;2598:2;2667:9;2663:22;3751:13;2598:2;2617:5;2613:16;2606:86;2766:3;2836:9;2832:22;3751:13;2766:3;2786:5;2782:16;2775:86;2928:3;2998:9;2994:22;3751:13;2928:3;2948:5;2944:16;2937:86;3089:3;3159:9;3155:22;3751:13;3089:3;3109:5;3105:16;3098:86;3250:3;3320:9;3316:22;3751:13;3250:3;3270:5;3266:16;3259:86;3411:3;;3483:9;3479:22;3751:13;3411:3;3431:5;3427:18;3420:88;;6119:104;;;;6022:217;;;;:::o;6246:241::-;;6350:2;6338:9;6329:7;6325:23;6321:32;6318:2;;;-1:-1;;6356:12;6318:2;-1:-1;3603:20;;6312:175;-1:-1;6312:175::o;6494:263::-;;6609:2;6597:9;6588:7;6584:23;6580:32;6577:2;;;-1:-1;;6615:12;6577:2;-1:-1;3751:13;;6571:186;-1:-1;6571:186::o;8267:709::-;;8454:5;29842:12;30727:6;30722:3;30715:19;30764:4;;30759:3;30755:14;8466:93;;29428:3;-1:-1;29418:14;30764:4;-1:-1;29447:18;-1:-1;8666:288;8691:6;8688:1;8685:13;8666:288;;;34287:11;;-1:-1;;;;;31332:54;7338:37;;6918:14;;;;4567:18;30457:14;;;;8706:9;8666:288;;;-1:-1;8960:10;;8388:588;-1:-1;;;;;8388:588::o;15621:271::-;;9956:5;29695:12;10067:52;10112:6;10107:3;10100:4;10093:5;10089:16;10067:52;:::i;:::-;10131:16;;;;;15755:137;-1:-1;;15755:137::o;15899:222::-;-1:-1;;;;;31332:54;;;;7338:37;;16026:2;16011:18;;15997:124::o;16373:337::-;-1:-1;;;;;31332:54;;;;7207:58;;31562:13;31555:21;16696:2;16681:18;;9750:34;16530:2;16515:18;;16501:209::o;16717:333::-;-1:-1;;;;;31332:54;;;7338:37;;31332:54;;17036:2;17021:18;;7338:37;16872:2;16857:18;;16843:207::o;17057:349::-;-1:-1;;;;;31332:54;;;;7338:37;;17392:2;17377:18;;10892:58;17220:2;17205:18;;17191:215::o;17753:441::-;17962:2;17947:18;;17951:9;9380:21;17753:441;9407:258;29978:4;9429:1;9426:13;9407:258;;;9493:13;;15452:37;;7109:4;7100:14;;;;30345;;;;9454:1;9447:9;9407:258;;;9411:14;;;10943:5;18180:2;18169:9;18165:18;10892:58;17933:261;;;;;:::o;18201:210::-;31562:13;;31555:21;9750:34;;18322:2;18307:18;;18293:118::o;19456:330::-;;19613:2;19634:17;19627:47;30727:6;19613:2;19602:9;19598:18;30715:19;33649:6;33644:3;30755:14;19602:9;30755:14;33626:30;33687:16;;;30755:14;33687:16;;;33680:27;;;;34395:7;34379:14;;;-1:-1;;34375:28;11242:39;;;19584:202;-1:-1;19584:202::o;19793:310::-;;19940:2;19961:17;19954:47;11440:5;29695:12;30727:6;19940:2;19929:9;19925:18;30715:19;11534:52;11579:6;30755:14;19929:9;30755:14;19940:2;11560:5;11556:16;11534:52;:::i;:::-;34395:7;34379:14;-1:-1;;34375:28;11598:39;;;;30755:14;11598:39;;19911:192;-1:-1;;19911:192::o;20110:416::-;20310:2;20324:47;;;11874:2;20295:18;;;30715:19;-1:-1;;;30755:14;;;11890:34;11943:12;;;20281:245::o;20533:416::-;20733:2;20747:47;;;12194:1;20718:18;;;30715:19;-1:-1;;;30755:14;;;12209:28;12256:12;;;20704:245::o;20956:416::-;21156:2;21170:47;;;12507:2;21141:18;;;30715:19;12543:29;30755:14;;;12523:50;12592:12;;;21127:245::o;21379:416::-;21579:2;21593:47;;;12843:2;21564:18;;;30715:19;12879:34;30755:14;;;12859:55;-1:-1;;;12934:12;;;12927:25;12971:12;;;21550:245::o;21802:416::-;22002:2;22016:47;;;13222:1;21987:18;;;30715:19;-1:-1;;;30755:14;;;13237:29;13285:12;;;21973:245::o;22225:416::-;22425:2;22439:47;;;13536:1;22410:18;;;30715:19;-1:-1;;;30755:14;;;13551:30;13600:12;;;22396:245::o;22648:416::-;22848:2;22862:47;;;13851:2;22833:18;;;30715:19;13887:31;30755:14;;;13867:52;13938:12;;;22819:245::o;23071:416::-;23271:2;23285:47;;;14189:2;23256:18;;;30715:19;-1:-1;;;30755:14;;;14205:34;14258:12;;;23242:245::o;23494:416::-;23694:2;23708:47;;;14509:2;23679:18;;;30715:19;14545:34;30755:14;;;14525:55;-1:-1;;;14600:12;;;14593:34;14646:12;;;23665:245::o;23917:416::-;24117:2;24131:47;;;14897:2;24102:18;;;30715:19;-1:-1;;;30755:14;;;14913:33;14965:12;;;24088:245::o;24340:416::-;24540:2;24554:47;;;15216:2;24525:18;;;30715:19;15252:34;30755:14;;;15232:55;-1:-1;;;15307:12;;;15300:46;15365:12;;;24511:245::o;24763:222::-;15452:37;;;24890:2;24875:18;;24861:124::o;24992:481::-;;25197:2;25186:9;25182:18;15482:5;15459:3;15452:37;25315:2;25197;25315;25304:9;25300:18;25293:48;25355:108;7731:5;29695:12;30727:6;30722:3;30715:19;30755:14;25186:9;30755:14;7743:93;;25315:2;7907:5;29265:14;7919:21;;-1:-1;7946:260;7971:6;7968:1;7965:13;7946:260;;;8032:13;;-1:-1;;;;;31332:54;7338:37;;30345:14;;;;6918;;;;4567:18;7986:9;7946:260;;;-1:-1;25347:116;;25168:305;-1:-1;;;;;;;25168:305::o;25480:475::-;;15482:5;15459:3;15452:37;25682:2;25800;25789:9;25785:18;25778:48;25840:105;25682:2;25671:9;25667:18;25931:6;25840:105;:::i;25962:321::-;15452:37;;;31562:13;31555:21;26269:2;26254:18;;9750:34;26111:2;26096:18;;26082:201::o;26290:826::-;;15482:5;15459:3;15452:37;15482:5;26749:2;26738:9;26734:18;15452:37;26584:3;26786:2;26775:9;26771:18;26764:48;26826:105;26584:3;26573:9;26569:19;26917:6;26826:105;:::i;:::-;-1:-1;;;;;31332:54;;;;27018:2;27003:18;;7207:58;-1:-1;27101:3;27086:19;15452:37;26818:113;26555:561;-1:-1;;;26555:561::o;27123:432::-;15452:37;;;27464:2;27449:18;;15452:37;;;;31562:13;31555:21;27541:2;27526:18;;9750:34;27300:2;27285:18;;27271:284::o;27562:444::-;15452:37;;;27909:2;27894:18;;15452:37;;;;27992:2;27977:18;;15452:37;27745:2;27730:18;;27716:290::o;28013:556::-;15452:37;;;28389:2;28374:18;;15452:37;;;;28472:2;28457:18;;15452:37;28555:2;28540:18;;15452:37;28224:3;28209:19;;28195:374::o;28576:256::-;28638:2;28632:9;28664:17;;;28739:18;28724:34;;28760:22;;;28721:62;28718:2;;;28796:1;;28786:12;28718:2;28638;28805:22;28616:216;;-1:-1;28616:216::o;28839:304::-;;28998:18;28990:6;28987:30;28984:2;;;-1:-1;;29020:12;28984:2;-1:-1;29065:4;29053:17;;;29118:15;;28921:222::o;33722:268::-;33787:1;33794:101;33808:6;33805:1;33802:13;33794:101;;;33875:11;;;33869:18;33856:11;;;33849:39;33830:2;33823:10;33794:101;;;33910:6;33907:1;33904:13;33901:2;;;33787:1;33966:6;33961:3;33957:16;33950:27;33901:2;;33771:219;;;:::o;34526:117::-;-1:-1;;;;;31332:54;;34585:35;;34575:2;;34634:1;;34624:12;34650:111;34731:5;31562:13;31555:21;34709:5;34706:32;34696:2;;34752:1;;34742:12

Swarm Source

ipfs://aa72b29ade1f1c5fde54b524fce34e4629143eeda2cdfbb6a4743aca74580e10

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  ]
[ 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.