ETH Price: $3,127.60 (+0.74%)

Contract

0xEd102Caf9FA613eF654FE0e5Df72cc44b7527F87
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...171651102023-05-01 9:32:35565 days ago1682933555IN
0xEd102Caf...4b7527F87
0 ETH0.0017621661.50676204
Add Reward V2171649822023-05-01 9:06:47565 days ago1682932007IN
0xEd102Caf...4b7527F87
0 ETH0.0117609849.63319817
Initialize171649302023-05-01 8:56:11565 days ago1682931371IN
0xEd102Caf...4b7527F87
0 ETH0.0323799344.01888201
0x60806040171649282023-05-01 8:55:47565 days ago1682931347IN
 Create: StrategyCurveConvex
0 ETH0.2022327443.71628193

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyCurveConvex

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-05-01
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin-4/contracts/token/ERC20/IERC20.sol

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin-4/contracts/token/ERC20/extensions/draft-IERC20Permit.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: @openzeppelin-4/contracts/utils/Address.sol

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin-4/contracts/token/ERC20/utils/SafeERC20.sol

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



/**
 * @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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/BIFI/interfaces/common/IUniswapRouterETH.sol


pragma solidity >=0.6.0 <0.9.0;

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

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

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

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

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

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

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

// File: contracts/BIFI/interfaces/common/IWrappedNative.sol


pragma solidity >=0.6.0 <0.9.0;

interface IWrappedNative {
    function deposit() external payable;

    function withdraw(uint256 wad) external;
}

// File: contracts/BIFI/interfaces/convex/IConvex.sol


pragma solidity >=0.6.0 <0.9.0;

interface IConvexBooster {
    function deposit(uint256 pid, uint256 amount, bool stake) external returns (bool);
    function earmarkRewards(uint256 _pid) external;
    function poolInfo(uint256 pid) external view returns (
        address lptoken,
        address token,
        address gauge,
        address crvRewards,
        address stash,
        bool shutdown
    );
}

interface IConvexBoosterL2 {
    function deposit(uint256 _pid, uint256 _amount) external returns (bool);
    function poolInfo(uint256 pid) external view returns (
        address lptoken, //the curve lp token
        address gauge, //the curve gauge
        address rewards, //the main reward/staking contract
        bool shutdown, //is this pool shutdown?
        address factory //a reference to the curve factory used to create this pool (needed for minting crv)
    );
}

interface IConvexRewardPool {
    function balanceOf(address account) external view returns (uint256);
    function earned(address account) external view returns (uint256);
    function periodFinish() external view returns (uint256);
    function getReward() external;
    function getReward(address _account, bool _claimExtras) external;
    function getReward(address _account) external;
    function withdrawAndUnwrap(uint256 _amount, bool claim) external;
    function withdrawAllAndUnwrap(bool claim) external;

    // L2 interface
    function withdraw(uint256 _amount, bool _claim) external;
    function emergencyWithdraw(uint256 _amount) external;
}

// File: contracts/BIFI/interfaces/curve/ICurveSwap.sol


pragma solidity >=0.6.0;

interface ICurveSwap {
    function remove_liquidity_one_coin(uint256 token_amount, int128 i, uint256 min_amount) external;
    function calc_withdraw_one_coin(uint256 tokenAmount, int128 i) external view returns (uint256);
    function coins(uint256 arg0) external view returns (address);

    function add_liquidity(uint256[2] memory amounts, uint256 min_mint_amount) external payable;
    function add_liquidity(uint256[2] memory amounts, uint256 min_mint_amount, bool _use_underlying) external;
    function add_liquidity(address _pool, uint256[2] memory amounts, uint256 min_mint_amount) external;

    function add_liquidity(uint256[3] memory amounts, uint256 min_mint_amount) external payable;
    function add_liquidity(uint256[3] memory amounts, uint256 min_mint_amount, bool _use_underlying) external payable;
    function add_liquidity(address _pool, uint256[3] memory amounts, uint256 min_mint_amount) external payable;

    function add_liquidity(uint256[4] memory amounts, uint256 min_mint_amount) external payable;
    function add_liquidity(address _pool, uint256[4] memory amounts, uint256 min_mint_amount) external payable;

    function add_liquidity(uint256[5] memory amounts, uint256 min_mint_amount) external payable;
    function add_liquidity(address _pool, uint256[5] memory amounts, uint256 min_mint_amount) external payable;

    function add_liquidity(uint256[6] memory amounts, uint256 min_mint_amount) external payable;
    function add_liquidity(address _pool, uint256[6] memory amounts, uint256 min_mint_amount) external payable;

    function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy) external;
}

// File: contracts/BIFI/interfaces/curve/ICrvMinter.sol


pragma solidity >=0.6.0;

interface ICrvMinter {
    function mint(address _gauge) external;
}

// File: contracts/BIFI/interfaces/curve/ICurveRouter.sol


pragma solidity >=0.6.0;

interface ICurveRouter {

    function exchange_multiple(
        address[9] calldata _route,
        uint[3][4] calldata _swap_params,
        uint _amount,
        uint _expected
    ) external returns (uint);
}

// File: contracts/BIFI/interfaces/curve/IRewardsGauge.sol


pragma solidity >=0.6.0 <0.9.0;

interface IRewardsGauge {
    function balanceOf(address account) external view returns (uint256);
    function claimable_reward(address _addr, address _token) external view returns (uint256);
    function claim_rewards(address _addr) external;
    function deposit(uint256 _value) external;
    function withdraw(uint256 _value) external;
    function reward_contract() external view returns (address);
}

// File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol

// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

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

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}

// File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

// File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

// File: @openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol

// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


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

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    function __Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _paused = false;
    }

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

// File: contracts/BIFI/interfaces/common/IFeeConfig.sol


pragma solidity ^0.8.0;

interface IFeeConfig {
    struct FeeCategory {
        uint256 total;
        uint256 beefy;
        uint256 call;
        uint256 strategist;
        string label;
        bool active;
    }
    struct AllFees {
        FeeCategory performance;
        uint256 deposit;
        uint256 withdraw;
    }
    function getFees(address strategy) external view returns (FeeCategory memory);
    function stratFeeId(address strategy) external view returns (uint256);
    function setStratFeeId(uint256 feeId) external;
}

// File: contracts/BIFI/strategies/Common/StratFeeManagerInitializable.sol


pragma solidity ^0.8.0;



contract StratFeeManagerInitializable is OwnableUpgradeable, PausableUpgradeable {

    struct CommonAddresses {
        address vault;
        address unirouter;
        address keeper;
        address strategist;
        address beefyFeeRecipient;
        address beefyFeeConfig;
    }

    // common addresses for the strategy
    address public vault;
    address public unirouter;
    address public keeper;
    address public strategist;
    address public beefyFeeRecipient;
    IFeeConfig public beefyFeeConfig;

    uint256 constant DIVISOR = 1 ether;
    uint256 constant public WITHDRAWAL_FEE_CAP = 50;
    uint256 constant public WITHDRAWAL_MAX = 10000;
    uint256 internal withdrawalFee;

    event SetStratFeeId(uint256 feeId);
    event SetWithdrawalFee(uint256 withdrawalFee);
    event SetVault(address vault);
    event SetUnirouter(address unirouter);
    event SetKeeper(address keeper);
    event SetStrategist(address strategist);
    event SetBeefyFeeRecipient(address beefyFeeRecipient);
    event SetBeefyFeeConfig(address beefyFeeConfig);

    function __StratFeeManager_init(CommonAddresses calldata _commonAddresses) internal onlyInitializing {
        __Ownable_init();
        __Pausable_init();
        vault = _commonAddresses.vault;
        unirouter = _commonAddresses.unirouter;
        keeper = _commonAddresses.keeper;
        strategist = _commonAddresses.strategist;
        beefyFeeRecipient = _commonAddresses.beefyFeeRecipient;
        beefyFeeConfig = IFeeConfig(_commonAddresses.beefyFeeConfig);
        withdrawalFee = 10;
    }

    // checks that caller is either owner or keeper.
    modifier onlyManager() {
        _checkManager();
        _;
    }

    function _checkManager() internal view {
        require(msg.sender == owner() || msg.sender == keeper, "!manager");
    }

    // fetch fees from config contract
    function getFees() internal view returns (IFeeConfig.FeeCategory memory) {
        return beefyFeeConfig.getFees(address(this));
    }

    // fetch fees from config contract and dynamic deposit/withdraw fees
    function getAllFees() external view returns (IFeeConfig.AllFees memory) {
        return IFeeConfig.AllFees(getFees(), depositFee(), withdrawFee());
    }

    function getStratFeeId() external view returns (uint256) {
        return beefyFeeConfig.stratFeeId(address(this));
    }

    function setStratFeeId(uint256 _feeId) external onlyManager {
        beefyFeeConfig.setStratFeeId(_feeId);
        emit SetStratFeeId(_feeId);
    }

    // adjust withdrawal fee
    function setWithdrawalFee(uint256 _fee) public onlyManager {
        require(_fee <= WITHDRAWAL_FEE_CAP, "!cap");
        withdrawalFee = _fee;
        emit SetWithdrawalFee(_fee);
    }

    // set new vault (only for strategy upgrades)
    function setVault(address _vault) external onlyOwner {
        vault = _vault;
        emit SetVault(_vault);
    }

    // set new unirouter
    function setUnirouter(address _unirouter) external onlyOwner {
        unirouter = _unirouter;
        emit SetUnirouter(_unirouter);
    }

    // set new keeper to manage strat
    function setKeeper(address _keeper) external onlyManager {
        keeper = _keeper;
        emit SetKeeper(_keeper);
    }

    // set new strategist address to receive strat fees
    function setStrategist(address _strategist) external {
        require(msg.sender == strategist, "!strategist");
        strategist = _strategist;
        emit SetStrategist(_strategist);
    }

    // set new beefy fee address to receive beefy fees
    function setBeefyFeeRecipient(address _beefyFeeRecipient) external onlyOwner {
        beefyFeeRecipient = _beefyFeeRecipient;
        emit SetBeefyFeeRecipient(_beefyFeeRecipient);
    }

    // set new fee config address to fetch fees
    function setBeefyFeeConfig(address _beefyFeeConfig) external onlyOwner {
        beefyFeeConfig = IFeeConfig(_beefyFeeConfig);
        emit SetBeefyFeeConfig(_beefyFeeConfig);
    }

    function depositFee() public virtual view returns (uint256) {
        return 0;
    }

    function withdrawFee() public virtual view returns (uint256) {
        return paused() ? 0 : withdrawalFee;
    }

    function beforeDeposit() external virtual {}
}

// File: contracts/BIFI/utils/BytesLib.sol

/*
 * @title Solidity Bytes Arrays Utils
 * @author Gon√ßalo S√° <[email protected]>
 *
 * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.
 *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.
 */
pragma solidity >=0.8.0 <0.9.0;


library BytesLib {
    function concat(
        bytes memory _preBytes,
        bytes memory _postBytes
    )
    internal
    pure
    returns (bytes memory)
    {
        bytes memory tempBytes;

        assembly {
        // Get a location of some free memory and store it in tempBytes as
        // Solidity does for memory variables.
            tempBytes := mload(0x40)

        // Store the length of the first bytes array at the beginning of
        // the memory for tempBytes.
            let length := mload(_preBytes)
            mstore(tempBytes, length)

        // Maintain a memory counter for the current write location in the
        // temp bytes array by adding the 32 bytes for the array length to
        // the starting location.
            let mc := add(tempBytes, 0x20)
        // Stop copying when the memory counter reaches the length of the
        // first bytes array.
            let end := add(mc, length)

            for {
            // Initialize a copy counter to the start of the _preBytes data,
            // 32 bytes into its memory.
                let cc := add(_preBytes, 0x20)
            } lt(mc, end) {
            // Increase both counters by 32 bytes each iteration.
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
            // Write the _preBytes data into the tempBytes memory 32 bytes
            // at a time.
                mstore(mc, mload(cc))
            }

        // Add the length of _postBytes to the current length of tempBytes
        // and store it as the new length in the first 32 bytes of the
        // tempBytes memory.
            length := mload(_postBytes)
            mstore(tempBytes, add(length, mload(tempBytes)))

        // Move the memory counter back from a multiple of 0x20 to the
        // actual end of the _preBytes data.
            mc := end
        // Stop copying when the memory counter reaches the new combined
        // length of the arrays.
            end := add(mc, length)

            for {
                let cc := add(_postBytes, 0x20)
            } lt(mc, end) {
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                mstore(mc, mload(cc))
            }

        // Update the free-memory pointer by padding our last write location
        // to 32 bytes: add 31 bytes to the end of tempBytes to move to the
        // next 32 byte block, then round down to the nearest multiple of
        // 32. If the sum of the length of the two arrays is zero then add
        // one before rounding down to leave a blank 32 bytes (the length block with 0).
            mstore(0x40, and(
            add(add(end, iszero(add(length, mload(_preBytes)))), 31),
            not(31) // Round down to the nearest 32 bytes.
            ))
        }

        return tempBytes;
    }

    function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {
        assembly {
        // Read the first 32 bytes of _preBytes storage, which is the length
        // of the array. (We don't need to use the offset into the slot
        // because arrays use the entire slot.)
            let fslot := sload(_preBytes.slot)
        // Arrays of 31 bytes or less have an even value in their slot,
        // while longer arrays have an odd value. The actual length is
        // the slot divided by two for odd values, and the lowest order
        // byte divided by two for even values.
        // If the slot is even, bitwise and the slot with 255 and divide by
        // two to get the length. If the slot is odd, bitwise and the slot
        // with -1 and divide by two.
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)
            let newlength := add(slength, mlength)
        // slength can contain both the length and contents of the array
        // if length < 32 bytes so let's prepare for that
        // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
            switch add(lt(slength, 32), lt(newlength, 32))
            case 2 {
            // Since the new array still fits in the slot, we just need to
            // update the contents of the slot.
            // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
                sstore(
                _preBytes.slot,
                // all the modifications to the slot are inside this
                // next block
                add(
                // we can just add to the slot contents because the
                // bytes we want to change are the LSBs
                fslot,
                add(
                mul(
                div(
                // load the bytes from memory
                mload(add(_postBytes, 0x20)),
                // zero all bytes to the right
                exp(0x100, sub(32, mlength))
                ),
                // and now shift left the number of bytes to
                // leave space for the length in the slot
                exp(0x100, sub(32, newlength))
                ),
                // increase length by the double of the memory
                // bytes length
                mul(mlength, 2)
                )
                )
                )
            }
            case 1 {
            // The stored value fits in the slot, but the combined value
            // will exceed it.
            // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

            // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

            // The contents of the _postBytes array start 32 bytes into
            // the structure. Our first read should obtain the `submod`
            // bytes that can fit into the unused space in the last word
            // of the stored array. To get this, we read 32 bytes starting
            // from `submod`, so the data we read overlaps with the array
            // contents by `submod` bytes. Masking the lowest-order
            // `submod` bytes allows us to add that value directly to the
            // stored value.

                let submod := sub(32, slength)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(
                sc,
                add(
                and(
                fslot,
                0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
                ),
                and(mload(mc), mask)
                )
                )

                for {
                    mc := add(mc, 0x20)
                    sc := add(sc, 1)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
            default {
            // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
            // Start copying to the last used word of the stored array.
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

            // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

            // Copy over the first `submod` bytes of the new data as in
            // case 1 above.
                let slengthmod := mod(slength, 32)
                let mlengthmod := mod(mlength, 32)
                let submod := sub(32, slengthmod)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(sc, add(sload(sc), and(mload(mc), mask)))

                for {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
        }
    }

    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    )
    internal
    pure
    returns (bytes memory)
    {
        require(_length + 31 >= _length, "slice_overflow");
        require(_bytes.length >= _start + _length, "slice_outOfBounds");

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
            case 0 {
            // Get a location of some free memory and store it in tempBytes as
            // Solidity does for memory variables.
                tempBytes := mload(0x40)

            // The first word of the slice result is potentially a partial
            // word read from the original array. To read it, we calculate
            // the length of that partial word and start copying that many
            // bytes into the array. The first word we copy will start with
            // data we don't care about, but the last `lengthmod` bytes will
            // land at the beginning of the contents of the new array. When
            // we're done copying, we overwrite the full first word with
            // the actual length of the slice.
                let lengthmod := and(_length, 31)

            // The multiplication in the next line is necessary
            // because when slicing multiples of 32 bytes (lengthmod == 0)
            // the following copy loop was copying the origin's length
            // and then ending prematurely not copying everything it should.
                let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
                let end := add(mc, _length)

                for {
                // The multiplication in the next line has the same exact purpose
                // as the one above.
                    let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
                } lt(mc, end) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    mstore(mc, mload(cc))
                }

                mstore(tempBytes, _length)

            //update free-memory pointer
            //allocating the array padded to 32 bytes like the compiler does now
                mstore(0x40, and(add(mc, 31), not(31)))
            }
            //if we want a zero-length slice let's just return a zero-length array
            default {
                tempBytes := mload(0x40)
            //zero out the 32 bytes slice we are about to return
            //we need to do it because Solidity does not garbage collect
                mstore(tempBytes, 0)

                mstore(0x40, add(tempBytes, 0x20))
            }
        }

        return tempBytes;
    }

    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {
        require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
        address tempAddress;

        assembly {
            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)
        }

        return tempAddress;
    }

    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {
        require(_bytes.length >= _start + 1 , "toUint8_outOfBounds");
        uint8 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x1), _start))
        }

        return tempUint;
    }

    function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {
        require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
        uint16 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x2), _start))
        }

        return tempUint;
    }

    function toUint24(bytes memory _bytes, uint256 _start) internal pure returns (uint24) {
        require(_start + 3 >= _start, 'toUint24_overflow');
        require(_bytes.length >= _start + 3, 'toUint24_outOfBounds');
        uint24 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x3), _start))
        }

        return tempUint;
    }

    function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {
        require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
        uint32 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x4), _start))
        }

        return tempUint;
    }

    function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {
        require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
        uint64 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x8), _start))
        }

        return tempUint;
    }

    function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {
        require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
        uint96 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0xc), _start))
        }

        return tempUint;
    }

    function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {
        require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
        uint128 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x10), _start))
        }

        return tempUint;
    }

    function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {
        require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
        uint256 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x20), _start))
        }

        return tempUint;
    }

    function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {
        require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
        bytes32 tempBytes32;

        assembly {
            tempBytes32 := mload(add(add(_bytes, 0x20), _start))
        }

        return tempBytes32;
    }

    function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {
        bool success = true;

        assembly {
            let length := mload(_preBytes)

        // if lengths don't match the arrays are not equal
            switch eq(length, mload(_postBytes))
            case 1 {
            // cb is a circuit breaker in the for loop since there's
            //  no said feature for inline assembly loops
            // cb = 1 - don't breaker
            // cb = 0 - break
                let cb := 1

                let mc := add(_preBytes, 0x20)
                let end := add(mc, length)

                for {
                    let cc := add(_postBytes, 0x20)
                // the next line is the loop condition:
                // while(uint256(mc < end) + cb == 2)
                } eq(add(lt(mc, end), cb), 2) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                // if any of these checks fails then arrays are not equal
                    if iszero(eq(mload(mc), mload(cc))) {
                    // unsuccess:
                        success := 0
                        cb := 0
                    }
                }
            }
            default {
            // unsuccess:
                success := 0
            }
        }

        return success;
    }

    function equalStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    )
    internal
    view
    returns (bool)
    {
        bool success = true;

        assembly {
        // we know _preBytes_offset is 0
            let fslot := sload(_preBytes.slot)
        // Decode the length of the stored array like in concatStorage().
            let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
            let mlength := mload(_postBytes)

        // if lengths don't match the arrays are not equal
            switch eq(slength, mlength)
            case 1 {
            // slength can contain both the length and contents of the array
            // if length < 32 bytes so let's prepare for that
            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
                if iszero(iszero(slength)) {
                    switch lt(slength, 32)
                    case 1 {
                    // blank the last byte which is the length
                        fslot := mul(div(fslot, 0x100), 0x100)

                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
                        // unsuccess:
                            success := 0
                        }
                    }
                    default {
                    // cb is a circuit breaker in the for loop since there's
                    //  no said feature for inline assembly loops
                    // cb = 1 - don't breaker
                    // cb = 0 - break
                        let cb := 1

                    // get the keccak hash to get the contents of the array
                        mstore(0x0, _preBytes.slot)
                        let sc := keccak256(0x0, 0x20)

                        let mc := add(_postBytes, 0x20)
                        let end := add(mc, mlength)

                    // the next line is the loop condition:
                    // while(uint256(mc < end) + cb == 2)
                        for {} eq(add(lt(mc, end), cb), 2) {
                            sc := add(sc, 1)
                            mc := add(mc, 0x20)
                        } {
                            if iszero(eq(sload(sc), mload(mc))) {
                            // unsuccess:
                                success := 0
                                cb := 0
                            }
                        }
                    }
                }
            }
            default {
            // unsuccess:
                success := 0
            }
        }

        return success;
    }
}

// File: contracts/BIFI/utils/Path.sol

pragma solidity >=0.6.0;

/// @title Functions for manipulating path data for multihop swaps
library Path {
    using BytesLib for bytes;

    /// @dev The length of the bytes encoded address
    uint256 private constant ADDR_SIZE = 20;
    /// @dev The length of the bytes encoded fee
    uint256 private constant FEE_SIZE = 3;

    /// @dev The offset of a single token address and pool fee
    uint256 private constant NEXT_OFFSET = ADDR_SIZE + FEE_SIZE;
    /// @dev The offset of an encoded pool key
    uint256 private constant POP_OFFSET = NEXT_OFFSET + ADDR_SIZE;
    /// @dev The minimum length of an encoding that contains 2 or more pools
    uint256 private constant MULTIPLE_POOLS_MIN_LENGTH = POP_OFFSET + NEXT_OFFSET;

    /// @notice Returns true iff the path contains two or more pools
    /// @param path The encoded swap path
    /// @return True if path contains two or more pools, otherwise false
    function hasMultiplePools(bytes memory path) internal pure returns (bool) {
        return path.length >= MULTIPLE_POOLS_MIN_LENGTH;
    }

    /// @notice Returns the number of pools in the path
    /// @param path The encoded swap path
    /// @return The number of pools in the path
    function numPools(bytes memory path) internal pure returns (uint256) {
        // Ignore the first token address. From then on every fee and token offset indicates a pool.
        return ((path.length - ADDR_SIZE) / NEXT_OFFSET);
    }

    /// @notice Decodes the first pool in path
    /// @param path The bytes encoded swap path
    /// @return tokenA The first token of the given pool
    /// @return tokenB The second token of the given pool
    /// @return fee The fee level of the pool
    function decodeFirstPool(bytes memory path)
    internal
    pure
    returns (
        address tokenA,
        address tokenB,
        uint24 fee
    )
    {
        tokenA = path.toAddress(0);
        fee = path.toUint24(ADDR_SIZE);
        tokenB = path.toAddress(NEXT_OFFSET);
    }

    /// @notice Gets the segment corresponding to the first pool in the path
    /// @param path The bytes encoded swap path
    /// @return The segment containing all data necessary to target the first pool in the path
    function getFirstPool(bytes memory path) internal pure returns (bytes memory) {
        return path.slice(0, POP_OFFSET);
    }

    /// @notice Skips a token + fee element from the buffer and returns the remainder
    /// @param path The swap path
    /// @return The remaining token + fee elements in the path
    function skipToken(bytes memory path) internal pure returns (bytes memory) {
        return path.slice(NEXT_OFFSET, path.length - NEXT_OFFSET);
    }
}

// File: contracts/BIFI/interfaces/common/IUniswapRouterV3WithDeadline.sol


pragma solidity >=0.6.0;
pragma experimental ABIEncoderV2;

interface IUniswapRouterV3WithDeadline {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);

    struct ExactInputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);

    struct ExactOutputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);

    struct ExactOutputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);
}

// File: contracts/BIFI/utils/UniswapV3Utils.sol


pragma solidity ^0.8.0;


library UniswapV3Utils {
    using Path for bytes;

    // Swap along an encoded path using known amountIn
    function swap(
        address _router,
        bytes memory _path,
        uint256 _amountIn
    ) internal returns (uint256 amountOut) {
        IUniswapRouterV3WithDeadline.ExactInputParams memory params = IUniswapRouterV3WithDeadline.ExactInputParams({
            path: _path,
            recipient: address(this),
            deadline: block.timestamp,
            amountIn: _amountIn,
            amountOutMinimum: 0
        });
        return IUniswapRouterV3WithDeadline(_router).exactInput(params);
    }

    // Swap along a token route using known fees and amountIn
    function swap(
        address _router,
        address[] memory _route,
        uint24[] memory _fee,
        uint256 _amountIn
    ) internal returns (uint256 amountOut) {
        return swap(_router, routeToPath(_route, _fee), _amountIn);
    }

    // Convert encoded path to token route
    function pathToRoute(bytes memory _path) internal pure returns (address[] memory) {
        uint256 numPools = _path.numPools();
        address[] memory route = new address[](numPools + 1);
        for (uint256 i; i < numPools; i++) {
            (address tokenA, address tokenB,) = _path.decodeFirstPool();
            route[i] = tokenA;
            route[i + 1] = tokenB;
            _path = _path.skipToken();
        }
        return route;
    }

    // Convert token route to encoded path
    // uint24 type for fees so path is packed tightly
    function routeToPath(
        address[] memory _route,
        uint24[] memory _fee
    ) internal pure returns (bytes memory path) {
        path = abi.encodePacked(_route[0]);
        uint256 feeLength = _fee.length;
        for (uint256 i = 0; i < feeLength; i++) {
            path = abi.encodePacked(path, _fee[i], _route[i+1]);
        }
    }
}

// File: contracts/BIFI/strategies/Curve/StrategyCurveConvex.sol


pragma solidity ^0.8.0;









// Curve L1 strategy switchable between Curve and Convex
contract StrategyCurveConvex is StratFeeManagerInitializable {
    using SafeERC20 for IERC20;

    // this `pid` means we using Curve gauge and not Convex rewardPool
    uint constant public NO_PID = 42069;

    // Tokens used
    address public constant native = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    address public constant curveRouter = 0x99a58482BD75cbab83b27EC03CA68fF489b5788f;
    IConvexBooster public constant booster = IConvexBooster(0xF403C135812408BFbE8713b5A23a04b3D48AAE31);
    ICrvMinter public constant minter = ICrvMinter(0xd061D61a4d941c39E5453435B6345Dc261C2fcE0);

    address public want; // curve lpToken
    address public gauge; // curve gauge
    address public rewardPool; // convex base reward pool
    uint public pid; // convex booster poolId

    struct CurveRoute {
        address[9] route;
        uint256[3][4] swapParams;
        uint minAmount; // minimum amount to be swapped to native
    }
    CurveRoute[] public curveRewards;

    struct RewardV3 {
        address token;
        bytes toNativePath; // uniswap path
        uint minAmount; // minimum amount to be swapped to native
    }
    RewardV3[] public rewardsV3; // rewards swapped via unirouter

    struct RewardV2 {
        address token;
        address router; // uniswap v2 router
        address[] toNativeRoute; // uniswap route
        uint minAmount; // minimum amount to be swapped to native
    }
    RewardV2[] public rewardsV2;

    // uniV3 path swapped via unirouter, or 0 to skip and use native via depositToWant
    bytes public nativeToDepositPath;
    // add liquidity via curveRouter, deposit token should match nativeToDepositPath or be native
    CurveRoute public depositToWant;

    bool public isCrvMintable; // if CRV can be minted via Minter (gauge is added to Controller)
    bool public skipEarmarkRewards;
    bool public harvestOnDeposit;
    uint256 public lastHarvest;

    event StratHarvest(address indexed harvester, uint256 wantHarvested, uint256 tvl);
    event Deposit(uint256 tvl);
    event Withdraw(uint256 tvl);
    event ChargedFees(uint256 callFees, uint256 beefyFees, uint256 strategistFees);

    function initialize(
        address _want,
        address _gauge,
        uint _pid,
        bytes calldata _crvToNativePath,
        bytes calldata _cvxToNativePath,
        bytes calldata _nativeToDepositPath,
        CurveRoute calldata _depositToWant,
        CommonAddresses calldata _commonAddresses
    ) public initializer {
        __StratFeeManager_init(_commonAddresses);
        want = _want;
        gauge = _gauge;
        pid = _pid;

        if (_pid != NO_PID) {
            (,,, rewardPool,,) = booster.poolInfo(_pid);
        }

        if (_crvToNativePath.length > 0) addRewardV3(_crvToNativePath, 1e18);
        if (_cvxToNativePath.length > 0) addRewardV3(_cvxToNativePath, 1e18);

        setNativeToDepositPath(_nativeToDepositPath);
        setDepositToWant(_depositToWant.route, _depositToWant.swapParams, _depositToWant.minAmount);

        withdrawalFee = 1;
        _giveAllowances();
    }

    // puts the funds to work
    function deposit() public whenNotPaused {
        uint256 wantBal = balanceOfWant();

        if (wantBal > 0) {
            if (rewardPool != address(0)) {
                booster.deposit(pid, wantBal, true);
            } else {
                IRewardsGauge(gauge).deposit(wantBal);
            }
            emit Deposit(balanceOf());
        }
    }

    function withdraw(uint256 _amount) external {
        require(msg.sender == vault, "!vault");

        uint256 wantBal = balanceOfWant();

        if (wantBal < _amount) {
            _withdraw(_amount - wantBal);
            wantBal = balanceOfWant();
        }

        if (wantBal > _amount) {
            wantBal = _amount;
        }

        if (tx.origin != owner() && !paused()) {
            uint256 withdrawalFeeAmount = wantBal * withdrawalFee / WITHDRAWAL_MAX;
            wantBal = wantBal - withdrawalFeeAmount;
        }

        IERC20(want).safeTransfer(vault, wantBal);

        emit Withdraw(balanceOf());
    }

    function _withdraw(uint256 _amount) internal {
        if (_amount > 0) {
            if (rewardPool != address(0)) {
                IConvexRewardPool(rewardPool).withdrawAndUnwrap(_amount, false);
            } else {
                IRewardsGauge(gauge).withdraw(_amount);
            }
        }
    }

    function beforeDeposit() external override {
        if (harvestOnDeposit) {
            require(msg.sender == vault, "!vault");
            _harvest(tx.origin, true);
        }
    }

    function harvest() external virtual {
        _harvest(tx.origin, false);
    }

    function harvest(address callFeeRecipient) external virtual {
        _harvest(callFeeRecipient, false);
    }

    // compounds earnings and charges performance fee
    function _harvest(address callFeeRecipient, bool onDeposit) internal whenNotPaused {
        _claim();
        _swapRewardsToNative();
        uint256 nativeBal = IERC20(native).balanceOf(address(this));
        if (nativeBal > 0) {
            _chargeFees(callFeeRecipient);
            _addLiquidity();
            uint256 wantHarvested = balanceOfWant();
            if (!onDeposit) {
                deposit();
            }
            lastHarvest = block.timestamp;
            emit StratHarvest(msg.sender, wantHarvested, balanceOf());
        }
    }

    function _claim() internal {
        if (rewardPool != address(0)) {
            if (!skipEarmarkRewards && IConvexRewardPool(rewardPool).periodFinish() < block.timestamp) {
                booster.earmarkRewards(pid);
            }
            IConvexRewardPool(rewardPool).getReward();
        } else {
            if (isCrvMintable) minter.mint(gauge);
            IRewardsGauge(gauge).claim_rewards(address(this));
        }
    }

    function _swapRewardsToNative() internal {
        for (uint i; i < curveRewards.length; ++i) {
            uint bal = IERC20(curveRewards[i].route[0]).balanceOf(address(this));
            if (bal >= curveRewards[i].minAmount) {
                ICurveRouter(curveRouter).exchange_multiple(curveRewards[i].route, curveRewards[i].swapParams, bal, 0);
            }
        }
        for (uint i; i < rewardsV2.length; ++i) {
            uint bal = IERC20(rewardsV2[i].token).balanceOf(address(this));
            if (bal >= rewardsV2[i].minAmount) {
                IUniswapRouterETH(rewardsV2[i].router).swapExactTokensForTokens(bal, 0, rewardsV2[i].toNativeRoute, address(this), block.timestamp);
            }
        }
        for (uint i; i < rewardsV3.length; ++i) {
            uint bal = IERC20(rewardsV3[i].token).balanceOf(address(this));
            if (bal >= rewardsV3[i].minAmount) {
                UniswapV3Utils.swap(unirouter, rewardsV3[i].toNativePath, bal);
            }
        }
    }

    // performance fees
    function _chargeFees(address callFeeRecipient) internal {
        IFeeConfig.FeeCategory memory fees = getFees();
        uint256 nativeBal = IERC20(native).balanceOf(address(this)) * fees.total / DIVISOR;

        uint256 callFeeAmount = nativeBal * fees.call / DIVISOR;
        IERC20(native).safeTransfer(callFeeRecipient, callFeeAmount);

        uint256 beefyFeeAmount = nativeBal * fees.beefy / DIVISOR;
        IERC20(native).safeTransfer(beefyFeeRecipient, beefyFeeAmount);

        uint256 strategistFeeAmount = nativeBal * fees.strategist / DIVISOR;
        IERC20(native).safeTransfer(strategist, strategistFeeAmount);

        emit ChargedFees(callFeeAmount, beefyFeeAmount, strategistFeeAmount);
    }

    // Adds liquidity to AMM and gets more LP tokens.
    function _addLiquidity() internal {
        if (nativeToDepositPath.length > 0) {
            uint nativeBal = IERC20(native).balanceOf(address(this));
            UniswapV3Utils.swap(unirouter, nativeToDepositPath, nativeBal);
        }

        uint bal = IERC20(depositToWant.route[0]).balanceOf(address(this));
        ICurveRouter(curveRouter).exchange_multiple(depositToWant.route, depositToWant.swapParams, bal, 0);
    }

    function setConvexPid(uint _pid) external onlyOwner {
        _withdraw(balanceOfPool());
        if (_pid != NO_PID) {
            (,,,rewardPool,,) = booster.poolInfo(_pid);
        } else {
            rewardPool = address(0);
        }
        pid = _pid;
        deposit();
    }

    function setNativeToDepositPath(bytes calldata _nativeToDepositPath) public onlyOwner {
        if (_nativeToDepositPath.length > 0) {
            address[] memory route = UniswapV3Utils.pathToRoute(_nativeToDepositPath);
            require(route[0] == native, "!native");
        }
        nativeToDepositPath = _nativeToDepositPath;
    }

    function setDepositToWant(address[9] calldata _route, uint[3][4] calldata _swapParams, uint minAmount) public onlyOwner {
        address token = _route[0];
        require(token != want, "!want");

        depositToWant = CurveRoute(_route, _swapParams, minAmount);
        _approve(token, curveRouter, 0);
        _approve(token, curveRouter, type(uint).max);
    }

    function addReward(address[9] calldata _rewardToNativeRoute, uint[3][4] calldata _swapParams, uint _minAmount) external onlyOwner {
        address token = _rewardToNativeRoute[0];
        require(token != want, "!want");
        require(token != native, "!native");

        curveRewards.push(CurveRoute(_rewardToNativeRoute, _swapParams, _minAmount));
        _approve(token, curveRouter, 0);
        _approve(token, curveRouter, type(uint).max);
    }

    function addRewardV2(address _router, address[] calldata _rewardToNativeRoute, uint _minAmount) external onlyOwner {
        address token = _rewardToNativeRoute[0];
        require(token != want, "!want");
        require(token != native, "!native");

        rewardsV2.push(RewardV2(token, _router, _rewardToNativeRoute, _minAmount));
        IERC20(token).approve(_router, 0);
        IERC20(token).approve(_router, type(uint).max);
    }

    function addRewardV3(bytes calldata _rewardToNativePath, uint _minAmount) public onlyOwner {
        address[] memory _rewardToNativeRoute = UniswapV3Utils.pathToRoute(_rewardToNativePath);
        address token = _rewardToNativeRoute[0];
        require(token != want, "!want");
        require(token != native, "!native");

        rewardsV3.push(RewardV3(token, _rewardToNativePath, _minAmount));
        _approve(token, unirouter, 0);
        _approve(token, unirouter, type(uint).max);
    }

    function resetCurveRewards() external onlyManager {
        delete curveRewards;
    }

    function resetRewardsV2() external onlyManager {
        delete rewardsV2;
    }

    function resetRewardsV3() external onlyManager {
        delete rewardsV3;
    }

    // calculate the total underlaying 'want' held by the strat.
    function balanceOf() public view returns (uint256) {
        return balanceOfWant() + balanceOfPool();
    }

    // it calculates how much 'want' this contract holds.
    function balanceOfWant() public view returns (uint256) {
        return IERC20(want).balanceOf(address(this));
    }

    // it calculates how much 'want' the strategy has working in the farm.
    function balanceOfPool() public view returns (uint256) {
        if (rewardPool != address(0)) {
            return IConvexRewardPool(rewardPool).balanceOf(address(this));
        } else {
            return IRewardsGauge(gauge).balanceOf(address(this));
        }
    }

    function depositToWantRoute() external view returns (address[9] memory, uint256[3][4] memory, uint) {
        return (depositToWant.route, depositToWant.swapParams, depositToWant.minAmount);
    }

    function curveReward(uint i) external view returns (address[9] memory, uint256[3][4] memory, uint) {
        return (curveRewards[i].route, curveRewards[i].swapParams, curveRewards[i].minAmount);
    }

    function curveRewardsLength() external view returns (uint) {
        return curveRewards.length;
    }

    function rewardV3Route(uint i) external view returns (address[] memory) {
        return UniswapV3Utils.pathToRoute(rewardsV3[i].toNativePath);
    }

    function rewardsV3Length() external view returns (uint) {
        return rewardsV3.length;
    }

    function rewardV2(uint i) external view returns (address, address[] memory, uint) {
        return (rewardsV2[i].router, rewardsV2[i].toNativeRoute, rewardsV2[i].minAmount);
    }

    function rewardsV2Length() external view returns (uint) {
        return rewardsV2.length;
    }

    function setCrvMintable(bool _isCrvMintable) external onlyManager {
        isCrvMintable = _isCrvMintable;
    }

    function setSkipEarmarkRewards(bool _skipEarmarkRewards) external onlyManager {
        skipEarmarkRewards = _skipEarmarkRewards;
    }

    function setHarvestOnDeposit(bool _harvestOnDeposit) external onlyManager {
        harvestOnDeposit = _harvestOnDeposit;
        if (harvestOnDeposit) {
            setWithdrawalFee(0);
        } else {
            setWithdrawalFee(1);
        }
    }

    function rewardsAvailable() external view returns (uint) {
        if (rewardPool != address(0)) {
            return IConvexRewardPool(rewardPool).earned(address(this));
        }
        return 0;
    }

    function callReward() external pure returns (uint) {
        return 0;
    }

    // called as part of strat migration. Sends all the available funds back to the vault.
    function retireStrat() external {
        require(msg.sender == vault, "!vault");
        _withdraw(balanceOfPool());
        IERC20(want).transfer(vault, balanceOfWant());
    }

    // pauses deposits and withdraws all funds from third party systems.
    function panic() public onlyManager {
        pause();
        _withdraw(balanceOfPool());
    }

    function pause() public onlyManager {
        _pause();

        _removeAllowances();
    }

    function unpause() external onlyManager {
        _unpause();

        _giveAllowances();

        deposit();
    }

    function _giveAllowances() internal {
        uint amount = type(uint).max;
        _approve(want, address(gauge), amount);
        _approve(want, address(booster), amount);
        _approve(native, unirouter, amount);
    }

    function _removeAllowances() internal {
        _approve(want, address(gauge), 0);
        _approve(want, address(booster), 0);
        _approve(native, unirouter, 0);
    }

    function _approve(address _token, address _spender, uint amount) internal {
        IERC20(_token).approve(_spender, amount);
    }

    receive () external payable {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"callFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"beefyFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"strategistFees","type":"uint256"}],"name":"ChargedFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tvl","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beefyFeeConfig","type":"address"}],"name":"SetBeefyFeeConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beefyFeeRecipient","type":"address"}],"name":"SetBeefyFeeRecipient","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"keeper","type":"address"}],"name":"SetKeeper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feeId","type":"uint256"}],"name":"SetStratFeeId","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategist","type":"address"}],"name":"SetStrategist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"unirouter","type":"address"}],"name":"SetUnirouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vault","type":"address"}],"name":"SetVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"withdrawalFee","type":"uint256"}],"name":"SetWithdrawalFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"},{"indexed":false,"internalType":"uint256","name":"wantHarvested","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tvl","type":"uint256"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tvl","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NO_PID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_FEE_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[9]","name":"_rewardToNativeRoute","type":"address[9]"},{"internalType":"uint256[3][4]","name":"_swapParams","type":"uint256[3][4]"},{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address[]","name":"_rewardToNativeRoute","type":"address[]"},{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"addRewardV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_rewardToNativePath","type":"bytes"},{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"addRewardV3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFeeConfig","outputs":[{"internalType":"contract IFeeConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"booster","outputs":[{"internalType":"contract IConvexBooster","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"curveReward","outputs":[{"internalType":"address[9]","name":"","type":"address[9]"},{"internalType":"uint256[3][4]","name":"","type":"uint256[3][4]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"curveRewards","outputs":[{"internalType":"uint256","name":"minAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curveRewardsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curveRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositToWant","outputs":[{"internalType":"uint256","name":"minAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositToWantRoute","outputs":[{"internalType":"address[9]","name":"","type":"address[9]"},{"internalType":"uint256[3][4]","name":"","type":"uint256[3][4]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gauge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllFees","outputs":[{"components":[{"components":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"beefy","type":"uint256"},{"internalType":"uint256","name":"call","type":"uint256"},{"internalType":"uint256","name":"strategist","type":"uint256"},{"internalType":"string","name":"label","type":"string"},{"internalType":"bool","name":"active","type":"bool"}],"internalType":"struct IFeeConfig.FeeCategory","name":"performance","type":"tuple"},{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"uint256","name":"withdraw","type":"uint256"}],"internalType":"struct IFeeConfig.AllFees","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStratFeeId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"callFeeRecipient","type":"address"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestOnDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_want","type":"address"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bytes","name":"_crvToNativePath","type":"bytes"},{"internalType":"bytes","name":"_cvxToNativePath","type":"bytes"},{"internalType":"bytes","name":"_nativeToDepositPath","type":"bytes"},{"components":[{"internalType":"address[9]","name":"route","type":"address[9]"},{"internalType":"uint256[3][4]","name":"swapParams","type":"uint256[3][4]"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"internalType":"struct StrategyCurveConvex.CurveRoute","name":"_depositToWant","type":"tuple"},{"components":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"address","name":"unirouter","type":"address"},{"internalType":"address","name":"keeper","type":"address"},{"internalType":"address","name":"strategist","type":"address"},{"internalType":"address","name":"beefyFeeRecipient","type":"address"},{"internalType":"address","name":"beefyFeeConfig","type":"address"}],"internalType":"struct StratFeeManagerInitializable.CommonAddresses","name":"_commonAddresses","type":"tuple"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isCrvMintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"contract ICrvMinter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"native","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nativeToDepositPath","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetCurveRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetRewardsV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetRewardsV3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"rewardV2","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"rewardV3Route","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardsV2","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsV2Length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardsV3","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bytes","name":"toNativePath","type":"bytes"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsV3Length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beefyFeeConfig","type":"address"}],"name":"setBeefyFeeConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beefyFeeRecipient","type":"address"}],"name":"setBeefyFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setConvexPid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isCrvMintable","type":"bool"}],"name":"setCrvMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[9]","name":"_route","type":"address[9]"},{"internalType":"uint256[3][4]","name":"_swapParams","type":"uint256[3][4]"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"setDepositToWant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvestOnDeposit","type":"bool"}],"name":"setHarvestOnDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_nativeToDepositPath","type":"bytes"}],"name":"setNativeToDepositPath","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_skipEarmarkRewards","type":"bool"}],"name":"setSkipEarmarkRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeId","type":"uint256"}],"name":"setStratFeeId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skipEarmarkRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506152b3806100206000396000f3fe60806040526004361061044b5760003560e01c80638cfc025011610234578063c7b9d5301161012e578063e941fa78116100b6578063f1cd20351161007a578063f1cd203514610c94578063f2fde38b14610cc3578063fac0239d14610ce3578063fb61778714610d03578063fbfa77cf14610d1857600080fd5b8063e941fa7814610c29578063e9c7eb7614610c3e578063ec5be18214610c53578063f106845414610c68578063f1a392da14610c7e57600080fd5b8063d92f3d73116100fd578063d92f3d7314610baa578063dce4f84f14610bca578063dfbdc43714610bdf578063e2e91c4614610bf4578063e7a7250a14610c1457600080fd5b8063c7b9d53014610b20578063cda90b8814610b40578063d0e30db014610b68578063d564e5b714610b7d57600080fd5b8063a801158e116101bc578063b20feaaf11610180578063b20feaaf14610a8b578063b255fcf314610aad578063c1a3d44c14610acd578063c379c9ae14610ae2578063c6def07614610af857600080fd5b8063a801158e146109f6578063a8ed53f614610a16578063ac1e502514610a36578063ac4c5ca514610a56578063aced166114610a6b57600080fd5b806397fd323d1161020357806397fd323d14610820578063988a23e914610981578063a603dd3d146109a1578063a68833e5146109b6578063a6f19c84146109d657600080fd5b80638cfc0250146109195780638da5cb5b1461092e5780638e1454591461094c578063969a54ba1461096c57600080fd5b80633f4ba83a116103455780635c975abb116102cd578063722713f711610291578063722713f714610869578063748747e61461087e5780638301426c1461089e5780638456cb59146108e45780638912cb8b146108f957600080fd5b80635c975abb146107e857806366666aa91461080057806367a52793146108205780636817031b14610834578063715018a61461085457600080fd5b80634918595511610314578063491859551461075e5780634ab143261461077e5780634f28f5711461079d57806354518b1a146107bd578063573fef0a146107d357600080fd5b80633f4ba83a146106ff5780634641257d146107145780634700d305146107295780634746fb551461073e57600080fd5b80631f1fcd51116103d35780632864cbc5116103975780632864cbc5146106375780632e1a7d4d1461066657806332b7cf3f146106865780633b1d802e146106b55780633e55f932146106df57600080fd5b80631f1fcd51146105ab5780631fe4a686146105cb57806324b11863146105eb578063257ae0de14610600578063272734ac1461062057600080fd5b80630e5c011e1161041a5780630e5c011e146105005780630e8fbb5a14610520578063106fdbd014610540578063115880861461056057806311b0b42d1461058357600080fd5b806306d47717146104575780630747581a1461047957806307546172146104995780630d6ff380146104de57600080fd5b3661045257005b600080fd5b34801561046357600080fd5b50610477610472366004614598565b610d38565b005b34801561048557600080fd5b506104776104943660046145e8565b610e05565b3480156104a557600080fd5b506104c173d061d61a4d941c39e5453435b6345dc261c2fce081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156104ea57600080fd5b506104f3610e27565b6040516104d5919061465d565b34801561050c57600080fd5b5061047761051b366004614695565b610eb5565b34801561052c57600080fd5b5061047761053b3660046145e8565b610ec3565b34801561054c57600080fd5b5061047761055b366004614695565b610f04565b34801561056c57600080fd5b50610575610f61565b6040519081526020016104d5565b34801561058f57600080fd5b506104c173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156105b757600080fd5b50609e546104c1906001600160a01b031681565b3480156105d757600080fd5b50609a546104c1906001600160a01b031681565b3480156105f757600080fd5b5060a254610575565b34801561060c57600080fd5b506098546104c1906001600160a01b031681565b34801561062c57600080fd5b5060bb546105759081565b34801561064357600080fd5b506106576106523660046146b2565b611017565b6040516104d59392919061470f565b34801561067257600080fd5b506104776106813660046146b2565b611107565b34801561069257600080fd5b506106a66106a13660046146b2565b611218565b6040516104d593929190614743565b3480156106c157600080fd5b5060bc546106cf9060ff1681565b60405190151581526020016104d5565b3480156106eb57600080fd5b506104776106fa3660046146b2565b611343565b34801561070b57600080fd5b506104776113da565b34801561072057600080fd5b506104776113fc565b34801561073557600080fd5b50610477611407565b34801561074a57600080fd5b50609c546104c1906001600160a01b031681565b34801561076a57600080fd5b506104776107793660046147da565b611422565b34801561078a57600080fd5b5060bc546106cf90610100900460ff1681565b3480156107a957600080fd5b506105756107b83660046146b2565b6115cc565b3480156107c957600080fd5b5061057561271081565b3480156107df57600080fd5b506104776115f5565b3480156107f457600080fd5b5060655460ff166106cf565b34801561080c57600080fd5b5060a0546104c1906001600160a01b031681565b34801561082c57600080fd5b506000610575565b34801561084057600080fd5b5061047761084f366004614695565b61163b565b34801561086057600080fd5b50610477611691565b34801561087557600080fd5b506105756116a3565b34801561088a57600080fd5b50610477610899366004614695565b6116bf565b3480156108aa57600080fd5b506108be6108b93660046146b2565b611715565b604080516001600160a01b039485168152939092166020840152908201526060016104d5565b3480156108f057600080fd5b50610477611755565b34801561090557600080fd5b5060bc546106cf9062010000900460ff1681565b34801561092557600080fd5b5061057561176d565b34801561093a57600080fd5b506033546001600160a01b03166104c1565b34801561095857600080fd5b50609b546104c1906001600160a01b031681565b34801561097857600080fd5b506106a661179e565b34801561098d57600080fd5b5061047761099c366004614824565b611862565b3480156109ad57600080fd5b50610477611a2a565b3480156109c257600080fd5b506104776109d1366004614695565b611a3e565b3480156109e257600080fd5b50609f546104c1906001600160a01b031681565b348015610a0257600080fd5b50610477610a11366004614870565b611a94565b348015610a2257600080fd5b50610477610a313660046147da565b611cfd565b348015610a4257600080fd5b50610477610a513660046146b2565b611e2c565b348015610a6257600080fd5b50610477611ea3565b348015610a7757600080fd5b506099546104c1906001600160a01b031681565b348015610a9757600080fd5b50610aa0611eb7565b6040516104d591906148fe565b348015610ab957600080fd5b50610477610ac83660046149a6565b611eed565b348015610ad957600080fd5b5061057561213f565b348015610aee57600080fd5b5061057561a45581565b348015610b0457600080fd5b506104c173f403c135812408bfbe8713b5a23a04b3d48aae3181565b348015610b2c57600080fd5b50610477610b3b366004614695565b612170565b348015610b4c57600080fd5b506104c17399a58482bd75cbab83b27ec03ca68ff489b5788f81565b348015610b7457600080fd5b50610477612206565b348015610b8957600080fd5b50610b9d610b983660046146b2565b612355565b6040516104d59190614a93565b348015610bb657600080fd5b50610477610bc5366004614695565b612412565b348015610bd657600080fd5b50610477612468565b348015610beb57600080fd5b50610575603281565b348015610c0057600080fd5b50610477610c0f3660046145e8565b61247c565b348015610c2057600080fd5b50610575612497565b348015610c3557600080fd5b506105756124df565b348015610c4a57600080fd5b5060a354610575565b348015610c5f57600080fd5b5060a454610575565b348015610c7457600080fd5b5061057560a15481565b348015610c8a57600080fd5b5061057560bd5481565b348015610ca057600080fd5b50610cb4610caf3660046146b2565b6124f8565b6040516104d593929190614aa6565b348015610ccf57600080fd5b50610477610cde366004614695565b6125c0565b348015610cef57600080fd5b50610477610cfe3660046146b2565b612636565b348015610d0f57600080fd5b5061047761270f565b348015610d2457600080fd5b506097546104c1906001600160a01b031681565b610d406127d4565b8015610df3576000610d8783838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061282e92505050565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031681600081518110610dba57610dba614aca565b60200260200101516001600160a01b031614610df15760405162461bcd60e51b8152600401610de890614ae0565b60405180910390fd5b505b60a5610e00828483614b91565b505050565b610e0d61293a565b60bc80549115156101000261ff0019909216919091179055565b60a58054610e3490614b17565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6090614b17565b8015610ead5780601f10610e8257610100808354040283529160200191610ead565b820191906000526020600020905b815481529060010190602001808311610e9057829003601f168201915b505050505081565b610ec0816000612994565b50565b610ecb61293a565b60bc805462ff00001916620100008315158102919091179182905560ff91041615610efa57610ec06000611e2c565b610ec06001611e2c565b610f0c6127d4565b609c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f91e28ce4210d103c13c5174847e463b836900f8dc63e9d9b42a4255169d19529906020015b60405180910390a150565b60a0546000906001600160a01b031615610fe75760a0546040516370a0823160e01b81523060048201526001600160a01b03909116906370a08231906024015b602060405180830381865afa158015610fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe29190614c51565b905090565b609f546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401610fa1565b60006060600060a4848154811061103057611030614aca565b906000526020600020906004020160010160009054906101000a90046001600160a01b031660a4858154811061106857611068614aca565b906000526020600020906004020160020160a4868154811061108c5761108c614aca565b906000526020600020906004020160030154818054806020026020016040519081016040528092919081815260200182805480156110f357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d5575b505050505091509250925092509193909250565b6097546001600160a01b031633146111315760405162461bcd60e51b8152600401610de890614c6a565b600061113b61213f565b905081811015611162576111576111528284614ca0565b612aa1565b61115f61213f565b90505b8181111561116d5750805b6033546001600160a01b0316321480159061118b575060655460ff16155b156111bd576000612710609d54836111a39190614cb7565b6111ad9190614cd6565b90506111b98183614ca0565b9150505b609754609e546111da916001600160a01b03918216911683612b4b565b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d6112036116a3565b60405190815260200160405180910390a15050565b61122061417b565b61122861419a565b600060a2848154811061123d5761123d614aca565b906000526020600020906016020160000160a2858154811061126157611261614aca565b906000526020600020906016020160090160a2868154811061128557611285614aca565b60009182526020909120601690910201601501546040805161012081019182905290849060099082845b81546001600160a01b031681526001909101906020018083116112af57505060408051608081019091529396508592506004915060009050835b828210156113305760408051606081019182905290600384810287019182845b815481526020019060010190808311611309575050505050815260200190600101906112e9565b5050505091509250925092509193909250565b61134b61293a565b609c54604051631f2afc9960e11b8152600481018390526001600160a01b0390911690633e55f93290602401600060405180830381600087803b15801561139157600080fd5b505af11580156113a5573d6000803e3d6000fd5b505050507f9163810ee1e29168d4ce900e48a333fb8fbd3fd070d2bef67f6d4db0846a469f81604051610f5691815260200190565b6113e261293a565b6113ea612b9d565b6113f2612bef565b6113fa612206565b565b6113fa326000612994565b61140f61293a565b611417611755565b6113fa611152610f61565b61142a6127d4565b60006114396020850185614695565b609e549091506001600160a01b039081169082160361146a5760405162461bcd60e51b8152600401610de890614cf8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc1196001600160a01b038216016114a75760405162461bcd60e51b8152600401610de890614ae0565b60408051610180810190915260a2908060608101876009828261012080828437600092018290525092845250506040805160808101909152602090920191908790600490835b8282101561152e57604080516060818101909252908084028601906003908390839080828437600092019190915250505081526001909101906020016114ed565b50505090825250602090810185905282546001810184556000938452922081519192601602019061156290829060096141c7565b506020820151611578906009830190600461421f565b506040820151816015015550506115a5817399a58482bd75cbab83b27ec03ca68ff489b5788f6000612c63565b6115c6817399a58482bd75cbab83b27ec03ca68ff489b5788f600019612c63565b50505050565b60a281815481106115dc57600080fd5b6000918252602090912060156016909202010154905081565b60bc5462010000900460ff16156113fa576097546001600160a01b031633146116305760405162461bcd60e51b8152600401610de890614c6a565b6113fa326001612994565b6116436127d4565b609780546001600160a01b0319166001600160a01b0383169081179091556040519081527fd459c7242e23d490831b5676a611c4342d899d28f342d89ae80793e56a930f3090602001610f56565b6116996127d4565b6113fa6000612cd6565b60006116ad610f61565b6116b561213f565b610fe29190614d17565b6116c761293a565b609980546001600160a01b0319166001600160a01b0383169081179091556040519081527fefb5cfa1a8690c124332ab93324539c5c9c4be03f28aeb8be86f2d8a0c9fb99b90602001610f56565b60a4818154811061172557600080fd5b60009182526020909120600490910201805460018201546003909201546001600160a01b03918216935091169083565b61175d61293a565b611765612d28565b6113fa612d65565b609c54604051636788231160e11b81523060048201526000916001600160a01b03169063cf10462290602401610fa1565b6117a661417b565b6117ae61419a565b60bb546040805161012081019182905260009260a69260af9290849060099082845b81546001600160a01b031681526001909101906020018083116117d057505060408051608081019091529396508592506004915060009050835b828210156118515760408051606081019182905290600384810287019182845b81548152602001906001019080831161182a5750505050508152602001906001019061180a565b505050509150925092509250909192565b61186a6127d4565b60006118ab84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061282e92505050565b90506000816000815181106118c2576118c2614aca565b6020908102919091010151609e549091506001600160a01b03908116908216036118fe5760405162461bcd60e51b8152600401610de890614cf8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc1196001600160a01b0382160161193b5760405162461bcd60e51b8152600401610de890614ae0565b60a36040518060600160405280836001600160a01b0316815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602091820187905283546001808201865594825290829020835160039092020180546001600160a01b0319166001600160a01b039092169190911781559082015191929091908201906119e29082614d2f565b5060409190910151600290910155609854611a099082906001600160a01b03166000612c63565b609854611a239082906001600160a01b0316600019612c63565b5050505050565b611a3261293a565b6113fa60a36000614266565b611a466127d4565b609b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f8041329bf7057543a2c2ff4e4071d1d488a31f82ed44e169b5cd2f04f5e3ac8590602001610f56565b611a9c6127d4565b600083836000818110611ab157611ab1614aca565b9050602002016020810190611ac69190614695565b609e549091506001600160a01b0390811690821603611af75760405162461bcd60e51b8152600401610de890614cf8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc1196001600160a01b03821601611b345760405162461bcd60e51b8152600401610de890614ae0565b60a46040518060800160405280836001600160a01b03168152602001876001600160a01b031681526020018686808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250938552505050602091820186905283546001818101865594825290829020835160049092020180546001600160a01b039283166001600160a01b031991821617825584840151958201805496909316951694909417905560408201518051929392611bff9260028501920190614287565b506060919091015160039091015560405163095ea7b360e01b81526001600160a01b0386811660048301526000602483015282169063095ea7b3906044016020604051808303816000875af1158015611c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c809190614dfa565b5060405163095ea7b360e01b81526001600160a01b038681166004830152600019602483015282169063095ea7b3906044016020604051808303816000875af1158015611cd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf59190614dfa565b505050505050565b611d056127d4565b6000611d146020850185614695565b609e549091506001600160a01b0390811690821603611d455760405162461bcd60e51b8152600401610de890614cf8565b6040805161018081019091528060608101866009828261012080828437600092018290525092845250506040805160808101909152602090920191908690600490835b82821015611dc95760408051606081810190925290808402860190600390839083908082843760009201919091525050508152600190910190602001611d88565b50505090825250602001839052805160a690611de890829060096141c7565b506020820151611dfe906009830190600461421f565b50604082015181601501559050506115a5817399a58482bd75cbab83b27ec03ca68ff489b5788f6000612c63565b611e3461293a565b6032811115611e6e5760405162461bcd60e51b8152600401610de8906020808252600490820152630216361760e41b604082015260600190565b609d8190556040518181527f3aa4413905e8f015896ec5880bdde24088ccb19b578f9fcf6800354d5320d4af90602001610f56565b611eab61293a565b6113fa60a260006142db565b611ebf6142fc565b6040518060600160405280611ed2612ddc565b815260200160008152602001611ee66124df565b9052919050565b600054610100900460ff1615808015611f0d5750600054600160ff909116105b80611f275750303b158015611f27575060005460ff166001145b611f8a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610de8565b6000805460ff191660011790558015611fad576000805461ff0019166101001790555b611fb682612e87565b609e80546001600160a01b03808f166001600160a01b031992831617909255609f8054928e169290911691909117905560a18a905561a4558a1461208e57604051631526fe2760e01b8152600481018b905273f403c135812408bfbe8713b5a23a04b3d48aae3190631526fe279060240160c060405180830381865afa158015612044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120689190614e17565b505060a080546001600160a01b0319166001600160a01b03929092169190911790555050505b87156120a7576120a78989670de0b6b3a7640000611862565b85156120c0576120c08787670de0b6b3a7640000611862565b6120ca8585610d38565b6120de8361012081016102a0820135611cfd565b6001609d556120eb612bef565b8015612131576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050505050565b609e546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401610fa1565b609a546001600160a01b031633146121b85760405162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b6044820152606401610de8565b609a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f46d58e3fa07bf19b1d27240f0e286b27e9f7c1b0d88933333fe833b60eec541290602001610f56565b61220e612fe3565b600061221861213f565b90508015610ec05760a0546001600160a01b0316156122bf5760a1546040516321d0683360e11b81526004810191909152602481018290526001604482015273f403c135812408bfbe8713b5a23a04b3d48aae31906343a0d066906064016020604051808303816000875af1158015612295573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b99190614dfa565b5061231e565b609f5460405163b6b55f2560e01b8152600481018390526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b15801561230557600080fd5b505af1158015612319573d6000803e3d6000fd5b505050505b7f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384266123476116a3565b604051908152602001610f56565b606061240c60a3838154811061236d5761236d614aca565b9060005260206000209060030201600101805461238990614b17565b80601f01602080910402602001604051908101604052809291908181526020018280546123b590614b17565b80156124025780601f106123d757610100808354040283529160200191612402565b820191906000526020600020905b8154815290600101906020018083116123e557829003601f168201915b505050505061282e565b92915050565b61241a6127d4565b609880546001600160a01b0319166001600160a01b0383169081179091556040519081527f5ca6e64c4522e68e154aa9372f2c5969cd37d9640e59f66953dc472f54ee86fa90602001610f56565b61247061293a565b6113fa60a46000614356565b61248461293a565b60bc805460ff1916911515919091179055565b60a0546000906001600160a01b0316156124d95760a0546040516246613160e11b81523060048201526001600160a01b0390911690628cc26290602401610fa1565b50600090565b60006124ed60655460ff1690565b6124d95750609d5490565b60a3818154811061250857600080fd5b6000918252602090912060039091020180546001820180546001600160a01b0390921693509061253790614b17565b80601f016020809104026020016040519081016040528092919081815260200182805461256390614b17565b80156125b05780601f10612585576101008083540402835291602001916125b0565b820191906000526020600020905b81548152906001019060200180831161259357829003601f168201915b5050505050908060020154905083565b6125c86127d4565b6001600160a01b03811661262d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610de8565b610ec081612cd6565b61263e6127d4565b612649611152610f61565b61a45581146126f157604051631526fe2760e01b81526004810182905273f403c135812408bfbe8713b5a23a04b3d48aae3190631526fe279060240160c060405180830381865afa1580156126a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c69190614e17565b505060a080546001600160a01b0319166001600160a01b039290921691909117905550612702915050565b60a080546001600160a01b03191690555b60a1819055610ec0612206565b6097546001600160a01b031633146127395760405162461bcd60e51b8152600401610de890614c6a565b612744611152610f61565b609e546097546001600160a01b039182169163a9059cbb911661276561213f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156127b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec09190614dfa565b6033546001600160a01b031633146113fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610de8565b6060600061283b83613029565b9050600061284a826001614d17565b67ffffffffffffffff81111561286257612862614b01565b60405190808252806020026020018201604052801561288b578160200160208202803683370190505b50905060005b82811015612932576000806128a58761304f565b5091509150818484815181106128bd576128bd614aca565b6001600160a01b039092166020928302919091019091015280846128e2856001614d17565b815181106128f2576128f2614aca565b60200260200101906001600160a01b031690816001600160a01b03168152505061291b8761308b565b96505050808061292a90614e9e565b915050612891565b509392505050565b6033546001600160a01b031633148061295d57506099546001600160a01b031633145b6113fa5760405162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b6044820152606401610de8565b61299c612fe3565b6129a46130bc565b6129ac6132e4565b6040516370a0823160e01b815230600482015260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa1580156129fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a229190614c51565b90508015610e0057612a33836137d9565b612a3b6139b6565b6000612a4561213f565b905082612a5457612a54612206565b4260bd55337f9bc239f1724cacfb88cb1d66a2dc437467699b68a8c90d7b63110cf4b6f9241082612a836116a3565b6040805192835260208301919091520160405180910390a250505050565b8015610ec05760a0546001600160a01b031615612b1a5760a054604051636197390160e11b815260048101839052600060248201526001600160a01b039091169063c32e7202906044015b600060405180830381600087803b158015612b0657600080fd5b505af1158015611a23573d6000803e3d6000fd5b609f54604051632e1a7d4d60e01b8152600481018390526001600160a01b0390911690632e1a7d4d90602401612aec565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e00908490613b60565b612ba5613c32565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b609e54609f5460001991612c10916001600160a01b03918216911683612c63565b609e54612c3b906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae3183612c63565b609854610ec09073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b0316835b60405163095ea7b360e01b81526001600160a01b0383811660048301526024820183905284169063095ea7b3906044016020604051808303816000875af1158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c69190614dfa565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612d30612fe3565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612bd23390565b609e54609f54612d83916001600160a01b0390811691166000612c63565b609e54612daf906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae316000612c63565b6098546113fa9073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b03166000612c63565b612e176040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b609c54604051639af608c960e01b81523060048201526001600160a01b0390911690639af608c990602401600060405180830381865afa158015612e5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe29190810190614f11565b600054610100900460ff16612eae5760405162461bcd60e51b8152600401610de890615007565b612eb6613c7b565b612ebe613caa565b612ecb6020820182614695565b609780546001600160a01b0319166001600160a01b0392909216919091179055612efb6040820160208301614695565b609880546001600160a01b0319166001600160a01b0392909216919091179055612f2b6060820160408301614695565b609980546001600160a01b0319166001600160a01b0392909216919091179055612f5b6080820160608301614695565b609a80546001600160a01b0319166001600160a01b0392909216919091179055612f8b60a0820160808301614695565b609b80546001600160a01b0319166001600160a01b0392909216919091179055612fbb60c0820160a08301614695565b609c80546001600160a01b0319166001600160a01b039290921691909117905550600a609d55565b60655460ff16156113fa5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610de8565b600061303760036014614d17565b601483516130459190614ca0565b61240c9190614cd6565b6000808061305d8482613cd9565b925061306a846014613d3e565b905061308261307b60036014614d17565b8590613cd9565b91509193909250565b606061240c61309c60036014614d17565b6130a860036014614d17565b84516130b49190614ca0565b849190613de9565b60a0546001600160a01b0316156132225760bc54610100900460ff1615801561314f575060a0546040805163ebe2b12b60e01b8152905142926001600160a01b03169163ebe2b12b9160048083019260209291908290030181865afa158015613129573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314d9190614c51565b105b156131be5760a15460405163cc956f3f60e01b8152600481019190915273f403c135812408bfbe8713b5a23a04b3d48aae319063cc956f3f90602401600060405180830381600087803b1580156131a557600080fd5b505af11580156131b9573d6000803e3d6000fd5b505050505b60a060009054906101000a90046001600160a01b03166001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561320e57600080fd5b505af11580156115c6573d6000803e3d6000fd5b60bc5460ff161561329f57609f546040516335313c2160e11b81526001600160a01b03909116600482015273d061d61a4d941c39e5453435b6345dc261c2fce090636a62784290602401600060405180830381600087803b15801561328657600080fd5b505af115801561329a573d6000803e3d6000fd5b505050505b609f54604051634274debf60e11b81523060048201526001600160a01b03909116906384e9bd7e90602401600060405180830381600087803b15801561320e57600080fd5b60005b60a25481101561349057600060a2828154811061330657613306614aca565b60009182526020822060169091020101546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561335c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133809190614c51565b905060a2828154811061339557613395614aca565b906000526020600020906016020160150154811061347f577399a58482bd75cbab83b27ec03ca68ff489b5788f6001600160a01b031663353ca42460a284815481106133e3576133e3614aca565b906000526020600020906016020160000160a2858154811061340757613407614aca565b90600052602060002090601602016009018460006040518563ffffffff1660e01b815260040161343a9493929190615052565b6020604051808303816000875af1158015613459573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061347d9190614c51565b505b5061348981614e9e565b90506132e7565b5060005b60a45481101561363657600060a482815481106134b3576134b3614aca565b60009182526020909120600491820201546040516370a0823160e01b815230928101929092526001600160a01b0316906370a0823190602401602060405180830381865afa158015613509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352d9190614c51565b905060a4828154811061354257613542614aca565b90600052602060002090600402016003015481106136255760a4828154811061356d5761356d614aca565b6000918252602082206001600490920201015460a480546001600160a01b03909216926338ed173992859290879081106135a9576135a9614aca565b906000526020600020906004020160020130426040518663ffffffff1660e01b81526004016135dc9594939291906150ed565b6000604051808303816000875af11580156135fb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136239190810190615163565b505b5061362f81614e9e565b9050613494565b5060005b60a354811015610ec057600060a3828154811061365957613659614aca565b60009182526020909120600390910201546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156136af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d39190614c51565b905060a382815481106136e8576136e8614aca565b90600052602060002090600302016002015481106137c85760985460a380546137c6926001600160a01b031691908590811061372657613726614aca565b9060005260206000209060030201600101805461374290614b17565b80601f016020809104026020016040519081016040528092919081815260200182805461376e90614b17565b80156137bb5780601f10613790576101008083540402835291602001916137bb565b820191906000526020600020905b81548152906001019060200180831161379e57829003601f168201915b505050505083613ef8565b505b506137d281614e9e565b905061363a565b60006137e3612ddc565b80516040516370a0823160e01b8152306004820152919250600091670de0b6b3a7640000919073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa158015613845573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138699190614c51565b6138739190614cb7565b61387d9190614cd6565b90506000670de0b6b3a764000083604001518361389a9190614cb7565b6138a49190614cd6565b90506138c573c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28583612b4b565b6000670de0b6b3a76400008460200151846138e09190614cb7565b6138ea9190614cd6565b609b549091506139199073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b031683612b4b565b6000670de0b6b3a76400008560600151856139349190614cb7565b61393e9190614cd6565b609a5490915061396d9073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b031683612b4b565b60408051848152602081018490529081018290527fd255b592c7f268a73e534da5219a60ff911b4cf6daae21c7d20527dd657bd99a9060600160405180910390a1505050505050565b600060a580546139c590614b17565b90501115613a69576040516370a0823160e01b815230600482015260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa158015613a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a439190614c51565b60985460a58054929350613a66926001600160a01b039092169161374290614b17565b50505b60a6546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015613ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ad69190614c51565b604051630d4f290960e21b81529091507399a58482bd75cbab83b27ec03ca68ff489b5788f9063353ca42490613b199060a69060af908690600090600401615052565b6020604051808303816000875af1158015613b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b5c9190614c51565b5050565b6000613bb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613f979092919063ffffffff16565b805190915015610e005780806020019051810190613bd39190614dfa565b610e005760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610de8565b60655460ff166113fa5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610de8565b600054610100900460ff16613ca25760405162461bcd60e51b8152600401610de890615007565b6113fa613fae565b600054610100900460ff16613cd15760405162461bcd60e51b8152600401610de890615007565b6113fa613fde565b6000613ce6826014614d17565b83511015613d2e5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610de8565b500160200151600160601b900490565b600081613d4c816003614d17565b1015613d8e5760405162461bcd60e51b8152602060048201526011602482015270746f55696e7432345f6f766572666c6f7760781b6044820152606401610de8565b613d99826003614d17565b83511015613de05760405162461bcd60e51b8152602060048201526014602482015273746f55696e7432345f6f75744f66426f756e647360601b6044820152606401610de8565b50016003015190565b606081613df781601f614d17565b1015613e365760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610de8565b613e408284614d17565b84511015613e845760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610de8565b606082158015613ea35760405191506000825260208201604052613eed565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613edc578051835260209283019201613ec4565b5050858452601f01601f1916604052505b5090505b9392505050565b6040805160a081018252838152306020820152428183015260608101839052600060808201819052915163c04b8d5960e01b81526001600160a01b0386169063c04b8d5990613f4b908490600401615209565b6020604051808303816000875af1158015613f6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f8e9190614c51565b95945050505050565b6060613fa68484600085614011565b949350505050565b600054610100900460ff16613fd55760405162461bcd60e51b8152600401610de890615007565b6113fa33612cd6565b600054610100900460ff166140055760405162461bcd60e51b8152600401610de890615007565b6065805460ff19169055565b6060824710156140725760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610de8565b6001600160a01b0385163b6140c95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610de8565b600080866001600160a01b031685876040516140e59190615261565b60006040518083038185875af1925050503d8060008114614122576040519150601f19603f3d011682016040523d82523d6000602084013e614127565b606091505b5091509150614137828286614142565b979650505050505050565b60608315614151575081613ef1565b8251156141615782518084602001fd5b8160405162461bcd60e51b8152600401610de8919061465d565b6040518061012001604052806009906020820280368337509192915050565b60405180608001604052806004905b6141b1614377565b8152602001906001900390816141a95790505090565b826009810192821561420f579160200282015b8281111561420f57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906141da565b5061421b929150614395565b5090565b600c8301918390821561425a579160200282015b8281111561425a57825161424a90839060036143aa565b5091602001919060030190614233565b5061421b9291506143d8565b5080546000825560030290600052602060002090810190610ec091906143f9565b82805482825590600052602060002090810192821561420f579160200282018281111561420f57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906141da565b5080546000825560160290600052602060002090810190610ec0919061442e565b60405180606001604052806143426040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b815260200160008152602001600081525090565b5080546000825560040290600052602060002090810190610ec091906144a6565b60405180606001604052806003906020820280368337509192915050565b5b8082111561421b5760008155600101614396565b826003810192821561420f579160200282015b8281111561420f5782518255916020019190600101906143bd565b8082111561421b5760008082556001820181905560028201556003016143d8565b8082111561421b5780546001600160a01b0319168155600061441e60018301826144e8565b50600060028201556003016143f9565b8082111561421b5760006144428282614522565b600060098301819055600a8301819055600b8301819055600c8301819055600d8301819055600e8301819055600f8301819055601083018190556011830181905560128301819055601383018190556014830155506000601582015560160161442e565b8082111561421b5780546001600160a01b03199081168255600182018054909116905560006144d86002830182614531565b50600060038201556004016144a6565b5080546144f490614b17565b6000825580601f10614504575050565b601f016020900490600052602060002090810190610ec09190614395565b50610ec0906009810190614395565b5080546000825590600052602060002090810190610ec09190614395565b60008083601f84011261456157600080fd5b50813567ffffffffffffffff81111561457957600080fd5b60208301915083602082850101111561459157600080fd5b9250929050565b600080602083850312156145ab57600080fd5b823567ffffffffffffffff8111156145c257600080fd5b6145ce8582860161454f565b90969095509350505050565b8015158114610ec057600080fd5b6000602082840312156145fa57600080fd5b8135613ef1816145da565b60005b83811015614620578181015183820152602001614608565b838111156115c65750506000910152565b60008151808452614649816020860160208601614605565b601f01601f19169290920160200192915050565b602081526000613ef16020830184614631565b6001600160a01b0381168114610ec057600080fd5b803561469081614670565b919050565b6000602082840312156146a757600080fd5b8135613ef181614670565b6000602082840312156146c457600080fd5b5035919050565b600081518084526020808501945080840160005b838110156147045781516001600160a01b0316875295820195908201906001016146df565b509495945050505050565b6001600160a01b0384168152606060208201819052600090614733908301856146cb565b9050826040830152949350505050565b6102c08101818560005b60098110156147755781516001600160a01b031683526020928301929091019060010161474d565b50505061012082018460005b60048110156147c85781518360005b60038110156147af578251825260209283019290910190600101614790565b5050506060929092019160209190910190600101614781565b505050826102a0830152949350505050565b60008060006102c084860312156147f057600080fd5b61012084018581111561480257600080fd5b8493506102a085018681111561481757600080fd5b9396909550923593505050565b60008060006040848603121561483957600080fd5b833567ffffffffffffffff81111561485057600080fd5b61485c8682870161454f565b909790965060209590950135949350505050565b6000806000806060858703121561488657600080fd5b843561489181614670565b9350602085013567ffffffffffffffff808211156148ae57600080fd5b818701915087601f8301126148c257600080fd5b8135818111156148d157600080fd5b8860208260051b85010111156148e657600080fd5b95986020929092019750949560400135945092505050565b60208152600082516060602084015280516080840152602081015160a0840152604081015160c0840152606081015160e0840152608081015160c061010085015261494d610140850182614631565b905060a082015115156101208501526020850151604085015260408501516060850152809250505092915050565b60006102c0828403121561498e57600080fd5b50919050565b600060c0828403121561498e57600080fd5b60008060008060008060008060008060006104408c8e0312156149c857600080fd5b6149d18c614685565b9a506149df60208d01614685565b995060408c0135985067ffffffffffffffff8060608e01351115614a0257600080fd5b614a128e60608f01358f0161454f565b909950975060808d0135811015614a2857600080fd5b614a388e60808f01358f0161454f565b909750955060a08d0135811015614a4e57600080fd5b50614a5f8d60a08e01358e0161454f565b9094509250614a718d60c08e0161497b565b9150614a818d6103808e01614994565b90509295989b509295989b9093969950565b602081526000613ef160208301846146cb565b6001600160a01b038416815260606020820181905260009061473390830185614631565b634e487b7160e01b600052603260045260246000fd5b602080825260079082015266216e617469766560c81b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680614b2b57607f821691505b60208210810361498e57634e487b7160e01b600052602260045260246000fd5b601f821115610e0057600081815260208120601f850160051c81016020861015614b725750805b601f850160051c820191505b81811015611cf557828155600101614b7e565b67ffffffffffffffff831115614ba957614ba9614b01565b614bbd83614bb78354614b17565b83614b4b565b6000601f841160018114614bf15760008515614bd95750838201355b600019600387901b1c1916600186901b178355611a23565b600083815260209020601f19861690835b82811015614c225786850135825560209485019460019092019101614c02565b5086821015614c3f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215614c6357600080fd5b5051919050565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015614cb257614cb2614c8a565b500390565b6000816000190483118215151615614cd157614cd1614c8a565b500290565b600082614cf357634e487b7160e01b600052601260045260246000fd5b500490565b602080825260059082015264085dd85b9d60da1b604082015260600190565b60008219821115614d2a57614d2a614c8a565b500190565b815167ffffffffffffffff811115614d4957614d49614b01565b614d5d81614d578454614b17565b84614b4b565b602080601f831160018114614d925760008415614d7a5750858301515b600019600386901b1c1916600185901b178555611cf5565b600085815260208120601f198616915b82811015614dc157888601518255948401946001909101908401614da2565b5085821015614ddf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051614690816145da565b600060208284031215614e0c57600080fd5b8151613ef1816145da565b60008060008060008060c08789031215614e3057600080fd5b8651614e3b81614670565b6020880151909650614e4c81614670565b6040880151909550614e5d81614670565b6060880151909450614e6e81614670565b6080880151909350614e7f81614670565b60a0880151909250614e90816145da565b809150509295509295509295565b600060018201614eb057614eb0614c8a565b5060010190565b60405160c0810167ffffffffffffffff81118282101715614eda57614eda614b01565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715614f0957614f09614b01565b604052919050565b60006020808385031215614f2457600080fd5b825167ffffffffffffffff80821115614f3c57600080fd5b9084019060c08287031215614f5057600080fd5b614f58614eb7565b8251815283830151848201526040830151604082015260608301516060820152608083015182811115614f8a57600080fd5b8301601f81018813614f9b57600080fd5b805183811115614fad57614fad614b01565b614fbf601f8201601f19168701614ee0565b93508084528886828401011115614fd557600080fd5b614fe481878601888501614605565b5050816080820152614ff860a08401614def565b60a08201529695505050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6102e08101818660005b60098110156150845781546001600160a01b031683526020909201916001918201910161505c565b50505061012082018560005b60048110156150d657828260005b60038110156150bd57815483526020909201916001918201910161509e565b5050506060929092019160039190910190600101615090565b5050506102a08201939093526102c0015292915050565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b818110156151425784546001600160a01b03168352600194850194928401920161511d565b50506001600160a01b03969096166060850152505050608001529392505050565b6000602080838503121561517657600080fd5b825167ffffffffffffffff8082111561518e57600080fd5b818501915085601f8301126151a257600080fd5b8151818111156151b4576151b4614b01565b8060051b91506151c5848301614ee0565b81815291830184019184810190888411156151df57600080fd5b938501935b838510156151fd578451825293850193908501906151e4565b98975050505050505050565b602081526000825160a0602084015261522560c0840182614631565b905060018060a01b0360208501511660408401526040840151606084015260608401516080840152608084015160a08401528091505092915050565b60008251615273818460208701614605565b919091019291505056fea26469706673582212208d02eef08b7e2632dd8287a85934132e409bfe527996b1a28e436ed7fbae1ed664736f6c634300080f0033

Deployed Bytecode

0x60806040526004361061044b5760003560e01c80638cfc025011610234578063c7b9d5301161012e578063e941fa78116100b6578063f1cd20351161007a578063f1cd203514610c94578063f2fde38b14610cc3578063fac0239d14610ce3578063fb61778714610d03578063fbfa77cf14610d1857600080fd5b8063e941fa7814610c29578063e9c7eb7614610c3e578063ec5be18214610c53578063f106845414610c68578063f1a392da14610c7e57600080fd5b8063d92f3d73116100fd578063d92f3d7314610baa578063dce4f84f14610bca578063dfbdc43714610bdf578063e2e91c4614610bf4578063e7a7250a14610c1457600080fd5b8063c7b9d53014610b20578063cda90b8814610b40578063d0e30db014610b68578063d564e5b714610b7d57600080fd5b8063a801158e116101bc578063b20feaaf11610180578063b20feaaf14610a8b578063b255fcf314610aad578063c1a3d44c14610acd578063c379c9ae14610ae2578063c6def07614610af857600080fd5b8063a801158e146109f6578063a8ed53f614610a16578063ac1e502514610a36578063ac4c5ca514610a56578063aced166114610a6b57600080fd5b806397fd323d1161020357806397fd323d14610820578063988a23e914610981578063a603dd3d146109a1578063a68833e5146109b6578063a6f19c84146109d657600080fd5b80638cfc0250146109195780638da5cb5b1461092e5780638e1454591461094c578063969a54ba1461096c57600080fd5b80633f4ba83a116103455780635c975abb116102cd578063722713f711610291578063722713f714610869578063748747e61461087e5780638301426c1461089e5780638456cb59146108e45780638912cb8b146108f957600080fd5b80635c975abb146107e857806366666aa91461080057806367a52793146108205780636817031b14610834578063715018a61461085457600080fd5b80634918595511610314578063491859551461075e5780634ab143261461077e5780634f28f5711461079d57806354518b1a146107bd578063573fef0a146107d357600080fd5b80633f4ba83a146106ff5780634641257d146107145780634700d305146107295780634746fb551461073e57600080fd5b80631f1fcd51116103d35780632864cbc5116103975780632864cbc5146106375780632e1a7d4d1461066657806332b7cf3f146106865780633b1d802e146106b55780633e55f932146106df57600080fd5b80631f1fcd51146105ab5780631fe4a686146105cb57806324b11863146105eb578063257ae0de14610600578063272734ac1461062057600080fd5b80630e5c011e1161041a5780630e5c011e146105005780630e8fbb5a14610520578063106fdbd014610540578063115880861461056057806311b0b42d1461058357600080fd5b806306d47717146104575780630747581a1461047957806307546172146104995780630d6ff380146104de57600080fd5b3661045257005b600080fd5b34801561046357600080fd5b50610477610472366004614598565b610d38565b005b34801561048557600080fd5b506104776104943660046145e8565b610e05565b3480156104a557600080fd5b506104c173d061d61a4d941c39e5453435b6345dc261c2fce081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156104ea57600080fd5b506104f3610e27565b6040516104d5919061465d565b34801561050c57600080fd5b5061047761051b366004614695565b610eb5565b34801561052c57600080fd5b5061047761053b3660046145e8565b610ec3565b34801561054c57600080fd5b5061047761055b366004614695565b610f04565b34801561056c57600080fd5b50610575610f61565b6040519081526020016104d5565b34801561058f57600080fd5b506104c173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156105b757600080fd5b50609e546104c1906001600160a01b031681565b3480156105d757600080fd5b50609a546104c1906001600160a01b031681565b3480156105f757600080fd5b5060a254610575565b34801561060c57600080fd5b506098546104c1906001600160a01b031681565b34801561062c57600080fd5b5060bb546105759081565b34801561064357600080fd5b506106576106523660046146b2565b611017565b6040516104d59392919061470f565b34801561067257600080fd5b506104776106813660046146b2565b611107565b34801561069257600080fd5b506106a66106a13660046146b2565b611218565b6040516104d593929190614743565b3480156106c157600080fd5b5060bc546106cf9060ff1681565b60405190151581526020016104d5565b3480156106eb57600080fd5b506104776106fa3660046146b2565b611343565b34801561070b57600080fd5b506104776113da565b34801561072057600080fd5b506104776113fc565b34801561073557600080fd5b50610477611407565b34801561074a57600080fd5b50609c546104c1906001600160a01b031681565b34801561076a57600080fd5b506104776107793660046147da565b611422565b34801561078a57600080fd5b5060bc546106cf90610100900460ff1681565b3480156107a957600080fd5b506105756107b83660046146b2565b6115cc565b3480156107c957600080fd5b5061057561271081565b3480156107df57600080fd5b506104776115f5565b3480156107f457600080fd5b5060655460ff166106cf565b34801561080c57600080fd5b5060a0546104c1906001600160a01b031681565b34801561082c57600080fd5b506000610575565b34801561084057600080fd5b5061047761084f366004614695565b61163b565b34801561086057600080fd5b50610477611691565b34801561087557600080fd5b506105756116a3565b34801561088a57600080fd5b50610477610899366004614695565b6116bf565b3480156108aa57600080fd5b506108be6108b93660046146b2565b611715565b604080516001600160a01b039485168152939092166020840152908201526060016104d5565b3480156108f057600080fd5b50610477611755565b34801561090557600080fd5b5060bc546106cf9062010000900460ff1681565b34801561092557600080fd5b5061057561176d565b34801561093a57600080fd5b506033546001600160a01b03166104c1565b34801561095857600080fd5b50609b546104c1906001600160a01b031681565b34801561097857600080fd5b506106a661179e565b34801561098d57600080fd5b5061047761099c366004614824565b611862565b3480156109ad57600080fd5b50610477611a2a565b3480156109c257600080fd5b506104776109d1366004614695565b611a3e565b3480156109e257600080fd5b50609f546104c1906001600160a01b031681565b348015610a0257600080fd5b50610477610a11366004614870565b611a94565b348015610a2257600080fd5b50610477610a313660046147da565b611cfd565b348015610a4257600080fd5b50610477610a513660046146b2565b611e2c565b348015610a6257600080fd5b50610477611ea3565b348015610a7757600080fd5b506099546104c1906001600160a01b031681565b348015610a9757600080fd5b50610aa0611eb7565b6040516104d591906148fe565b348015610ab957600080fd5b50610477610ac83660046149a6565b611eed565b348015610ad957600080fd5b5061057561213f565b348015610aee57600080fd5b5061057561a45581565b348015610b0457600080fd5b506104c173f403c135812408bfbe8713b5a23a04b3d48aae3181565b348015610b2c57600080fd5b50610477610b3b366004614695565b612170565b348015610b4c57600080fd5b506104c17399a58482bd75cbab83b27ec03ca68ff489b5788f81565b348015610b7457600080fd5b50610477612206565b348015610b8957600080fd5b50610b9d610b983660046146b2565b612355565b6040516104d59190614a93565b348015610bb657600080fd5b50610477610bc5366004614695565b612412565b348015610bd657600080fd5b50610477612468565b348015610beb57600080fd5b50610575603281565b348015610c0057600080fd5b50610477610c0f3660046145e8565b61247c565b348015610c2057600080fd5b50610575612497565b348015610c3557600080fd5b506105756124df565b348015610c4a57600080fd5b5060a354610575565b348015610c5f57600080fd5b5060a454610575565b348015610c7457600080fd5b5061057560a15481565b348015610c8a57600080fd5b5061057560bd5481565b348015610ca057600080fd5b50610cb4610caf3660046146b2565b6124f8565b6040516104d593929190614aa6565b348015610ccf57600080fd5b50610477610cde366004614695565b6125c0565b348015610cef57600080fd5b50610477610cfe3660046146b2565b612636565b348015610d0f57600080fd5b5061047761270f565b348015610d2457600080fd5b506097546104c1906001600160a01b031681565b610d406127d4565b8015610df3576000610d8783838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061282e92505050565b905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031681600081518110610dba57610dba614aca565b60200260200101516001600160a01b031614610df15760405162461bcd60e51b8152600401610de890614ae0565b60405180910390fd5b505b60a5610e00828483614b91565b505050565b610e0d61293a565b60bc80549115156101000261ff0019909216919091179055565b60a58054610e3490614b17565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6090614b17565b8015610ead5780601f10610e8257610100808354040283529160200191610ead565b820191906000526020600020905b815481529060010190602001808311610e9057829003601f168201915b505050505081565b610ec0816000612994565b50565b610ecb61293a565b60bc805462ff00001916620100008315158102919091179182905560ff91041615610efa57610ec06000611e2c565b610ec06001611e2c565b610f0c6127d4565b609c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f91e28ce4210d103c13c5174847e463b836900f8dc63e9d9b42a4255169d19529906020015b60405180910390a150565b60a0546000906001600160a01b031615610fe75760a0546040516370a0823160e01b81523060048201526001600160a01b03909116906370a08231906024015b602060405180830381865afa158015610fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe29190614c51565b905090565b609f546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401610fa1565b60006060600060a4848154811061103057611030614aca565b906000526020600020906004020160010160009054906101000a90046001600160a01b031660a4858154811061106857611068614aca565b906000526020600020906004020160020160a4868154811061108c5761108c614aca565b906000526020600020906004020160030154818054806020026020016040519081016040528092919081815260200182805480156110f357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d5575b505050505091509250925092509193909250565b6097546001600160a01b031633146111315760405162461bcd60e51b8152600401610de890614c6a565b600061113b61213f565b905081811015611162576111576111528284614ca0565b612aa1565b61115f61213f565b90505b8181111561116d5750805b6033546001600160a01b0316321480159061118b575060655460ff16155b156111bd576000612710609d54836111a39190614cb7565b6111ad9190614cd6565b90506111b98183614ca0565b9150505b609754609e546111da916001600160a01b03918216911683612b4b565b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d6112036116a3565b60405190815260200160405180910390a15050565b61122061417b565b61122861419a565b600060a2848154811061123d5761123d614aca565b906000526020600020906016020160000160a2858154811061126157611261614aca565b906000526020600020906016020160090160a2868154811061128557611285614aca565b60009182526020909120601690910201601501546040805161012081019182905290849060099082845b81546001600160a01b031681526001909101906020018083116112af57505060408051608081019091529396508592506004915060009050835b828210156113305760408051606081019182905290600384810287019182845b815481526020019060010190808311611309575050505050815260200190600101906112e9565b5050505091509250925092509193909250565b61134b61293a565b609c54604051631f2afc9960e11b8152600481018390526001600160a01b0390911690633e55f93290602401600060405180830381600087803b15801561139157600080fd5b505af11580156113a5573d6000803e3d6000fd5b505050507f9163810ee1e29168d4ce900e48a333fb8fbd3fd070d2bef67f6d4db0846a469f81604051610f5691815260200190565b6113e261293a565b6113ea612b9d565b6113f2612bef565b6113fa612206565b565b6113fa326000612994565b61140f61293a565b611417611755565b6113fa611152610f61565b61142a6127d4565b60006114396020850185614695565b609e549091506001600160a01b039081169082160361146a5760405162461bcd60e51b8152600401610de890614cf8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc1196001600160a01b038216016114a75760405162461bcd60e51b8152600401610de890614ae0565b60408051610180810190915260a2908060608101876009828261012080828437600092018290525092845250506040805160808101909152602090920191908790600490835b8282101561152e57604080516060818101909252908084028601906003908390839080828437600092019190915250505081526001909101906020016114ed565b50505090825250602090810185905282546001810184556000938452922081519192601602019061156290829060096141c7565b506020820151611578906009830190600461421f565b506040820151816015015550506115a5817399a58482bd75cbab83b27ec03ca68ff489b5788f6000612c63565b6115c6817399a58482bd75cbab83b27ec03ca68ff489b5788f600019612c63565b50505050565b60a281815481106115dc57600080fd5b6000918252602090912060156016909202010154905081565b60bc5462010000900460ff16156113fa576097546001600160a01b031633146116305760405162461bcd60e51b8152600401610de890614c6a565b6113fa326001612994565b6116436127d4565b609780546001600160a01b0319166001600160a01b0383169081179091556040519081527fd459c7242e23d490831b5676a611c4342d899d28f342d89ae80793e56a930f3090602001610f56565b6116996127d4565b6113fa6000612cd6565b60006116ad610f61565b6116b561213f565b610fe29190614d17565b6116c761293a565b609980546001600160a01b0319166001600160a01b0383169081179091556040519081527fefb5cfa1a8690c124332ab93324539c5c9c4be03f28aeb8be86f2d8a0c9fb99b90602001610f56565b60a4818154811061172557600080fd5b60009182526020909120600490910201805460018201546003909201546001600160a01b03918216935091169083565b61175d61293a565b611765612d28565b6113fa612d65565b609c54604051636788231160e11b81523060048201526000916001600160a01b03169063cf10462290602401610fa1565b6117a661417b565b6117ae61419a565b60bb546040805161012081019182905260009260a69260af9290849060099082845b81546001600160a01b031681526001909101906020018083116117d057505060408051608081019091529396508592506004915060009050835b828210156118515760408051606081019182905290600384810287019182845b81548152602001906001019080831161182a5750505050508152602001906001019061180a565b505050509150925092509250909192565b61186a6127d4565b60006118ab84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061282e92505050565b90506000816000815181106118c2576118c2614aca565b6020908102919091010151609e549091506001600160a01b03908116908216036118fe5760405162461bcd60e51b8152600401610de890614cf8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc1196001600160a01b0382160161193b5760405162461bcd60e51b8152600401610de890614ae0565b60a36040518060600160405280836001600160a01b0316815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602091820187905283546001808201865594825290829020835160039092020180546001600160a01b0319166001600160a01b039092169190911781559082015191929091908201906119e29082614d2f565b5060409190910151600290910155609854611a099082906001600160a01b03166000612c63565b609854611a239082906001600160a01b0316600019612c63565b5050505050565b611a3261293a565b6113fa60a36000614266565b611a466127d4565b609b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f8041329bf7057543a2c2ff4e4071d1d488a31f82ed44e169b5cd2f04f5e3ac8590602001610f56565b611a9c6127d4565b600083836000818110611ab157611ab1614aca565b9050602002016020810190611ac69190614695565b609e549091506001600160a01b0390811690821603611af75760405162461bcd60e51b8152600401610de890614cf8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc1196001600160a01b03821601611b345760405162461bcd60e51b8152600401610de890614ae0565b60a46040518060800160405280836001600160a01b03168152602001876001600160a01b031681526020018686808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250938552505050602091820186905283546001818101865594825290829020835160049092020180546001600160a01b039283166001600160a01b031991821617825584840151958201805496909316951694909417905560408201518051929392611bff9260028501920190614287565b506060919091015160039091015560405163095ea7b360e01b81526001600160a01b0386811660048301526000602483015282169063095ea7b3906044016020604051808303816000875af1158015611c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c809190614dfa565b5060405163095ea7b360e01b81526001600160a01b038681166004830152600019602483015282169063095ea7b3906044016020604051808303816000875af1158015611cd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf59190614dfa565b505050505050565b611d056127d4565b6000611d146020850185614695565b609e549091506001600160a01b0390811690821603611d455760405162461bcd60e51b8152600401610de890614cf8565b6040805161018081019091528060608101866009828261012080828437600092018290525092845250506040805160808101909152602090920191908690600490835b82821015611dc95760408051606081810190925290808402860190600390839083908082843760009201919091525050508152600190910190602001611d88565b50505090825250602001839052805160a690611de890829060096141c7565b506020820151611dfe906009830190600461421f565b50604082015181601501559050506115a5817399a58482bd75cbab83b27ec03ca68ff489b5788f6000612c63565b611e3461293a565b6032811115611e6e5760405162461bcd60e51b8152600401610de8906020808252600490820152630216361760e41b604082015260600190565b609d8190556040518181527f3aa4413905e8f015896ec5880bdde24088ccb19b578f9fcf6800354d5320d4af90602001610f56565b611eab61293a565b6113fa60a260006142db565b611ebf6142fc565b6040518060600160405280611ed2612ddc565b815260200160008152602001611ee66124df565b9052919050565b600054610100900460ff1615808015611f0d5750600054600160ff909116105b80611f275750303b158015611f27575060005460ff166001145b611f8a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610de8565b6000805460ff191660011790558015611fad576000805461ff0019166101001790555b611fb682612e87565b609e80546001600160a01b03808f166001600160a01b031992831617909255609f8054928e169290911691909117905560a18a905561a4558a1461208e57604051631526fe2760e01b8152600481018b905273f403c135812408bfbe8713b5a23a04b3d48aae3190631526fe279060240160c060405180830381865afa158015612044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120689190614e17565b505060a080546001600160a01b0319166001600160a01b03929092169190911790555050505b87156120a7576120a78989670de0b6b3a7640000611862565b85156120c0576120c08787670de0b6b3a7640000611862565b6120ca8585610d38565b6120de8361012081016102a0820135611cfd565b6001609d556120eb612bef565b8015612131576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050505050565b609e546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401610fa1565b609a546001600160a01b031633146121b85760405162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b6044820152606401610de8565b609a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f46d58e3fa07bf19b1d27240f0e286b27e9f7c1b0d88933333fe833b60eec541290602001610f56565b61220e612fe3565b600061221861213f565b90508015610ec05760a0546001600160a01b0316156122bf5760a1546040516321d0683360e11b81526004810191909152602481018290526001604482015273f403c135812408bfbe8713b5a23a04b3d48aae31906343a0d066906064016020604051808303816000875af1158015612295573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b99190614dfa565b5061231e565b609f5460405163b6b55f2560e01b8152600481018390526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b15801561230557600080fd5b505af1158015612319573d6000803e3d6000fd5b505050505b7f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384266123476116a3565b604051908152602001610f56565b606061240c60a3838154811061236d5761236d614aca565b9060005260206000209060030201600101805461238990614b17565b80601f01602080910402602001604051908101604052809291908181526020018280546123b590614b17565b80156124025780601f106123d757610100808354040283529160200191612402565b820191906000526020600020905b8154815290600101906020018083116123e557829003601f168201915b505050505061282e565b92915050565b61241a6127d4565b609880546001600160a01b0319166001600160a01b0383169081179091556040519081527f5ca6e64c4522e68e154aa9372f2c5969cd37d9640e59f66953dc472f54ee86fa90602001610f56565b61247061293a565b6113fa60a46000614356565b61248461293a565b60bc805460ff1916911515919091179055565b60a0546000906001600160a01b0316156124d95760a0546040516246613160e11b81523060048201526001600160a01b0390911690628cc26290602401610fa1565b50600090565b60006124ed60655460ff1690565b6124d95750609d5490565b60a3818154811061250857600080fd5b6000918252602090912060039091020180546001820180546001600160a01b0390921693509061253790614b17565b80601f016020809104026020016040519081016040528092919081815260200182805461256390614b17565b80156125b05780601f10612585576101008083540402835291602001916125b0565b820191906000526020600020905b81548152906001019060200180831161259357829003601f168201915b5050505050908060020154905083565b6125c86127d4565b6001600160a01b03811661262d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610de8565b610ec081612cd6565b61263e6127d4565b612649611152610f61565b61a45581146126f157604051631526fe2760e01b81526004810182905273f403c135812408bfbe8713b5a23a04b3d48aae3190631526fe279060240160c060405180830381865afa1580156126a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c69190614e17565b505060a080546001600160a01b0319166001600160a01b039290921691909117905550612702915050565b60a080546001600160a01b03191690555b60a1819055610ec0612206565b6097546001600160a01b031633146127395760405162461bcd60e51b8152600401610de890614c6a565b612744611152610f61565b609e546097546001600160a01b039182169163a9059cbb911661276561213f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156127b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec09190614dfa565b6033546001600160a01b031633146113fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610de8565b6060600061283b83613029565b9050600061284a826001614d17565b67ffffffffffffffff81111561286257612862614b01565b60405190808252806020026020018201604052801561288b578160200160208202803683370190505b50905060005b82811015612932576000806128a58761304f565b5091509150818484815181106128bd576128bd614aca565b6001600160a01b039092166020928302919091019091015280846128e2856001614d17565b815181106128f2576128f2614aca565b60200260200101906001600160a01b031690816001600160a01b03168152505061291b8761308b565b96505050808061292a90614e9e565b915050612891565b509392505050565b6033546001600160a01b031633148061295d57506099546001600160a01b031633145b6113fa5760405162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b6044820152606401610de8565b61299c612fe3565b6129a46130bc565b6129ac6132e4565b6040516370a0823160e01b815230600482015260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa1580156129fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a229190614c51565b90508015610e0057612a33836137d9565b612a3b6139b6565b6000612a4561213f565b905082612a5457612a54612206565b4260bd55337f9bc239f1724cacfb88cb1d66a2dc437467699b68a8c90d7b63110cf4b6f9241082612a836116a3565b6040805192835260208301919091520160405180910390a250505050565b8015610ec05760a0546001600160a01b031615612b1a5760a054604051636197390160e11b815260048101839052600060248201526001600160a01b039091169063c32e7202906044015b600060405180830381600087803b158015612b0657600080fd5b505af1158015611a23573d6000803e3d6000fd5b609f54604051632e1a7d4d60e01b8152600481018390526001600160a01b0390911690632e1a7d4d90602401612aec565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e00908490613b60565b612ba5613c32565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b609e54609f5460001991612c10916001600160a01b03918216911683612c63565b609e54612c3b906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae3183612c63565b609854610ec09073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b0316835b60405163095ea7b360e01b81526001600160a01b0383811660048301526024820183905284169063095ea7b3906044016020604051808303816000875af1158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c69190614dfa565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612d30612fe3565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612bd23390565b609e54609f54612d83916001600160a01b0390811691166000612c63565b609e54612daf906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae316000612c63565b6098546113fa9073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b03166000612c63565b612e176040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b609c54604051639af608c960e01b81523060048201526001600160a01b0390911690639af608c990602401600060405180830381865afa158015612e5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe29190810190614f11565b600054610100900460ff16612eae5760405162461bcd60e51b8152600401610de890615007565b612eb6613c7b565b612ebe613caa565b612ecb6020820182614695565b609780546001600160a01b0319166001600160a01b0392909216919091179055612efb6040820160208301614695565b609880546001600160a01b0319166001600160a01b0392909216919091179055612f2b6060820160408301614695565b609980546001600160a01b0319166001600160a01b0392909216919091179055612f5b6080820160608301614695565b609a80546001600160a01b0319166001600160a01b0392909216919091179055612f8b60a0820160808301614695565b609b80546001600160a01b0319166001600160a01b0392909216919091179055612fbb60c0820160a08301614695565b609c80546001600160a01b0319166001600160a01b039290921691909117905550600a609d55565b60655460ff16156113fa5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610de8565b600061303760036014614d17565b601483516130459190614ca0565b61240c9190614cd6565b6000808061305d8482613cd9565b925061306a846014613d3e565b905061308261307b60036014614d17565b8590613cd9565b91509193909250565b606061240c61309c60036014614d17565b6130a860036014614d17565b84516130b49190614ca0565b849190613de9565b60a0546001600160a01b0316156132225760bc54610100900460ff1615801561314f575060a0546040805163ebe2b12b60e01b8152905142926001600160a01b03169163ebe2b12b9160048083019260209291908290030181865afa158015613129573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314d9190614c51565b105b156131be5760a15460405163cc956f3f60e01b8152600481019190915273f403c135812408bfbe8713b5a23a04b3d48aae319063cc956f3f90602401600060405180830381600087803b1580156131a557600080fd5b505af11580156131b9573d6000803e3d6000fd5b505050505b60a060009054906101000a90046001600160a01b03166001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561320e57600080fd5b505af11580156115c6573d6000803e3d6000fd5b60bc5460ff161561329f57609f546040516335313c2160e11b81526001600160a01b03909116600482015273d061d61a4d941c39e5453435b6345dc261c2fce090636a62784290602401600060405180830381600087803b15801561328657600080fd5b505af115801561329a573d6000803e3d6000fd5b505050505b609f54604051634274debf60e11b81523060048201526001600160a01b03909116906384e9bd7e90602401600060405180830381600087803b15801561320e57600080fd5b60005b60a25481101561349057600060a2828154811061330657613306614aca565b60009182526020822060169091020101546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561335c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133809190614c51565b905060a2828154811061339557613395614aca565b906000526020600020906016020160150154811061347f577399a58482bd75cbab83b27ec03ca68ff489b5788f6001600160a01b031663353ca42460a284815481106133e3576133e3614aca565b906000526020600020906016020160000160a2858154811061340757613407614aca565b90600052602060002090601602016009018460006040518563ffffffff1660e01b815260040161343a9493929190615052565b6020604051808303816000875af1158015613459573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061347d9190614c51565b505b5061348981614e9e565b90506132e7565b5060005b60a45481101561363657600060a482815481106134b3576134b3614aca565b60009182526020909120600491820201546040516370a0823160e01b815230928101929092526001600160a01b0316906370a0823190602401602060405180830381865afa158015613509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352d9190614c51565b905060a4828154811061354257613542614aca565b90600052602060002090600402016003015481106136255760a4828154811061356d5761356d614aca565b6000918252602082206001600490920201015460a480546001600160a01b03909216926338ed173992859290879081106135a9576135a9614aca565b906000526020600020906004020160020130426040518663ffffffff1660e01b81526004016135dc9594939291906150ed565b6000604051808303816000875af11580156135fb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136239190810190615163565b505b5061362f81614e9e565b9050613494565b5060005b60a354811015610ec057600060a3828154811061365957613659614aca565b60009182526020909120600390910201546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156136af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d39190614c51565b905060a382815481106136e8576136e8614aca565b90600052602060002090600302016002015481106137c85760985460a380546137c6926001600160a01b031691908590811061372657613726614aca565b9060005260206000209060030201600101805461374290614b17565b80601f016020809104026020016040519081016040528092919081815260200182805461376e90614b17565b80156137bb5780601f10613790576101008083540402835291602001916137bb565b820191906000526020600020905b81548152906001019060200180831161379e57829003601f168201915b505050505083613ef8565b505b506137d281614e9e565b905061363a565b60006137e3612ddc565b80516040516370a0823160e01b8152306004820152919250600091670de0b6b3a7640000919073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa158015613845573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138699190614c51565b6138739190614cb7565b61387d9190614cd6565b90506000670de0b6b3a764000083604001518361389a9190614cb7565b6138a49190614cd6565b90506138c573c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28583612b4b565b6000670de0b6b3a76400008460200151846138e09190614cb7565b6138ea9190614cd6565b609b549091506139199073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b031683612b4b565b6000670de0b6b3a76400008560600151856139349190614cb7565b61393e9190614cd6565b609a5490915061396d9073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906001600160a01b031683612b4b565b60408051848152602081018490529081018290527fd255b592c7f268a73e534da5219a60ff911b4cf6daae21c7d20527dd657bd99a9060600160405180910390a1505050505050565b600060a580546139c590614b17565b90501115613a69576040516370a0823160e01b815230600482015260009073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa158015613a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a439190614c51565b60985460a58054929350613a66926001600160a01b039092169161374290614b17565b50505b60a6546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015613ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ad69190614c51565b604051630d4f290960e21b81529091507399a58482bd75cbab83b27ec03ca68ff489b5788f9063353ca42490613b199060a69060af908690600090600401615052565b6020604051808303816000875af1158015613b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b5c9190614c51565b5050565b6000613bb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613f979092919063ffffffff16565b805190915015610e005780806020019051810190613bd39190614dfa565b610e005760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610de8565b60655460ff166113fa5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610de8565b600054610100900460ff16613ca25760405162461bcd60e51b8152600401610de890615007565b6113fa613fae565b600054610100900460ff16613cd15760405162461bcd60e51b8152600401610de890615007565b6113fa613fde565b6000613ce6826014614d17565b83511015613d2e5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610de8565b500160200151600160601b900490565b600081613d4c816003614d17565b1015613d8e5760405162461bcd60e51b8152602060048201526011602482015270746f55696e7432345f6f766572666c6f7760781b6044820152606401610de8565b613d99826003614d17565b83511015613de05760405162461bcd60e51b8152602060048201526014602482015273746f55696e7432345f6f75744f66426f756e647360601b6044820152606401610de8565b50016003015190565b606081613df781601f614d17565b1015613e365760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610de8565b613e408284614d17565b84511015613e845760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610de8565b606082158015613ea35760405191506000825260208201604052613eed565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613edc578051835260209283019201613ec4565b5050858452601f01601f1916604052505b5090505b9392505050565b6040805160a081018252838152306020820152428183015260608101839052600060808201819052915163c04b8d5960e01b81526001600160a01b0386169063c04b8d5990613f4b908490600401615209565b6020604051808303816000875af1158015613f6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f8e9190614c51565b95945050505050565b6060613fa68484600085614011565b949350505050565b600054610100900460ff16613fd55760405162461bcd60e51b8152600401610de890615007565b6113fa33612cd6565b600054610100900460ff166140055760405162461bcd60e51b8152600401610de890615007565b6065805460ff19169055565b6060824710156140725760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610de8565b6001600160a01b0385163b6140c95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610de8565b600080866001600160a01b031685876040516140e59190615261565b60006040518083038185875af1925050503d8060008114614122576040519150601f19603f3d011682016040523d82523d6000602084013e614127565b606091505b5091509150614137828286614142565b979650505050505050565b60608315614151575081613ef1565b8251156141615782518084602001fd5b8160405162461bcd60e51b8152600401610de8919061465d565b6040518061012001604052806009906020820280368337509192915050565b60405180608001604052806004905b6141b1614377565b8152602001906001900390816141a95790505090565b826009810192821561420f579160200282015b8281111561420f57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906141da565b5061421b929150614395565b5090565b600c8301918390821561425a579160200282015b8281111561425a57825161424a90839060036143aa565b5091602001919060030190614233565b5061421b9291506143d8565b5080546000825560030290600052602060002090810190610ec091906143f9565b82805482825590600052602060002090810192821561420f579160200282018281111561420f57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906141da565b5080546000825560160290600052602060002090810190610ec0919061442e565b60405180606001604052806143426040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b815260200160008152602001600081525090565b5080546000825560040290600052602060002090810190610ec091906144a6565b60405180606001604052806003906020820280368337509192915050565b5b8082111561421b5760008155600101614396565b826003810192821561420f579160200282015b8281111561420f5782518255916020019190600101906143bd565b8082111561421b5760008082556001820181905560028201556003016143d8565b8082111561421b5780546001600160a01b0319168155600061441e60018301826144e8565b50600060028201556003016143f9565b8082111561421b5760006144428282614522565b600060098301819055600a8301819055600b8301819055600c8301819055600d8301819055600e8301819055600f8301819055601083018190556011830181905560128301819055601383018190556014830155506000601582015560160161442e565b8082111561421b5780546001600160a01b03199081168255600182018054909116905560006144d86002830182614531565b50600060038201556004016144a6565b5080546144f490614b17565b6000825580601f10614504575050565b601f016020900490600052602060002090810190610ec09190614395565b50610ec0906009810190614395565b5080546000825590600052602060002090810190610ec09190614395565b60008083601f84011261456157600080fd5b50813567ffffffffffffffff81111561457957600080fd5b60208301915083602082850101111561459157600080fd5b9250929050565b600080602083850312156145ab57600080fd5b823567ffffffffffffffff8111156145c257600080fd5b6145ce8582860161454f565b90969095509350505050565b8015158114610ec057600080fd5b6000602082840312156145fa57600080fd5b8135613ef1816145da565b60005b83811015614620578181015183820152602001614608565b838111156115c65750506000910152565b60008151808452614649816020860160208601614605565b601f01601f19169290920160200192915050565b602081526000613ef16020830184614631565b6001600160a01b0381168114610ec057600080fd5b803561469081614670565b919050565b6000602082840312156146a757600080fd5b8135613ef181614670565b6000602082840312156146c457600080fd5b5035919050565b600081518084526020808501945080840160005b838110156147045781516001600160a01b0316875295820195908201906001016146df565b509495945050505050565b6001600160a01b0384168152606060208201819052600090614733908301856146cb565b9050826040830152949350505050565b6102c08101818560005b60098110156147755781516001600160a01b031683526020928301929091019060010161474d565b50505061012082018460005b60048110156147c85781518360005b60038110156147af578251825260209283019290910190600101614790565b5050506060929092019160209190910190600101614781565b505050826102a0830152949350505050565b60008060006102c084860312156147f057600080fd5b61012084018581111561480257600080fd5b8493506102a085018681111561481757600080fd5b9396909550923593505050565b60008060006040848603121561483957600080fd5b833567ffffffffffffffff81111561485057600080fd5b61485c8682870161454f565b909790965060209590950135949350505050565b6000806000806060858703121561488657600080fd5b843561489181614670565b9350602085013567ffffffffffffffff808211156148ae57600080fd5b818701915087601f8301126148c257600080fd5b8135818111156148d157600080fd5b8860208260051b85010111156148e657600080fd5b95986020929092019750949560400135945092505050565b60208152600082516060602084015280516080840152602081015160a0840152604081015160c0840152606081015160e0840152608081015160c061010085015261494d610140850182614631565b905060a082015115156101208501526020850151604085015260408501516060850152809250505092915050565b60006102c0828403121561498e57600080fd5b50919050565b600060c0828403121561498e57600080fd5b60008060008060008060008060008060006104408c8e0312156149c857600080fd5b6149d18c614685565b9a506149df60208d01614685565b995060408c0135985067ffffffffffffffff8060608e01351115614a0257600080fd5b614a128e60608f01358f0161454f565b909950975060808d0135811015614a2857600080fd5b614a388e60808f01358f0161454f565b909750955060a08d0135811015614a4e57600080fd5b50614a5f8d60a08e01358e0161454f565b9094509250614a718d60c08e0161497b565b9150614a818d6103808e01614994565b90509295989b509295989b9093969950565b602081526000613ef160208301846146cb565b6001600160a01b038416815260606020820181905260009061473390830185614631565b634e487b7160e01b600052603260045260246000fd5b602080825260079082015266216e617469766560c81b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680614b2b57607f821691505b60208210810361498e57634e487b7160e01b600052602260045260246000fd5b601f821115610e0057600081815260208120601f850160051c81016020861015614b725750805b601f850160051c820191505b81811015611cf557828155600101614b7e565b67ffffffffffffffff831115614ba957614ba9614b01565b614bbd83614bb78354614b17565b83614b4b565b6000601f841160018114614bf15760008515614bd95750838201355b600019600387901b1c1916600186901b178355611a23565b600083815260209020601f19861690835b82811015614c225786850135825560209485019460019092019101614c02565b5086821015614c3f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215614c6357600080fd5b5051919050565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015614cb257614cb2614c8a565b500390565b6000816000190483118215151615614cd157614cd1614c8a565b500290565b600082614cf357634e487b7160e01b600052601260045260246000fd5b500490565b602080825260059082015264085dd85b9d60da1b604082015260600190565b60008219821115614d2a57614d2a614c8a565b500190565b815167ffffffffffffffff811115614d4957614d49614b01565b614d5d81614d578454614b17565b84614b4b565b602080601f831160018114614d925760008415614d7a5750858301515b600019600386901b1c1916600185901b178555611cf5565b600085815260208120601f198616915b82811015614dc157888601518255948401946001909101908401614da2565b5085821015614ddf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051614690816145da565b600060208284031215614e0c57600080fd5b8151613ef1816145da565b60008060008060008060c08789031215614e3057600080fd5b8651614e3b81614670565b6020880151909650614e4c81614670565b6040880151909550614e5d81614670565b6060880151909450614e6e81614670565b6080880151909350614e7f81614670565b60a0880151909250614e90816145da565b809150509295509295509295565b600060018201614eb057614eb0614c8a565b5060010190565b60405160c0810167ffffffffffffffff81118282101715614eda57614eda614b01565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715614f0957614f09614b01565b604052919050565b60006020808385031215614f2457600080fd5b825167ffffffffffffffff80821115614f3c57600080fd5b9084019060c08287031215614f5057600080fd5b614f58614eb7565b8251815283830151848201526040830151604082015260608301516060820152608083015182811115614f8a57600080fd5b8301601f81018813614f9b57600080fd5b805183811115614fad57614fad614b01565b614fbf601f8201601f19168701614ee0565b93508084528886828401011115614fd557600080fd5b614fe481878601888501614605565b5050816080820152614ff860a08401614def565b60a08201529695505050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6102e08101818660005b60098110156150845781546001600160a01b031683526020909201916001918201910161505c565b50505061012082018560005b60048110156150d657828260005b60038110156150bd57815483526020909201916001918201910161509e565b5050506060929092019160039190910190600101615090565b5050506102a08201939093526102c0015292915050565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b818110156151425784546001600160a01b03168352600194850194928401920161511d565b50506001600160a01b03969096166060850152505050608001529392505050565b6000602080838503121561517657600080fd5b825167ffffffffffffffff8082111561518e57600080fd5b818501915085601f8301126151a257600080fd5b8151818111156151b4576151b4614b01565b8060051b91506151c5848301614ee0565b81815291830184019184810190888411156151df57600080fd5b938501935b838510156151fd578451825293850193908501906151e4565b98975050505050505050565b602081526000825160a0602084015261522560c0840182614631565b905060018060a01b0360208501511660408401526040840151606084015260608401516080840152608084015160a08401528091505092915050565b60008251615273818460208701614605565b919091019291505056fea26469706673582212208d02eef08b7e2632dd8287a85934132e409bfe527996b1a28e436ed7fbae1ed664736f6c634300080f0033

Deployed Bytecode Sourcemap

78223:15037:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86860:347;;;;;;;;;;-1:-1:-1;86860:347:0;;;;;:::i;:::-;;:::i;:::-;;91254:137;;;;;;;;;;-1:-1:-1;91254:137:0;;;;;:::i;:::-;;:::i;78737:90::-;;;;;;;;;;;;78784:42;78737:90;;;;;-1:-1:-1;;;;;1332:32:1;;;1314:51;;1302:2;1287:18;78737:90:0;;;;;;;;79808:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;83059:112::-;;;;;;;;;;-1:-1:-1;83059:112:0;;;;;:::i;:::-;;:::i;91399:259::-;;;;;;;;;;-1:-1:-1;91399:259:0;;;;;:::i;:::-;;:::i;50736:184::-;;;;;;;;;;-1:-1:-1;50736:184:0;;;;;:::i;:::-;;:::i;89758:276::-;;;;;;;;;;;;;:::i;:::-;;;2796:25:1;;;2784:2;2769:18;89758:276:0;2650:177:1;78462:75:0;;;;;;;;;;;;78495:42;78462:75;;78836:19;;;;;;;;;;-1:-1:-1;78836:19:0;;;;-1:-1:-1;;;;;78836:19:0;;;47248:25;;;;;;;;;;-1:-1:-1;47248:25:0;;;;-1:-1:-1;;;;;47248:25:0;;;90459:104;;;;;;;;;;-1:-1:-1;90536:12:0;:19;90459:104;;47189:24;;;;;;;;;;-1:-1:-1;47189:24:0;;;;-1:-1:-1;;;;;47189:24:0;;;79946:31;;;;;;;;;;-1:-1:-1;79946:31:0;;;;;;90836:181;;;;;;;;;;-1:-1:-1;90836:181:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;81794:651::-;;;;;;;;;;-1:-1:-1;81794:651:0;;;;;:::i;:::-;;:::i;90248:203::-;;;;;;;;;;-1:-1:-1;90248:203:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;79986:25::-;;;;;;;;;;-1:-1:-1;79986:25:0;;;;;;;;;;;5680:14:1;;5673:22;5655:41;;5643:2;5628:18;79986:25:0;5515:187:1;49257:152:0;;;;;;;;;;-1:-1:-1;49257:152:0;;;;;:::i;:::-;;:::i;92535:121::-;;;;;;;;;;;;;:::i;82970:81::-;;;;;;;;;;;;;:::i;92325:99::-;;;;;;;;;;;;;:::i;47319:32::-;;;;;;;;;;-1:-1:-1;47319:32:0;;;;-1:-1:-1;;;;;47319:32:0;;;87597:462;;;;;;;;;;-1:-1:-1;87597:462:0;;;;;:::i;:::-;;:::i;80084:30::-;;;;;;;;;;-1:-1:-1;80084:30:0;;;;;;;;;;;79190:32;;;;;;;;;;-1:-1:-1;79190:32:0;;;;;:::i;:::-;;:::i;47455:46::-;;;;;;;;;;;;47496:5;47455:46;;82774:188;;;;;;;;;;;;;:::i;44800:86::-;;;;;;;;;;-1:-1:-1;44871:7:0;;;;44800:86;;78921:25;;;;;;;;;;-1:-1:-1;78921:25:0;;;;-1:-1:-1;;;;;78921:25:0;;;50928:87;;;;;;;;;;-1:-1:-1;50979:7:0;50928:87;;49696:118;;;;;;;;;;-1:-1:-1;49696:118:0;;;;;:::i;:::-;;:::i;41798:103::-;;;;;;;;;;;;;:::i;89379:110::-;;;;;;;;;;;;;:::i;50037:126::-;;;;;;;;;;-1:-1:-1;50037:126:0;;;;;:::i;:::-;;:::i;79684:27::-;;;;;;;;;;-1:-1:-1;79684:27:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6693:15:1;;;6675:34;;6745:15;;;;6740:2;6725:18;;6718:43;6777:18;;;6770:34;6625:2;6610:18;79684:27:0;6435:375:1;92432:95:0;;;;;;;;;;;;;:::i;80121:28::-;;;;;;;;;;-1:-1:-1;80121:28:0;;;;;;;;;;;49126:123;;;;;;;;;;;;;:::i;41150:87::-;;;;;;;;;;-1:-1:-1;41223:6:0;;-1:-1:-1;;;;;41223:6:0;41150:87;;47280:32;;;;;;;;;;-1:-1:-1;47280:32:0;;;;-1:-1:-1;;;;;47280:32:0;;;90042:198;;;;;;;;;;;;;:::i;88524:505::-;;;;;;;;;;-1:-1:-1;88524:505:0;;;;;:::i;:::-;;:::i;89223:82::-;;;;;;;;;;;;;:::i;50489:190::-;;;;;;;;;;-1:-1:-1;50489:190:0;;;;;:::i;:::-;;:::i;78879:20::-;;;;;;;;;;-1:-1:-1;78879:20:0;;;;-1:-1:-1;;;;;78879:20:0;;;88067:449;;;;;;;;;;-1:-1:-1;88067:449:0;;;;;:::i;:::-;;:::i;87215:374::-;;;;;;;;;;-1:-1:-1;87215:374:0;;;;;:::i;:::-;;:::i;49447:190::-;;;;;;;;;;-1:-1:-1;49447:190:0;;;;;:::i;:::-;;:::i;89037:88::-;;;;;;;;;;;;;:::i;47220:21::-;;;;;;;;;;-1:-1:-1;47220:21:0;;;;-1:-1:-1;;;;;47220:21:0;;;48962:156;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;80433:949::-;;;;;;;;;;-1:-1:-1;80433:949:0;;;;;:::i;:::-;;:::i;89556:118::-;;;;;;;;;;;;;:::i;78398:35::-;;;;;;;;;;;;78428:5;78398:35;;78631:99;;;;;;;;;;;;78687:42;78631:99;;50228:197;;;;;;;;;;-1:-1:-1;50228:197:0;;;;;:::i;:::-;;:::i;78544:80::-;;;;;;;;;;;;78582:42;78544:80;;81421:365;;;;;;;;;;;;;:::i;90571:151::-;;;;;;;;;;-1:-1:-1;90571:151:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;49848:142::-;;;;;;;;;;-1:-1:-1;49848:142:0;;;;;:::i;:::-;;:::i;89133:82::-;;;;;;;;;;;;;:::i;47401:47::-;;;;;;;;;;;;47446:2;47401:47;;91131:115;;;;;;;;;;-1:-1:-1;91131:115:0;;;;;:::i;:::-;;:::i;91666:209::-;;;;;;;;;;;;;:::i;51023:115::-;;;;;;;;;;;;;:::i;90730:98::-;;;;;;;;;;-1:-1:-1;90804:9:0;:16;90730:98;;91025;;;;;;;;;;-1:-1:-1;91099:9:0;:16;91025:98;;78980:15;;;;;;;;;;;;;;;;80156:26;;;;;;;;;;;;;;;;79397:27;;;;;;;;;;-1:-1:-1;79397:27:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;42056:201::-;;;;;;;;;;-1:-1:-1;42056:201:0;;;;;:::i;:::-;;:::i;86559:293::-;;;;;;;;;;-1:-1:-1;86559:293:0;;;;;:::i;:::-;;:::i;92061:182::-;;;;;;;;;;;;;:::i;47162:20::-;;;;;;;;;;-1:-1:-1;47162:20:0;;;;-1:-1:-1;;;;;47162:20:0;;;86860:347;41036:13;:11;:13::i;:::-;86961:31;;86957:190:::1;;87009:22;87034:48;87061:20;;87034:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;87034:26:0::1;::::0;-1:-1:-1;;;87034:48:0:i:1;:::-;87009:73;;78495:42;-1:-1:-1::0;;;;;87105:18:0::1;:5;87111:1;87105:8;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;87105:18:0::1;;87097:38;;;;-1:-1:-1::0;;;87097:38:0::1;;;;;;;:::i;:::-;;;;;;;;;86994:153;86957:190;87157:19;:42;87179:20:::0;;87157:19;:42:::1;:::i;:::-;;86860:347:::0;;:::o;91254:137::-;48529:15;:13;:15::i;:::-;91343:18:::1;:40:::0;;;::::1;;;;-1:-1:-1::0;;91343:40:0;;::::1;::::0;;;::::1;::::0;;91254:137::o;79808:32::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;83059:112::-;83130:33;83139:16;83157:5;83130:8;:33::i;:::-;83059:112;:::o;91399:259::-;48529:15;:13;:15::i;:::-;91484:16:::1;:36:::0;;-1:-1:-1;;91484:36:0::1;::::0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;::::1;91535:16:::0;::::1;;91531:120;;;91568:19;91585:1;91568:16;:19::i;91531:120::-;91620:19;91637:1;91620:16;:19::i;50736:184::-:0;41036:13;:11;:13::i;:::-;50818:14:::1;:44:::0;;-1:-1:-1;;;;;;50818:44:0::1;-1:-1:-1::0;;;;;50818:44:0;::::1;::::0;;::::1;::::0;;;50878:34:::1;::::0;1314:51:1;;;50878:34:0::1;::::0;1302:2:1;1287:18;50878:34:0::1;;;;;;;;50736:184:::0;:::o;89758:276::-;89828:10;;89804:7;;-1:-1:-1;;;;;89828:10:0;:24;89824:203;;89894:10;;89876:54;;-1:-1:-1;;;89876:54:0;;89924:4;89876:54;;;1314:51:1;-1:-1:-1;;;;;89894:10:0;;;;89876:39;;1287:18:1;;89876:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;89869:61;;89758:276;:::o;89824:203::-;89984:5;;89970:45;;-1:-1:-1;;;89970:45:0;;90009:4;89970:45;;;1314:51:1;-1:-1:-1;;;;;89984:5:0;;;;89970:30;;1287:18:1;;89970:45:0;1149:222:1;90836:181:0;90885:7;90894:16;90912:4;90937:9;90947:1;90937:12;;;;;;;;:::i;:::-;;;;;;;;;;;:19;;;;;;;;;;-1:-1:-1;;;;;90937:19:0;90958:9;90968:1;90958:12;;;;;;;;:::i;:::-;;;;;;;;;;;:26;;90986:9;90996:1;90986:12;;;;;;;;:::i;:::-;;;;;;;;;;;:22;;;90929:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;90929:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90836:181;;;;;:::o;81794:651::-;81871:5;;-1:-1:-1;;;;;81871:5:0;81857:10;:19;81849:38;;;;-1:-1:-1;;;81849:38:0;;;;;;;:::i;:::-;81900:15;81918;:13;:15::i;:::-;81900:33;;81960:7;81950;:17;81946:118;;;81984:28;81994:17;82004:7;81994;:17;:::i;:::-;81984:9;:28::i;:::-;82037:15;:13;:15::i;:::-;82027:25;;81946:118;82090:7;82080;:17;82076:67;;;-1:-1:-1;82124:7:0;82076:67;41223:6;;-1:-1:-1;;;;;41223:6:0;82159:9;:20;;;;:33;;-1:-1:-1;44871:7:0;;;;82183:9;82159:33;82155:190;;;82209:27;47496:5;82249:13;;82239:7;:23;;;;:::i;:::-;:40;;;;:::i;:::-;82209:70;-1:-1:-1;82304:29:0;82209:70;82304:7;:29;:::i;:::-;82294:39;;82194:151;82155:190;82383:5;;82364:4;;82357:41;;-1:-1:-1;;;;;82364:4:0;;;;82383:5;82390:7;82357:25;:41::i;:::-;82416:21;82425:11;:9;:11::i;:::-;82416:21;;2796:25:1;;;2784:2;2769:18;82416:21:0;;;;;;;81838:607;81794:651;:::o;90248:203::-;90300:17;;:::i;:::-;90319:20;;:::i;:::-;90341:4;90366:12;90379:1;90366:15;;;;;;;;:::i;:::-;;;;;;;;;;;:21;;90389:12;90402:1;90389:15;;;;;;;;:::i;:::-;;;;;;;;;;;:26;;90417:12;90430:1;90417:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:25;;;90358:85;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;90358:85:0;;;;;;;;;;;;;;;-1:-1:-1;;90358:85:0;;;;;;;;;;;-1:-1:-1;90358:85:0;;-1:-1:-1;90358:85:0;;-1:-1:-1;;;;90358:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90248:203;;;;;:::o;49257:152::-;48529:15;:13;:15::i;:::-;49328:14:::1;::::0;:36:::1;::::0;-1:-1:-1;;;49328:36:0;;::::1;::::0;::::1;2796:25:1::0;;;-1:-1:-1;;;;;49328:14:0;;::::1;::::0;:28:::1;::::0;2769:18:1;;49328:36:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;49380:21;49394:6;49380:21;;;;2796:25:1::0;;2784:2;2769:18;;2650:177;92535:121:0;48529:15;:13;:15::i;:::-;92586:10:::1;:8;:10::i;:::-;92609:17;:15;:17::i;:::-;92639:9;:7;:9::i;:::-;92535:121::o:0;82970:81::-;83017:26;83026:9;83037:5;83017:8;:26::i;92325:99::-;48529:15;:13;:15::i;:::-;92372:7:::1;:5;:7::i;:::-;92390:26;92400:15;:13;:15::i;87597:462::-:0;41036:13;:11;:13::i;:::-;87738::::1;87754:23;;::::0;::::1;:20:::0;:23:::1;:::i;:::-;87805:4;::::0;87738:39;;-1:-1:-1;;;;;;87805:4:0;;::::1;87796:13:::0;;::::1;::::0;87788:31:::1;;;;-1:-1:-1::0;;;87788:31:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;;;87838:15:0;::::1;::::0;87830:35:::1;;;;-1:-1:-1::0;;;87830:35:0::1;;;;;;;:::i;:::-;87896:57;::::0;;;;;;;;87878:12:::1;::::0;87896:57;::::1;::::0;::::1;87907:20:::0;87896:57:::1;::::0;87907:20;87896:57;;87907:20;87896:57;::::1;;::::0;::::1;::::0;;;-1:-1:-1;87896:57:0;;;-1:-1:-1;;87896:57:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;87929:11;;87896:57:::1;::::0;;::::1;;;;;;;;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;;;;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;87896:57:0;;::::1;::::0;;::::1;::::0;::::1;;;;;-1:-1:-1::0;;;87896:57:0;;;-1:-1:-1;87896:57:0::1;::::0;;::::1;::::0;;;87878:76;;::::1;::::0;::::1;::::0;;-1:-1:-1;87878:76:0;;;;;;;;;::::1;;;::::0;::::1;::::0;;;::::1;;:::i;:::-;-1:-1:-1::0;87878:76:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;87965:31;87974:5;78582:42;87994:1;87965:8;:31::i;:::-;88007:44;88016:5;78582:42;-1:-1:-1::0;;88007:8:0::1;:44::i;:::-;87727:332;87597:462:::0;;;:::o;79190:32::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79190:32:0;:::o;82774:188::-;82832:16;;;;;;;82828:127;;;82887:5;;-1:-1:-1;;;;;82887:5:0;82873:10;:19;82865:38;;;;-1:-1:-1;;;82865:38:0;;;;;;;:::i;:::-;82918:25;82927:9;82938:4;82918:8;:25::i;49696:118::-;41036:13;:11;:13::i;:::-;49760:5:::1;:14:::0;;-1:-1:-1;;;;;;49760:14:0::1;-1:-1:-1::0;;;;;49760:14:0;::::1;::::0;;::::1;::::0;;;49790:16:::1;::::0;1314:51:1;;;49790:16:0::1;::::0;1302:2:1;1287:18;49790:16:0::1;1149:222:1::0;41798:103:0;41036:13;:11;:13::i;:::-;41863:30:::1;41890:1;41863:18;:30::i;89379:110::-:0;89421:7;89466:15;:13;:15::i;:::-;89448;:13;:15::i;:::-;:33;;;;:::i;50037:126::-;48529:15;:13;:15::i;:::-;50105:6:::1;:16:::0;;-1:-1:-1;;;;;;50105:16:0::1;-1:-1:-1::0;;;;;50105:16:0;::::1;::::0;;::::1;::::0;;;50137:18:::1;::::0;1314:51:1;;;50137:18:0::1;::::0;1302:2:1;1287:18;50137::0::1;1149:222:1::0;79684:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;79684:27:0;;;;-1:-1:-1;79684:27:0;;;;:::o;92432:95::-;48529:15;:13;:15::i;:::-;92479:8:::1;:6;:8::i;:::-;92500:19;:17;:19::i;49126:123::-:0;49201:14;;:40;;-1:-1:-1;;;49201:40:0;;49235:4;49201:40;;;1314:51:1;49174:7:0;;-1:-1:-1;;;;;49201:14:0;;:25;;1287:18:1;;49201:40:0;1149:222:1;90042:198:0;90095:17;;:::i;:::-;90114:20;;:::i;:::-;90208:23;;90153:79;;;;;;;;;;-1:-1:-1;;90161:13:0;;90182:24;;90153:79;90161:13;;90182:24;;90161:13;90153:79;;;;-1:-1:-1;;;;;90153:79:0;;;;;;;;;;;;;;;-1:-1:-1;;90153:79:0;;;;;;;;;;;-1:-1:-1;90153:79:0;;-1:-1:-1;90153:79:0;;-1:-1:-1;;;;90153:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90042:198;;;:::o;88524:505::-;41036:13;:11;:13::i;:::-;88626:37:::1;88666:47;88693:19;;88666:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;88666:26:0::1;::::0;-1:-1:-1;;;88666:47:0:i:1;:::-;88626:87;;88724:13;88740:20;88761:1;88740:23;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;88791:4:::1;::::0;88740:23;;-1:-1:-1;;;;;;88791:4:0;;::::1;88782:13:::0;;::::1;::::0;88774:31:::1;;;;-1:-1:-1::0;;;88774:31:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;;;88824:15:0;::::1;::::0;88816:35:::1;;;;-1:-1:-1::0;;;88816:35:0::1;;;;;;;:::i;:::-;88864:9;88879:48;;;;;;;;88888:5;-1:-1:-1::0;;;;;88879:48:0::1;;;;;88895:19;;88879:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;-1:-1:-1;88879:48:0;;;-1:-1:-1;;;88879:48:0::1;::::0;;::::1;::::0;;;88864:64;;::::1;::::0;;::::1;::::0;;;;;;;;;;;::::1;::::0;;::::1;;::::0;;-1:-1:-1;;;;;;88864:64:0::1;-1:-1:-1::0;;;;;88864:64:0;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;88864:64:0::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;88955:9:::1;::::0;88939:29:::1;::::0;88948:5;;-1:-1:-1;;;;;88955:9:0::1;;88939:8;:29::i;:::-;88995:9;::::0;88979:42:::1;::::0;88988:5;;-1:-1:-1;;;;;88995:9:0::1;-1:-1:-1::0;;88979:8:0::1;:42::i;:::-;88615:414;;88524:505:::0;;;:::o;89223:82::-;48529:15;:13;:15::i;:::-;89281:16:::1;89288:9;;89281:16;:::i;50489:190::-:0;41036:13;:11;:13::i;:::-;50577:17:::1;:38:::0;;-1:-1:-1;;;;;;50577:38:0::1;-1:-1:-1::0;;;;;50577:38:0;::::1;::::0;;::::1;::::0;;;50631:40:::1;::::0;1314:51:1;;;50631:40:0::1;::::0;1302:2:1;1287:18;50631:40:0::1;1149:222:1::0;88067:449:0;41036:13;:11;:13::i;:::-;88193::::1;88209:20;;88230:1;88209:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;88260:4;::::0;88193:39;;-1:-1:-1;;;;;;88260:4:0;;::::1;88251:13:::0;;::::1;::::0;88243:31:::1;;;;-1:-1:-1::0;;;88243:31:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;;;88293:15:0;::::1;::::0;88285:35:::1;;;;-1:-1:-1::0;;;88285:35:0::1;;;;;;;:::i;:::-;88333:9;88348:58;;;;;;;;88357:5;-1:-1:-1::0;;;;;88348:58:0::1;;;;;88364:7;-1:-1:-1::0;;;;;88348:58:0::1;;;;;88373:20;;88348:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;-1:-1:-1;88348:58:0;;;-1:-1:-1;;;88348:58:0::1;::::0;;::::1;::::0;;;88333:74;;::::1;::::0;;::::1;::::0;;;;;;;;;;;::::1;::::0;;::::1;;::::0;;-1:-1:-1;;;;;88333:74:0;;::::1;-1:-1:-1::0;;;;;;88333:74:0;;::::1;;::::0;;;;::::1;::::0;;;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;88333:74:0::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;88418:33:::1;::::0;-1:-1:-1;;;88418:33:0;;-1:-1:-1;;;;;18006:32:1;;;88418:33:0::1;::::0;::::1;17988:51:1::0;88449:1:0::1;18055:18:1::0;;;18048:34;88418:21:0;::::1;::::0;::::1;::::0;17961:18:1;;88418:33:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;88462:46:0::1;::::0;-1:-1:-1;;;88462:46:0;;-1:-1:-1;;;;;18006:32:1;;;88462:46:0::1;::::0;::::1;17988:51:1::0;-1:-1:-1;;18055:18:1;;;18048:34;88462:21:0;::::1;::::0;::::1;::::0;17961:18:1;;88462:46:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;88182:334;88067:449:::0;;;;:::o;87215:374::-;41036:13;:11;:13::i;:::-;87346::::1;87362:9;;::::0;::::1;:6:::0;:9:::1;:::i;:::-;87399:4;::::0;87346:25;;-1:-1:-1;;;;;;87399:4:0;;::::1;87390:13:::0;;::::1;::::0;87382:31:::1;;;;-1:-1:-1::0;;;87382:31:0::1;;;;;;;:::i;:::-;87442:42;::::0;;;;;;;;;::::1;::::0;::::1;87453:6:::0;87442:42:::1;::::0;87453:6;87442:42;;87453:6;87442:42;::::1;;::::0;::::1;::::0;;;-1:-1:-1;87442:42:0;;;-1:-1:-1;;87442:42:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;87461:11;;87442:42:::1;::::0;;::::1;;;;;;;;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;;;;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;87442:42:0;;::::1;::::0;;::::1;::::0;::::1;;;;;-1:-1:-1::0;;;87442:42:0;;;-1:-1:-1;87442:42:0::1;;::::0;;;87426:58;;:13:::1;::::0;:58:::1;::::0;:13;;:58:::1;;:::i;:::-;-1:-1:-1::0;87426:58:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;;87495:31;87504:5;78582:42;87524:1;87495:8;:31::i;49447:190::-:0;48529:15;:13;:15::i;:::-;47446:2:::1;49525:4;:26;;49517:43;;;;-1:-1:-1::0;;;49517:43:0::1;;;;;;18961:2:1::0;18943:21;;;19000:1;18980:18;;;18973:29;-1:-1:-1;;;19033:2:1;19018:18;;19011:34;19077:2;19062:18;;18759:327;49517:43:0::1;49571:13;:20:::0;;;49607:22:::1;::::0;2796:25:1;;;49607:22:0::1;::::0;2784:2:1;2769:18;49607:22:0::1;2650:177:1::0;89037:88:0;48529:15;:13;:15::i;:::-;89098:19:::1;89105:12;;89098:19;:::i;48962:156::-:0;49007:25;;:::i;:::-;49052:58;;;;;;;;49071:9;:7;:9::i;:::-;49052:58;;;;50979:7;49052:58;;;;49096:13;:11;:13::i;:::-;49052:58;;49045:65;48962:156;-1:-1:-1;48962:156:0:o;80433:949::-;35699:19;35722:13;;;;;;35721:14;;35769:34;;;;-1:-1:-1;35787:12:0;;35802:1;35787:12;;;;:16;35769:34;35768:108;;;-1:-1:-1;35848:4:0;26465:19;:23;;;35809:66;;-1:-1:-1;35858:12:0;;;;;:17;35809:66;35746:204;;;;-1:-1:-1;;;35746:204:0;;19293:2:1;35746:204:0;;;19275:21:1;19332:2;19312:18;;;19305:30;19371:34;19351:18;;;19344:62;-1:-1:-1;;;19422:18:1;;;19415:44;19476:19;;35746:204:0;19091:410:1;35746:204:0;35961:12;:16;;-1:-1:-1;;35961:16:0;35976:1;35961:16;;;35988:67;;;;36023:13;:20;;-1:-1:-1;;36023:20:0;;;;;35988:67;80786:40:::1;80809:16;80786:22;:40::i;:::-;80837:4;:12:::0;;-1:-1:-1;;;;;80837:12:0;;::::1;-1:-1:-1::0;;;;;;80837:12:0;;::::1;;::::0;;;80860:5:::1;:14:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;80885:3:::1;:10:::0;;;78428:5:::1;80912:14:::0;::::1;80908:90;;80964:22;::::0;-1:-1:-1;;;80964:22:0;;::::1;::::0;::::1;2796:25:1::0;;;78687:42:0::1;::::0;80964:16:::1;::::0;2769:18:1;;80964:22:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;80948:10:0::1;80943:43:::0;;-1:-1:-1;;;;;;80943:43:0::1;-1:-1:-1::0;;;;;80943:43:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;80908:90:0::1;81014:27:::0;;81010:68:::1;;81043:35;81055:16;;81073:4;81043:11;:35::i;:::-;81093:27:::0;;81089:68:::1;;81122:35;81134:16;;81152:4;81122:11;:35::i;:::-;81170:44;81193:20;;81170:22;:44::i;:::-;81225:91;81242:14:::0;81264:25:::1;::::0;::::1;81291:24;::::0;::::1;;81225:16;:91::i;:::-;81345:1;81329:13;:17:::0;81357::::1;:15;:17::i;:::-;36081:14:::0;36077:102;;;36128:5;36112:21;;-1:-1:-1;;36112:21:0;;;36153:14;;-1:-1:-1;20581:36:1;;36153:14:0;;20569:2:1;20554:18;36153:14:0;;;;;;;36077:102;35688:498;80433:949;;;;;;;;;;;:::o;89556:118::-;89636:4;;89629:37;;-1:-1:-1;;;89629:37:0;;89660:4;89629:37;;;1314:51:1;89602:7:0;;-1:-1:-1;;;;;89636:4:0;;89629:22;;1287:18:1;;89629:37:0;1149:222:1;50228:197:0;50314:10;;-1:-1:-1;;;;;50314:10:0;50300;:24;50292:48;;;;-1:-1:-1;;;50292:48:0;;20830:2:1;50292:48:0;;;20812:21:1;20869:2;20849:18;;;20842:30;-1:-1:-1;;;20888:18:1;;;20881:41;20939:18;;50292:48:0;20628:335:1;50292:48:0;50351:10;:24;;-1:-1:-1;;;;;;50351:24:0;-1:-1:-1;;;;;50351:24:0;;;;;;;;50391:26;;1314:51:1;;;50391:26:0;;1302:2:1;1287:18;50391:26:0;1149:222:1;81421:365:0;44405:19;:17;:19::i;:::-;81472:15:::1;81490;:13;:15::i;:::-;81472:33:::0;-1:-1:-1;81522:11:0;;81518:261:::1;;81554:10;::::0;-1:-1:-1;;;;;81554:10:0::1;:24:::0;81550:178:::1;;81615:3;::::0;81599:35:::1;::::0;-1:-1:-1;;;81599:35:0;;::::1;::::0;::::1;21164:25:1::0;;;;21205:18;;;21198:34;;;81629:4:0::1;21248:18:1::0;;;21241:50;78687:42:0::1;::::0;81599:15:::1;::::0;21137:18:1;;81599:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;81550:178;;;81689:5;::::0;81675:37:::1;::::0;-1:-1:-1;;;81675:37:0;;::::1;::::0;::::1;2796:25:1::0;;;-1:-1:-1;;;;;81689:5:0;;::::1;::::0;81675:28:::1;::::0;2769:18:1;;81675:37:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;81550:178;81747:20;81755:11;:9;:11::i;:::-;81747:20;::::0;2796:25:1;;;2784:2;2769:18;81747:20:0::1;2650:177:1::0;90571:151:0;90625:16;90661:53;90688:9;90698:1;90688:12;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;90661:53;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:26;:53::i;:::-;90654:60;90571:151;-1:-1:-1;;90571:151:0:o;49848:142::-;41036:13;:11;:13::i;:::-;49920:9:::1;:22:::0;;-1:-1:-1;;;;;;49920:22:0::1;-1:-1:-1::0;;;;;49920:22:0;::::1;::::0;;::::1;::::0;;;49958:24:::1;::::0;1314:51:1;;;49958:24:0::1;::::0;1302:2:1;1287:18;49958:24:0::1;1149:222:1::0;89133:82:0;48529:15;:13;:15::i;:::-;89191:16:::1;89198:9;;89191:16;:::i;91131:115::-:0;48529:15;:13;:15::i;:::-;91208:13:::1;:30:::0;;-1:-1:-1;;91208:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;91131:115::o;91666:209::-;91738:10;;91717:4;;-1:-1:-1;;;;;91738:10:0;:24;91734:115;;91804:10;;91786:51;;-1:-1:-1;;;91786:51:0;;91831:4;91786:51;;;1314::1;-1:-1:-1;;;;;91804:10:0;;;;91786:36;;1287:18:1;;91786:51:0;1149:222:1;91734:115:0;-1:-1:-1;91866:1:0;;91666:209::o;51023:115::-;51075:7;51102:8;44871:7;;;;;44800:86;51102:8;:28;;-1:-1:-1;51117:13:0;;;89758:276::o;79397:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;79397:27:0;;;;-1:-1:-1;79397:27:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42056:201::-;41036:13;:11;:13::i;:::-;-1:-1:-1;;;;;42145:22:0;::::1;42137:73;;;::::0;-1:-1:-1;;;42137:73:0;;21504:2:1;42137:73:0::1;::::0;::::1;21486:21:1::0;21543:2;21523:18;;;21516:30;21582:34;21562:18;;;21555:62;-1:-1:-1;;;21633:18:1;;;21626:36;21679:19;;42137:73:0::1;21302:402:1::0;42137:73:0::1;42221:28;42240:8;42221:18;:28::i;86559:293::-:0;41036:13;:11;:13::i;:::-;86622:26:::1;86632:15;:13;:15::i;86622:26::-;78428:5;86663:4;:14;86659:145;;86714:22;::::0;-1:-1:-1;;;86714:22:0;;::::1;::::0;::::1;2796:25:1::0;;;78687:42:0::1;::::0;86714:16:::1;::::0;2769:18:1;;86714:22:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;86698:10:0::1;86694:42:::0;;-1:-1:-1;;;;;;86694:42:0::1;-1:-1:-1::0;;;;;86694:42:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;86659:145:0::1;::::0;-1:-1:-1;;86659:145:0::1;;86769:10;:23:::0;;-1:-1:-1;;;;;;86769:23:0::1;::::0;;86659:145:::1;86814:3;:10:::0;;;86835:9:::1;:7;:9::i;92061:182::-:0;92126:5;;-1:-1:-1;;;;;92126:5:0;92112:10;:19;92104:38;;;;-1:-1:-1;;;92104:38:0;;;;;;;:::i;:::-;92153:26;92163:15;:13;:15::i;92153:26::-;92197:4;;92212:5;;-1:-1:-1;;;;;92197:4:0;;;;92190:21;;92212:5;92219:15;:13;:15::i;:::-;92190:45;;-1:-1:-1;;;;;;92190:45:0;;;;;;;-1:-1:-1;;;;;18006:32:1;;;92190:45:0;;;17988:51:1;18055:18;;;18048:34;17961:18;;92190:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;41315:132::-;41223:6;;-1:-1:-1;;;;;41223:6:0;39272:10;41379:23;41371:68;;;;-1:-1:-1;;;41371:68:0;;21911:2:1;41371:68:0;;;21893:21:1;;;21930:18;;;21923:30;21989:34;21969:18;;;21962:62;22041:18;;41371:68:0;21709:356:1;77119:461:0;77183:16;77212;77231;:5;:14;:16::i;:::-;77212:35;-1:-1:-1;77258:22:0;77297:12;77212:35;77308:1;77297:12;:::i;:::-;77283:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77283:27:0;;77258:52;;77326:9;77321:229;77341:8;77337:1;:12;77321:229;;;77372:14;77388;77407:23;:5;:21;:23::i;:::-;77371:59;;;;;77456:6;77445:5;77451:1;77445:8;;;;;;;;:::i;:::-;-1:-1:-1;;;;;77445:17:0;;;:8;;;;;;;;;;;:17;77492:6;77477:5;77483;:1;77487;77483:5;:::i;:::-;77477:12;;;;;;;;:::i;:::-;;;;;;:21;-1:-1:-1;;;;;77477:21:0;;;-1:-1:-1;;;;;77477:21:0;;;;;77521:17;:5;:15;:17::i;:::-;77513:25;;77356:194;;77351:3;;;;;:::i;:::-;;;;77321:229;;;-1:-1:-1;77567:5:0;77119:461;-1:-1:-1;;;77119:461:0:o;48572:124::-;41223:6;;-1:-1:-1;;;;;41223:6:0;48630:10;:21;;:45;;-1:-1:-1;48669:6:0;;-1:-1:-1;;;;;48669:6:0;48655:10;:20;48630:45;48622:66;;;;-1:-1:-1;;;48622:66:0;;22412:2:1;48622:66:0;;;22394:21:1;22451:1;22431:18;;;22424:29;-1:-1:-1;;;22469:18:1;;;22462:38;22517:18;;48622:66:0;22210:331:1;83234:572:0;44405:19;:17;:19::i;:::-;83328:8:::1;:6;:8::i;:::-;83347:22;:20;:22::i;:::-;83400:39;::::0;-1:-1:-1;;;83400:39:0;;83433:4:::1;83400:39;::::0;::::1;1314:51:1::0;83380:17:0::1;::::0;78495:42:::1;::::0;83400:24:::1;::::0;1287:18:1;;83400:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;83380:59:::0;-1:-1:-1;83454:13:0;;83450:349:::1;;83484:29;83496:16;83484:11;:29::i;:::-;83528:15;:13;:15::i;:::-;83558:21;83582:15;:13;:15::i;:::-;83558:39;;83617:9;83612:60;;83647:9;:7;:9::i;:::-;83700:15;83686:11;:29:::0;83748:10:::1;83735:52;83760:13:::0;83775:11:::1;:9;:11::i;:::-;83735:52;::::0;;22720:25:1;;;22776:2;22761:18;;22754:34;;;;22693:18;83735:52:0::1;;;;;;;83469:330;83317:489;83234:572:::0;;:::o;82453:313::-;82513:11;;82509:250;;82545:10;;-1:-1:-1;;;;;82545:10:0;:24;82541:207;;82608:10;;82590:63;;-1:-1:-1;;;82590:63:0;;;;;22967:25:1;;;82608:10:0;23008:18:1;;;23001:50;-1:-1:-1;;;;;82608:10:0;;;;82590:47;;22940:18:1;;82590:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82541:207;82708:5;;82694:38;;-1:-1:-1;;;82694:38:0;;;;;2796:25:1;;;-1:-1:-1;;;;;82708:5:0;;;;82694:29;;2769:18:1;;82694:38:0;2650:177:1;14542:211:0;14686:58;;;-1:-1:-1;;;;;18006:32:1;;14686:58:0;;;17988:51:1;18055:18;;;;18048:34;;;14686:58:0;;;;;;;;;;17961:18:1;;;;14686:58:0;;;;;;;;-1:-1:-1;;;;;14686:58:0;-1:-1:-1;;;14686:58:0;;;14659:86;;14679:5;;14659:19;:86::i;45655:120::-;44664:16;:14;:16::i;:::-;45714:7:::1;:15:::0;;-1:-1:-1;;45714:15:0::1;::::0;;45745:22:::1;39272:10:::0;45754:12:::1;45745:22;::::0;-1:-1:-1;;;;;1332:32:1;;;1314:51;;1302:2;1287:18;45745:22:0::1;;;;;;;45655:120::o:0;92664:229::-;92759:4;;92773:5;;-1:-1:-1;;92725:14:0;92750:38;;-1:-1:-1;;;;;92759:4:0;;;;92773:5;92725:14;92750:8;:38::i;:::-;92808:4;;92799:40;;-1:-1:-1;;;;;92808:4:0;78687:42;92832:6;92799:8;:40::i;:::-;92867:9;;92850:35;;78495:42;;-1:-1:-1;;;;;92867:9:0;92878:6;93086:133;93171:40;;-1:-1:-1;;;93171:40:0;;-1:-1:-1;;;;;18006:32:1;;;93171:40:0;;;17988:51:1;18055:18;;;18048:34;;;93171:22:0;;;;;17961:18:1;;93171:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;42417:191::-;42510:6;;;-1:-1:-1;;;;;42527:17:0;;;-1:-1:-1;;;;;;42527:17:0;;;;;;;42560:40;;42510:6;;;42527:17;42510:6;;42560:40;;42491:16;;42560:40;42480:128;42417:191;:::o;45396:118::-;44405:19;:17;:19::i;:::-;45456:7:::1;:14:::0;;-1:-1:-1;;45456:14:0::1;45466:4;45456:14;::::0;;45486:20:::1;45493:12;39272:10:::0;;39192:98;92901:177;92959:4;;92973:5;;92950:33;;-1:-1:-1;;;;;92959:4:0;;;;92973:5;92959:4;92950:8;:33::i;:::-;93003:4;;92994:35;;-1:-1:-1;;;;;93003:4:0;78687:42;93003:4;92994:8;:35::i;:::-;93057:9;;93040:30;;78495:42;;-1:-1:-1;;;;;93057:9:0;;93040:8;:30::i;48744:136::-;48786:29;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48786:29:0;48835:14;;:37;;-1:-1:-1;;;48835:37:0;;48866:4;48835:37;;;1314:51:1;-1:-1:-1;;;;;48835:14:0;;;;:22;;1287:18:1;;48835:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48835:37:0;;;;;;;;;;;;:::i;47920:513::-;37540:13;;;;;;;37532:69;;;;-1:-1:-1;;;37532:69:0;;;;;;;:::i;:::-;48032:16:::1;:14;:16::i;:::-;48059:17;:15;:17::i;:::-;48095:22;;::::0;::::1;:16:::0;:22:::1;:::i;:::-;48087:5;:30:::0;;-1:-1:-1;;;;;;48087:30:0::1;-1:-1:-1::0;;;;;48087:30:0;;;::::1;::::0;;;::::1;::::0;;48140:26:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48128:9;:38:::0;;-1:-1:-1;;;;;;48128:38:0::1;-1:-1:-1::0;;;;;48128:38:0;;;::::1;::::0;;;::::1;::::0;;48186:23:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48177:6;:32:::0;;-1:-1:-1;;;;;;48177:32:0::1;-1:-1:-1::0;;;;;48177:32:0;;;::::1;::::0;;;::::1;::::0;;48233:27:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48220:10;:40:::0;;-1:-1:-1;;;;;;48220:40:0::1;-1:-1:-1::0;;;;;48220:40:0;;;::::1;::::0;;;::::1;::::0;;48291:34:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48271:17;:54:::0;;-1:-1:-1;;;;;;48271:54:0::1;-1:-1:-1::0;;;;;48271:54:0;;;::::1;::::0;;;::::1;::::0;;48364:31:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48336:14;:60:::0;;-1:-1:-1;;;;;;48336:60:0::1;-1:-1:-1::0;;;;;48336:60:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;48423:2:0::1;48407:13;:18:::0;47920:513::o;44959:108::-;44871:7;;;;45029:9;45021:38;;;;-1:-1:-1;;;45021:38:0;;25489:2:1;45021:38:0;;;25471:21:1;25528:2;25508:18;;;25501:30;-1:-1:-1;;;25547:18:1;;;25540:46;25603:18;;45021:38:0;25287:340:1;71865:238:0;71925:7;71074:20;70961:1;70866:2;71074:20;:::i;:::-;70866:2;72056:4;:11;:23;;;;:::i;:::-;72055:39;;;;:::i;72372:298::-;72464:14;;;72557:17;:4;72464:14;72557;:17::i;:::-;72548:26;-1:-1:-1;72591:24:0;:4;70866:2;72591:13;:24::i;:::-;72585:30;-1:-1:-1;72635:27:0;71074:20;70961:1;70866:2;71074:20;:::i;:::-;72635:4;;:14;:27::i;:::-;72626:36;;72372:298;;;;;:::o;73224:151::-;73285:12;73317:50;71074:20;70961:1;70866:2;71074:20;:::i;:::-;;70961:1;70866:2;71074:20;:::i;:::-;73341:4;:11;:25;;;;:::i;:::-;73317:4;;:50;:10;:50::i;83814:444::-;83856:10;;-1:-1:-1;;;;;83856:10:0;:24;83852:399;;83902:18;;;;;;;83901:19;:85;;;;-1:-1:-1;83942:10:0;;83924:44;;;-1:-1:-1;;;83924:44:0;;;;83971:15;;-1:-1:-1;;;;;83942:10:0;;83924:42;;:44;;;;;;;;;;;;;;83942:10;83924:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;83901:85;83897:153;;;84030:3;;84007:27;;-1:-1:-1;;;84007:27:0;;;;;2796:25:1;;;;78687:42:0;;84007:22;;2769:18:1;;84007:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83897:153;84082:10;;;;;;;;;-1:-1:-1;;;;;84082:10:0;-1:-1:-1;;;;;84064:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83852:399;84142:13;;;;84138:37;;;84169:5;;84157:18;;-1:-1:-1;;;84157:18:0;;-1:-1:-1;;;;;84169:5:0;;;84157:18;;;1314:51:1;78784:42:0;;84157:11;;1287:18:1;;84157::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84138:37;84204:5;;84190:49;;-1:-1:-1;;;84190:49:0;;84233:4;84190:49;;;1314:51:1;-1:-1:-1;;;;;84204:5:0;;;;84190:34;;1287:18:1;;84190:49:0;;;;;;;;;;;;;;;;;;;84266:1025;84323:6;84318:327;84335:12;:19;84331:23;;84318:327;;;84376:8;84394:12;84407:1;84394:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;:24;;84387:57;;-1:-1:-1;;;84387:57:0;;84438:4;84387:57;;;1314:51:1;-1:-1:-1;;;;;84394:24:0;;;;84387:42;;1287:18:1;;84387:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84376:68;;84470:12;84483:1;84470:15;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;84463:3;:32;84459:175;;78582:42;-1:-1:-1;;;;;84516:43:0;;84560:12;84573:1;84560:15;;;;;;;;:::i;:::-;;;;;;;;;;;:21;;84583:12;84596:1;84583:15;;;;;;;;:::i;:::-;;;;;;;;;;;:26;;84611:3;84616:1;84516:102;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;84459:175;-1:-1:-1;84356:3:0;;;:::i;:::-;;;84318:327;;;;84660:6;84655:344;84672:9;:16;84668:20;;84655:344;;;84710:8;84728:9;84738:1;84728:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:18;84721:51;;-1:-1:-1;;;84721:51:0;;84766:4;84721:51;;;1314::1;;;;-1:-1:-1;;;;;84728:18:0;;84721:36;;1287:18:1;;84721:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84710:62;;84798:9;84808:1;84798:12;;;;;;;;:::i;:::-;;;;;;;;;;;:22;;;84791:3;:29;84787:201;;84859:9;84869:1;84859:12;;;;;;;;:::i;:::-;;;;;;;;:19;:12;;;;;:19;;84913:9;:12;;-1:-1:-1;;;;;84859:19:0;;;;84841:63;;84905:3;;84913:9;84923:1;;84913:12;;;;;;:::i;:::-;;;;;;;;;;;:26;;84949:4;84956:15;84841:131;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84841:131:0;;;;;;;;;;;;:::i;:::-;;84787:201;-1:-1:-1;84690:3:0;;;:::i;:::-;;;84655:344;;;;85014:6;85009:275;85026:9;:16;85022:20;;85009:275;;;85064:8;85082:9;85092:1;85082:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:18;85075:51;;-1:-1:-1;;;85075:51:0;;85120:4;85075:51;;;1314::1;-1:-1:-1;;;;;85082:18:0;;;;85075:36;;1287:18:1;;85075:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;85064:62;;85152:9;85162:1;85152:12;;;;;;;;:::i;:::-;;;;;;;;;;;:22;;;85145:3;:29;85141:132;;85215:9;;85226;:12;;85195:62;;-1:-1:-1;;;;;85215:9:0;;85226;85236:1;;85226:12;;;;;;:::i;:::-;;;;;;;;;;;:25;;85195:62;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85253:3;85195:19;:62::i;:::-;;85141:132;-1:-1:-1;85044:3:0;;;:::i;:::-;;;85009:275;;85324:728;85391:34;85428:9;:7;:9::i;:::-;85510:10;;85468:39;;-1:-1:-1;;;85468:39:0;;85501:4;85468:39;;;1314:51:1;85510:10:0;;-1:-1:-1;85448:17:0;;47387:7;;85510:10;78495:42;;85468:24;;1287:18:1;;85468:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;;;:::i;:::-;:62;;;;:::i;:::-;85448:82;;85543:21;47387:7;85579:4;:9;;;85567;:21;;;;:::i;:::-;:31;;;;:::i;:::-;85543:55;-1:-1:-1;85609:60:0;78495:42;85637:16;85543:55;85609:27;:60::i;:::-;85682:22;47387:7;85719:4;:10;;;85707:9;:22;;;;:::i;:::-;:32;;;;:::i;:::-;85778:17;;85682:57;;-1:-1:-1;85750:62:0;;78495:42;;-1:-1:-1;;;;;85778:17:0;85682:57;85750:27;:62::i;:::-;85825:27;47387:7;85867:4;:15;;;85855:9;:27;;;;:::i;:::-;:37;;;;:::i;:::-;85931:10;;85825:67;;-1:-1:-1;85903:60:0;;78495:42;;-1:-1:-1;;;;;85931:10:0;85825:67;85903:27;:60::i;:::-;85981:63;;;29156:25:1;;;29212:2;29197:18;;29190:34;;;29240:18;;;29233:34;;;85981:63:0;;29144:2:1;29129:18;85981:63:0;;;;;;;85380:672;;;;;85324:728;:::o;86115:436::-;86193:1;86164:19;:26;;;;;:::i;:::-;;;:30;86160:196;;;86228:39;;-1:-1:-1;;;86228:39:0;;86261:4;86228:39;;;1314:51:1;86211:14:0;;78495:42;;86228:24;;1287:18:1;;86228:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86302:9;;86313:19;86282:62;;86211:56;;-1:-1:-1;86282:62:0;;-1:-1:-1;;;;;86302:9:0;;;;86282:62;;;:::i;:::-;;86196:160;86160:196;86386:13;:22;86379:55;;-1:-1:-1;;;86379:55:0;;86428:4;86379:55;;;1314:51:1;86368:8:0;;-1:-1:-1;;;;;86386:22:0;;86379:40;;1287:18:1;;86379:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86445:98;;-1:-1:-1;;;86445:98:0;;86368:66;;-1:-1:-1;78582:42:0;;86445:43;;:98;;86489:13;;86510:24;;86368:66;;86489:19;;86445:98;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;86149:402;86115:436::o;17609:716::-;18033:23;18059:69;18087:4;18059:69;;;;;;;;;;;;;;;;;18067:5;-1:-1:-1;;;;;18059:27:0;;;:69;;;;;:::i;:::-;18143:17;;18033:95;;-1:-1:-1;18143:21:0;18139:179;;18240:10;18229:30;;;;;;;;;;;;:::i;:::-;18221:85;;;;-1:-1:-1;;;18221:85:0;;29480:2:1;18221:85:0;;;29462:21:1;29519:2;29499:18;;;29492:30;29558:34;29538:18;;;29531:62;-1:-1:-1;;;29609:18:1;;;29602:40;29659:19;;18221:85:0;29278:406:1;45144:108:0;44871:7;;;;45203:41;;;;-1:-1:-1;;;45203:41:0;;29891:2:1;45203:41:0;;;29873:21:1;29930:2;29910:18;;;29903:30;-1:-1:-1;;;29949:18:1;;;29942:50;30009:18;;45203:41:0;29689:344:1;40693:97:0;37540:13;;;;;;;37532:69;;;;-1:-1:-1;;;37532:69:0;;;;;;;:::i;:::-;40756:26:::1;:24;:26::i;43970:99::-:0;37540:13;;;;;;;37532:69;;;;-1:-1:-1;;;37532:69:0;;;;;;;:::i;:::-;44034:27:::1;:25;:27::i;63089:363::-:0;63168:7;63213:11;:6;63222:2;63213:11;:::i;:::-;63196:6;:13;:28;;63188:62;;;;-1:-1:-1;;;63188:62:0;;30240:2:1;63188:62:0;;;30222:21:1;30279:2;30259:18;;;30252:30;-1:-1:-1;;;30298:18:1;;;30291:51;30359:18;;63188:62:0;30038:345:1;63188:62:0;-1:-1:-1;63342:30:0;63358:4;63342:30;63336:37;-1:-1:-1;;;63332:71:0;;;63089:363::o;64101:375::-;64179:6;64220;64206:10;64220:6;64215:1;64206:10;:::i;:::-;:20;;64198:50;;;;-1:-1:-1;;;64198:50:0;;30590:2:1;64198:50:0;;;30572:21:1;30629:2;30609:18;;;30602:30;-1:-1:-1;;;30648:18:1;;;30641:47;30705:18;;64198:50:0;30388:341:1;64198:50:0;64284:10;:6;64293:1;64284:10;:::i;:::-;64267:6;:13;:27;;64259:60;;;;-1:-1:-1;;;64259:60:0;;30936:2:1;64259:60:0;;;30918:21:1;30975:2;30955:18;;;30948:30;-1:-1:-1;;;30994:18:1;;;30987:50;31054:18;;64259:60:0;30734:344:1;64259:60:0;-1:-1:-1;64400:29:0;64416:3;64400:29;64394:36;;64101:375::o;60302:2779::-;60443:12;60497:7;60481:12;60497:7;60491:2;60481:12;:::i;:::-;:23;;60473:50;;;;-1:-1:-1;;;60473:50:0;;31285:2:1;60473:50:0;;;31267:21:1;31324:2;31304:18;;;31297:30;-1:-1:-1;;;31343:18:1;;;31336:44;31397:18;;60473:50:0;31083:338:1;60473:50:0;60559:16;60568:7;60559:6;:16;:::i;:::-;60542:6;:13;:33;;60534:63;;;;-1:-1:-1;;;60534:63:0;;31628:2:1;60534:63:0;;;31610:21:1;31667:2;31647:18;;;31640:30;-1:-1:-1;;;31686:18:1;;;31679:47;31743:18;;60534:63:0;31426:341:1;60534:63:0;60610:22;60676:15;;60705:1933;;;;62782:4;62776:11;62763:24;;62963:1;62952:9;62945:20;63013:4;63002:9;62998:20;62992:4;62985:34;60669:2365;;60705:1933;60882:4;60876:11;60863:24;;61519:2;61510:7;61506:16;61891:9;61884:17;61878:4;61874:28;61862:9;61851;61847:25;61843:60;61940:7;61936:2;61932:16;62189:6;62175:9;62168:17;62162:4;62158:28;62146:9;62138:6;62134:22;62130:57;62126:70;61968:426;62223:3;62219:2;62216:11;61968:426;;;62365:9;;62354:21;;62265:4;62257:13;;;;62298;61968:426;;;-1:-1:-1;;62414:26:0;;;62618:2;62601:11;-1:-1:-1;;62597:25:0;62591:4;62584:39;-1:-1:-1;60669:2365:0;-1:-1:-1;63064:9:0;-1:-1:-1;60302:2779:0;;;;;;:::o;76215:527::-;76429:231;;;;;;;;;;;76535:4;76429:231;;;;76565:15;76429:231;;;;;;;;;;76337:17;76429:231;;;;;;76678:56;;-1:-1:-1;;;76678:56:0;;-1:-1:-1;;;;;76678:48:0;;;;;:56;;76429:231;;76678:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;76671:63;76215:527;-1:-1:-1;;;;;76215:527:0:o;9255:229::-;9392:12;9424:52;9446:6;9454:4;9460:1;9463:12;9424:21;:52::i;:::-;9417:59;9255:229;-1:-1:-1;;;;9255:229:0:o;40798:113::-;37540:13;;;;;;;37532:69;;;;-1:-1:-1;;;37532:69:0;;;;;;;:::i;:::-;40871:32:::1;39272:10:::0;40871:18:::1;:32::i;44077:97::-:0;37540:13;;;;;;;37532:69;;;;-1:-1:-1;;;37532:69:0;;;;;;;:::i;:::-;44151:7:::1;:15:::0;;-1:-1:-1;;44151:15:0::1;::::0;;44077:97::o;10375:510::-;10545:12;10603:5;10578:21;:30;;10570:81;;;;-1:-1:-1;;;10570:81:0;;32631:2:1;10570:81:0;;;32613:21:1;32670:2;32650:18;;;32643:30;32709:34;32689:18;;;32682:62;-1:-1:-1;;;32760:18:1;;;32753:36;32806:19;;10570:81:0;32429:402:1;10570:81:0;-1:-1:-1;;;;;26465:19:0;;;10662:60;;;;-1:-1:-1;;;10662:60:0;;33038:2:1;10662:60:0;;;33020:21:1;33077:2;33057:18;;;33050:30;33116:31;33096:18;;;33089:59;33165:18;;10662:60:0;32836:353:1;10662:60:0;10736:12;10750:23;10777:6;-1:-1:-1;;;;;10777:11:0;10796:5;10803:4;10777:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10735:73;;;;10826:51;10843:7;10852:10;10864:12;10826:16;:51::i;:::-;10819:58;10375:510;-1:-1:-1;;;;;;;10375:510:0:o;13061:762::-;13211:12;13240:7;13236:580;;;-1:-1:-1;13271:10:0;13264:17;;13236:580;13385:17;;:21;13381:424;;13633:10;13627:17;13694:15;13681:10;13677:2;13673:19;13666:44;13381:424;13776:12;13769:20;;-1:-1:-1;;;13769:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;14:347:1:-;65:8;75:6;129:3;122:4;114:6;110:17;106:27;96:55;;147:1;144;137:12;96:55;-1:-1:-1;170:20:1;;213:18;202:30;;199:50;;;245:1;242;235:12;199:50;282:4;274:6;270:17;258:29;;334:3;327:4;318:6;310;306:19;302:30;299:39;296:59;;;351:1;348;341:12;296:59;14:347;;;;;:::o;366:409::-;436:6;444;497:2;485:9;476:7;472:23;468:32;465:52;;;513:1;510;503:12;465:52;553:9;540:23;586:18;578:6;575:30;572:50;;;618:1;615;608:12;572:50;657:58;707:7;698:6;687:9;683:22;657:58;:::i;:::-;734:8;;631:84;;-1:-1:-1;366:409:1;-1:-1:-1;;;;366:409:1:o;780:118::-;866:5;859:13;852:21;845:5;842:32;832:60;;888:1;885;878:12;903:241;959:6;1012:2;1000:9;991:7;987:23;983:32;980:52;;;1028:1;1025;1018:12;980:52;1067:9;1054:23;1086:28;1108:5;1086:28;:::i;1376:258::-;1448:1;1458:113;1472:6;1469:1;1466:13;1458:113;;;1548:11;;;1542:18;1529:11;;;1522:39;1494:2;1487:10;1458:113;;;1589:6;1586:1;1583:13;1580:48;;;-1:-1:-1;;1624:1:1;1606:16;;1599:27;1376:258::o;1639:257::-;1680:3;1718:5;1712:12;1745:6;1740:3;1733:19;1761:63;1817:6;1810:4;1805:3;1801:14;1794:4;1787:5;1783:16;1761:63;:::i;:::-;1878:2;1857:15;-1:-1:-1;;1853:29:1;1844:39;;;;1885:4;1840:50;;1639:257;-1:-1:-1;;1639:257:1:o;1901:217::-;2048:2;2037:9;2030:21;2011:4;2068:44;2108:2;2097:9;2093:18;2085:6;2068:44;:::i;2123:131::-;-1:-1:-1;;;;;2198:31:1;;2188:42;;2178:70;;2244:1;2241;2234:12;2259:134;2327:20;;2356:31;2327:20;2356:31;:::i;:::-;2259:134;;;:::o;2398:247::-;2457:6;2510:2;2498:9;2489:7;2485:23;2481:32;2478:52;;;2526:1;2523;2516:12;2478:52;2565:9;2552:23;2584:31;2609:5;2584:31;:::i;3040:180::-;3099:6;3152:2;3140:9;3131:7;3127:23;3123:32;3120:52;;;3168:1;3165;3158:12;3120:52;-1:-1:-1;3191:23:1;;3040:180;-1:-1:-1;3040:180:1:o;3225:461::-;3278:3;3316:5;3310:12;3343:6;3338:3;3331:19;3369:4;3398:2;3393:3;3389:12;3382:19;;3435:2;3428:5;3424:14;3456:1;3466:195;3480:6;3477:1;3474:13;3466:195;;;3545:13;;-1:-1:-1;;;;;3541:39:1;3529:52;;3601:12;;;;3636:15;;;;3577:1;3495:9;3466:195;;;-1:-1:-1;3677:3:1;;3225:461;-1:-1:-1;;;;;3225:461:1:o;3691:429::-;-1:-1:-1;;;;;3926:32:1;;3908:51;;3995:2;3990;3975:18;;3968:30;;;-1:-1:-1;;4015:56:1;;4052:18;;4044:6;4015:56;:::i;:::-;4007:64;;4107:6;4102:2;4091:9;4087:18;4080:34;3691:429;;;;;;:::o;4125:1385::-;4453:3;4438:19;;4442:9;4534:6;4411:4;4568:220;4582:4;4579:1;4576:11;4568:220;;;4645:13;;-1:-1:-1;;;;;4641:39:1;4629:52;;4704:4;4728:12;;;;4763:15;;;;4677:1;4595:9;4568:220;;;4572:3;;;4825;4814:9;4810:19;4877:6;4903:1;4913:547;4929:4;4924:3;4921:13;4913:547;;;4990:15;;5031:5;5118:1;5132:236;5148:4;5143:3;5140:13;5132:236;;;5221:15;;5207:30;;5264:4;5337:17;;;;5294:14;;;;5172:1;5163:11;5132:236;;;-1:-1:-1;;;5401:4:1;5390:16;;;;;5445:4;5431:19;;;;;4953:1;4944:11;4913:547;;;4917:3;;;5497:6;5491:3;5480:9;5476:19;5469:35;4125:1385;;;;;;:::o;5934:496::-;6086:6;6094;6102;6155:3;6143:9;6134:7;6130:23;6126:33;6123:53;;;6172:1;6169;6162:12;6123:53;6210:3;6199:9;6195:19;6233:7;6229:2;6226:15;6223:35;;;6254:1;6251;6244:12;6223:35;6277:9;6267:19;;6320:3;6309:9;6305:19;6343:7;6339:2;6336:15;6333:35;;;6364:1;6361;6354:12;6333:35;5934:496;;6387:2;;-1:-1:-1;6408:16:1;;;-1:-1:-1;;;5934:496:1:o;6815:477::-;6894:6;6902;6910;6963:2;6951:9;6942:7;6938:23;6934:32;6931:52;;;6979:1;6976;6969:12;6931:52;7019:9;7006:23;7052:18;7044:6;7041:30;7038:50;;;7084:1;7081;7074:12;7038:50;7123:58;7173:7;7164:6;7153:9;7149:22;7123:58;:::i;:::-;7200:8;;7097:84;;-1:-1:-1;7282:2:1;7267:18;;;;7254:32;;6815:477;-1:-1:-1;;;;6815:477:1:o;7297:818::-;7401:6;7409;7417;7425;7478:2;7466:9;7457:7;7453:23;7449:32;7446:52;;;7494:1;7491;7484:12;7446:52;7533:9;7520:23;7552:31;7577:5;7552:31;:::i;:::-;7602:5;-1:-1:-1;7658:2:1;7643:18;;7630:32;7681:18;7711:14;;;7708:34;;;7738:1;7735;7728:12;7708:34;7776:6;7765:9;7761:22;7751:32;;7821:7;7814:4;7810:2;7806:13;7802:27;7792:55;;7843:1;7840;7833:12;7792:55;7883:2;7870:16;7909:2;7901:6;7898:14;7895:34;;;7925:1;7922;7915:12;7895:34;7978:7;7973:2;7963:6;7960:1;7956:14;7952:2;7948:23;7944:32;7941:45;7938:65;;;7999:1;7996;7989:12;7938:65;7297:818;;8030:2;8022:11;;;;;-1:-1:-1;8052:6:1;;8105:2;8090:18;8077:32;;-1:-1:-1;7297:818:1;-1:-1:-1;;;7297:818:1:o;8120:939::-;8299:2;8288:9;8281:21;8262:4;8337:6;8331:13;8380:4;8375:2;8364:9;8360:18;8353:32;8428:12;8422:19;8416:3;8405:9;8401:19;8394:48;8503:2;8489:12;8485:21;8479:28;8473:3;8462:9;8458:19;8451:57;8570:4;8556:12;8552:23;8546:30;8539:4;8528:9;8524:20;8517:60;8638:4;8624:12;8620:23;8614:30;8608:3;8597:9;8593:19;8586:59;8700:3;8686:12;8682:22;8676:29;8742:4;8736:3;8725:9;8721:19;8714:33;8770:53;8818:3;8807:9;8803:19;8787:14;8770:53;:::i;:::-;8756:67;;8898:3;8884:12;8880:22;8874:29;8867:37;8860:45;8854:3;8843:9;8839:19;8832:74;8962:2;8954:6;8950:15;8944:22;8937:4;8926:9;8922:20;8915:52;9023:4;9015:6;9011:17;9005:24;8998:4;8987:9;8983:20;8976:54;9047:6;9039:14;;;;8120:939;;;;:::o;9064:159::-;9127:5;9172:3;9163:6;9158:3;9154:16;9150:26;9147:46;;;9189:1;9186;9179:12;9147:46;-1:-1:-1;9211:6:1;9064:159;-1:-1:-1;9064:159:1:o;9228:164::-;9296:5;9341:3;9332:6;9327:3;9323:16;9319:26;9316:46;;;9358:1;9355;9348:12;9397:1483;9617:6;9625;9633;9641;9649;9657;9665;9673;9681;9689;9697:7;9751:4;9739:9;9730:7;9726:23;9722:34;9719:54;;;9769:1;9766;9759:12;9719:54;9792:29;9811:9;9792:29;:::i;:::-;9782:39;;9840:38;9874:2;9863:9;9859:18;9840:38;:::i;:::-;9830:48;;9925:2;9914:9;9910:18;9897:32;9887:42;;9948:18;10015:2;10009;9998:9;9994:18;9981:32;9978:40;9975:60;;;10031:1;10028;10021:12;9975:60;10070:84;10146:7;10139:2;10128:9;10124:18;10111:32;10100:9;10096:48;10070:84;:::i;:::-;10173:8;;-1:-1:-1;10200:8:1;-1:-1:-1;10251:3:1;10236:19;;10223:33;10220:41;-1:-1:-1;10217:61:1;;;10274:1;10271;10264:12;10217:61;10313:85;10390:7;10382:3;10371:9;10367:19;10354:33;10343:9;10339:49;10313:85;:::i;:::-;10417:8;;-1:-1:-1;10444:8:1;-1:-1:-1;10495:3:1;10480:19;;10467:33;10464:41;-1:-1:-1;10461:61:1;;;10518:1;10515;10508:12;10461:61;;10557:85;10634:7;10626:3;10615:9;10611:19;10598:33;10587:9;10583:49;10557:85;:::i;:::-;10661:8;;-1:-1:-1;10688:8:1;-1:-1:-1;10715:67:1;10774:7;10768:3;10753:19;;10715:67;:::i;:::-;10705:77;;10802:72;10866:7;10860:3;10849:9;10845:19;10802:72;:::i;:::-;10791:83;;9397:1483;;;;;;;;;;;;;;:::o;11115:261::-;11294:2;11283:9;11276:21;11257:4;11314:56;11366:2;11355:9;11351:18;11343:6;11314:56;:::i;11381:385::-;-1:-1:-1;;;;;11584:32:1;;11566:51;;11653:2;11648;11633:18;;11626:30;;;-1:-1:-1;;11673:44:1;;11698:18;;11690:6;11673:44;:::i;11771:127::-;11832:10;11827:3;11823:20;11820:1;11813:31;11863:4;11860:1;11853:15;11887:4;11884:1;11877:15;11903:330;12105:2;12087:21;;;12144:1;12124:18;;;12117:29;-1:-1:-1;;;12177:2:1;12162:18;;12155:37;12224:2;12209:18;;11903:330::o;12238:127::-;12299:10;12294:3;12290:20;12287:1;12280:31;12330:4;12327:1;12320:15;12354:4;12351:1;12344:15;12370:380;12449:1;12445:12;;;;12492;;;12513:61;;12567:4;12559:6;12555:17;12545:27;;12513:61;12620:2;12612:6;12609:14;12589:18;12586:38;12583:161;;12666:10;12661:3;12657:20;12654:1;12647:31;12701:4;12698:1;12691:15;12729:4;12726:1;12719:15;12880:544;12981:2;12976:3;12973:11;12970:448;;;13017:1;13042:5;13038:2;13031:17;13087:4;13083:2;13073:19;13157:2;13145:10;13141:19;13138:1;13134:27;13128:4;13124:38;13193:4;13181:10;13178:20;13175:47;;;-1:-1:-1;13216:4:1;13175:47;13271:2;13266:3;13262:12;13259:1;13255:20;13249:4;13245:31;13235:41;;13326:82;13344:2;13337:5;13334:13;13326:82;;;13389:17;;;13370:1;13359:13;13326:82;;13600:1202;13722:18;13717:3;13714:27;13711:53;;;13744:18;;:::i;:::-;13773:93;13862:3;13822:38;13854:4;13848:11;13822:38;:::i;:::-;13816:4;13773:93;:::i;:::-;13892:1;13917:2;13912:3;13909:11;13934:1;13929:615;;;;14588:1;14605:3;14602:93;;;-1:-1:-1;14661:19:1;;;14648:33;14602:93;-1:-1:-1;;13557:1:1;13553:11;;;13549:24;13545:29;13535:40;13581:1;13577:11;;;13532:57;14708:78;;13902:894;;13929:615;12827:1;12820:14;;;12864:4;12851:18;;-1:-1:-1;;13965:17:1;;;14065:9;14087:229;14101:7;14098:1;14095:14;14087:229;;;14190:19;;;14177:33;14162:49;;14297:4;14282:20;;;;14250:1;14238:14;;;;14117:12;14087:229;;;14091:3;14344;14335:7;14332:16;14329:159;;;14468:1;14464:6;14458:3;14452;14449:1;14445:11;14441:21;14437:34;14433:39;14420:9;14415:3;14411:19;14398:33;14394:79;14386:6;14379:95;14329:159;;;14531:1;14525:3;14522:1;14518:11;14514:19;14508:4;14501:33;13902:894;;13600:1202;;;:::o;14807:184::-;14877:6;14930:2;14918:9;14909:7;14905:23;14901:32;14898:52;;;14946:1;14943;14936:12;14898:52;-1:-1:-1;14969:16:1;;14807:184;-1:-1:-1;14807:184:1:o;14996:329::-;15198:2;15180:21;;;15237:1;15217:18;;;15210:29;-1:-1:-1;;;15270:2:1;15255:18;;15248:36;15316:2;15301:18;;14996:329::o;15330:127::-;15391:10;15386:3;15382:20;15379:1;15372:31;15422:4;15419:1;15412:15;15446:4;15443:1;15436:15;15462:125;15502:4;15530:1;15527;15524:8;15521:34;;;15535:18;;:::i;:::-;-1:-1:-1;15572:9:1;;15462:125::o;15592:168::-;15632:7;15698:1;15694;15690:6;15686:14;15683:1;15680:21;15675:1;15668:9;15661:17;15657:45;15654:71;;;15705:18;;:::i;:::-;-1:-1:-1;15745:9:1;;15592:168::o;15765:217::-;15805:1;15831;15821:132;;15875:10;15870:3;15866:20;15863:1;15856:31;15910:4;15907:1;15900:15;15938:4;15935:1;15928:15;15821:132;-1:-1:-1;15967:9:1;;15765:217::o;15987:328::-;16189:2;16171:21;;;16228:1;16208:18;;;16201:29;-1:-1:-1;;;16261:2:1;16246:18;;16239:35;16306:2;16291:18;;15987:328::o;16320:128::-;16360:3;16391:1;16387:6;16384:1;16381:13;16378:39;;;16397:18;;:::i;:::-;-1:-1:-1;16433:9:1;;16320:128::o;16453:1348::-;16577:3;16571:10;16604:18;16596:6;16593:30;16590:56;;;16626:18;;:::i;:::-;16655:96;16744:6;16704:38;16736:4;16730:11;16704:38;:::i;:::-;16698:4;16655:96;:::i;:::-;16806:4;;16870:2;16859:14;;16887:1;16882:662;;;;17588:1;17605:6;17602:89;;;-1:-1:-1;17657:19:1;;;17651:26;17602:89;-1:-1:-1;;13557:1:1;13553:11;;;13549:24;13545:29;13535:40;13581:1;13577:11;;;13532:57;17704:81;;16852:943;;16882:662;12827:1;12820:14;;;12864:4;12851:18;;-1:-1:-1;;16918:20:1;;;17035:236;17049:7;17046:1;17043:14;17035:236;;;17138:19;;;17132:26;17117:42;;17230:27;;;;17198:1;17186:14;;;;17065:19;;17035:236;;;17039:3;17299:6;17290:7;17287:19;17284:201;;;17360:19;;;17354:26;-1:-1:-1;;17443:1:1;17439:14;;;17455:3;17435:24;17431:37;17427:42;17412:58;17397:74;;17284:201;-1:-1:-1;;;;;17531:1:1;17515:14;;;17511:22;17498:36;;-1:-1:-1;16453:1348:1:o;18093:132::-;18169:13;;18191:28;18169:13;18191:28;:::i;18230:245::-;18297:6;18350:2;18338:9;18329:7;18325:23;18321:32;18318:52;;;18366:1;18363;18356:12;18318:52;18398:9;18392:16;18417:28;18439:5;18417:28;:::i;19506:918::-;19618:6;19626;19634;19642;19650;19658;19711:3;19699:9;19690:7;19686:23;19682:33;19679:53;;;19728:1;19725;19718:12;19679:53;19760:9;19754:16;19779:31;19804:5;19779:31;:::i;:::-;19879:2;19864:18;;19858:25;19829:5;;-1:-1:-1;19892:33:1;19858:25;19892:33;:::i;:::-;19996:2;19981:18;;19975:25;19944:7;;-1:-1:-1;20009:33:1;19975:25;20009:33;:::i;:::-;20113:2;20098:18;;20092:25;20061:7;;-1:-1:-1;20126:33:1;20092:25;20126:33;:::i;:::-;20230:3;20215:19;;20209:26;20178:7;;-1:-1:-1;20244:33:1;20209:26;20244:33;:::i;:::-;20348:3;20333:19;;20327:26;20296:7;;-1:-1:-1;20362:30:1;20327:26;20362:30;:::i;:::-;20411:7;20401:17;;;19506:918;;;;;;;;:::o;22070:135::-;22109:3;22130:17;;;22127:43;;22150:18;;:::i;:::-;-1:-1:-1;22197:1:1;22186:13;;22070:135::o;23062:253::-;23134:2;23128:9;23176:4;23164:17;;23211:18;23196:34;;23232:22;;;23193:62;23190:88;;;23258:18;;:::i;:::-;23294:2;23287:22;23062:253;:::o;23320:275::-;23391:2;23385:9;23456:2;23437:13;;-1:-1:-1;;23433:27:1;23421:40;;23491:18;23476:34;;23512:22;;;23473:62;23470:88;;;23538:18;;:::i;:::-;23574:2;23567:22;23320:275;;-1:-1:-1;23320:275:1:o;23600:1270::-;23699:6;23730:2;23773;23761:9;23752:7;23748:23;23744:32;23741:52;;;23789:1;23786;23779:12;23741:52;23822:9;23816:16;23851:18;23892:2;23884:6;23881:14;23878:34;;;23908:1;23905;23898:12;23878:34;23931:22;;;;23987:4;23969:16;;;23965:27;23962:47;;;24005:1;24002;23995:12;23962:47;24031:22;;:::i;:::-;24082:2;24076:9;24069:5;24062:24;24132:2;24128;24124:11;24118:18;24113:2;24106:5;24102:14;24095:42;24183:2;24179;24175:11;24169:18;24164:2;24157:5;24153:14;24146:42;24234:2;24230;24226:11;24220:18;24215:2;24208:5;24204:14;24197:42;24278:3;24274:2;24270:12;24264:19;24308:2;24298:8;24295:16;24292:36;;;24324:1;24321;24314:12;24292:36;24347:17;;24395:4;24387:13;;24383:27;-1:-1:-1;24373:55:1;;24424:1;24421;24414:12;24373:55;24453:2;24447:9;24475:2;24471;24468:10;24465:36;;;24481:18;;:::i;:::-;24523:53;24566:2;24547:13;;-1:-1:-1;;24543:27:1;24539:36;;24523:53;:::i;:::-;24510:66;;24599:2;24592:5;24585:17;24639:7;24634:2;24629;24625;24621:11;24617:20;24614:33;24611:53;;;24660:1;24657;24650:12;24611:53;24673:54;24724:2;24719;24712:5;24708:14;24703:2;24699;24695:11;24673:54;:::i;:::-;;;24760:5;24754:3;24747:5;24743:15;24736:30;24799:40;24834:3;24830:2;24826:12;24799:40;:::i;:::-;24793:3;24782:15;;24775:65;24786:5;23600:1270;-1:-1:-1;;;;;;23600:1270:1:o;24875:407::-;25077:2;25059:21;;;25116:2;25096:18;;;25089:30;25155:34;25150:2;25135:18;;25128:62;-1:-1:-1;;;25221:2:1;25206:18;;25199:41;25272:3;25257:19;;24875:407::o;25632:1368::-;25987:3;25972:19;;25976:9;26068:6;25945:4;26102:194;26116:4;26113:1;26110:11;26102:194;;;26179:13;;-1:-1:-1;;;;;26175:39:1;26163:52;;26244:4;26235:14;;;;26211:1;26272:14;;;;26129:9;26102:194;;;26106:3;;;26333;26322:9;26318:19;26385:6;26411:1;26421:485;26437:4;26432:3;26429:13;26421:485;;;26501:5;26562:8;26594:1;26608:206;26624:4;26619:3;26616:13;26608:206;;;26697:15;;26683:30;;26750:4;26739:16;;;;26798:1;26784:16;;;;26639:11;26608:206;;;-1:-1:-1;;;26847:4:1;26836:16;;;;;26891:4;26877:19;;;;;26461:1;26452:11;26421:485;;;-1:-1:-1;;;26937:3:1;26922:19;;26915:35;;;;26981:3;26966:19;26959:35;25632:1368;;-1:-1:-1;;25632:1368:1:o;27005:1003::-;27264:4;27312:3;27301:9;27297:19;27343:6;27332:9;27325:25;27369:2;27407:6;27402:2;27391:9;27387:18;27380:34;27450:3;27445:2;27434:9;27430:18;27423:31;27474:6;27509;27503:13;27540:6;27532;27525:22;27578:3;27567:9;27563:19;27556:26;;27601:6;27598:1;27591:17;27644:2;27641:1;27631:16;27617:30;;27665:1;27675:194;27689:6;27686:1;27683:13;27675:194;;;27754:13;;-1:-1:-1;;;;;27750:39:1;27738:52;;27786:1;27845:14;;;;27810:12;;;;27704:9;27675:194;;;-1:-1:-1;;;;;;;27925:32:1;;;;27920:2;27905:18;;27898:60;-1:-1:-1;;;27989:3:1;27974:19;27967:35;27886:3;27005:1003;-1:-1:-1;;;27005:1003:1:o;28013:936::-;28108:6;28139:2;28182;28170:9;28161:7;28157:23;28153:32;28150:52;;;28198:1;28195;28188:12;28150:52;28231:9;28225:16;28260:18;28301:2;28293:6;28290:14;28287:34;;;28317:1;28314;28307:12;28287:34;28355:6;28344:9;28340:22;28330:32;;28400:7;28393:4;28389:2;28385:13;28381:27;28371:55;;28422:1;28419;28412:12;28371:55;28451:2;28445:9;28473:2;28469;28466:10;28463:36;;;28479:18;;:::i;:::-;28525:2;28522:1;28518:10;28508:20;;28548:28;28572:2;28568;28564:11;28548:28;:::i;:::-;28610:15;;;28680:11;;;28676:20;;;28641:12;;;;28708:19;;;28705:39;;;28740:1;28737;28730:12;28705:39;28764:11;;;;28784:135;28800:6;28795:3;28792:15;28784:135;;;28866:10;;28854:23;;28817:12;;;;28897;;;;28784:135;;;28938:5;28013:936;-1:-1:-1;;;;;;;;28013:936:1:o;31772:652::-;31969:2;31958:9;31951:21;31932:4;32007:6;32001:13;32050:4;32045:2;32034:9;32030:18;32023:32;32078:51;32124:3;32113:9;32109:19;32095:12;32078:51;:::i;:::-;32064:65;;32210:1;32206;32201:3;32197:11;32193:19;32187:2;32179:6;32175:15;32169:22;32165:48;32160:2;32149:9;32145:18;32138:76;32268:2;32260:6;32256:15;32250:22;32245:2;32234:9;32230:18;32223:50;32328:2;32320:6;32316:15;32310:22;32304:3;32293:9;32289:19;32282:51;32389:3;32381:6;32377:16;32371:23;32364:4;32353:9;32349:20;32342:53;32412:6;32404:14;;;31772:652;;;;:::o;33194:274::-;33323:3;33361:6;33355:13;33377:53;33423:6;33418:3;33411:4;33403:6;33399:17;33377:53;:::i;:::-;33446:16;;;;;33194:274;-1:-1:-1;;33194:274:1:o

Swarm Source

ipfs://8d02eef08b7e2632dd8287a85934132e409bfe527996b1a28e436ed7fbae1ed6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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