ETH Price: $3,332.92 (-2.51%)

Contract

0xCeBAB89EaBE767f637E36EA6a54e46F0c16862B3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw210846912024-10-31 9:22:4756 days ago1730366567IN
0xCeBAB89E...0c16862B3
0 ETH0.0018913410.3231521
Withdraw206310462024-08-29 1:44:23120 days ago1724895863IN
0xCeBAB89E...0c16862B3
0 ETH0.000275961.19442574
Withdraw202338272024-07-04 14:44:35175 days ago1720104275IN
0xCeBAB89E...0c16862B3
0 ETH0.0045233117.89719174
Withdraw194870392024-03-22 1:57:11280 days ago1711072631IN
0xCeBAB89E...0c16862B3
0 ETH0.006511421.87317499
Withdraw190467942024-01-20 8:10:59341 days ago1705738259IN
0xCeBAB89E...0c16862B3
0 ETH0.0040905616.4958802
Withdraw187295492023-12-06 20:07:11386 days ago1701893231IN
0xCeBAB89E...0c16862B3
0 ETH0.0191572568.26979729
Withdraw186992462023-12-02 14:14:23390 days ago1701526463IN
0xCeBAB89E...0c16862B3
0 ETH0.0101932330.71074427
Collect Protocol...185228522023-11-07 21:45:47415 days ago1699393547IN
0xCeBAB89E...0c16862B3
0 ETH0.0085843635.67291189
Withdraw184074172023-10-22 17:47:35431 days ago1697996855IN
0xCeBAB89E...0c16862B3
0 ETH0.002690610.86413398
Withdraw174599252023-06-11 22:47:35564 days ago1686523655IN
0xCeBAB89E...0c16862B3
0 ETH0.0047097315.81983103
Withdraw173452312023-05-26 19:05:35580 days ago1685127935IN
0xCeBAB89E...0c16862B3
0 ETH0.0108517631.09005308
Withdraw172470762023-05-12 23:00:11594 days ago1683932411IN
0xCeBAB89E...0c16862B3
0 ETH0.0140746442.42227378
Collect Protocol...170048362023-04-08 16:24:47628 days ago1680971087IN
0xCeBAB89E...0c16862B3
0 ETH0.0049031919.97481847
Withdraw168771902023-03-21 16:26:23646 days ago1679415983IN
0xCeBAB89E...0c16862B3
0 ETH0.0085883530.59785699
Withdraw166825552023-02-22 7:37:59674 days ago1677051479IN
0xCeBAB89E...0c16862B3
0 ETH0.0067107523.90867868
Withdraw166171882023-02-13 3:35:47683 days ago1676259347IN
0xCeBAB89E...0c16862B3
0 ETH0.0043529315.50904037
Rerange165771262023-02-07 13:13:47688 days ago1675775627IN
0xCeBAB89E...0c16862B3
0 ETH0.0151264533.23384358
Collect Protocol...165655522023-02-05 22:25:23690 days ago1675635923IN
0xCeBAB89E...0c16862B3
0 ETH0.005024220.07070852
Withdraw165301502023-01-31 23:40:35695 days ago1675208435IN
0xCeBAB89E...0c16862B3
0 ETH0.0077867923.46940073
Approve Operator162940602022-12-30 0:40:35728 days ago1672360835IN
0xCeBAB89E...0c16862B3
0 ETH0.0006370213.81177617
Rebalance161930752022-12-15 22:27:47742 days ago1671143267IN
0xCeBAB89E...0c16862B3
0 ETH0.0175306836.43382416
Rebalance161158892022-12-05 3:23:35753 days ago1670210615IN
0xCeBAB89E...0c16862B3
0 ETH0.0199187335.62438105
Rebalance161154582022-12-05 1:56:23753 days ago1670205383IN
0xCeBAB89E...0c16862B3
0 ETH0.0188487632.63432376
Collect Protocol...160196972022-11-21 16:51:23766 days ago1669049483IN
0xCeBAB89E...0c16862B3
0 ETH0.003650915.47301249
Rebalance159316712022-11-09 9:46:47778 days ago1667987207IN
0xCeBAB89E...0c16862B3
0 ETH0.0294220355.24869933
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PopsicleV3Optimizer

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-08
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;
pragma abicoder v2;

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

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

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

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

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

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

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

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

interface IPopsicleV3Optimizer {
    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);

    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);
    
    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    /// @return The tick spacing
    function tickSpacing() external view returns (int24);

    /// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
    /// to the ERC20 specification
    /// @return The address of the Uniswap V3 Pool
    function pool() external view returns (IUniswapV3Pool);

    /// @notice The lower tick of the range
    function tickLower() external view returns (int24);

    /// @notice The upper tick of the range
    function tickUpper() external view returns (int24);

    /**
     * @notice Deposits tokens in proportion to the Optimizer's current ticks.
     * @param amount0Desired Max amount of token0 to deposit
     * @param amount1Desired Max amount of token1 to deposit
     * @param to address that plp should be transfered
     * @return shares minted
     * @return amount0 Amount of token0 deposited
     * @return amount1 Amount of token1 deposited
     */
    function deposit(uint256 amount0Desired, uint256 amount1Desired, address to) external returns (uint256 shares, uint256 amount0,uint256 amount1);

    /**
     * @notice Withdraws tokens in proportion to the Optimizer's holdings.
     * @dev Removes proportional amount of liquidity from Uniswap.
     * @param shares burned by sender
     * @return amount0 Amount of token0 sent to recipient
     * @return amount1 Amount of token1 sent to recipient
     */
    function withdraw(uint256 shares, address to) external returns (uint256 amount0, uint256 amount1);

    /**
     * @notice Updates Optimizer's positions.
     * @dev Finds base position and limit position for imbalanced token
     * mints all amounts to this position(including earned fees)
     */
    function rerange() external;

    /**
     * @notice Updates Optimizer's positions. Can only be called by the governance.
     * @dev Swaps imbalanced token. Finds base position and limit position for imbalanced token if
     * we don't have balance during swap because of price impact.
     * mints all amounts to this position(including earned fees)
     */
    function rebalance() external;
}

interface IOptimizerStrategy {
    /// @return Maximul PLP value that could be minted
    function maxTotalSupply() external view returns (uint256);

    /// @notice Period of time that we observe for price slippage
    /// @return time in seconds
    function twapDuration() external view returns (uint32);

    /// @notice Maximum deviation of time waited avarage price in ticks
    function maxTwapDeviation() external view returns (int24);

    /// @notice Tick multuplier for base range calculation
    function tickRangeMultiplier() external view returns (int24);

    /// @notice The price impact percentage during swap denominated in hundredths of a bip, i.e. 1e-6
    /// @return The max price impact percentage
    function priceImpactPercentage() external view returns (uint24);
}

library PositionKey {
    /// @dev Returns the key of the position in the core library
    function compute(
        address owner,
        int24 tickLower,
        int24 tickUpper
    ) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(owner, tickLower, tickUpper));
    }
}

/// @title Math library for computing sqrt prices from ticks and vice versa
/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports
/// prices between 2**-128 and 2**128
library TickMath {
    /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128
    int24 internal constant MIN_TICK = -887272;
    /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128
    int24 internal constant MAX_TICK = -MIN_TICK;

    /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
    uint160 internal constant MIN_SQRT_RATIO = 4295128739;
    /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
    uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;

    /// @notice Calculates sqrt(1.0001^tick) * 2^96
    /// @dev Throws if |tick| > max tick
    /// @param tick The input tick for the above formula
    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)
    /// at the given tick
    function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {
        uint256 absTick = tick < 0 ? uint256(-int256(tick)) : uint256(int256(tick));
        require(absTick <= uint256(MAX_TICK), 'T');

        uint256 ratio = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;
        if (absTick & 0x2 != 0) ratio = (ratio * 0xfff97272373d413259a46990580e213a) >> 128;
        if (absTick & 0x4 != 0) ratio = (ratio * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;
        if (absTick & 0x8 != 0) ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;
        if (absTick & 0x10 != 0) ratio = (ratio * 0xffcb9843d60f6159c9db58835c926644) >> 128;
        if (absTick & 0x20 != 0) ratio = (ratio * 0xff973b41fa98c081472e6896dfb254c0) >> 128;
        if (absTick & 0x40 != 0) ratio = (ratio * 0xff2ea16466c96a3843ec78b326b52861) >> 128;
        if (absTick & 0x80 != 0) ratio = (ratio * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;
        if (absTick & 0x100 != 0) ratio = (ratio * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;
        if (absTick & 0x200 != 0) ratio = (ratio * 0xf987a7253ac413176f2b074cf7815e54) >> 128;
        if (absTick & 0x400 != 0) ratio = (ratio * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;
        if (absTick & 0x800 != 0) ratio = (ratio * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;
        if (absTick & 0x1000 != 0) ratio = (ratio * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;
        if (absTick & 0x2000 != 0) ratio = (ratio * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;
        if (absTick & 0x4000 != 0) ratio = (ratio * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;
        if (absTick & 0x8000 != 0) ratio = (ratio * 0x31be135f97d08fd981231505542fcfa6) >> 128;
        if (absTick & 0x10000 != 0) ratio = (ratio * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;
        if (absTick & 0x20000 != 0) ratio = (ratio * 0x5d6af8dedb81196699c329225ee604) >> 128;
        if (absTick & 0x40000 != 0) ratio = (ratio * 0x2216e584f5fa1ea926041bedfe98) >> 128;
        if (absTick & 0x80000 != 0) ratio = (ratio * 0x48a170391f7dc42444e8fa2) >> 128;

        if (tick > 0) ratio = type(uint256).max / ratio;

        // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.
        // we then downcast because we know the result always fits within 160 bits due to our tick input constraint
        // we round up in the division so getTickAtSqrtRatio of the output price is always consistent
        sqrtPriceX96 = uint160((ratio >> 32) + (ratio % (1 << 32) == 0 ? 0 : 1));
    }

    /// @notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio
    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may
    /// ever return.
    /// @param sqrtPriceX96 The sqrt ratio for which to compute the tick as a Q64.96
    /// @return tick The greatest tick for which the ratio is less than or equal to the input ratio
    function getTickAtSqrtRatio(uint160 sqrtPriceX96) internal pure returns (int24 tick) {
        // second inequality must be < because the price can never reach the price at the max tick
        require(sqrtPriceX96 >= MIN_SQRT_RATIO && sqrtPriceX96 < MAX_SQRT_RATIO, 'R');
        uint256 ratio = uint256(sqrtPriceX96) << 32;

        uint256 r = ratio;
        uint256 msb = 0;

        assembly {
            let f := shl(7, gt(r, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(6, gt(r, 0xFFFFFFFFFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(5, gt(r, 0xFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(4, gt(r, 0xFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(3, gt(r, 0xFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(2, gt(r, 0xF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(1, gt(r, 0x3))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := gt(r, 0x1)
            msb := or(msb, f)
        }

        if (msb >= 128) r = ratio >> (msb - 127);
        else r = ratio << (127 - msb);

        int256 log_2 = (int256(msb) - 128) << 64;

        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(63, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(62, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(61, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(60, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(59, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(58, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(57, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(56, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(55, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(54, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(53, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(52, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(51, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(50, f))
        }

        int256 log_sqrt10001 = log_2 * 255738958999603826347141; // 128.128 number

        int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);
        int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);

        tick = tickLow == tickHi ? tickLow : getSqrtRatioAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;
    }
}



/// @title Liquidity amount functions
/// @notice Provides functions for computing liquidity amounts from token amounts and prices
library LiquidityAmounts {
    /// @notice Downcasts uint256 to uint128
    /// @param x The uint258 to be downcasted
    /// @return y The passed value, downcasted to uint128
    function toUint128(uint256 x) private pure returns (uint128 y) {
        require((y = uint128(x)) == x);
    }

    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range
    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param amount0 The amount0 being sent in
    /// @return liquidity The amount of returned liquidity
    function getLiquidityForAmount0(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint256 amount0
    ) internal pure returns (uint128 liquidity) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);
        uint256 intermediate = FullMath.mulDiv(sqrtRatioAX96, sqrtRatioBX96, FixedPoint96.Q96);
        return toUint128(FullMath.mulDiv(amount0, intermediate, sqrtRatioBX96 - sqrtRatioAX96));
    }

    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range
    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param amount1 The amount1 being sent in
    /// @return liquidity The amount of returned liquidity
    function getLiquidityForAmount1(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint256 amount1
    ) internal pure returns (uint128 liquidity) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);
        return toUint128(FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtRatioBX96 - sqrtRatioAX96));
    }

    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current
    /// pool prices and the prices at the tick boundaries
    /// @param sqrtRatioX96 A sqrt price representing the current pool prices
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param amount0 The amount of token0 being sent in
    /// @param amount1 The amount of token1 being sent in
    /// @return liquidity The maximum amount of liquidity received
    function getLiquidityForAmounts(
        uint160 sqrtRatioX96,
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint256 amount0,
        uint256 amount1
    ) internal pure returns (uint128 liquidity) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        if (sqrtRatioX96 <= sqrtRatioAX96) {
            liquidity = getLiquidityForAmount0(sqrtRatioAX96, sqrtRatioBX96, amount0);
        } else if (sqrtRatioX96 < sqrtRatioBX96) {
            uint128 liquidity0 = getLiquidityForAmount0(sqrtRatioX96, sqrtRatioBX96, amount0);
            uint128 liquidity1 = getLiquidityForAmount1(sqrtRatioAX96, sqrtRatioX96, amount1);

            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;
        } else {
            liquidity = getLiquidityForAmount1(sqrtRatioAX96, sqrtRatioBX96, amount1);
        }
    }

    /// @notice Computes the amount of token0 for a given amount of liquidity and a price range
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param liquidity The liquidity being valued
    /// @return amount0 The amount of token0
    function getAmount0ForLiquidity(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint128 liquidity
    ) internal pure returns (uint256 amount0) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        return
            FullMath.mulDiv(
                uint256(liquidity) << FixedPoint96.RESOLUTION,
                sqrtRatioBX96 - sqrtRatioAX96,
                sqrtRatioBX96
            ) / sqrtRatioAX96;
    }

    /// @notice Computes the amount of token1 for a given amount of liquidity and a price range
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param liquidity The liquidity being valued
    /// @return amount1 The amount of token1
    function getAmount1ForLiquidity(
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint128 liquidity
    ) internal pure returns (uint256 amount1) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        return FullMath.mulDiv(liquidity, sqrtRatioBX96 - sqrtRatioAX96, FixedPoint96.Q96);
    }

    /// @notice Computes the token0 and token1 value for a given amount of liquidity, the current
    /// pool prices and the prices at the tick boundaries
    /// @param sqrtRatioX96 A sqrt price representing the current pool prices
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param liquidity The liquidity being valued
    /// @return amount0 The amount of token0
    /// @return amount1 The amount of token1
    function getAmountsForLiquidity(
        uint160 sqrtRatioX96,
        uint160 sqrtRatioAX96,
        uint160 sqrtRatioBX96,
        uint128 liquidity
    ) internal pure returns (uint256 amount0, uint256 amount1) {
        if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96);

        if (sqrtRatioX96 <= sqrtRatioAX96) {
            amount0 = getAmount0ForLiquidity(sqrtRatioAX96, sqrtRatioBX96, liquidity);
        } else if (sqrtRatioX96 < sqrtRatioBX96) {
            amount0 = getAmount0ForLiquidity(sqrtRatioX96, sqrtRatioBX96, liquidity);
            amount1 = getAmount1ForLiquidity(sqrtRatioAX96, sqrtRatioX96, liquidity);
        } else {
            amount1 = getAmount1ForLiquidity(sqrtRatioAX96, sqrtRatioBX96, liquidity);
        }
    }
}

/// @title Liquidity and ticks functions
/// @notice Provides functions for computing liquidity and ticks for token amounts and prices
library PoolVariables {
    using LowGasSafeMath for uint256;
    using LowGasSafeMath for uint128;

    // Cache struct for calculations
    struct Info {
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0;
        uint256 amount1;
        uint128 liquidity;
        int24 tickLower;
        int24 tickUpper;
    }

    /// @dev Wrapper around `LiquidityAmounts.getAmountsForLiquidity()`.
    /// @param pool Uniswap V3 pool
    /// @param liquidity  The liquidity being valued
    /// @param _tickLower The lower tick of the range
    /// @param _tickUpper The upper tick of the range
    /// @return amounts of token0 and token1 that corresponds to liquidity
    function amountsForLiquidity(
        IUniswapV3Pool pool,
        uint128 liquidity,
        int24 _tickLower,
        int24 _tickUpper
    ) internal view returns (uint256, uint256) {
        //Get current price from the pool
        (uint160 sqrtRatioX96, , , , , , ) = pool.slot0();
        return
            LiquidityAmounts.getAmountsForLiquidity(
                sqrtRatioX96,
                TickMath.getSqrtRatioAtTick(_tickLower),
                TickMath.getSqrtRatioAtTick(_tickUpper),
                liquidity
            );
    }

    /// @dev Wrapper around `LiquidityAmounts.getLiquidityForAmounts()`.
    /// @param pool Uniswap V3 pool
    /// @param amount0 The amount of token0
    /// @param amount1 The amount of token1
    /// @param _tickLower The lower tick of the range
    /// @param _tickUpper The upper tick of the range
    /// @return The maximum amount of liquidity that can be held amount0 and amount1
    function liquidityForAmounts(
        IUniswapV3Pool pool,
        uint256 amount0,
        uint256 amount1,
        int24 _tickLower,
        int24 _tickUpper
    ) internal view returns (uint128) {
        //Get current price from the pool
        (uint160 sqrtRatioX96, , , , , , ) = pool.slot0();

        return
            LiquidityAmounts.getLiquidityForAmounts(
                sqrtRatioX96,
                TickMath.getSqrtRatioAtTick(_tickLower),
                TickMath.getSqrtRatioAtTick(_tickUpper),
                amount0,
                amount1
            );
    }

    /// @dev Amounts of token0 and token1 held in contract position.
    /// @param pool Uniswap V3 pool
    /// @param _tickLower The lower tick of the range
    /// @param _tickUpper The upper tick of the range
    /// @return amount0 The amount of token0 held in position
    /// @return amount1 The amount of token1 held in position
    function usersAmounts(IUniswapV3Pool pool,  int24 _tickLower, int24 _tickUpper)
        internal
        view
        returns (uint256 amount0, uint256 amount1)
    {   
        //Compute position key
        bytes32 positionKey = PositionKey.compute(address(this), _tickLower, _tickUpper);
        //Get Position.Info for specified ticks
        (uint128 liquidity, , , uint128 tokensOwed0, uint128 tokensOwed1) =
            pool.positions(positionKey);
        
        // Calc amounts of token0 and token1 including fees
        (amount0, amount1) = amountsForLiquidity(pool, liquidity, _tickLower, _tickUpper);

        amount0 = amount0.add(tokensOwed0);
        amount1 = amount1.add(tokensOwed1);
    }

    /// @dev Amount of liquidity in contract position.
    /// @param pool Uniswap V3 pool
    /// @param _tickLower The lower tick of the range
    /// @param _tickUpper The upper tick of the range
    /// @return liquidity stored in position
    function positionLiquidity(IUniswapV3Pool pool, int24 _tickLower, int24 _tickUpper)
        internal
        view
        returns (uint128 liquidity)
    {
        //Compute position key
        bytes32 positionKey = PositionKey.compute(address(this), _tickLower, _tickUpper);
        //Get liquidity stored in position
        (liquidity, , , , ) = pool.positions(positionKey);
    }

    /// @dev Common checks for valid tick inputs.
    /// @param tickLower The lower tick of the range
    /// @param tickUpper The upper tick of the range
    function checkRange(int24 tickLower, int24 tickUpper) internal pure {
        require(tickLower < tickUpper, "TLU");
        require(tickLower >= TickMath.MIN_TICK, "TLM");
        require(tickUpper <= TickMath.MAX_TICK, "TUM");
    }

    /// @dev Rounds tick down towards negative infinity so that it's a multiple
    /// of `tickSpacing`.
    function floor(int24 tick, int24 tickSpacing) internal pure returns (int24) {
        int24 compressed = tick / tickSpacing;
        if (tick < 0 && tick % tickSpacing != 0) compressed--;
        return compressed * tickSpacing;
    }

    /// @dev Gets ticks with proportion equivalent to desired amount
    /// @param pool Uniswap V3 pool
    /// @param amount0Desired The desired amount of token0
    /// @param amount1Desired The desired amount of token1
    /// @param baseThreshold The range for upper and lower ticks
    /// @param tickSpacing The pool tick spacing
    /// @return tickLower The lower tick of the range
    /// @return tickUpper The upper tick of the range
    function getPositionTicks(IUniswapV3Pool pool, uint256 amount0Desired, uint256 amount1Desired, int24 baseThreshold, int24 tickSpacing) internal view returns(int24 tickLower, int24 tickUpper) {
        Info memory cache = 
            Info(amount0Desired, amount1Desired, 0, 0, 0, 0, 0);
        // Get current price and tick from the pool
        ( uint160 sqrtPriceX96, int24 currentTick, , , , , ) = pool.slot0();
        //Calc base ticks 
        (cache.tickLower, cache.tickUpper) = baseTicks(currentTick, baseThreshold, tickSpacing);
        //Calc amounts of token0 and token1 that can be stored in base range
        (cache.amount0, cache.amount1) = amountsForTicks(pool, cache.amount0Desired, cache.amount1Desired, cache.tickLower, cache.tickUpper);
        //Liquidity that can be stored in base range
        cache.liquidity = liquidityForAmounts(pool, cache.amount0, cache.amount1, cache.tickLower, cache.tickUpper);
        //Get imbalanced token
        bool zeroGreaterOne = amountsDirection(cache.amount0Desired, cache.amount1Desired, cache.amount0, cache.amount1);
        //Calc new tick(upper or lower) for imbalanced token
        if ( zeroGreaterOne) {
            uint160 nextSqrtPrice0 = SqrtPriceMath.getNextSqrtPriceFromAmount0RoundingUp(sqrtPriceX96, cache.liquidity, cache.amount0Desired, false);
            cache.tickUpper = PoolVariables.floor(TickMath.getTickAtSqrtRatio(nextSqrtPrice0), tickSpacing);
        }
        else{
            uint160 nextSqrtPrice1 = SqrtPriceMath.getNextSqrtPriceFromAmount1RoundingDown(sqrtPriceX96, cache.liquidity, cache.amount1Desired, false);
            cache.tickLower = PoolVariables.floor(TickMath.getTickAtSqrtRatio(nextSqrtPrice1), tickSpacing);
        }
        checkRange(cache.tickLower, cache.tickUpper);
        
        tickLower = cache.tickLower;
        tickUpper = cache.tickUpper;
    }

    /// @dev Gets amounts of token0 and token1 that can be stored in range of upper and lower ticks
    /// @param pool Uniswap V3 pool
    /// @param amount0Desired The desired amount of token0
    /// @param amount1Desired The desired amount of token1
    /// @param _tickLower The lower tick of the range
    /// @param _tickUpper The upper tick of the range
    /// @return amount0 amounts of token0 that can be stored in range
    /// @return amount1 amounts of token1 that can be stored in range
    function amountsForTicks(IUniswapV3Pool pool, uint256 amount0Desired, uint256 amount1Desired, int24 _tickLower, int24 _tickUpper) internal view returns(uint256 amount0, uint256 amount1) {
        uint128 liquidity = liquidityForAmounts(pool, amount0Desired, amount1Desired, _tickLower, _tickUpper);

        (amount0, amount1) = amountsForLiquidity(pool, liquidity, _tickLower, _tickUpper);
    }

    /// @dev Calc base ticks depending on base threshold and tickspacing
    function baseTicks(int24 currentTick, int24 baseThreshold, int24 tickSpacing) internal pure returns(int24 tickLower, int24 tickUpper) {
        
        int24 tickFloor = floor(currentTick, tickSpacing);

        tickLower = tickFloor - baseThreshold;
        tickUpper = tickFloor + baseThreshold;
    }

    /// @dev Get imbalanced token
    /// @param amount0Desired The desired amount of token0
    /// @param amount1Desired The desired amount of token1
    /// @param amount0 Amounts of token0 that can be stored in base range
    /// @param amount1 Amounts of token1 that can be stored in base range
    /// @return zeroGreaterOne true if token0 is imbalanced. False if token1 is imbalanced
    function amountsDirection(uint256 amount0Desired, uint256 amount1Desired, uint256 amount0, uint256 amount1) internal pure returns (bool zeroGreaterOne) {
        zeroGreaterOne =  amount0Desired.sub(amount0).mul(amount1Desired) > amount1Desired.sub(amount1).mul(amount0Desired) ?  true : false;
    }

    // Check price has not moved a lot recently. This mitigates price
    // manipulation during rebalance and also prevents placing orders
    // when it's too volatile.
    function checkDeviation(IUniswapV3Pool pool, int24 maxTwapDeviation, uint32 twapDuration) internal view {
        (, int24 currentTick, , , , , ) = pool.slot0();
        int24 twap = getTwap(pool, twapDuration);
        int24 deviation = currentTick > twap ? currentTick - twap : twap - currentTick;
        require(deviation <= maxTwapDeviation, "PSC");
    }

    /// @dev Fetches time-weighted average price in ticks from Uniswap pool for specified duration
    function getTwap(IUniswapV3Pool pool, uint32 twapDuration) internal view returns (int24) {
        uint32 _twapDuration = twapDuration;
        uint32[] memory secondsAgo = new uint32[](2);
        secondsAgo[0] = _twapDuration;
        secondsAgo[1] = 0;

        (int56[] memory tickCumulatives, ) = pool.observe(secondsAgo);
        return int24((tickCumulatives[1] - tickCumulatives[0]) / _twapDuration);
    }
}

/// @title Permissionless pool actions
/// @notice Contains pool methods that can be called by anyone
interface IUniswapV3PoolActions {

    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position
    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback
    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends
    /// on tickLower, tickUpper, the amount of liquidity, and the current price.
    /// @param recipient The address for which the liquidity will be created
    /// @param tickLower The lower tick of the position in which to add liquidity
    /// @param tickUpper The upper tick of the position in which to add liquidity
    /// @param amount The amount of liquidity to mint
    /// @param data Any data that should be passed through to the callback
    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback
    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback
    function mint(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount,
        bytes calldata data
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Collects tokens owed to a position
    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.
    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or
    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the
    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.
    /// @param recipient The address which should receive the fees collected
    /// @param tickLower The lower tick of the position for which to collect fees
    /// @param tickUpper The upper tick of the position for which to collect fees
    /// @param amount0Requested How much token0 should be withdrawn from the fees owed
    /// @param amount1Requested How much token1 should be withdrawn from the fees owed
    /// @return amount0 The amount of fees collected in token0
    /// @return amount1 The amount of fees collected in token1
    function collect(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);

    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position
    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0
    /// @dev Fees must be collected separately via a call to #collect
    /// @param tickLower The lower tick of the position for which to burn liquidity
    /// @param tickUpper The upper tick of the position for which to burn liquidity
    /// @param amount How much liquidity to burn
    /// @return amount0 The amount of token0 sent to the recipient
    /// @return amount1 The amount of token1 sent to the recipient
    function burn(
        int24 tickLower,
        int24 tickUpper,
        uint128 amount
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Swap token0 for token1, or token1 for token0
    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback
    /// @param recipient The address to receive the output of the swap
    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0
    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)
    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this
    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap
    /// @param data Any data to be passed through to the callback
    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive
    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive
    function swap(
        address recipient,
        bool zeroForOne,
        int256 amountSpecified,
        uint160 sqrtPriceLimitX96,
        bytes calldata data
    ) external returns (int256 amount0, int256 amount1);
}

/// @title Pool state that is not stored
/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the
/// blockchain. The functions here may have variable gas costs.
interface IUniswapV3PoolDerivedState {
    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp
    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing
    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,
    /// you must call it with secondsAgos = [3600, 0].
    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in
    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.
    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned
    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp
    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block
    /// timestamp
    function observe(uint32[] calldata secondsAgos)
        external
        view
        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);
}

/// @title Pool state that can change
/// @notice These methods compose the pool's state, and can change with any frequency including multiple times
/// per transaction
interface IUniswapV3PoolState {
    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
    /// when accessed externally.
    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.
    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
    /// boundary.
    /// observationIndex The index of the last oracle observation that was written,
    /// observationCardinality The current maximum number of observations stored in the pool,
    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.
    /// feeProtocol The protocol fee for both tokens of the pool.
    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0
    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.
    /// unlocked Whether the pool is currently locked to reentrancy
    function slot0()
        external
        view
        returns (
            uint160 sqrtPriceX96,
            int24 tick,
            uint16 observationIndex,
            uint16 observationCardinality,
            uint16 observationCardinalityNext,
            uint8 feeProtocol,
            bool unlocked
        );

    /// @notice Returns the information about a position by the position's key
    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper
    /// @return _liquidity The amount of liquidity in the position,
    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,
    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,
    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,
    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke
    function positions(bytes32 key)
        external
        view
        returns (
            uint128 _liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );
}

/// @title Pool state that never changes
/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
interface IUniswapV3PoolImmutables {

    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);

    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);

    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    /// @return The tick spacing
    function tickSpacing() external view returns (int24);
}

/// @title The interface for a Uniswap V3 Pool
/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
/// to the ERC20 specification
/// @dev The pool interface is broken up into many smaller pieces
interface IUniswapV3Pool is
    IUniswapV3PoolImmutables,
    IUniswapV3PoolState,
    IUniswapV3PoolDerivedState,
    IUniswapV3PoolActions
{

}

/// @title This library is created to conduct a variety of burn liquidity methods
library PoolActions {
    using PoolVariables for IUniswapV3Pool;
    using LowGasSafeMath for uint256;
    using SafeCast for uint256;

    /**
     * @notice Withdraws liquidity in share proportion to the Optimizer's totalSupply.
     * @param pool Uniswap V3 pool
     * @param tickLower The lower tick of the range
     * @param tickUpper The upper tick of the range
     * @param totalSupply The amount of total shares in existence
     * @param share to burn
     * @param to Recipient of amounts
     * @return amount0 Amount of token0 withdrawed
     * @return amount1 Amount of token1 withdrawed
     */
    function burnLiquidityShare(
        IUniswapV3Pool pool,
        int24 tickLower,
        int24 tickUpper,
        uint256 totalSupply,
        uint256 share,
        address to
    ) internal returns (uint256 amount0, uint256 amount1) {
        require(totalSupply > 0, "TS");
        uint128 liquidityInPool = pool.positionLiquidity(tickLower, tickUpper);
        uint256 liquidity = uint256(liquidityInPool).mul(share) / totalSupply;

        if (liquidity > 0) {
            (amount0, amount1) = pool.burn(tickLower, tickUpper, liquidity.toUint128());

            if (amount0 > 0 || amount1 > 0) {
            // collect liquidity share
                (amount0, amount1) = pool.collect(
                    to,
                    tickLower,
                    tickUpper,
                    amount0.toUint128(),
                    amount1.toUint128()
                );
            }
        }
    }

    /**
     * @notice Withdraws all liquidity in a range from Uniswap pool
     * @param pool Uniswap V3 pool
     * @param tickLower The lower tick of the range
     * @param tickUpper The upper tick of the range
     */
    function burnAllLiquidity(
        IUniswapV3Pool pool,
        int24 tickLower,
        int24 tickUpper
    ) internal {
        
        // Burn all liquidity in this range
        uint128 liquidity = pool.positionLiquidity(tickLower, tickUpper);
        if (liquidity > 0) {
            pool.burn(tickLower, tickUpper, liquidity);
        }
        
         // Collect all owed tokens
        pool.collect(
            address(this),
            tickLower,
            tickUpper,
            type(uint128).max,
            type(uint128).max
        );
    }
}

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {LowGasSafeMAth}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using LowGasSafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {LowGasSafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }
}

/// @title Function for getting the current chain ID
library ChainId {
    /// @dev Gets the current chain ID
    /// @return chainId The current chain ID
    function get() internal pure returns (uint256 chainId) {
        assembly {
            chainId := chainid()
        }
    }
}

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ISS");
        require(v == 27 || v == 28, "ISV");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "IS");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = ChainId.get();
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (ChainId.get() == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                ChainId.get(),
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

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

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

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using LowGasSafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "TEA"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "DEB"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "FZA");
        require(recipient != address(0), "TZA");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "TEB");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "MZA");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "BZA");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "BEB");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "AFZA");
        require(spender != address(0), "ATZA");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

/**
 * @dev Implementation 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.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping (address => Counters.Counter) private _nonces;
 
    //keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 private immutable _PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {
    }

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ED");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _useNonce(owner),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "IS");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

/// @title FixedPoint96
/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)
/// @dev Used in SqrtPriceMath.sol
library FixedPoint96 {
    uint8 internal constant RESOLUTION = 96;
    uint256 internal constant Q96 = 0x1000000000000000000000000;
}

/// @title Math functions that do not check inputs or outputs
/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks
library UnsafeMath {
    /// @notice Returns ceil(x / y)
    /// @dev division by 0 has unspecified behavior, and must be checked externally
    /// @param x The dividend
    /// @param y The divisor
    /// @return z The quotient, ceil(x / y)
    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {
        assembly {
            z := add(div(x, y), gt(mod(x, y), 0))
        }
    }

    /// @notice Returns floor(x / y)
    /// @dev division by 0 has unspecified behavior, and must be checked externally
    /// @param x The dividend
    /// @param y The divisor
    /// @return z The quotient, floor(x / y)
    function unsafeDiv(uint256 x, uint256 y) internal pure returns (uint256 z) {
        assembly {
            z := div(x, y)
        }
    }
}

/// @title Contains 512-bit math functions
/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision
/// @dev Handles "phantom overflow" i.e., allows multiplication and division where an intermediate value overflows 256 bits
library FullMath {
    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv
    function mulDiv(
        uint256 a,
        uint256 b,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        // 512-bit multiply [prod1 prod0] = a * b
        // Compute the product mod 2**256 and mod 2**256 - 1
        // then use the Chinese Remainder Theorem to reconstruct
        // the 512 bit result. The result is stored in two 256
        // variables such that product = prod1 * 2**256 + prod0
        uint256 prod0; // Least significant 256 bits of the product
        uint256 prod1; // Most significant 256 bits of the product
        assembly {
            let mm := mulmod(a, b, not(0))
            prod0 := mul(a, b)
            prod1 := sub(sub(mm, prod0), lt(mm, prod0))
        }

        // Handle non-overflow cases, 256 by 256 division
        if (prod1 == 0) {
            require(denominator > 0);
            assembly {
                result := div(prod0, denominator)
            }
            return result;
        }

        // Make sure the result is less than 2**256.
        // Also prevents denominator == 0
        require(denominator > prod1);

        ///////////////////////////////////////////////
        // 512 by 256 division.
        ///////////////////////////////////////////////

        // Make division exact by subtracting the remainder from [prod1 prod0]
        // Compute remainder using mulmod
        uint256 remainder;
        assembly {
            remainder := mulmod(a, b, denominator)
        }
        // Subtract 256 bit number from 512 bit number
        assembly {
            prod1 := sub(prod1, gt(remainder, prod0))
            prod0 := sub(prod0, remainder)
        }

        // Factor powers of two out of denominator
        // Compute largest power of two divisor of denominator.
        // Always >= 1.
        uint256 twos = -denominator & denominator;
        // Divide denominator by power of two
        assembly {
            denominator := div(denominator, twos)
        }

        // Divide [prod1 prod0] by the factors of two
        assembly {
            prod0 := div(prod0, twos)
        }
        // Shift in bits from prod1 into prod0. For this we need
        // to flip `twos` such that it is 2**256 / twos.
        // If twos is zero, then it becomes one
        assembly {
            twos := add(div(sub(0, twos), twos), 1)
        }
        prod0 |= prod1 * twos;

        // Invert denominator mod 2**256
        // Now that denominator is an odd number, it has an inverse
        // modulo 2**256 such that denominator * inv = 1 mod 2**256.
        // Compute the inverse by starting with a seed that is correct
        // correct for four bits. That is, denominator * inv = 1 mod 2**4
        uint256 inv = (3 * denominator) ^ 2;
        // Now use Newton-Raphson iteration to improve the precision.
        // Thanks to Hensel's lifting lemma, this also works in modular
        // arithmetic, doubling the correct bits in each step.
        inv *= 2 - denominator * inv; // inverse mod 2**8
        inv *= 2 - denominator * inv; // inverse mod 2**16
        inv *= 2 - denominator * inv; // inverse mod 2**32
        inv *= 2 - denominator * inv; // inverse mod 2**64
        inv *= 2 - denominator * inv; // inverse mod 2**128
        inv *= 2 - denominator * inv; // inverse mod 2**256

        // Because the division is now exact we can divide by multiplying
        // with the modular inverse of denominator. This will give us the
        // correct result modulo 2**256. Since the precoditions guarantee
        // that the outcome is less than 2**256, this is the final result.
        // We don't need to compute the high bits of the result and prod1
        // is no longer required.
        result = prod0 * inv;
        return result;
    }

    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    function mulDivRoundingUp(
        uint256 a,
        uint256 b,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        result = mulDiv(a, b, denominator);
        if (mulmod(a, b, denominator) > 0) {
            require(result < type(uint256).max);
            result++;
        }
    }
}

/// @title Safe casting methods
/// @notice Contains methods for safely casting between types
library SafeCast {
    /// @notice Cast a uint256 to a uint160, revert on overflow
    /// @param y The uint256 to be downcasted
    /// @return z The downcasted integer, now type uint160
    function toUint160(uint256 y) internal pure returns (uint160 z) {
        require((z = uint160(y)) == y);
    }

    /// @notice Cast a uint256 to a uint128, revert on overflow
    /// @param y The uint256 to be downcasted
    /// @return z The downcasted integer, now type uint128
    function toUint128(uint256 y) internal pure returns (uint128 z) {
        require((z = uint128(y)) == y);
    }

    /// @notice Cast a int256 to a int128, revert on overflow or underflow
    /// @param y The int256 to be downcasted
    /// @return z The downcasted integer, now type int128
    function toInt128(int256 y) internal pure returns (int128 z) {
        require((z = int128(y)) == y);
    }

    /// @notice Cast a uint256 to a int256, revert on overflow
    /// @param y The uint256 to be casted
    /// @return z The casted integer, now type int256
    function toInt256(uint256 y) internal pure returns (int256 z) {
        require(y < 2**255);
        z = int256(y);
    }
}

/// @title Optimized overflow and underflow safe math operations
/// @notice Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost
library LowGasSafeMath {
    /// @notice Returns x + y, reverts if sum overflows uint256
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x);
    }

    /// @notice Returns x - y, reverts if underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x - y) <= x);
    }

    /// @notice Returns x * y, reverts if overflows
    /// @param x The multiplicand
    /// @param y The multiplier
    /// @return z The product of x and y
    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(x == 0 || (z = x * y) / x == y);
    }

    /// @notice Returns x - y, reverts if underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(uint256 x, uint256 y, string memory errorMessage) internal pure returns (uint256 z) {
        require((z = x - y) <= x, errorMessage);
    }

    /// @notice Returns x + y, reverts if overflows or underflows
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add(int256 x, int256 y) internal pure returns (int256 z) {
        require((z = x + y) >= x == (y >= 0));
    }

    /// @notice Returns x - y, reverts if overflows or underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(int256 x, int256 y) internal pure returns (int256 z) {
        require((z = x - y) <= x == (y >= 0));
    }

    /// @notice Returns x + y, reverts if sum overflows uint128
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add128(uint128 x, uint128 y) internal pure returns (uint128 z) {
        require((z = x + y) >= x);
    }

    /// @notice Returns x - y, reverts if underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub128(uint128 x, uint128 y) internal pure returns (uint128 z) {
        require((z = x - y) <= x);
    }

    /// @notice Returns x * y, reverts if overflows
    /// @param x The multiplicand
    /// @param y The multiplier
    /// @return z The product of x and y
    function mul128(uint128 x, uint128 y) internal pure returns (uint128 z) {
        require(x == 0 || (z = x * y) / x == y);
    }

    /// @notice Returns x + y, reverts if sum overflows uint128
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add160(uint160 x, uint160 y) internal pure returns (uint160 z) {
        require((z = x + y) >= x);
    }

    /// @notice Returns x - y, reverts if underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub160(uint160 x, uint160 y) internal pure returns (uint160 z) {
        require((z = x - y) <= x);
    }

    /// @notice Returns x * y, reverts if overflows
    /// @param x The multiplicand
    /// @param y The multiplier
    /// @return z The product of x and y
    function mul160(uint160 x, uint160 y) internal pure returns (uint160 z) {
        require(x == 0 || (z = x * y) / x == y);
    }
}

/// @title Functions based on Q64.96 sqrt price and liquidity
/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas
library SqrtPriceMath {
    using LowGasSafeMath for uint256;
    using SafeCast for uint256;

    /// @notice Gets the next sqrt price given a delta of token0
    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least
    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the
    /// price less in order to not send too much output.
    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),
    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).
    /// @param sqrtPX96 The starting price, i.e. before accounting for the token0 delta
    /// @param liquidity The amount of usable liquidity
    /// @param amount How much of token0 to add or remove from virtual reserves
    /// @param add Whether to add or remove the amount of token0
    /// @return The price after adding or removing amount, depending on add
    function getNextSqrtPriceFromAmount0RoundingUp(
        uint160 sqrtPX96,
        uint128 liquidity,
        uint256 amount,
        bool add
    ) internal pure returns (uint160) {
        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price
        if (amount == 0) return sqrtPX96;
        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;

        if (add) {
            uint256 product;
            if ((product = amount * sqrtPX96) / amount == sqrtPX96) {
                uint256 denominator = numerator1 + product;
                if (denominator >= numerator1)
                    // always fits in 160 bits
                    return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));
            }

            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96).add(amount)));
        } else {
            uint256 product;
            // if the product overflows, we know the denominator underflows
            // in addition, we must check that the denominator does not underflow
            require((product = amount * sqrtPX96) / amount == sqrtPX96 && numerator1 > product);
            uint256 denominator = numerator1 - product;
            return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();
        }
    }

    /// @notice Gets the next sqrt price given a delta of token1
    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least
    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the
    /// price less in order to not send too much output.
    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity
    /// @param sqrtPX96 The starting price, i.e., before accounting for the token1 delta
    /// @param liquidity The amount of usable liquidity
    /// @param amount How much of token1 to add, or remove, from virtual reserves
    /// @param add Whether to add, or remove, the amount of token1
    /// @return The price after adding or removing `amount`
    function getNextSqrtPriceFromAmount1RoundingDown(
        uint160 sqrtPX96,
        uint128 liquidity,
        uint256 amount,
        bool add
    ) internal pure returns (uint160) {
        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)
        // in both cases, avoid a mulDiv for most inputs
        if (add) {
            uint256 quotient =
                (
                    amount <= type(uint160).max
                        ? (amount << FixedPoint96.RESOLUTION) / liquidity
                        : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)
                );

            return uint256(sqrtPX96).add(quotient).toUint160();
        } else {
            uint256 quotient =
                (
                    amount <= type(uint160).max
                        ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)
                        : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)
                );

            require(sqrtPX96 > quotient);
            // always fits 160 bits
            return uint160(sqrtPX96 - quotient);
        }
    }
}


library TransferHelper {
    /// @notice Transfers tokens from the targeted address to the given destination
    /// @notice Errors with 'STF' if transfer fails
    /// @param token The contract address of the token to be transferred
    /// @param from The originating address from which the tokens will be transferred
    /// @param to The destination address of the transfer
    /// @param value The amount to be transferred
    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) =
            token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'STF');
    }

    /// @notice Transfers tokens from msg.sender to a recipient
    /// @dev Errors with ST if transfer fails
    /// @param token The contract address of the token which will be transferred
    /// @param to The recipient of the transfer
    /// @param value The value of the transfer
    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'ST');
    }
}

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

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

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

/// @title PopsicleV3 Optimizer is a yield enchancement v3 contract
/// @dev PopsicleV3 Optimizer is a Uniswap V3 yield enchancement contract which acts as
/// intermediary between the user who wants to provide liquidity to specific pools
/// and earn fees from such actions. The contract ensures that user position is in 
/// range and earns maximum amount of fees available at current liquidity utilization
/// rate. 
contract PopsicleV3Optimizer is ERC20Permit, ReentrancyGuard, IPopsicleV3Optimizer {
    using LowGasSafeMath for uint256;
    using LowGasSafeMath for uint160;
    using LowGasSafeMath for uint128;
    using UnsafeMath for uint256;
    using SafeCast for uint256;
    using PoolVariables for IUniswapV3Pool;
    using PoolActions for IUniswapV3Pool;
    
    //Any data passed through by the caller via the IUniswapV3PoolActions#mint call
    struct MintCallbackData {
        address payer;
    }
    //Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    struct SwapCallbackData {
        bool zeroForOne;
    }

    /// @notice Emitted when user adds liquidity
    /// @param sender The address that minted the liquidity
    /// @param recipient The address that get shares
    /// @param share The amount of share of liquidity added by the user to position
    /// @param amount0 How much token0 was required for the added liquidity
    /// @param amount1 How much token1 was required for the added liquidity
    event Deposit(
        address indexed sender,
        address indexed recipient,
        uint256 share,
        uint256 amount0,
        uint256 amount1
    );
    
    /// @notice Emitted when user withdraws liquidity
    /// @param sender The address that minted the liquidity
    /// @param recipient The address that get amounts
    /// @param shares of liquidity withdrawn by the user from the position
    /// @param amount0 How much token0 was required for the added liquidity
    /// @param amount1 How much token1 was required for the added liquidity
    event Withdraw(
        address indexed sender,
        address indexed recipient,
        uint256 shares,
        uint256 amount0,
        uint256 amount1
    );
    
    /// @notice Emitted when fees was collected from the pool
    /// @param feesFromPool0 Total amount of fees collected in terms of token 0
    /// @param feesFromPool1 Total amount of fees collected in terms of token 1
    /// @param usersFees0 Total amount of fees collected by users in terms of token 0
    /// @param usersFees1 Total amount of fees collected by users in terms of token 1
    event CollectFees(
        uint256 feesFromPool0,
        uint256 feesFromPool1,
        uint256 usersFees0,
        uint256 usersFees1
    );

    /// @notice Emitted when fees was compuonded to the pool
    /// @param amount0 Total amount of fees compounded in terms of token 0
    /// @param amount1 Total amount of fees compounded in terms of token 1
    event CompoundFees(
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted when PopsicleV3 Optimizer changes the position in the pool
    /// @param tickLower Lower price tick of the positon
    /// @param tickUpper Upper price tick of the position
    /// @param amount0 Amount of token 0 deposited to the position
    /// @param amount1 Amount of token 1 deposited to the position
    event Rerange(
        int24 tickLower,
        int24 tickUpper,
        uint256 amount0,
        uint256 amount1
    );
    
    /// @notice Emitted when user collects his fee share
    /// @param sender User address
    /// @param fees0 Exact amount of fees claimed by the users in terms of token 0 
    /// @param fees1 Exact amount of fees claimed by the users in terms of token 1
    event RewardPaid(
        address indexed sender,
        uint256 fees0,
        uint256 fees1
    );
    
    /// @notice Shows current Optimizer's balances
    /// @param totalAmount0 Current token0 Optimizer's balance
    /// @param totalAmount1 Current token1 Optimizer's balance
    event Snapshot(uint256 totalAmount0, uint256 totalAmount1);

    event TransferGovernance(address indexed previousGovernance, address indexed newGovernance);
    
    /// @notice Prevents calls from users
    modifier onlyGovernance {
        require(msg.sender == governance, "OG");
        _;
    }

    /// @inheritdoc IPopsicleV3Optimizer
    address public immutable override token0;
    /// @inheritdoc IPopsicleV3Optimizer
    address public immutable override token1;
    // @inheritdoc IPopsicleV3Optimizer
    int24 public immutable override tickSpacing;
    uint24 constant MULTIPLIER = 1e6;
    uint24 constant GLOBAL_DIVISIONER = 1e6; // for basis point (0.0001%)
    //The protocol's fee in hundredths of a bip, i.e. 1e-6
    uint24 constant protocolFee = 2 * 1e5; //20%

    mapping (address => bool) private _operatorApproved;

    // @inheritdoc IPopsicleV3Optimizer
    IUniswapV3Pool public override pool;
    // Accrued protocol fees in terms of token0
    uint256 public protocolFees0;
    // Accrued protocol fees in terms of token1
    uint256 public protocolFees1;
    // Total lifetime accrued fees in terms of token0
    uint256 public totalFees0;
    // Total lifetime accrued fees in terms of token1
    uint256 public totalFees1;
    
    // Address of the Optimizer's owner
    address public governance;
    // Pending to claim ownership address
    address public pendingGovernance;
    //PopsicleV3 Optimizer settings address
    address public strategy;
    // Current tick lower of Optimizer pool position
    int24 public override tickLower;
    // Current tick higher of Optimizer pool position
    int24 public override tickUpper;
    // Checks if Optimizer is initialized
    bool public initialized;

    bool private _paused = false;
    
    /**
     * @dev After deploying, strategy can be set via `setStrategy()`
     * @param _pool Underlying Uniswap V3 pool with fee = 3000
     * @param _strategy Underlying Optimizer Strategy for Optimizer settings
     */
     constructor(
        address _pool,
        address _strategy
    ) ERC20("Popsicle LP V3 ELON/WETH", "PLP") ERC20Permit("Popsicle LP V3 ELON/WETH") {
        pool = IUniswapV3Pool(_pool);
        strategy = _strategy;
        token0 = pool.token0();
        token1 = pool.token1();
        tickSpacing = pool.tickSpacing();
        governance = msg.sender;
        _operatorApproved[msg.sender] = true;
    }
    //initialize strategy
    function init() external onlyGovernance {
        require(!initialized, "F");
        initialized = true;
        int24 baseThreshold = tickSpacing * IOptimizerStrategy(strategy).tickRangeMultiplier();
        ( , int24 currentTick, , , , , ) = pool.slot0();
        int24 tickFloor = PoolVariables.floor(currentTick, tickSpacing);
        
        tickLower = tickFloor - baseThreshold;
        tickUpper = tickFloor + baseThreshold;
        PoolVariables.checkRange(tickLower, tickUpper); //check ticks also for overflow/underflow
    }
    
    /// @inheritdoc IPopsicleV3Optimizer
     function deposit(
        uint256 amount0Desired,
        uint256 amount1Desired,
        address to
    )
        external
        override
        nonReentrant
        checkDeviation
        whenNotPaused
        returns (
            uint256 shares,
            uint256 amount0,
            uint256 amount1
        )
    {
        _earnFees();
        _compoundFees(); // prevent user drains others
        uint128 liquidityLast = pool.positionLiquidity(tickLower, tickUpper);
        
        // compute the liquidity amount
        uint128 liquidity = pool.liquidityForAmounts(amount0Desired, amount1Desired, tickLower, tickUpper);
        
        (amount0, amount1) = pool.mint(
            address(this),
            tickLower,
            tickUpper,
            liquidity,
            abi.encode(MintCallbackData({payer: msg.sender})));
        
        require(amount0 > 0 && amount1 > 0, "ANV");
        shares = totalSupply() == 0 ? liquidity*MULTIPLIER : FullMath.mulDiv(liquidity, totalSupply(), liquidityLast);

        _mint(to, shares);
        require(IOptimizerStrategy(strategy).maxTotalSupply() >= totalSupply(), "MTS");
        emit Deposit(msg.sender, to, shares, amount0, amount1);
    }
    
    /// @inheritdoc IPopsicleV3Optimizer
    function withdraw(
        uint256 shares,
        address to
    ) 
        external
        override
        nonReentrant
        checkDeviation
        whenNotPaused
        returns (
            uint256 amount0,
            uint256 amount1
        )
    {
        require(shares > 0, "S");
        require(to != address(0), "WZA");
        _earnFees();
        _compoundFees();
        (amount0, amount1) = pool.burnLiquidityShare(tickLower, tickUpper, totalSupply(), shares,  to);
        require(amount0 > 0 || amount1 > 0, "EA");

        // Burn shares
        _burn(msg.sender, shares);

        emit Withdraw(msg.sender, to, shares, amount0, amount1);
    }
    
    /// @inheritdoc IPopsicleV3Optimizer
    function rerange() external override nonReentrant checkDeviation {
        require(_operatorApproved[msg.sender], "ONA");
        _earnFees();
        //Burn all liquidity from pool to rerange for Optimizer's balances.
        pool.burnAllLiquidity(tickLower, tickUpper);
        

        // Emit snapshot to record balances
        uint256 balance0 = _balance0();
        uint256 balance1 = _balance1();
        emit Snapshot(balance0, balance1);

        int24 baseThreshold = tickSpacing * IOptimizerStrategy(strategy).tickRangeMultiplier();

        //Get exact ticks depending on Optimizer's balances
        (tickLower, tickUpper) = pool.getPositionTicks(balance0, balance1, baseThreshold, tickSpacing);

        //Get Liquidity for Optimizer's balances
        uint128 liquidity = pool.liquidityForAmounts(balance0, balance1, tickLower, tickUpper);
        
        // Add liquidity to the pool
        (uint256 amount0, uint256 amount1) = pool.mint(
            address(this),
            tickLower,
            tickUpper,
            liquidity,
            abi.encode(MintCallbackData({payer: address(this)})));

        emit Rerange(tickLower, tickUpper, amount0, amount1);
    }

    /// @inheritdoc IPopsicleV3Optimizer
    function rebalance() external override nonReentrant checkDeviation {
        require(_operatorApproved[msg.sender], "ONA");
        _earnFees();
        //Burn all liquidity from pool to rerange for Optimizer's balances.
        pool.burnAllLiquidity(tickLower, tickUpper);
        
        //Calc base ticks
        (uint160 sqrtPriceX96, int24 currentTick, , , , , ) = pool.slot0();
        PoolVariables.Info memory cache;
        int24 baseThreshold = tickSpacing * IOptimizerStrategy(strategy).tickRangeMultiplier();
        (cache.tickLower, cache.tickUpper) = PoolVariables.baseTicks(currentTick, baseThreshold, tickSpacing);
        
        cache.amount0Desired = _balance0();
        cache.amount1Desired = _balance1();
        emit Snapshot(cache.amount0Desired, cache.amount1Desired);
        // Calc liquidity for base ticks
        cache.liquidity = pool.liquidityForAmounts(cache.amount0Desired, cache.amount1Desired, cache.tickLower, cache.tickUpper);

        // Get exact amounts for base ticks
        (cache.amount0, cache.amount1) = pool.amountsForLiquidity(cache.liquidity, cache.tickLower, cache.tickUpper);

        // Get imbalanced token
        bool zeroForOne = PoolVariables.amountsDirection(cache.amount0Desired, cache.amount1Desired, cache.amount0, cache.amount1);
        // Calculate the amount of imbalanced token that should be swapped. Calculations strive to achieve one to one ratio
        int256 amountSpecified = 
            zeroForOne
                ? int256(cache.amount0Desired.sub(cache.amount0).unsafeDiv(2))
                : int256(cache.amount1Desired.sub(cache.amount1).unsafeDiv(2)); // always positive. "overflow" safe convertion cuz we are dividing by 2

        // Calculate Price limit depending on price impact
        uint160 exactSqrtPriceImpact = sqrtPriceX96.mul160(IOptimizerStrategy(strategy).priceImpactPercentage() / 2) / GLOBAL_DIVISIONER;
        uint160 sqrtPriceLimitX96 = zeroForOne ?  sqrtPriceX96.sub160(exactSqrtPriceImpact) : sqrtPriceX96.add160(exactSqrtPriceImpact);

        //Swap imbalanced token as long as we haven't used the entire amountSpecified and haven't reached the price limit
        pool.swap(
            address(this),
            zeroForOne,
            amountSpecified,
            sqrtPriceLimitX96,
            abi.encode(SwapCallbackData({zeroForOne: zeroForOne}))
        );


        (sqrtPriceX96, currentTick, , , , , ) = pool.slot0();

        // Emit snapshot to record balances
        cache.amount0Desired = _balance0();
        cache.amount1Desired = _balance1();
        emit Snapshot(cache.amount0Desired, cache.amount1Desired);
        //Get exact ticks depending on Optimizer's new balances
        (tickLower, tickUpper) = pool.getPositionTicks(cache.amount0Desired, cache.amount1Desired, baseThreshold, tickSpacing);

        cache.liquidity = pool.liquidityForAmounts(cache.amount0Desired, cache.amount1Desired, tickLower, tickUpper);

        // Add liquidity to the pool
        (cache.amount0, cache.amount1) = pool.mint(
            address(this),
            tickLower,
            tickUpper,
            cache.liquidity,
            abi.encode(MintCallbackData({payer: address(this)})));

        emit Rerange(tickLower, tickUpper, cache.amount0, cache.amount1);
    }
    
    /// @dev Amount of token0 held as unused balance.
    function _balance0() internal view returns (uint256) {
        return IERC20(token0).balanceOf(address(this)).sub(protocolFees0);
    }

    /// @dev Amount of token1 held as unused balance.
    function _balance1() internal view returns (uint256) {
        return IERC20(token1).balanceOf(address(this)).sub(protocolFees1);
    }
    
    /// @dev collects fees from the pool
    function _earnFees() internal {
        uint liquidity = pool.positionLiquidity(tickLower, tickUpper);
        if (liquidity == 0) return; // we can't poke when liquidity is zero
         // Do zero-burns to poke the Uniswap pools so earned fees are updated
        pool.burn(tickLower, tickUpper, 0);
        
        (uint256 collect0, uint256 collect1) =
            pool.collect(
                address(this),
                tickLower,
                tickUpper,
                type(uint128).max,
                type(uint128).max
            );

        // Calculate protocol's fees
        uint256 earnedProtocolFees0 = collect0.mul(protocolFee).unsafeDiv(GLOBAL_DIVISIONER);
        uint256 earnedProtocolFees1 = collect1.mul(protocolFee).unsafeDiv(GLOBAL_DIVISIONER);
        protocolFees0 = protocolFees0.add(earnedProtocolFees0);
        protocolFees1 = protocolFees1.add(earnedProtocolFees1);
        totalFees0 = totalFees0.add(collect0);
        totalFees1 = totalFees1.add(collect1);
        emit CollectFees(collect0, collect1, totalFees0, totalFees1);
    }

    function _compoundFees() internal returns (uint256 amount0, uint256 amount1){
        uint256 balance0 = _balance0();
        uint256 balance1 = _balance1();

        emit Snapshot(balance0, balance1);

        //Get Liquidity for Optimizer's balances
        uint128 liquidity = pool.liquidityForAmounts(balance0, balance1, tickLower, tickUpper);
        
        // Add liquidity to the pool
        if (liquidity > 0)
        {
            (amount0, amount1) = pool.mint(
                address(this),
                tickLower,
                tickUpper,
                liquidity,
                abi.encode(MintCallbackData({payer: address(this)})));
            emit CompoundFees(amount0, amount1);
        }
    }

    /// @notice Returns current Optimizer's position in pool
    function position() external view returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1) {
        bytes32 positionKey = PositionKey.compute(address(this), tickLower, tickUpper);
        (liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128, tokensOwed0, tokensOwed1) = pool.positions(positionKey);
    }

    /// @notice Returns current Optimizer's users amounts in pool
    function usersAmounts() public view returns (uint256 amount0, uint256 amount1) {
        (amount0, amount1) = pool.usersAmounts(tickLower, tickUpper);
        amount0 = amount0.add(_balance0());
        amount1 = amount1.add(_balance1());
    }
    
    /// @notice Pull in tokens from sender. Called to `msg.sender` after minting liquidity to a position from IUniswapV3Pool#mint.
    /// @dev In the implementation you must pay to the pool for the minted liquidity.
    /// @param amount0 The amount of token0 due to the pool for the minted liquidity
    /// @param amount1 The amount of token1 due to the pool for the minted liquidity
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#mint call
    function uniswapV3MintCallback(
        uint256 amount0,
        uint256 amount1,
        bytes calldata data
    ) external {
        require(msg.sender == address(pool), "FP");
        MintCallbackData memory decoded = abi.decode(data, (MintCallbackData));
        if (amount0 > 0) pay(token0, decoded.payer, msg.sender, amount0);
        if (amount1 > 0) pay(token1, decoded.payer, msg.sender, amount1);
    }

    /// @notice Called to `msg.sender` after minting swaping from IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay to the pool for swap.
    /// @param amount0 The amount of token0 due to the pool for the swap
    /// @param amount1 The amount of token1 due to the pool for the swap
    /// @param _data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0,
        int256 amount1,
        bytes calldata _data
    ) external {
        require(msg.sender == address(pool), "FP");
        require(amount0 > 0 || amount1 > 0, "LEZ"); // swaps entirely within 0-liquidity regions are not supported
        SwapCallbackData memory data = abi.decode(_data, (SwapCallbackData));
        bool zeroForOne = data.zeroForOne;

        if (zeroForOne) pay(token0, address(this), msg.sender, uint256(amount0)); 
        else pay(token1, address(this), msg.sender, uint256(amount1));
    }

    /// @param token The token to pay
    /// @param payer The entity that must pay
    /// @param recipient The entity that will receive payment
    /// @param value The amount to pay
    function pay(
        address token,
        address payer,
        address recipient,
        uint256 value
    ) internal {
        if (payer == address(this)) {
            // pay with tokens already in the contract (for the exact input multihop case)
            TransferHelper.safeTransfer(token, recipient, value);
        } else {
            // pull payment
            TransferHelper.safeTransferFrom(token, payer, recipient, value);
        }
    }
    
    /**
     * @notice Used to withdraw accumulated protocol fees.
     */
    function collectProtocolFees(
        uint256 amount0,
        uint256 amount1
    ) external nonReentrant onlyGovernance {
        _earnFees();
        require(protocolFees0 >= amount0, "A0F");
        require(protocolFees1 >= amount1, "A1F");
        uint256 balance0 = IERC20(token0).balanceOf(address(this));
        uint256 balance1 = IERC20(token1).balanceOf(address(this));
        require(balance0 >= amount0 && balance1 >= amount1);
        if (amount0 > 0) pay(token0, address(this), msg.sender, amount0);
        if (amount1 > 0) pay(token1, address(this), msg.sender, amount1);
        
        protocolFees0 = protocolFees0.sub(amount0);
        protocolFees1 = protocolFees1.sub(amount1);
        _compoundFees();
        emit RewardPaid(msg.sender, amount0, amount1);
    }

    // Function modifier that checks if price has not moved a lot recently.
    // This mitigates price manipulation during rebalance and also prevents placing orders
    // when it's too volatile.
    modifier checkDeviation() {
        pool.checkDeviation(IOptimizerStrategy(strategy).maxTwapDeviation(), IOptimizerStrategy(strategy).twapDuration());
        _;
    }

    /**
     * @notice `setGovernance()` should be called by the existing governance
     * address prior to calling this function.
     */
    function setGovernance(address _governance) external onlyGovernance {
        pendingGovernance = _governance;
    }

    /**
     * @notice Governance address is not updated until the new governance
     * address has called `acceptGovernance()` to accept this responsibility.
     */
    function acceptGovernance() external {
        require(msg.sender == pendingGovernance, "PG");
        emit TransferGovernance(governance, pendingGovernance);
        pendingGovernance = address(0);
        governance = msg.sender;
    }

    // Sets new strategy contract address for new settings
    function setStrategy(address _strategy) external onlyGovernance {
        require(_strategy != address(0), "NA");
        strategy = _strategy;
    }

    function approveOperator(address _operator) external onlyGovernance {
        _operatorApproved[_operator] = true;
    }
    
    function disableOperator(address _operator) external onlyGovernance {
        _operatorApproved[_operator] = false;
    }
    
    function isOperator(address _operator) external view returns (bool) {
        return _operatorApproved[_operator];
    }

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

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

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function pause() external onlyGovernance whenNotPaused {
        _paused = true;
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function unpause() external onlyGovernance whenPaused {
        _paused = false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"address","name":"_strategy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feesFromPool0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feesFromPool1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usersFees0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usersFees1","type":"uint256"}],"name":"CollectFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"CompoundFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":false,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Rerange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"fees0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fees1","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalAmount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalAmount1","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousGovernance","type":"address"},{"indexed":true,"internalType":"address","name":"newGovernance","type":"address"}],"name":"TransferGovernance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"approveOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"collectProtocolFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0Desired","type":"uint256"},{"internalType":"uint256","name":"amount1Desired","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"disableOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"contract IUniswapV3Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"position","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"feeGrowthInside0LastX128","type":"uint256"},{"internalType":"uint256","name":"feeGrowthInside1LastX128","type":"uint256"},{"internalType":"uint128","name":"tokensOwed0","type":"uint128"},{"internalType":"uint128","name":"tokensOwed1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFees0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFees1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rerange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"setStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickLower","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickUpper","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3MintCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usersAmounts","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

6101a06040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120526010805460ff60d81b191690553480156200004457600080fd5b50604051620060303803806200603083398101604081905262000067916200050b565b6040518060400160405280601881526020017f506f707369636c65204c5020563320454c4f4e2f57455448000000000000000081525080604051806040016040528060018152602001603160f81b8152506040518060400160405280601881526020017f506f707369636c65204c5020563320454c4f4e2f574554480000000000000000815250604051806040016040528060038152602001620504c560ec1b8152508160039080519060200190620001229291906200041e565b508051620001389060049060208401906200041e565b50506005805460ff1916601217905550815160208084019190912082518383012060c082905260e081905290917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f906200019b9062002625620003ca821b17901c565b60a052620001ab818484620003ce565b60805261010052505060016007555050600980546001600160a01b038086166001600160a01b031992831617928390556010805486831693169290921790915560408051630dfe168160e01b81529051929091169250630dfe1681916004808301926020929190829003018186803b1580156200022757600080fd5b505afa1580156200023c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002629190620004e7565b60601b6001600160601b031916610140526009546040805163d21220a760e01b815290516001600160a01b039092169163d21220a791600480820192602092909190829003018186803b158015620002b957600080fd5b505afa158015620002ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002f49190620004e7565b60601b6001600160601b03191661016052600954604080516334324e9f60e21b815290516001600160a01b039092169163d0c93a7c91600480820192602092909190829003018186803b1580156200034b57600080fd5b505afa15801562000360573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000386919062000542565b600290810b900b60e81b610180525050600e80546001600160a01b031916339081179091556000908152600860205260409020805460ff1916600117905562000591565b4690565b6000838383620003e8620003ca60201b620026251760201c565b30604051602001620003ff95949392919062000565565b6040516020818303038152906040528051906020012090509392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620004565760008555620004a1565b82601f106200047157805160ff1916838001178555620004a1565b82800160010185558215620004a1579182015b82811115620004a157825182559160200191906001019062000484565b50620004af929150620004b3565b5090565b5b80821115620004af5760008155600101620004b4565b80516001600160a01b0381168114620004e257600080fd5b919050565b600060208284031215620004f9578081fd5b6200050482620004ca565b9392505050565b600080604083850312156200051e578081fd5b6200052983620004ca565b91506200053960208401620004ca565b90509250929050565b60006020828403121562000554578081fd5b81518060020b811462000504578182fd5b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b60805160a05160c05160e05161010051610120516101405160601c6101605160601c6101805160e81c6159de620006526000398061119c52806111c552806115ba5280611ce7528061203352806120ed528061230a525080610ad55280610bc75280611d0b5280611da852806125f652806132e05250806109705280610a4a5280610b955280611d7252806125c55280613236525080611dfe52508061305b52508061309d52508061307c52508061300252508061303252506159de6000f3fe608060405234801561001057600080fd5b50600436106102895760003560e01c806370a082311161015c578063d0c93a7c116100ce578063e1c7392a11610087578063e1c7392a14610510578063eb3221b414610518578063ef095f8d14610520578063f39c38a014610528578063f56408ed14610530578063fa461e331461054357610289565b8063d0c93a7c146104bf578063d21220a7146104c7578063d3487997146104cf578063d505accf146104e2578063da486721146104f5578063dd62ed3e146104fd57610289565b80638dbdbe6d116101205780638dbdbe6d1461045457806395d89b4114610476578063a457c2d71461047e578063a8c62e7614610491578063a9059cbb14610499578063ab033ea9146104ac57610289565b806370a08231146104165780637d7c2a1c146104295780637ecebe001461043157806380814ffb146104445780638456cb591461044c57610289565b8063242cae9f1161020057806347d792c5116101b957806347d792c5146103ce57806355b812a8146103d657806359c4f905146103eb5780635aa6e675146103f35780636a2a507b146103fb5780636d70f7ae1461040357610289565b8063242cae9f14610370578063313ce5671461038357806333a100ca146103985780633644e515146103ab57806339509351146103b35780633f4ba83a146103c657610289565b806314c04c4f1161025257806314c04c4f1461031b578063158ef93e1461033057806316f0115b1461033857806318160ddd14610340578063238efcbc1461035557806323b872dd1461035d57610289565b8062f714ce1461028e57806306fdde03146102b857806309218e91146102cd578063095ea7b3146102e65780630dfe168114610306575b600080fd5b6102a161029c3660046150b1565b610556565b6040516102af929190615898565b60405180910390f35b6102c06107f4565b6040516102af9190615433565b6102d561088b565b6040516102af959493929190615866565b6102f96102f4366004614d42565b610950565b6040516102af919061534a565b61030e61096e565b6040516102af91906151ea565b61032e6103293660046150d5565b610992565b005b6102f9610c66565b61030e610c76565b610348610c85565b6040516102af9190615355565b61032e610c8b565b6102f961036b366004614c92565b610d14565b61032e61037e366004614c3e565b610dad565b61038b610dfb565b6040516102af91906158d7565b61032e6103a6366004614c3e565b610e04565b610348610e76565b6102f96103c1366004614d42565b610e85565b61032e610ed3565b610348610f35565b6103de610f3b565b6040516102af91906153dc565b6103de610f4b565b61030e610f5b565b610348610f6a565b6102f9610411366004614c3e565b610f70565b610348610424366004614c3e565b610f92565b61032e610fad565b61034861043f366004614c3e565b61179b565b6103486117bc565b61032e6117c2565b6104676104623660046150f6565b61182b565b6040516102af939291906158a6565b6102c0611baa565b6102f961048c366004614d42565b611c0b565b61030e611c76565b6102f96104a7366004614d42565b611c85565b61032e6104ba366004614c3e565b611c99565b6103de611ce5565b61030e611d09565b61032e6104dd366004614e8e565b611d2d565b61032e6104f0366004614cd2565b611dda565b6102a1611ebc565b61034861050b366004614c5a565b611f23565b61032e611f4e565b61032e612173565b6103486124f2565b61030e6124f8565b61032e61053e366004614c3e565b612507565b61032e610551366004614e8e565b612552565b600080600260075414156105855760405162461bcd60e51b815260040161057c9061580e565b60405180910390fd5b60026007556010546040805163e7c7cb9160e01b815290516106a1926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b505afa1580156105e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106089190614e51565b601060009054906101000a90046001600160a01b03166001600160a01b03166326d895456040518163ffffffff1660e01b815260040160206040518083038186803b15801561065657600080fd5b505afa15801561066a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068e919061512e565b6009546001600160a01b03169190612629565b601054600160d81b900460ff16156106cb5760405162461bcd60e51b815260040161057c906155bc565b600084116106eb5760405162461bcd60e51b815260040161057c906156f5565b6001600160a01b0383166107115760405162461bcd60e51b815260040161057c90615463565b6107196126f5565b610721612950565b505060105461075e90600160a01b8104600290810b91600160b81b9004900b610748610c85565b6009546001600160a01b03169291908888612aee565b9092509050811515806107715750600081115b61078d5760405162461bcd60e51b815260040161057c90615780565b6107973385612ca3565b826001600160a01b0316336001600160a01b03167febff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f8685856040516107de939291906158a6565b60405180910390a3600160075590939092509050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108805780601f1061085557610100808354040283529160200191610880565b820191906000526020600020905b81548152906001019060200180831161086357829003601f168201915b505050505090505b90565b6000806000806000806108bd30601060149054906101000a900460020b601060179054906101000a900460020b612d88565b60095460405163514ea4bf60e01b81529192506001600160a01b03169063514ea4bf906108ee908490600401615355565b60a06040518083038186803b15801561090657600080fd5b505afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e9190614f92565b939a9299509097509550909350915050565b600061096461095d612dbe565b8484612dc2565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600260075414156109b55760405162461bcd60e51b815260040161057c9061580e565b6002600755600e546001600160a01b031633146109e45760405162461bcd60e51b815260040161057c906157d4565b6109ec6126f5565b81600a541015610a0e5760405162461bcd60e51b815260040161057c9061582a565b80600b541015610a305760405162461bcd60e51b815260040161057c9061559f565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610a7f9030906004016151ea565b60206040518083038186803b158015610a9757600080fd5b505afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf9190615099565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610b1f91906151ea565b60206040518083038186803b158015610b3757600080fd5b505afa158015610b4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6f9190615099565b9050838210158015610b815750828110155b610b8a57600080fd5b8315610bbc57610bbc7f0000000000000000000000000000000000000000000000000000000000000000303387612e76565b8215610bee57610bee7f0000000000000000000000000000000000000000000000000000000000000000303386612e76565b600a54610bfb9085612ea9565b600a55600b54610c0b9084612ea9565b600b55610c16612950565b5050336001600160a01b03167fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f518585604051610c53929190615898565b60405180910390a2505060016007555050565b601054600160d01b900460ff1681565b6009546001600160a01b031681565b60025490565b600f546001600160a01b03163314610cb55760405162461bcd60e51b815260040161057c9061552c565b600f54600e546040516001600160a01b0392831692909116907f2276211a3f2c7bc1943fe83cc63f8f970204ff6a4b83c690df2bc54d8f2792ad90600090a3600f80546001600160a01b0319908116909155600e805490911633179055565b6000610d21848484612eb9565b610da284610d2d612dbe565b610d9d856040518060400160405280600381526020016254454160e81b815250600160008b6001600160a01b03166001600160a01b031681526020019081526020016000206000610d7c612dbe565b6001600160a01b031681526020810191909152604001600020549190612fd1565b612dc2565b5060015b9392505050565b600e546001600160a01b03163314610dd75760405162461bcd60e51b815260040161057c906157d4565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b60055460ff1690565b600e546001600160a01b03163314610e2e5760405162461bcd60e51b815260040161057c906157d4565b6001600160a01b038116610e545760405162461bcd60e51b815260040161057c9061572d565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e80612ffe565b905090565b6000610964610e92612dbe565b84610d9d8560016000610ea3612dbe565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906130c8565b600e546001600160a01b03163314610efd5760405162461bcd60e51b815260040161057c906157d4565b601054600160d81b900460ff16610f265760405162461bcd60e51b815260040161057c90615764565b6010805460ff60d81b19169055565b600a5481565b601054600160b81b900460020b81565b601054600160a01b900460020b81565b600e546001600160a01b031681565b600b5481565b6001600160a01b03811660009081526008602052604090205460ff165b919050565b6001600160a01b031660009081526020819052604090205490565b60026007541415610fd05760405162461bcd60e51b815260040161057c9061580e565b60026007556010546040805163e7c7cb9160e01b8152905161101b926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b3360009081526008602052604090205460ff1661104a5760405162461bcd60e51b815260040161057c906157b7565b6110526126f5565b601054600954611083916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b6130d8565b600080600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156110d457600080fd5b505afa1580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c9190614fe8565b50505050509150915061111d614afb565b6010546040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b15801561116257600080fd5b505afa158015611176573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119a9190614e51565b7f00000000000000000000000000000000000000000000000000000000000000000290506111e983827f000000000000000000000000000000000000000000000000000000000000000061320f565b600290810b810b60c085015290810b900b60a083015261120761322c565b82526112116132d6565b602083018190528251604051600080516020615989833981519152926112379291615898565b60405180910390a18151602083015160a084015160c085015160095461126c946001600160a01b03909116939092909161332a565b6001600160801b03166080830181905260a083015160c08401516009546112a0936001600160a01b039091169290916133d0565b6060840181905260408401829052835160208501516000936112c193613479565b90506000816112f5576112f060026112ea86606001518760200151612ea990919063ffffffff16565b906134b4565b61130c565b6040840151845161130c916002916112ea91612ea9565b90506000620f424062ffffff166113c76002601060009054906101000a90046001600160a01b03166001600160a01b0316630a7013236040518163ffffffff1660e01b815260040160206040518083038186803b15801561136c57600080fd5b505afa158015611380573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a49190615076565b62ffffff16816113b057fe5b6001600160a01b038b169162ffffff9104166134b9565b6001600160a01b0316816113d757fe5b0490506000836113f9576113f46001600160a01b0389168361350b565b61140c565b61140c6001600160a01b03891683613527565b6009546040805160208082018352881515825291519394506001600160a01b039092169263128acb08923092899289928892611448920161585a565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611477959493929190615222565b6040805180830381600087803b15801561149057600080fd5b505af11580156114a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c89190614e6b565b5050600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561151857600080fd5b505afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190614fe8565b50949c50929a50611565935061322c92505050565b865261156f6132d6565b602087018190528651604051600080516020615989833981519152926115959291615898565b60405180910390a1855160208701516009546115de926001600160a01b0390911691887f0000000000000000000000000000000000000000000000000000000000000000613543565b6010805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b9290921685029190911791829055895160208b015160095461164e966001600160a01b039091169592949193908204830b929104900b61332a565b6001600160801b03166080870181905260095460105460408051602080820183523080835292516001600160a01b0390951695633c8a7d8d959394600160a01b8104600290810b95600160b81b909204900b9391926116ae929101615847565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016116dd959493929190615268565b6040805180830381600087803b1580156116f657600080fd5b505af115801561170a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172e9190614e6b565b60608801819052604080890183905260105490517fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f9361178493600160a01b8404600290810b94600160b81b9004900b92615410565b60405180910390a150506001600755505050505050565b6001600160a01b038116600090815260066020526040812061096890613742565b600c5481565b600e546001600160a01b031633146117ec5760405162461bcd60e51b815260040161057c906157d4565b601054600160d81b900460ff16156118165760405162461bcd60e51b815260040161057c906155bc565b6010805460ff60d81b1916600160d81b179055565b6000806000600260075414156118535760405162461bcd60e51b815260040161057c9061580e565b60026007556010546040805163e7c7cb9160e01b8152905161189e926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b601054600160d81b900460ff16156118c85760405162461bcd60e51b815260040161057c906155bc565b6118d06126f5565b6118d8612950565b505060105460095460009161190c916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613746565b601054600954919250600091611947916001600160a01b03909116908a908a90600160a01b8104600290810b91600160b81b9004900b61332a565b600954601054604080516020808201835233825291519495506001600160a01b0390931693633c8a7d8d933093600160a01b8104600290810b94600160b81b909204900b92889261199a92909101615847565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016119c9959493929190615268565b6040805180830381600087803b1580156119e257600080fd5b505af11580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190614e6b565b90945092508315801590611a2e5750600083115b611a4a5760405162461bcd60e51b815260040161057c90615565565b611a52610c85565b15611a8057611a7b816001600160801b0316611a6c610c85565b846001600160801b03166137e1565b611a90565b6001600160801b03620f42408202165b9450611a9c8686613890565b611aa4610c85565b601060009054906101000a90046001600160a01b03166001600160a01b0316632ab4d0526040518163ffffffff1660e01b815260040160206040518083038186803b158015611af257600080fd5b505afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a9190615099565b1015611b485760405162461bcd60e51b815260040161057c9061560f565b856001600160a01b0316336001600160a01b03167f4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6878787604051611b8f939291906158a6565b60405180910390a35050600160078190555093509350939050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108805780601f1061085557610100808354040283529160200191610880565b6000610964611c18612dbe565b84610d9d85604051806040016040528060038152602001622222a160e91b81525060016000611c45612dbe565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612fd1565b6010546001600160a01b031681565b6000610964611c92612dbe565b8484612eb9565b600e546001600160a01b03163314611cc35760405162461bcd60e51b815260040161057c906157d4565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6009546001600160a01b03163314611d575760405162461bcd60e51b815260040161057c906154d5565b6000611d6582840184614edf565b90508415611d9d57611d9d7f000000000000000000000000000000000000000000000000000000000000000082600001513388612e76565b8315611dd357611dd37f000000000000000000000000000000000000000000000000000000000000000082600001513387612e76565b5050505050565b83421115611dfa5760405162461bcd60e51b815260040161057c906154b9565b60007f0000000000000000000000000000000000000000000000000000000000000000888888611e298c613944565b89604051602001611e3f9695949392919061535e565b6040516020818303038152906040528051906020012090506000611e6282613976565b90506000611e7282878787613989565b9050896001600160a01b0316816001600160a01b031614611ea55760405162461bcd60e51b815260040161057c90615682565b611eb08a8a8a612dc2565b50505050505050505050565b6010546009546000918291611ef2916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b613a81565b9092509050611f09611f0261322c565b83906130c8565b9150611f1d611f166132d6565b82906130c8565b90509091565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600e546001600160a01b03163314611f785760405162461bcd60e51b815260040161057c906157d4565b601054600160d01b900460ff1615611fa25760405162461bcd60e51b815260040161057c90615749565b6010805460ff60d01b1916600160d01b17908190556040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b158015611ff957600080fd5b505afa15801561200d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120319190614e51565b7f00000000000000000000000000000000000000000000000000000000000000000290506000600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156120a557600080fd5b505afa1580156120b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120dd9190614fe8565b50505050509150506000612111827f0000000000000000000000000000000000000000000000000000000000000000613b63565b6010805462ffffff60a01b1916600160a01b868403600290810b62ffffff90811683029390931762ffffff60b81b1916600160b81b868a01830b949094168402179384905593945061216e93908304810b9291909104900b613baf565b505050565b600260075414156121965760405162461bcd60e51b815260040161057c9061580e565b60026007556010546040805163e7c7cb9160e01b815290516121e1926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b3360009081526008602052604090205460ff166122105760405162461bcd60e51b815260040161057c906157b7565b6122186126f5565b601054600954612249916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b6130d8565b600061225361322c565b9050600061225f6132d6565b90506000805160206159898339815191528282604051612280929190615898565b60405180910390a16010546040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b1580156122cd57600080fd5b505afa1580156122e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123059190614e51565b6009547f00000000000000000000000000000000000000000000000000000000000000009182029250612349916001600160a01b0390911690859085908590613543565b6010805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b92909216850291909117918290556009546000946123b5946001600160a01b039092169389938993928204830b929104900b61332a565b600954601054604080516020808201835230808352925195965060009586956001600160a01b031694633c8a7d8d9493600160a01b8204600290810b94600160b81b909304900b928a9261240a929101615847565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612439959493929190615268565b6040805180830381600087803b15801561245257600080fd5b505af1158015612466573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248a9190614e6b565b6010546040519294509092507fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f916124dd91600160a01b8104600290810b92600160b81b909204900b9086908690615410565b60405180910390a15050600160075550505050565b600d5481565b600f546001600160a01b031681565b600e546001600160a01b031633146125315760405162461bcd60e51b815260040161057c906157d4565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6009546001600160a01b0316331461257c5760405162461bcd60e51b815260040161057c906154d5565b600084138061258b5750600083135b6125a75760405162461bcd60e51b815260040161057c906156bb565b60006125b582840184614f24565b805190915080156125f1576125ec7f0000000000000000000000000000000000000000000000000000000000000000303389612e76565b61261d565b61261d7f0000000000000000000000000000000000000000000000000000000000000000303388612e76565b505050505050565b4690565b6000836001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561266457600080fd5b505afa158015612678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269c9190614fe8565b505050505091505060006126b08584613c27565b905060008160020b8360020b136126c9578282036126cd565b8183035b90508460020b8160020b131561261d5760405162461bcd60e51b815260040161057c906156d8565b601054600954600091612727916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613746565b6001600160801b031690508061273d575061294e565b60095460105460405163a34123a760e01b81526001600160a01b039092169163a34123a79161278891600160a01b8204600290810b92600160b81b9004900b906000906004016153ea565b6040805180830381600087803b1580156127a157600080fd5b505af11580156127b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d99190614e6b565b50506009546010546040516309e3d67b60e31b815260009283926001600160a01b0390911691634f1eb3d891612836913091600160a01b8104600290810b92600160b81b909204900b906001600160801b039081906004016152aa565b6040805180830381600087803b15801561284f57600080fd5b505af1158015612863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128879190614f60565b6001600160801b03918216935016905060006128ad620f42406112ea8562030d40613d67565b905060006128c5620f42406112ea8562030d40613d67565b600a549091506128d590836130c8565b600a55600b546128e590826130c8565b600b55600c546128f590856130c8565b600c55600d5461290590846130c8565b600d819055600c546040517f1ac56d7e866e3f5ea9aa92aa11758ead39a0a5f013f3fefb0f47cb9d008edd27926129409288928892906158bc565b60405180910390a150505050505b565b600080600061295d61322c565b905060006129696132d6565b9050600080516020615989833981519152828260405161298a929190615898565b60405180910390a16010546009546000916129c8916001600160a01b03169085908590600160a01b8104600290810b91600160b81b9004900b61332a565b90506001600160801b03811615612ae75760095460105460408051602080820183523080835292516001600160a01b0390951694633c8a7d8d94600160a01b8104600290810b94600160b81b909204900b928892612a27929101615847565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612a56959493929190615268565b6040805180830381600087803b158015612a6f57600080fd5b505af1158015612a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa79190614e6b565b60405191965094507f2fb985eb745b9e89bb1ab82e0f8ceb6bf94d4d60aed7e8196540c50161a5fe9190612ade9087908790615898565b60405180910390a15b5050509091565b60008060008511612b115760405162461bcd60e51b815260040161057c9061549d565b6000612b276001600160a01b038a168989613746565b9050600086612b3f6001600160801b03841688613d67565b81612b4657fe5b0490508015612c9657896001600160a01b031663a34123a78a8a612b6985613d8a565b6040518463ffffffff1660e01b8152600401612b87939291906153ea565b6040805180830381600087803b158015612ba057600080fd5b505af1158015612bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd89190614e6b565b909450925083151580612beb5750600083115b15612c9657896001600160a01b0316634f1eb3d8868b8b612c0b89613d8a565b612c1489613d8a565b6040518663ffffffff1660e01b8152600401612c349594939291906152aa565b6040805180830381600087803b158015612c4d57600080fd5b505af1158015612c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c859190614f60565b6001600160801b0391821695501692505b5050965096945050505050565b6001600160a01b038216612cc95760405162461bcd60e51b815260040161057c9061550f565b612cd58260008361216e565b60408051808201825260038152622122a160e91b6020808301919091526001600160a01b0385166000908152908190529190912054612d15918390612fd1565b6001600160a01b038316600090815260208190526040902055600254612d3b9082612ea9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612d7c908590615355565b60405180910390a35050565b6000838383604051602001612d9f9392919061517e565b6040516020818303038152906040528051906020012090509392505050565b3390565b6001600160a01b038316612de85760405162461bcd60e51b815260040161057c906154f1565b6001600160a01b038216612e0e5760405162461bcd60e51b815260040161057c906157f0565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612e69908590615355565b60405180910390a3505050565b6001600160a01b038316301415612e9757612e92848383613da0565b612ea3565b612ea384848484613e8e565b50505050565b8082038281111561096857600080fd5b6001600160a01b038316612edf5760405162461bcd60e51b815260040161057c90615582565b6001600160a01b038216612f055760405162461bcd60e51b815260040161057c90615548565b612f1083838361216e565b60408051808201825260038152622a22a160e91b6020808301919091526001600160a01b0386166000908152908190529190912054612f50918390612fd1565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612f7f90826130c8565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612e69908590615355565b8183038184821115612ff65760405162461bcd60e51b815260040161057c9190615433565b509392505050565b60007f0000000000000000000000000000000000000000000000000000000000000000613029612625565b141561305657507f0000000000000000000000000000000000000000000000000000000000000000610888565b6130c17f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613f7e565b9050610888565b8082018281101561096857600080fd5b60006130ee6001600160a01b0385168484613746565b90506001600160801b038116156131835760405163a34123a760e01b81526001600160a01b0385169063a34123a79061312f908690869086906004016153ea565b6040805180830381600087803b15801561314857600080fd5b505af115801561315c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131809190614e6b565b50505b6040516309e3d67b60e31b81526001600160a01b03851690634f1eb3d8906131be903090879087906001600160801b039081906004016152aa565b6040805180830381600087803b1580156131d757600080fd5b505af11580156131eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261d9190614f60565b600080600061321e8685613b63565b858103979501955050505050565b6000610e80600a547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161328091906151ea565b60206040518083038186803b15801561329857600080fd5b505afa1580156132ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d09190615099565b90612ea9565b6000610e80600b547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161328091906151ea565b600080866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561336657600080fd5b505afa15801561337a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339e9190614fe8565b50505050505090506133c3816133b386613fa0565b6133bc86613fa0565b89896142b9565b9150505b95945050505050565b6000806000866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561340e57600080fd5b505afa158015613422573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134469190614fe8565b505050505050905061346a8161345b87613fa0565b61346487613fa0565b8961437b565b92509250505b94509492505050565b600061348f856134898685612ea9565b90613d67565b61349d856134898887612ea9565b116134a95760006133c7565b600195945050505050565b900490565b60006001600160a01b03831615806135025750816001600160a01b0316836001600160a01b03168385029250826001600160a01b0316816134f657fe5b046001600160a01b0316145b61096857600080fd5b8082016001600160a01b03808416908216101561096857600080fd5b8082036001600160a01b03808416908216111561096857600080fd5b60008060006040518060e00160405280888152602001878152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b8152509050600080896001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156135cd57600080fd5b505afa1580156135e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136059190614fe8565b50505050509150915061361981888861320f565b600290810b810b60c0860181905291810b900b60a0850181905284516020860151613646938e9390614416565b606085018190526040850182905260a085015160c086015161366d938e939092909161332a565b6001600160801b03166080840152825160208401516040850151606086015160009361369c9390929091613479565b905080156136e15760006136bb84866080015187600001516000614445565b90506136cf6136c982614536565b89613b63565b600290810b900b60c086015250613714565b60006136f88486608001518760200151600061483c565b90506137066136c982614536565b600290810b900b60a0860152505b6137268460a001518560c00151613baf565b8360a0015195508360c001519450505050509550959350505050565b5490565b600080613754308585612d88565b60405163514ea4bf60e01b81529091506001600160a01b0386169063514ea4bf90613783908490600401615355565b60a06040518083038186803b15801561379b57600080fd5b505afa1580156137af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d39190614f92565b509298975050505050505050565b6000808060001985870986860292508281109083900303905080613817576000841161380c57600080fd5b508290049050610da6565b80841161382357600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b0382166138b65760405162461bcd60e51b815260040161057c90615710565b6138c26000838361216e565b6002546138cf90826130c8565b6002556001600160a01b0382166000908152602081905260409020546138f590826130c8565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612d7c908590615355565b6001600160a01b038116600090815260066020526040812061396581613742565b915061397081614918565b50919050565b6000610968613983612ffe565b83614921565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156139cb5760405162461bcd60e51b815260040161057c90615446565b8360ff16601b14806139e057508360ff16601c145b6139fc5760405162461bcd60e51b815260040161057c906155d7565b600060018686868660405160008152602001604052604051613a2194939291906153be565b6020604051602081039080840390855afa158015613a43573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613a765760405162461bcd60e51b815260040161057c90615682565b90505b949350505050565b6000806000613a91308686612d88565b90506000806000886001600160a01b031663514ea4bf856040518263ffffffff1660e01b8152600401613ac49190615355565b60a06040518083038186803b158015613adc57600080fd5b505afa158015613af0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b149190614f92565b9450945050509250613b2889848a8a6133d0565b9096509450613b40866001600160801b0384166130c8565b9550613b55856001600160801b0383166130c8565b945050505050935093915050565b6000808260020b8460020b81613b7557fe5b05905060008460020b128015613b9c57508260020b8460020b81613b9557fe5b0760020b15155b15613ba657600019015b90910292915050565b8060020b8260020b12613bd45760405162461bcd60e51b815260040161057c90615480565b620d89e719600283900b1215613bfc5760405162461bcd60e51b815260040161057c90615665565b620d89e8600282900b1315613c235760405162461bcd60e51b815260040161057c90615648565b5050565b6040805160028082526060820183526000928492849290916020830190803683370190505090508181600081518110613c5c57fe5b602002602001019063ffffffff16908163ffffffff1681525050600081600181518110613c8557fe5b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0387169063883bdbfd90613cc9908590600401615300565b60006040518083038186803b158015613ce157600080fd5b505afa158015613cf5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d1d9190810190614d6d565b5090508263ffffffff1681600081518110613d3457fe5b602002602001015182600181518110613d4957fe5b60200260200101510360060b81613d5c57fe5b059695505050505050565b600082158061350257505081810281838281613d7f57fe5b041461096857600080fd5b806001600160801b0381168114610f8d57600080fd5b600080846001600160a01b031663a9059cbb60e01b8585604051602401613dc89291906152e7565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051613e0691906151b3565b6000604051808303816000865af19150503d8060008114613e43576040519150601f19603f3d011682016040523d82523d6000602084013e613e48565b606091505b5091509150818015613e72575080511580613e72575080806020019051810190613e729190614e35565b611dd35760405162461bcd60e51b815260040161057c9061562c565b600080856001600160a01b03166323b872dd60e01b868686604051602401613eb8939291906151fe565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051613ef691906151b3565b6000604051808303816000865af19150503d8060008114613f33576040519150601f19603f3d011682016040523d82523d6000602084013e613f38565b606091505b5091509150818015613f62575080511580613f62575080806020019051810190613f629190614e35565b61261d5760405162461bcd60e51b815260040161057c9061569e565b6000838383613f8b612625565b30604051602001612d9f959493929190615392565b60008060008360020b12613fb7578260020b613fbf565b8260020b6000035b9050620d89e8811115613fe45760405162461bcd60e51b815260040161057c906155f4565b600060018216613ff857600160801b61400a565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff169050600282161561403e576ffff97272373d413259a46990580e213a0260801c5b600482161561405d576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b600882161561407c576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b601082161561409b576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156140ba576fff973b41fa98c081472e6896dfb254c00260801c5b60408216156140d9576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156140f8576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615614118576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615614138576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615614158576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615614178576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615614198576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156141b8576fa9f746462d870fdf8a65dc1f90e061e50260801c5b6140008216156141d8576f70d869a156d2a1b890bb3df62baf32f70260801c5b6180008216156141f8576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615614219576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615614239576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615614258576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615614275576b048a170391f7dc42444e8fa20260801c5b60008460020b131561429057806000198161428c57fe5b0490505b6401000000008106156142a45760016142a7565b60005b60ff16602082901c0192505050919050565b6000836001600160a01b0316856001600160a01b031611156142d9579293925b846001600160a01b0316866001600160a01b031611614304576142fd858585614954565b90506133c7565b836001600160a01b0316866001600160a01b0316101561436657600061432b878686614954565b9050600061433a8789866149b7565b9050806001600160801b0316826001600160801b03161061435b578061435d565b815b925050506133c7565b6143718585846149b7565b9695505050505050565b600080836001600160a01b0316856001600160a01b0316111561439c579293925b846001600160a01b0316866001600160a01b0316116143c7576143c08585856149f4565b9150613470565b836001600160a01b0316866001600160a01b03161015614400576143ec8685856149f4565b91506143f9858785614a5d565b9050613470565b61440b858585614a5d565b905094509492505050565b6000806000614428888888888861332a565b9050614436888287876133d0565b90999098509650505050505050565b600082614453575083613a79565b6fffffffffffffffffffffffffffffffff60601b606085901b1682156144ea576001600160a01b0386168481029085828161448a57fe5b0414156144bb578181018281106144b9576144af83896001600160a01b031683614aa0565b9350505050613a79565b505b6144e1826144dc878a6001600160a01b031686816144d557fe5b04906130c8565b614ada565b92505050613a79565b6001600160a01b0386168481029085828161450157fe5b0414801561450e57508082115b61451757600080fd5b8082036144af614531846001600160a01b038b1684614aa0565b614ae5565b60006401000276a36001600160a01b03831610801590614572575073fffd8963efd1fc6a506488495d951d5263988d266001600160a01b038316105b61458e5760405162461bcd60e51b815260040161057c9061579c565b640100000000600160c01b03602083901b166001600160801b03811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c9790881196179094179092171790911717176080811061462257607f810383901c915061462c565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d607f198f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581026f028f6481ab7f045a5af012a19d003aa9198101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b1461482d57886001600160a01b031661481182613fa0565b6001600160a01b031611156148265781614828565b805b61482f565b815b9998505050505050505050565b600081156148aa5760006001600160a01b038411156148725761486d84600160601b876001600160801b03166137e1565b61488a565b6001600160801b038516606085901b8161488857fe5b045b90506148a26145316001600160a01b038816836130c8565b915050613a79565b60006001600160a01b038411156148d8576148d384600160601b876001600160801b0316614aa0565b6148ef565b6148ef606085901b6001600160801b038716614ada565b905080866001600160a01b03161161490657600080fd5b6001600160a01b038616039050613a79565b80546001019055565b600082826040516020016149369291906151cf565b60405160208183030381529060405280519060200120905092915050565b6000826001600160a01b0316846001600160a01b03161115614974579192915b6000614997856001600160a01b0316856001600160a01b0316600160601b6137e1565b90506133c76149b284838888036001600160a01b03166137e1565b613d8a565b6000826001600160a01b0316846001600160a01b031611156149d7579192915b613a796149b283600160601b8787036001600160a01b03166137e1565b6000826001600160a01b0316846001600160a01b03161115614a14579192915b836001600160a01b0316614a4d606060ff16846001600160801b0316901b8686036001600160a01b0316866001600160a01b03166137e1565b81614a5457fe5b04949350505050565b6000826001600160a01b0316846001600160a01b03161115614a7d579192915b613a79826001600160801b03168585036001600160a01b0316600160601b6137e1565b6000614aad8484846137e1565b905060008280614ab957fe5b8486091115610da6576000198110614ad057600080fd5b6001019392505050565b808204910615150190565b806001600160a01b0381168114610f8d57600080fd5b6040518060e001604052806000815260200160008152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b81525090565b600082601f830112614b57578081fd5b81516020614b6c614b6783615909565b6158e5565b8281528181019085830183850287018401881015614b88578586fd5b855b85811015614baf578151614b9d81615953565b84529284019290840190600101614b8a565b5090979650505050505050565b60008083601f840112614bcd578182fd5b50813567ffffffffffffffff811115614be4578182fd5b602083019150836020828501011115614bfc57600080fd5b9250929050565b8051600281900b8114610f8d57600080fd5b80516001600160801b0381168114610f8d57600080fd5b805161ffff81168114610f8d57600080fd5b600060208284031215614c4f578081fd5b8135610da681615953565b60008060408385031215614c6c578081fd5b8235614c7781615953565b91506020830135614c8781615953565b809150509250929050565b600080600060608486031215614ca6578081fd5b8335614cb181615953565b92506020840135614cc181615953565b929592945050506040919091013590565b600080600080600080600060e0888a031215614cec578283fd5b8735614cf781615953565b96506020880135614d0781615953565b955060408801359450606088013593506080880135614d2581615979565b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215614d54578182fd5b8235614d5f81615953565b946020939093013593505050565b60008060408385031215614d7f578182fd5b825167ffffffffffffffff80821115614d96578384fd5b818501915085601f830112614da9578384fd5b81516020614db9614b6783615909565b82815281810190858301838502870184018b1015614dd5578889fd5b8896505b84871015614e055780518060060b8114614df157898afd5b835260019690960195918301918301614dd9565b5091880151919650909350505080821115614e1e578283fd5b50614e2b85828601614b47565b9150509250929050565b600060208284031215614e46578081fd5b8151610da68161596b565b600060208284031215614e62578081fd5b610da682614c03565b60008060408385031215614e7d578182fd5b505080516020909101519092909150565b60008060008060608587031215614ea3578182fd5b8435935060208501359250604085013567ffffffffffffffff811115614ec7578283fd5b614ed387828801614bbc565b95989497509550505050565b600060208284031215614ef0578081fd5b6040516020810181811067ffffffffffffffff82111715614f0d57fe5b6040528235614f1b81615953565b81529392505050565b600060208284031215614f35578081fd5b6040516020810181811067ffffffffffffffff82111715614f5257fe5b6040528235614f1b8161596b565b60008060408385031215614f72578182fd5b614f7b83614c15565b9150614f8960208401614c15565b90509250929050565b600080600080600060a08688031215614fa9578283fd5b614fb286614c15565b94506020860151935060408601519250614fce60608701614c15565b9150614fdc60808701614c15565b90509295509295909350565b600080600080600080600060e0888a031215615002578081fd5b875161500d81615953565b965061501b60208901614c03565b955061502960408901614c2c565b945061503760608901614c2c565b935061504560808901614c2c565b925060a088015161505581615979565b60c08901519092506150668161596b565b8091505092959891949750929550565b600060208284031215615087578081fd5b815162ffffff81168114610da6578182fd5b6000602082840312156150aa578081fd5b5051919050565b600080604083850312156150c3578182fd5b823591506020830135614c8781615953565b600080604083850312156150e7578182fd5b50508035926020909101359150565b60008060006060848603121561510a578081fd5b8335925060208401359150604084013561512381615953565b809150509250925092565b60006020828403121561513f578081fd5b815163ffffffff81168114610da6578182fd5b6000815180845261516a816020860160208601615927565b601f01601f19169290920160200192915050565b60609390931b6bffffffffffffffffffffffff19168352600291820b60e890811b6014850152910b901b6017820152601a0190565b600082516151c5818460208701615927565b9190910192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0386811682528515156020830152604082018590528316606082015260a06080820181905260009061525d90830184615152565b979650505050505050565b600060018060a01b03871682528560020b60208301528460020b60408301526001600160801b038416606083015260a0608083015261525d60a0830184615152565b6001600160a01b03959095168552600293840b60208601529190920b60408401526001600160801b03918216606084015216608082015260a00190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561533e57835163ffffffff168352928401929184019160010161531c565b50909695505050505050565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b60029190910b815260200190565b600293840b81529190920b60208201526001600160801b03909116604082015260600190565b600294850b81529290930b60208301526040820152606081019190915260800190565b600060208252610da66020830184615152565b60208082526003908201526249535360e81b604082015260600190565b602080825260039082015262575a4160e81b604082015260600190565b602080825260039082015262544c5560e81b604082015260600190565b602080825260029082015261545360f01b604082015260600190565b602080825260029082015261115160f21b604082015260600190565b602080825260029082015261046560f41b604082015260600190565b60208082526004908201526341465a4160e01b604082015260600190565b602080825260039082015262425a4160e81b604082015260600190565b602080825260029082015261504760f01b604082015260600190565b602080825260039082015262545a4160e81b604082015260600190565b60208082526003908201526220a72b60e91b604082015260600190565b602080825260039082015262465a4160e81b604082015260600190565b6020808252600390820152622098a360e91b604082015260600190565b6020808252600190820152600560fc1b604082015260600190565b60208082526003908201526224a9ab60e91b604082015260600190565b6020808252600190820152601560fa1b604082015260600190565b6020808252600390820152624d545360e81b604082015260600190565b60208082526002908201526114d560f21b604082015260600190565b60208082526003908201526254554d60e81b604082015260600190565b602080825260039082015262544c4d60e81b604082015260600190565b602080825260029082015261495360f01b604082015260600190565b60208082526003908201526229aa2360e91b604082015260600190565b6020808252600390820152622622ad60e91b604082015260600190565b60208082526003908201526250534360e81b604082015260600190565b6020808252600190820152605360f81b604082015260600190565b6020808252600390820152624d5a4160e81b604082015260600190565b6020808252600290820152614e4160f01b604082015260600190565b6020808252600190820152602360f91b604082015260600190565b60208082526002908201526104e560f41b604082015260600190565b602080825260029082015261454160f01b604082015260600190565b6020808252600190820152602960f91b604082015260600190565b6020808252600390820152624f4e4160e81b604082015260600190565b6020808252600290820152614f4760f01b604082015260600190565b60208082526004908201526341545a4160e01b604082015260600190565b602080825260029082015261524360f01b604082015260600190565b60208082526003908201526220982360e91b604082015260600190565b90516001600160a01b0316815260200190565b90511515815260200190565b6001600160801b0395861681526020810194909452604084019290925283166060830152909116608082015260a00190565b918252602082015260400190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60405181810167ffffffffffffffff8111828210171561590157fe5b604052919050565b600067ffffffffffffffff82111561591d57fe5b5060209081020190565b60005b8381101561594257818101518382015260200161592a565b83811115612ea35750506000910152565b6001600160a01b038116811461596857600080fd5b50565b801515811461596857600080fd5b60ff8116811461596857600080fdfe492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b198a26469706673582212209ec1d1b97c088e8904ad528d395ddbc67d4e4ae9429e69b8d358833d8432235f64736f6c63430007060033000000000000000000000000381fe4eb128db1621647ca00965da3f9e09f4fac00000000000000000000000090e4f7330d0de80aed14135fbba4f0ddfcf894f6

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102895760003560e01c806370a082311161015c578063d0c93a7c116100ce578063e1c7392a11610087578063e1c7392a14610510578063eb3221b414610518578063ef095f8d14610520578063f39c38a014610528578063f56408ed14610530578063fa461e331461054357610289565b8063d0c93a7c146104bf578063d21220a7146104c7578063d3487997146104cf578063d505accf146104e2578063da486721146104f5578063dd62ed3e146104fd57610289565b80638dbdbe6d116101205780638dbdbe6d1461045457806395d89b4114610476578063a457c2d71461047e578063a8c62e7614610491578063a9059cbb14610499578063ab033ea9146104ac57610289565b806370a08231146104165780637d7c2a1c146104295780637ecebe001461043157806380814ffb146104445780638456cb591461044c57610289565b8063242cae9f1161020057806347d792c5116101b957806347d792c5146103ce57806355b812a8146103d657806359c4f905146103eb5780635aa6e675146103f35780636a2a507b146103fb5780636d70f7ae1461040357610289565b8063242cae9f14610370578063313ce5671461038357806333a100ca146103985780633644e515146103ab57806339509351146103b35780633f4ba83a146103c657610289565b806314c04c4f1161025257806314c04c4f1461031b578063158ef93e1461033057806316f0115b1461033857806318160ddd14610340578063238efcbc1461035557806323b872dd1461035d57610289565b8062f714ce1461028e57806306fdde03146102b857806309218e91146102cd578063095ea7b3146102e65780630dfe168114610306575b600080fd5b6102a161029c3660046150b1565b610556565b6040516102af929190615898565b60405180910390f35b6102c06107f4565b6040516102af9190615433565b6102d561088b565b6040516102af959493929190615866565b6102f96102f4366004614d42565b610950565b6040516102af919061534a565b61030e61096e565b6040516102af91906151ea565b61032e6103293660046150d5565b610992565b005b6102f9610c66565b61030e610c76565b610348610c85565b6040516102af9190615355565b61032e610c8b565b6102f961036b366004614c92565b610d14565b61032e61037e366004614c3e565b610dad565b61038b610dfb565b6040516102af91906158d7565b61032e6103a6366004614c3e565b610e04565b610348610e76565b6102f96103c1366004614d42565b610e85565b61032e610ed3565b610348610f35565b6103de610f3b565b6040516102af91906153dc565b6103de610f4b565b61030e610f5b565b610348610f6a565b6102f9610411366004614c3e565b610f70565b610348610424366004614c3e565b610f92565b61032e610fad565b61034861043f366004614c3e565b61179b565b6103486117bc565b61032e6117c2565b6104676104623660046150f6565b61182b565b6040516102af939291906158a6565b6102c0611baa565b6102f961048c366004614d42565b611c0b565b61030e611c76565b6102f96104a7366004614d42565b611c85565b61032e6104ba366004614c3e565b611c99565b6103de611ce5565b61030e611d09565b61032e6104dd366004614e8e565b611d2d565b61032e6104f0366004614cd2565b611dda565b6102a1611ebc565b61034861050b366004614c5a565b611f23565b61032e611f4e565b61032e612173565b6103486124f2565b61030e6124f8565b61032e61053e366004614c3e565b612507565b61032e610551366004614e8e565b612552565b600080600260075414156105855760405162461bcd60e51b815260040161057c9061580e565b60405180910390fd5b60026007556010546040805163e7c7cb9160e01b815290516106a1926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b505afa1580156105e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106089190614e51565b601060009054906101000a90046001600160a01b03166001600160a01b03166326d895456040518163ffffffff1660e01b815260040160206040518083038186803b15801561065657600080fd5b505afa15801561066a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068e919061512e565b6009546001600160a01b03169190612629565b601054600160d81b900460ff16156106cb5760405162461bcd60e51b815260040161057c906155bc565b600084116106eb5760405162461bcd60e51b815260040161057c906156f5565b6001600160a01b0383166107115760405162461bcd60e51b815260040161057c90615463565b6107196126f5565b610721612950565b505060105461075e90600160a01b8104600290810b91600160b81b9004900b610748610c85565b6009546001600160a01b03169291908888612aee565b9092509050811515806107715750600081115b61078d5760405162461bcd60e51b815260040161057c90615780565b6107973385612ca3565b826001600160a01b0316336001600160a01b03167febff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f8685856040516107de939291906158a6565b60405180910390a3600160075590939092509050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108805780601f1061085557610100808354040283529160200191610880565b820191906000526020600020905b81548152906001019060200180831161086357829003601f168201915b505050505090505b90565b6000806000806000806108bd30601060149054906101000a900460020b601060179054906101000a900460020b612d88565b60095460405163514ea4bf60e01b81529192506001600160a01b03169063514ea4bf906108ee908490600401615355565b60a06040518083038186803b15801561090657600080fd5b505afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e9190614f92565b939a9299509097509550909350915050565b600061096461095d612dbe565b8484612dc2565b5060015b92915050565b7f000000000000000000000000761d38e5ddf6ccf6cf7c55759d5210750b5d60f381565b600260075414156109b55760405162461bcd60e51b815260040161057c9061580e565b6002600755600e546001600160a01b031633146109e45760405162461bcd60e51b815260040161057c906157d4565b6109ec6126f5565b81600a541015610a0e5760405162461bcd60e51b815260040161057c9061582a565b80600b541015610a305760405162461bcd60e51b815260040161057c9061559f565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000761d38e5ddf6ccf6cf7c55759d5210750b5d60f316906370a0823190610a7f9030906004016151ea565b60206040518083038186803b158015610a9757600080fd5b505afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf9190615099565b905060007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610b1f91906151ea565b60206040518083038186803b158015610b3757600080fd5b505afa158015610b4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6f9190615099565b9050838210158015610b815750828110155b610b8a57600080fd5b8315610bbc57610bbc7f000000000000000000000000761d38e5ddf6ccf6cf7c55759d5210750b5d60f3303387612e76565b8215610bee57610bee7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2303386612e76565b600a54610bfb9085612ea9565b600a55600b54610c0b9084612ea9565b600b55610c16612950565b5050336001600160a01b03167fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f518585604051610c53929190615898565b60405180910390a2505060016007555050565b601054600160d01b900460ff1681565b6009546001600160a01b031681565b60025490565b600f546001600160a01b03163314610cb55760405162461bcd60e51b815260040161057c9061552c565b600f54600e546040516001600160a01b0392831692909116907f2276211a3f2c7bc1943fe83cc63f8f970204ff6a4b83c690df2bc54d8f2792ad90600090a3600f80546001600160a01b0319908116909155600e805490911633179055565b6000610d21848484612eb9565b610da284610d2d612dbe565b610d9d856040518060400160405280600381526020016254454160e81b815250600160008b6001600160a01b03166001600160a01b031681526020019081526020016000206000610d7c612dbe565b6001600160a01b031681526020810191909152604001600020549190612fd1565b612dc2565b5060015b9392505050565b600e546001600160a01b03163314610dd75760405162461bcd60e51b815260040161057c906157d4565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b60055460ff1690565b600e546001600160a01b03163314610e2e5760405162461bcd60e51b815260040161057c906157d4565b6001600160a01b038116610e545760405162461bcd60e51b815260040161057c9061572d565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e80612ffe565b905090565b6000610964610e92612dbe565b84610d9d8560016000610ea3612dbe565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906130c8565b600e546001600160a01b03163314610efd5760405162461bcd60e51b815260040161057c906157d4565b601054600160d81b900460ff16610f265760405162461bcd60e51b815260040161057c90615764565b6010805460ff60d81b19169055565b600a5481565b601054600160b81b900460020b81565b601054600160a01b900460020b81565b600e546001600160a01b031681565b600b5481565b6001600160a01b03811660009081526008602052604090205460ff165b919050565b6001600160a01b031660009081526020819052604090205490565b60026007541415610fd05760405162461bcd60e51b815260040161057c9061580e565b60026007556010546040805163e7c7cb9160e01b8152905161101b926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b3360009081526008602052604090205460ff1661104a5760405162461bcd60e51b815260040161057c906157b7565b6110526126f5565b601054600954611083916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b6130d8565b600080600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156110d457600080fd5b505afa1580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c9190614fe8565b50505050509150915061111d614afb565b6010546040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b15801561116257600080fd5b505afa158015611176573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119a9190614e51565b7f00000000000000000000000000000000000000000000000000000000000000c80290506111e983827f00000000000000000000000000000000000000000000000000000000000000c861320f565b600290810b810b60c085015290810b900b60a083015261120761322c565b82526112116132d6565b602083018190528251604051600080516020615989833981519152926112379291615898565b60405180910390a18151602083015160a084015160c085015160095461126c946001600160a01b03909116939092909161332a565b6001600160801b03166080830181905260a083015160c08401516009546112a0936001600160a01b039091169290916133d0565b6060840181905260408401829052835160208501516000936112c193613479565b90506000816112f5576112f060026112ea86606001518760200151612ea990919063ffffffff16565b906134b4565b61130c565b6040840151845161130c916002916112ea91612ea9565b90506000620f424062ffffff166113c76002601060009054906101000a90046001600160a01b03166001600160a01b0316630a7013236040518163ffffffff1660e01b815260040160206040518083038186803b15801561136c57600080fd5b505afa158015611380573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a49190615076565b62ffffff16816113b057fe5b6001600160a01b038b169162ffffff9104166134b9565b6001600160a01b0316816113d757fe5b0490506000836113f9576113f46001600160a01b0389168361350b565b61140c565b61140c6001600160a01b03891683613527565b6009546040805160208082018352881515825291519394506001600160a01b039092169263128acb08923092899289928892611448920161585a565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611477959493929190615222565b6040805180830381600087803b15801561149057600080fd5b505af11580156114a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c89190614e6b565b5050600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561151857600080fd5b505afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190614fe8565b50949c50929a50611565935061322c92505050565b865261156f6132d6565b602087018190528651604051600080516020615989833981519152926115959291615898565b60405180910390a1855160208701516009546115de926001600160a01b0390911691887f00000000000000000000000000000000000000000000000000000000000000c8613543565b6010805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b9290921685029190911791829055895160208b015160095461164e966001600160a01b039091169592949193908204830b929104900b61332a565b6001600160801b03166080870181905260095460105460408051602080820183523080835292516001600160a01b0390951695633c8a7d8d959394600160a01b8104600290810b95600160b81b909204900b9391926116ae929101615847565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016116dd959493929190615268565b6040805180830381600087803b1580156116f657600080fd5b505af115801561170a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172e9190614e6b565b60608801819052604080890183905260105490517fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f9361178493600160a01b8404600290810b94600160b81b9004900b92615410565b60405180910390a150506001600755505050505050565b6001600160a01b038116600090815260066020526040812061096890613742565b600c5481565b600e546001600160a01b031633146117ec5760405162461bcd60e51b815260040161057c906157d4565b601054600160d81b900460ff16156118165760405162461bcd60e51b815260040161057c906155bc565b6010805460ff60d81b1916600160d81b179055565b6000806000600260075414156118535760405162461bcd60e51b815260040161057c9061580e565b60026007556010546040805163e7c7cb9160e01b8152905161189e926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b601054600160d81b900460ff16156118c85760405162461bcd60e51b815260040161057c906155bc565b6118d06126f5565b6118d8612950565b505060105460095460009161190c916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613746565b601054600954919250600091611947916001600160a01b03909116908a908a90600160a01b8104600290810b91600160b81b9004900b61332a565b600954601054604080516020808201835233825291519495506001600160a01b0390931693633c8a7d8d933093600160a01b8104600290810b94600160b81b909204900b92889261199a92909101615847565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016119c9959493929190615268565b6040805180830381600087803b1580156119e257600080fd5b505af11580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190614e6b565b90945092508315801590611a2e5750600083115b611a4a5760405162461bcd60e51b815260040161057c90615565565b611a52610c85565b15611a8057611a7b816001600160801b0316611a6c610c85565b846001600160801b03166137e1565b611a90565b6001600160801b03620f42408202165b9450611a9c8686613890565b611aa4610c85565b601060009054906101000a90046001600160a01b03166001600160a01b0316632ab4d0526040518163ffffffff1660e01b815260040160206040518083038186803b158015611af257600080fd5b505afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a9190615099565b1015611b485760405162461bcd60e51b815260040161057c9061560f565b856001600160a01b0316336001600160a01b03167f4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f6878787604051611b8f939291906158a6565b60405180910390a35050600160078190555093509350939050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108805780601f1061085557610100808354040283529160200191610880565b6000610964611c18612dbe565b84610d9d85604051806040016040528060038152602001622222a160e91b81525060016000611c45612dbe565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612fd1565b6010546001600160a01b031681565b6000610964611c92612dbe565b8484612eb9565b600e546001600160a01b03163314611cc35760405162461bcd60e51b815260040161057c906157d4565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000c881565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6009546001600160a01b03163314611d575760405162461bcd60e51b815260040161057c906154d5565b6000611d6582840184614edf565b90508415611d9d57611d9d7f000000000000000000000000761d38e5ddf6ccf6cf7c55759d5210750b5d60f382600001513388612e76565b8315611dd357611dd37f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc282600001513387612e76565b5050505050565b83421115611dfa5760405162461bcd60e51b815260040161057c906154b9565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611e298c613944565b89604051602001611e3f9695949392919061535e565b6040516020818303038152906040528051906020012090506000611e6282613976565b90506000611e7282878787613989565b9050896001600160a01b0316816001600160a01b031614611ea55760405162461bcd60e51b815260040161057c90615682565b611eb08a8a8a612dc2565b50505050505050505050565b6010546009546000918291611ef2916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b613a81565b9092509050611f09611f0261322c565b83906130c8565b9150611f1d611f166132d6565b82906130c8565b90509091565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600e546001600160a01b03163314611f785760405162461bcd60e51b815260040161057c906157d4565b601054600160d01b900460ff1615611fa25760405162461bcd60e51b815260040161057c90615749565b6010805460ff60d01b1916600160d01b17908190556040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b158015611ff957600080fd5b505afa15801561200d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120319190614e51565b7f00000000000000000000000000000000000000000000000000000000000000c80290506000600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156120a557600080fd5b505afa1580156120b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120dd9190614fe8565b50505050509150506000612111827f00000000000000000000000000000000000000000000000000000000000000c8613b63565b6010805462ffffff60a01b1916600160a01b868403600290810b62ffffff90811683029390931762ffffff60b81b1916600160b81b868a01830b949094168402179384905593945061216e93908304810b9291909104900b613baf565b505050565b600260075414156121965760405162461bcd60e51b815260040161057c9061580e565b60026007556010546040805163e7c7cb9160e01b815290516121e1926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b1580156105d057600080fd5b3360009081526008602052604090205460ff166122105760405162461bcd60e51b815260040161057c906157b7565b6122186126f5565b601054600954612249916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b6130d8565b600061225361322c565b9050600061225f6132d6565b90506000805160206159898339815191528282604051612280929190615898565b60405180910390a16010546040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b1580156122cd57600080fd5b505afa1580156122e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123059190614e51565b6009547f00000000000000000000000000000000000000000000000000000000000000c89182029250612349916001600160a01b0390911690859085908590613543565b6010805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b92909216850291909117918290556009546000946123b5946001600160a01b039092169389938993928204830b929104900b61332a565b600954601054604080516020808201835230808352925195965060009586956001600160a01b031694633c8a7d8d9493600160a01b8204600290810b94600160b81b909304900b928a9261240a929101615847565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612439959493929190615268565b6040805180830381600087803b15801561245257600080fd5b505af1158015612466573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248a9190614e6b565b6010546040519294509092507fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f916124dd91600160a01b8104600290810b92600160b81b909204900b9086908690615410565b60405180910390a15050600160075550505050565b600d5481565b600f546001600160a01b031681565b600e546001600160a01b031633146125315760405162461bcd60e51b815260040161057c906157d4565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6009546001600160a01b0316331461257c5760405162461bcd60e51b815260040161057c906154d5565b600084138061258b5750600083135b6125a75760405162461bcd60e51b815260040161057c906156bb565b60006125b582840184614f24565b805190915080156125f1576125ec7f000000000000000000000000761d38e5ddf6ccf6cf7c55759d5210750b5d60f3303389612e76565b61261d565b61261d7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2303388612e76565b505050505050565b4690565b6000836001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561266457600080fd5b505afa158015612678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269c9190614fe8565b505050505091505060006126b08584613c27565b905060008160020b8360020b136126c9578282036126cd565b8183035b90508460020b8160020b131561261d5760405162461bcd60e51b815260040161057c906156d8565b601054600954600091612727916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613746565b6001600160801b031690508061273d575061294e565b60095460105460405163a34123a760e01b81526001600160a01b039092169163a34123a79161278891600160a01b8204600290810b92600160b81b9004900b906000906004016153ea565b6040805180830381600087803b1580156127a157600080fd5b505af11580156127b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d99190614e6b565b50506009546010546040516309e3d67b60e31b815260009283926001600160a01b0390911691634f1eb3d891612836913091600160a01b8104600290810b92600160b81b909204900b906001600160801b039081906004016152aa565b6040805180830381600087803b15801561284f57600080fd5b505af1158015612863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128879190614f60565b6001600160801b03918216935016905060006128ad620f42406112ea8562030d40613d67565b905060006128c5620f42406112ea8562030d40613d67565b600a549091506128d590836130c8565b600a55600b546128e590826130c8565b600b55600c546128f590856130c8565b600c55600d5461290590846130c8565b600d819055600c546040517f1ac56d7e866e3f5ea9aa92aa11758ead39a0a5f013f3fefb0f47cb9d008edd27926129409288928892906158bc565b60405180910390a150505050505b565b600080600061295d61322c565b905060006129696132d6565b9050600080516020615989833981519152828260405161298a929190615898565b60405180910390a16010546009546000916129c8916001600160a01b03169085908590600160a01b8104600290810b91600160b81b9004900b61332a565b90506001600160801b03811615612ae75760095460105460408051602080820183523080835292516001600160a01b0390951694633c8a7d8d94600160a01b8104600290810b94600160b81b909204900b928892612a27929101615847565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401612a56959493929190615268565b6040805180830381600087803b158015612a6f57600080fd5b505af1158015612a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa79190614e6b565b60405191965094507f2fb985eb745b9e89bb1ab82e0f8ceb6bf94d4d60aed7e8196540c50161a5fe9190612ade9087908790615898565b60405180910390a15b5050509091565b60008060008511612b115760405162461bcd60e51b815260040161057c9061549d565b6000612b276001600160a01b038a168989613746565b9050600086612b3f6001600160801b03841688613d67565b81612b4657fe5b0490508015612c9657896001600160a01b031663a34123a78a8a612b6985613d8a565b6040518463ffffffff1660e01b8152600401612b87939291906153ea565b6040805180830381600087803b158015612ba057600080fd5b505af1158015612bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd89190614e6b565b909450925083151580612beb5750600083115b15612c9657896001600160a01b0316634f1eb3d8868b8b612c0b89613d8a565b612c1489613d8a565b6040518663ffffffff1660e01b8152600401612c349594939291906152aa565b6040805180830381600087803b158015612c4d57600080fd5b505af1158015612c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c859190614f60565b6001600160801b0391821695501692505b5050965096945050505050565b6001600160a01b038216612cc95760405162461bcd60e51b815260040161057c9061550f565b612cd58260008361216e565b60408051808201825260038152622122a160e91b6020808301919091526001600160a01b0385166000908152908190529190912054612d15918390612fd1565b6001600160a01b038316600090815260208190526040902055600254612d3b9082612ea9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612d7c908590615355565b60405180910390a35050565b6000838383604051602001612d9f9392919061517e565b6040516020818303038152906040528051906020012090509392505050565b3390565b6001600160a01b038316612de85760405162461bcd60e51b815260040161057c906154f1565b6001600160a01b038216612e0e5760405162461bcd60e51b815260040161057c906157f0565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612e69908590615355565b60405180910390a3505050565b6001600160a01b038316301415612e9757612e92848383613da0565b612ea3565b612ea384848484613e8e565b50505050565b8082038281111561096857600080fd5b6001600160a01b038316612edf5760405162461bcd60e51b815260040161057c90615582565b6001600160a01b038216612f055760405162461bcd60e51b815260040161057c90615548565b612f1083838361216e565b60408051808201825260038152622a22a160e91b6020808301919091526001600160a01b0386166000908152908190529190912054612f50918390612fd1565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612f7f90826130c8565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612e69908590615355565b8183038184821115612ff65760405162461bcd60e51b815260040161057c9190615433565b509392505050565b60007f0000000000000000000000000000000000000000000000000000000000000001613029612625565b141561305657507fddc5e87f04c3bff823ab81e0b44a72318bbc73a43822ac3c6dea7a9dcb39315e610888565b6130c17f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f28ebc17a7074e9cfd1dc8dd8ae88d9e04a7b8830caeae9409d921303640cd57c7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613f7e565b9050610888565b8082018281101561096857600080fd5b60006130ee6001600160a01b0385168484613746565b90506001600160801b038116156131835760405163a34123a760e01b81526001600160a01b0385169063a34123a79061312f908690869086906004016153ea565b6040805180830381600087803b15801561314857600080fd5b505af115801561315c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131809190614e6b565b50505b6040516309e3d67b60e31b81526001600160a01b03851690634f1eb3d8906131be903090879087906001600160801b039081906004016152aa565b6040805180830381600087803b1580156131d757600080fd5b505af11580156131eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261d9190614f60565b600080600061321e8685613b63565b858103979501955050505050565b6000610e80600a547f000000000000000000000000761d38e5ddf6ccf6cf7c55759d5210750b5d60f36001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161328091906151ea565b60206040518083038186803b15801561329857600080fd5b505afa1580156132ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d09190615099565b90612ea9565b6000610e80600b547f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161328091906151ea565b600080866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561336657600080fd5b505afa15801561337a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339e9190614fe8565b50505050505090506133c3816133b386613fa0565b6133bc86613fa0565b89896142b9565b9150505b95945050505050565b6000806000866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561340e57600080fd5b505afa158015613422573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134469190614fe8565b505050505050905061346a8161345b87613fa0565b61346487613fa0565b8961437b565b92509250505b94509492505050565b600061348f856134898685612ea9565b90613d67565b61349d856134898887612ea9565b116134a95760006133c7565b600195945050505050565b900490565b60006001600160a01b03831615806135025750816001600160a01b0316836001600160a01b03168385029250826001600160a01b0316816134f657fe5b046001600160a01b0316145b61096857600080fd5b8082016001600160a01b03808416908216101561096857600080fd5b8082036001600160a01b03808416908216111561096857600080fd5b60008060006040518060e00160405280888152602001878152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b8152509050600080896001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156135cd57600080fd5b505afa1580156135e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136059190614fe8565b50505050509150915061361981888861320f565b600290810b810b60c0860181905291810b900b60a0850181905284516020860151613646938e9390614416565b606085018190526040850182905260a085015160c086015161366d938e939092909161332a565b6001600160801b03166080840152825160208401516040850151606086015160009361369c9390929091613479565b905080156136e15760006136bb84866080015187600001516000614445565b90506136cf6136c982614536565b89613b63565b600290810b900b60c086015250613714565b60006136f88486608001518760200151600061483c565b90506137066136c982614536565b600290810b900b60a0860152505b6137268460a001518560c00151613baf565b8360a0015195508360c001519450505050509550959350505050565b5490565b600080613754308585612d88565b60405163514ea4bf60e01b81529091506001600160a01b0386169063514ea4bf90613783908490600401615355565b60a06040518083038186803b15801561379b57600080fd5b505afa1580156137af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d39190614f92565b509298975050505050505050565b6000808060001985870986860292508281109083900303905080613817576000841161380c57600080fd5b508290049050610da6565b80841161382357600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b0382166138b65760405162461bcd60e51b815260040161057c90615710565b6138c26000838361216e565b6002546138cf90826130c8565b6002556001600160a01b0382166000908152602081905260409020546138f590826130c8565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612d7c908590615355565b6001600160a01b038116600090815260066020526040812061396581613742565b915061397081614918565b50919050565b6000610968613983612ffe565b83614921565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156139cb5760405162461bcd60e51b815260040161057c90615446565b8360ff16601b14806139e057508360ff16601c145b6139fc5760405162461bcd60e51b815260040161057c906155d7565b600060018686868660405160008152602001604052604051613a2194939291906153be565b6020604051602081039080840390855afa158015613a43573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613a765760405162461bcd60e51b815260040161057c90615682565b90505b949350505050565b6000806000613a91308686612d88565b90506000806000886001600160a01b031663514ea4bf856040518263ffffffff1660e01b8152600401613ac49190615355565b60a06040518083038186803b158015613adc57600080fd5b505afa158015613af0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b149190614f92565b9450945050509250613b2889848a8a6133d0565b9096509450613b40866001600160801b0384166130c8565b9550613b55856001600160801b0383166130c8565b945050505050935093915050565b6000808260020b8460020b81613b7557fe5b05905060008460020b128015613b9c57508260020b8460020b81613b9557fe5b0760020b15155b15613ba657600019015b90910292915050565b8060020b8260020b12613bd45760405162461bcd60e51b815260040161057c90615480565b620d89e719600283900b1215613bfc5760405162461bcd60e51b815260040161057c90615665565b620d89e8600282900b1315613c235760405162461bcd60e51b815260040161057c90615648565b5050565b6040805160028082526060820183526000928492849290916020830190803683370190505090508181600081518110613c5c57fe5b602002602001019063ffffffff16908163ffffffff1681525050600081600181518110613c8557fe5b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0387169063883bdbfd90613cc9908590600401615300565b60006040518083038186803b158015613ce157600080fd5b505afa158015613cf5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d1d9190810190614d6d565b5090508263ffffffff1681600081518110613d3457fe5b602002602001015182600181518110613d4957fe5b60200260200101510360060b81613d5c57fe5b059695505050505050565b600082158061350257505081810281838281613d7f57fe5b041461096857600080fd5b806001600160801b0381168114610f8d57600080fd5b600080846001600160a01b031663a9059cbb60e01b8585604051602401613dc89291906152e7565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051613e0691906151b3565b6000604051808303816000865af19150503d8060008114613e43576040519150601f19603f3d011682016040523d82523d6000602084013e613e48565b606091505b5091509150818015613e72575080511580613e72575080806020019051810190613e729190614e35565b611dd35760405162461bcd60e51b815260040161057c9061562c565b600080856001600160a01b03166323b872dd60e01b868686604051602401613eb8939291906151fe565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051613ef691906151b3565b6000604051808303816000865af19150503d8060008114613f33576040519150601f19603f3d011682016040523d82523d6000602084013e613f38565b606091505b5091509150818015613f62575080511580613f62575080806020019051810190613f629190614e35565b61261d5760405162461bcd60e51b815260040161057c9061569e565b6000838383613f8b612625565b30604051602001612d9f959493929190615392565b60008060008360020b12613fb7578260020b613fbf565b8260020b6000035b9050620d89e8811115613fe45760405162461bcd60e51b815260040161057c906155f4565b600060018216613ff857600160801b61400a565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff169050600282161561403e576ffff97272373d413259a46990580e213a0260801c5b600482161561405d576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b600882161561407c576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b601082161561409b576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156140ba576fff973b41fa98c081472e6896dfb254c00260801c5b60408216156140d9576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156140f8576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615614118576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615614138576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615614158576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615614178576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615614198576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156141b8576fa9f746462d870fdf8a65dc1f90e061e50260801c5b6140008216156141d8576f70d869a156d2a1b890bb3df62baf32f70260801c5b6180008216156141f8576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615614219576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615614239576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615614258576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615614275576b048a170391f7dc42444e8fa20260801c5b60008460020b131561429057806000198161428c57fe5b0490505b6401000000008106156142a45760016142a7565b60005b60ff16602082901c0192505050919050565b6000836001600160a01b0316856001600160a01b031611156142d9579293925b846001600160a01b0316866001600160a01b031611614304576142fd858585614954565b90506133c7565b836001600160a01b0316866001600160a01b0316101561436657600061432b878686614954565b9050600061433a8789866149b7565b9050806001600160801b0316826001600160801b03161061435b578061435d565b815b925050506133c7565b6143718585846149b7565b9695505050505050565b600080836001600160a01b0316856001600160a01b0316111561439c579293925b846001600160a01b0316866001600160a01b0316116143c7576143c08585856149f4565b9150613470565b836001600160a01b0316866001600160a01b03161015614400576143ec8685856149f4565b91506143f9858785614a5d565b9050613470565b61440b858585614a5d565b905094509492505050565b6000806000614428888888888861332a565b9050614436888287876133d0565b90999098509650505050505050565b600082614453575083613a79565b6fffffffffffffffffffffffffffffffff60601b606085901b1682156144ea576001600160a01b0386168481029085828161448a57fe5b0414156144bb578181018281106144b9576144af83896001600160a01b031683614aa0565b9350505050613a79565b505b6144e1826144dc878a6001600160a01b031686816144d557fe5b04906130c8565b614ada565b92505050613a79565b6001600160a01b0386168481029085828161450157fe5b0414801561450e57508082115b61451757600080fd5b8082036144af614531846001600160a01b038b1684614aa0565b614ae5565b60006401000276a36001600160a01b03831610801590614572575073fffd8963efd1fc6a506488495d951d5263988d266001600160a01b038316105b61458e5760405162461bcd60e51b815260040161057c9061579c565b640100000000600160c01b03602083901b166001600160801b03811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c9790881196179094179092171790911717176080811061462257607f810383901c915061462c565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d607f198f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581026f028f6481ab7f045a5af012a19d003aa9198101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b1461482d57886001600160a01b031661481182613fa0565b6001600160a01b031611156148265781614828565b805b61482f565b815b9998505050505050505050565b600081156148aa5760006001600160a01b038411156148725761486d84600160601b876001600160801b03166137e1565b61488a565b6001600160801b038516606085901b8161488857fe5b045b90506148a26145316001600160a01b038816836130c8565b915050613a79565b60006001600160a01b038411156148d8576148d384600160601b876001600160801b0316614aa0565b6148ef565b6148ef606085901b6001600160801b038716614ada565b905080866001600160a01b03161161490657600080fd5b6001600160a01b038616039050613a79565b80546001019055565b600082826040516020016149369291906151cf565b60405160208183030381529060405280519060200120905092915050565b6000826001600160a01b0316846001600160a01b03161115614974579192915b6000614997856001600160a01b0316856001600160a01b0316600160601b6137e1565b90506133c76149b284838888036001600160a01b03166137e1565b613d8a565b6000826001600160a01b0316846001600160a01b031611156149d7579192915b613a796149b283600160601b8787036001600160a01b03166137e1565b6000826001600160a01b0316846001600160a01b03161115614a14579192915b836001600160a01b0316614a4d606060ff16846001600160801b0316901b8686036001600160a01b0316866001600160a01b03166137e1565b81614a5457fe5b04949350505050565b6000826001600160a01b0316846001600160a01b03161115614a7d579192915b613a79826001600160801b03168585036001600160a01b0316600160601b6137e1565b6000614aad8484846137e1565b905060008280614ab957fe5b8486091115610da6576000198110614ad057600080fd5b6001019392505050565b808204910615150190565b806001600160a01b0381168114610f8d57600080fd5b6040518060e001604052806000815260200160008152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b81525090565b600082601f830112614b57578081fd5b81516020614b6c614b6783615909565b6158e5565b8281528181019085830183850287018401881015614b88578586fd5b855b85811015614baf578151614b9d81615953565b84529284019290840190600101614b8a565b5090979650505050505050565b60008083601f840112614bcd578182fd5b50813567ffffffffffffffff811115614be4578182fd5b602083019150836020828501011115614bfc57600080fd5b9250929050565b8051600281900b8114610f8d57600080fd5b80516001600160801b0381168114610f8d57600080fd5b805161ffff81168114610f8d57600080fd5b600060208284031215614c4f578081fd5b8135610da681615953565b60008060408385031215614c6c578081fd5b8235614c7781615953565b91506020830135614c8781615953565b809150509250929050565b600080600060608486031215614ca6578081fd5b8335614cb181615953565b92506020840135614cc181615953565b929592945050506040919091013590565b600080600080600080600060e0888a031215614cec578283fd5b8735614cf781615953565b96506020880135614d0781615953565b955060408801359450606088013593506080880135614d2581615979565b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215614d54578182fd5b8235614d5f81615953565b946020939093013593505050565b60008060408385031215614d7f578182fd5b825167ffffffffffffffff80821115614d96578384fd5b818501915085601f830112614da9578384fd5b81516020614db9614b6783615909565b82815281810190858301838502870184018b1015614dd5578889fd5b8896505b84871015614e055780518060060b8114614df157898afd5b835260019690960195918301918301614dd9565b5091880151919650909350505080821115614e1e578283fd5b50614e2b85828601614b47565b9150509250929050565b600060208284031215614e46578081fd5b8151610da68161596b565b600060208284031215614e62578081fd5b610da682614c03565b60008060408385031215614e7d578182fd5b505080516020909101519092909150565b60008060008060608587031215614ea3578182fd5b8435935060208501359250604085013567ffffffffffffffff811115614ec7578283fd5b614ed387828801614bbc565b95989497509550505050565b600060208284031215614ef0578081fd5b6040516020810181811067ffffffffffffffff82111715614f0d57fe5b6040528235614f1b81615953565b81529392505050565b600060208284031215614f35578081fd5b6040516020810181811067ffffffffffffffff82111715614f5257fe5b6040528235614f1b8161596b565b60008060408385031215614f72578182fd5b614f7b83614c15565b9150614f8960208401614c15565b90509250929050565b600080600080600060a08688031215614fa9578283fd5b614fb286614c15565b94506020860151935060408601519250614fce60608701614c15565b9150614fdc60808701614c15565b90509295509295909350565b600080600080600080600060e0888a031215615002578081fd5b875161500d81615953565b965061501b60208901614c03565b955061502960408901614c2c565b945061503760608901614c2c565b935061504560808901614c2c565b925060a088015161505581615979565b60c08901519092506150668161596b565b8091505092959891949750929550565b600060208284031215615087578081fd5b815162ffffff81168114610da6578182fd5b6000602082840312156150aa578081fd5b5051919050565b600080604083850312156150c3578182fd5b823591506020830135614c8781615953565b600080604083850312156150e7578182fd5b50508035926020909101359150565b60008060006060848603121561510a578081fd5b8335925060208401359150604084013561512381615953565b809150509250925092565b60006020828403121561513f578081fd5b815163ffffffff81168114610da6578182fd5b6000815180845261516a816020860160208601615927565b601f01601f19169290920160200192915050565b60609390931b6bffffffffffffffffffffffff19168352600291820b60e890811b6014850152910b901b6017820152601a0190565b600082516151c5818460208701615927565b9190910192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0386811682528515156020830152604082018590528316606082015260a06080820181905260009061525d90830184615152565b979650505050505050565b600060018060a01b03871682528560020b60208301528460020b60408301526001600160801b038416606083015260a0608083015261525d60a0830184615152565b6001600160a01b03959095168552600293840b60208601529190920b60408401526001600160801b03918216606084015216608082015260a00190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561533e57835163ffffffff168352928401929184019160010161531c565b50909695505050505050565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b60029190910b815260200190565b600293840b81529190920b60208201526001600160801b03909116604082015260600190565b600294850b81529290930b60208301526040820152606081019190915260800190565b600060208252610da66020830184615152565b60208082526003908201526249535360e81b604082015260600190565b602080825260039082015262575a4160e81b604082015260600190565b602080825260039082015262544c5560e81b604082015260600190565b602080825260029082015261545360f01b604082015260600190565b602080825260029082015261115160f21b604082015260600190565b602080825260029082015261046560f41b604082015260600190565b60208082526004908201526341465a4160e01b604082015260600190565b602080825260039082015262425a4160e81b604082015260600190565b602080825260029082015261504760f01b604082015260600190565b602080825260039082015262545a4160e81b604082015260600190565b60208082526003908201526220a72b60e91b604082015260600190565b602080825260039082015262465a4160e81b604082015260600190565b6020808252600390820152622098a360e91b604082015260600190565b6020808252600190820152600560fc1b604082015260600190565b60208082526003908201526224a9ab60e91b604082015260600190565b6020808252600190820152601560fa1b604082015260600190565b6020808252600390820152624d545360e81b604082015260600190565b60208082526002908201526114d560f21b604082015260600190565b60208082526003908201526254554d60e81b604082015260600190565b602080825260039082015262544c4d60e81b604082015260600190565b602080825260029082015261495360f01b604082015260600190565b60208082526003908201526229aa2360e91b604082015260600190565b6020808252600390820152622622ad60e91b604082015260600190565b60208082526003908201526250534360e81b604082015260600190565b6020808252600190820152605360f81b604082015260600190565b6020808252600390820152624d5a4160e81b604082015260600190565b6020808252600290820152614e4160f01b604082015260600190565b6020808252600190820152602360f91b604082015260600190565b60208082526002908201526104e560f41b604082015260600190565b602080825260029082015261454160f01b604082015260600190565b6020808252600190820152602960f91b604082015260600190565b6020808252600390820152624f4e4160e81b604082015260600190565b6020808252600290820152614f4760f01b604082015260600190565b60208082526004908201526341545a4160e01b604082015260600190565b602080825260029082015261524360f01b604082015260600190565b60208082526003908201526220982360e91b604082015260600190565b90516001600160a01b0316815260200190565b90511515815260200190565b6001600160801b0395861681526020810194909452604084019290925283166060830152909116608082015260a00190565b918252602082015260400190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60405181810167ffffffffffffffff8111828210171561590157fe5b604052919050565b600067ffffffffffffffff82111561591d57fe5b5060209081020190565b60005b8381101561594257818101518382015260200161592a565b83811115612ea35750506000910152565b6001600160a01b038116811461596857600080fd5b50565b801515811461596857600080fd5b60ff8116811461596857600080fdfe492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b198a26469706673582212209ec1d1b97c088e8904ad528d395ddbc67d4e4ae9429e69b8d358833d8432235f64736f6c63430007060033

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

000000000000000000000000381fe4eb128db1621647ca00965da3f9e09f4fac00000000000000000000000090e4f7330d0de80aed14135fbba4f0ddfcf894f6

-----Decoded View---------------
Arg [0] : _pool (address): 0x381fE4Eb128db1621647cA00965da3F9e09F4fAc
Arg [1] : _strategy (address): 0x90E4f7330d0De80aeD14135fBBA4f0DdFCF894F6

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000381fe4eb128db1621647ca00965da3f9e09f4fac
Arg [1] : 00000000000000000000000090e4f7330d0de80aed14135fbba4f0ddfcf894f6


Deployed Bytecode Sourcemap

90868:22780:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99007:692;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;58983:91;;;:::i;:::-;;;;;;;:::i;106750:399::-;;;:::i;:::-;;;;;;;;;;;:::i;61129:169::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;94944:40::-;;;:::i;:::-;;;;;;;:::i;110154:805::-;;;;;;:::i;:::-;;:::i;:::-;;96346:23;;;:::i;95498:35::-;;;:::i;60082:108::-;;;:::i;:::-;;;;;;;:::i;111788:242::-;;;:::i;61780:284::-;;;;;;:::i;:::-;;:::i;112258:122::-;;;;;;:::i;:::-;;:::i;59926:91::-;;;:::i;:::-;;;;;;;:::i;112098:152::-;;;;;;:::i;:::-;;:::i;69854:115::-;;;:::i;62473:218::-;;;;;;:::i;:::-;;:::i;113557:88::-;;;:::i;95589:28::-;;;:::i;96265:31::-;;;:::i;:::-;;;;;;;:::i;96172:::-;;;:::i;95929:25::-;;;:::i;95673:28::-;;;:::i;112527:122::-;;;;;;:::i;:::-;;:::i;60253:127::-;;;;;;:::i;:::-;;:::i;101022:3351::-;;;:::i;69596:128::-;;;;;;:::i;:::-;;:::i;95763:25::-;;;:::i;113328:88::-;;;:::i;97706:1247::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;59193:95::-;;;:::i;63194:235::-;;;;;;:::i;:::-;;:::i;96088:23::-;;;:::i;60593:175::-;;;;;;:::i;:::-;;:::i;111490:118::-;;;;;;:::i;:::-;;:::i;95121:43::-;;;:::i;95033:40::-;;;:::i;107974:421::-;;;;;;:::i;:::-;;:::i;68814:716::-;;;;;;:::i;:::-;;:::i;107224:248::-;;;:::i;60831:151::-;;;;;;:::i;:::-;;:::i;97103:548::-;;;:::i;99753:1219::-;;;:::i;95850:25::-;;;:::i;96004:32::-;;;:::i;112392:123::-;;;;;;:::i;:::-;;:::i;108810:586::-;;;;;;:::i;:::-;;:::i;99007:692::-;99216:15;99246;89525:1;90122:7;;:19;;90114:34;;;;-1:-1:-1;;;90114:34:0;;;;;;;:::i;:::-;;;;;;;;;89525:1;90226:7;:18;111244:8:::1;::::0;111225:47:::1;::::0;;-1:-1:-1;;;111225:47:0;;;;111205:113:::1;::::0;-1:-1:-1;;;;;111244:8:0::1;::::0;111225:45:::1;::::0;:47:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;111244:8;111225:47;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;111293:8;;;;;;;;;-1:-1:-1::0;;;;;111293:8:0::1;-1:-1:-1::0;;;;;111274:41:0::1;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;111205:4;::::0;-1:-1:-1;;;;;111205:4:0::1;::::0;:113;:19:::1;:113::i;:::-;112889:7:::2;::::0;-1:-1:-1;;;112889:7:0;::::2;;;112888:8;112880:22;;;;-1:-1:-1::0;;;112880:22:0::2;;;;;;;:::i;:::-;99306:1:::3;99297:6;:10;99289:24;;;;-1:-1:-1::0;;;99289:24:0::3;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;99332:16:0;::::3;99324:32;;;;-1:-1:-1::0;;;99324:32:0::3;;;;;;;:::i;:::-;99367:11;:9;:11::i;:::-;99389:15;:13;:15::i;:::-;-1:-1:-1::0;;99460:9:0::3;::::0;99436:73:::3;::::0;-1:-1:-1;;;99460:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;99471:9:0;::::3;::::0;::::3;99482:13;:11;:13::i;:::-;99436:4;::::0;-1:-1:-1;;;;;99436:4:0::3;::::0;:73;;99497:6;99506:2;99436:23:::3;:73::i;:::-;99415:94:::0;;-1:-1:-1;99415:94:0;-1:-1:-1;99528:11:0;;;;:26:::3;;;99553:1;99543:7;:11;99528:26;99520:41;;;;-1:-1:-1::0;;;99520:41:0::3;;;;;;;:::i;:::-;99598:25;99604:10;99616:6;99598:5;:25::i;:::-;99662:2;-1:-1:-1::0;;;;;99641:50:0::3;99650:10;-1:-1:-1::0;;;;;99641:50:0::3;;99666:6;99674:7;99683;99641:50;;;;;;;;:::i;:::-;;;;;;;;89481:1:::0;90405:7;:22;99007:692;;;;-1:-1:-1;99007:692:0;-1:-1:-1;99007:692:0:o;58983:91::-;59061:5;59054:12;;;;;;;;-1:-1:-1;;59054:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59028:13;;59054:12;;59061:5;;59054:12;;59061:5;59054:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58983:91;;:::o;106750:399::-;106793:17;106812:32;106846;106880:19;106901;106933;106955:56;106983:4;106990:9;;;;;;;;;;;107001;;;;;;;;;;;106955:19;:56::i;:::-;107114:4;;:27;;-1:-1:-1;;;107114:27:0;;106933:78;;-1:-1:-1;;;;;;107114:4:0;;:14;;:27;;106933:78;;107114:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;107022:119;;;;-1:-1:-1;107022:119:0;;-1:-1:-1;107022:119:0;-1:-1:-1;107022:119:0;;-1:-1:-1;106750:399:0;-1:-1:-1;;106750:399:0:o;61129:169::-;61212:4;61229:39;61238:12;:10;:12::i;:::-;61252:7;61261:6;61229:8;:39::i;:::-;-1:-1:-1;61286:4:0;61129:169;;;;;:::o;94944:40::-;;;:::o;110154:805::-;89525:1;90122:7;;:19;;90114:34;;;;-1:-1:-1;;;90114:34:0;;;;;;;:::i;:::-;89525:1;90226:7;:18;94857:10:::1;::::0;-1:-1:-1;;;;;94857:10:0::1;94843;:24;94835:39;;;;-1:-1:-1::0;;;94835:39:0::1;;;;;;;:::i;:::-;110290:11:::2;:9;:11::i;:::-;110337:7;110320:13;;:24;;110312:40;;;;-1:-1:-1::0;;;110312:40:0::2;;;;;;;:::i;:::-;110388:7;110371:13;;:24;;110363:40;;;;-1:-1:-1::0;;;110363:40:0::2;;;;;;;:::i;:::-;110433:39;::::0;-1:-1:-1;;;110433:39:0;;110414:16:::2;::::0;-1:-1:-1;;;;;110440:6:0::2;110433:24;::::0;::::2;::::0;:39:::2;::::0;110466:4:::2;::::0;110433:39:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;110414:58;;110483:16;110509:6;-1:-1:-1::0;;;;;110502:24:0::2;;110535:4;110502:39;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;110483:58;;110572:7;110560:8;:19;;:42;;;;;110595:7;110583:8;:19;;110560:42;110552:51;;;::::0;::::2;;110618:11:::0;;110614:64:::2;;110631:47;110635:6;110651:4;110658:10;110670:7;110631:3;:47::i;:::-;110693:11:::0;;110689:64:::2;;110706:47;110710:6;110726:4;110733:10;110745:7;110706:3;:47::i;:::-;110790:13;::::0;:26:::2;::::0;110808:7;110790:17:::2;:26::i;:::-;110774:13;:42:::0;110843:13:::2;::::0;:26:::2;::::0;110861:7;110843:17:::2;:26::i;:::-;110827:13;:42:::0;110880:15:::2;:13;:15::i;:::-;;;110922:10;-1:-1:-1::0;;;;;110911:40:0::2;;110934:7;110943;110911:40;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;89481:1:0;90405:7;:22;-1:-1:-1;;110154:805:0:o;96346:23::-;;;-1:-1:-1;;;96346:23:0;;;;;:::o;95498:35::-;;;-1:-1:-1;;;;;95498:35:0;;:::o;60082:108::-;60170:12;;60082:108;:::o;111788:242::-;111858:17;;-1:-1:-1;;;;;111858:17:0;111844:10;:31;111836:46;;;;-1:-1:-1;;;111836:46:0;;;;;;;:::i;:::-;111929:17;;111917:10;;111898:49;;-1:-1:-1;;;;;111929:17:0;;;;111917:10;;;;111898:49;;111929:17;;111898:49;111958:17;:30;;-1:-1:-1;;;;;;111958:30:0;;;;;;111999:10;:23;;;;;112012:10;111999:23;;;111788:242::o;61780:284::-;61886:4;61903:36;61913:6;61921:9;61932:6;61903:9;:36::i;:::-;61950:84;61959:6;61967:12;:10;:12::i;:::-;61981:52;62019:6;61981:52;;;;;;;;;;;;;-1:-1:-1;;;61981:52:0;;;:11;:19;61993:6;-1:-1:-1;;;;;61981:19:0;-1:-1:-1;;;;;61981:19:0;;;;;;;;;;;;:33;62001:12;:10;:12::i;:::-;-1:-1:-1;;;;;61981:33:0;;;;;;;;;;;;-1:-1:-1;61981:33:0;;;:52;:37;:52::i;:::-;61950:8;:84::i;:::-;-1:-1:-1;62052:4:0;61780:284;;;;;;:::o;112258:122::-;94857:10;;-1:-1:-1;;;;;94857:10:0;94843;:24;94835:39;;;;-1:-1:-1;;;94835:39:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;112337:28:0::1;;::::0;;;:17:::1;:28;::::0;;;;:35;;-1:-1:-1;;112337:35:0::1;112368:4;112337:35;::::0;;112258:122::o;59926:91::-;60000:9;;;;59926:91;:::o;112098:152::-;94857:10;;-1:-1:-1;;;;;94857:10:0;94843;:24;94835:39;;;;-1:-1:-1;;;94835:39:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;112181:23:0;::::1;112173:38;;;;-1:-1:-1::0;;;112173:38:0::1;;;;;;;:::i;:::-;112222:8;:20:::0;;-1:-1:-1;;;;;;112222:20:0::1;-1:-1:-1::0;;;;;112222:20:0;;;::::1;::::0;;;::::1;::::0;;112098:152::o;69854:115::-;69914:7;69941:20;:18;:20::i;:::-;69934:27;;69854:115;:::o;62473:218::-;62561:4;62578:83;62587:12;:10;:12::i;:::-;62601:7;62610:50;62649:10;62610:11;:25;62622:12;:10;:12::i;:::-;-1:-1:-1;;;;;62610:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;62610:25:0;;;:34;;;;;;;;;;;:38;:50::i;113557:88::-;94857:10;;-1:-1:-1;;;;;94857:10:0;94843;:24;94835:39;;;;-1:-1:-1;;;94835:39:0;;;;;;;:::i;:::-;113150:7:::1;::::0;-1:-1:-1;;;113150:7:0;::::1;;;113142:22;;;;-1:-1:-1::0;;;113142:22:0::1;;;;;;;:::i;:::-;113622:7:::2;:15:::0;;-1:-1:-1;;;;113622:15:0::2;::::0;;113557:88::o;95589:28::-;;;;:::o;96265:31::-;;;-1:-1:-1;;;96265:31:0;;;;;:::o;96172:::-;;;-1:-1:-1;;;96172:31:0;;;;;:::o;95929:25::-;;;-1:-1:-1;;;;;95929:25:0;;:::o;95673:28::-;;;;:::o;112527:122::-;-1:-1:-1;;;;;112613:28:0;;112589:4;112613:28;;;:17;:28;;;;;;;;112527:122;;;;:::o;60253:127::-;-1:-1:-1;;;;;60354:18:0;60327:7;60354:18;;;;;;;;;;;;60253:127::o;101022:3351::-;89525:1;90122:7;;:19;;90114:34;;;;-1:-1:-1;;;90114:34:0;;;;;;;:::i;:::-;89525:1;90226:7;:18;111244:8:::1;::::0;111225:47:::1;::::0;;-1:-1:-1;;;111225:47:0;;;;111205:113:::1;::::0;-1:-1:-1;;;;;111244:8:0::1;::::0;111225:45:::1;::::0;:47:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;111244:8;111225:47;::::1;;::::0;::::1;;;;::::0;::::1;111205:113;101126:10:::2;101108:29;::::0;;;:17:::2;:29;::::0;;;;;::::2;;101100:45;;;;-1:-1:-1::0;;;101100:45:0::2;;;;;;;:::i;:::-;101156:11;:9;:11::i;:::-;101277:9;::::0;101255:4:::2;::::0;:43:::2;::::0;-1:-1:-1;;;;;101255:4:0;;::::2;::::0;-1:-1:-1;;;101277:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;101288:9:0;::::2;::::0;::::2;101255:21;:43::i;:::-;101347:20;101369:17:::0;101400:4:::2;;;;;;;;;-1:-1:-1::0;;;;;101400:4:0::2;-1:-1:-1::0;;;;;101400:10:0::2;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101346:66;;;;;;;;;101423:31;;:::i;:::-;101520:8;::::0;101501:50:::2;::::0;;-1:-1:-1;;;101501:50:0;;;;101465:19:::2;::::0;-1:-1:-1;;;;;101520:8:0::2;::::0;101501:48:::2;::::0;:50:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;101520:8;101501:50;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101487:11;:64;101465:86;;101599:64;101623:11;101636:13;101651:11;101599:23;:64::i;:::-;101562:101;::::0;;::::2;::::0;::::2;101580:15;::::0;::::2;101562:101:::0;;;::::2;::::0;::::2;101563:15;::::0;::::2;101562:101:::0;101707:11:::2;:9;:11::i;:::-;101684:34:::0;;101752:11:::2;:9;:11::i;:::-;101729:20;::::0;::::2;:34:::0;;;101788:20;;101779:52:::2;::::0;-1:-1:-1;;;;;;;;;;;101779:52:0;::::2;::::0;101788:20;101779:52:::2;:::i;:::-;;;;;;;;101927:20:::0;;101949::::2;::::0;::::2;::::0;101971:15:::2;::::0;::::2;::::0;101988::::2;::::0;::::2;::::0;101902:4:::2;::::0;:102:::2;::::0;-1:-1:-1;;;;;101902:4:0;;::::2;::::0;101927:20;;101949;;101902:24:::2;:102::i;:::-;-1:-1:-1::0;;;;;101884:120:0::2;:15;::::0;::::2;:120:::0;;;102137:15:::2;::::0;::::2;::::0;102154::::2;::::0;::::2;::::0;102095:4:::2;::::0;:75:::2;::::0;-1:-1:-1;;;;;102095:4:0;;::::2;::::0;101884:120;;102095:24:::2;:75::i;:::-;102078:13;::::0;::::2;102062:108:::0;;;102063:13:::2;::::0;::::2;102062:108:::0;;;102265:20;;-1:-1:-1;102287:20:0;::::2;::::0;-1:-1:-1;;102234:104:0::2;::::0;:30:::2;:104::i;:::-;102216:122;;102474:22;102513:10;:170;;102630:52;102680:1;102630:39;102655:5;:13;;;102630:5;:20;;;:24;;:39;;;;:::i;:::-;:49:::0;::::2;:52::i;:::-;102513:170;;;102575:13;::::0;::::2;::::0;102550:20;;:52:::2;::::0;102600:1:::2;::::0;102550:39:::2;::::0;:24:::2;:39::i;:52::-;102474:209;;102828:28;95246:3;102859:97;;:77;102934:1;102898:8;;;;;;;;;-1:-1:-1::0;;;;;102898:8:0::2;-1:-1:-1::0;;;;;102879:50:0::2;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;;;;;-1:-1:-1::0;;;;;102859:19:0;::::2;::::0;:77:::2;102879:56:::0;::::2;102859:77;:19;:77::i;:::-;-1:-1:-1::0;;;;;102859:97:0::2;;;;;;;102828:128;;102967:25;102995:10;:99;;103053:41;-1:-1:-1::0;;;;;103053:19:0;::::2;103073:20:::0;103053:19:::2;:41::i;:::-;102995:99;;;103009:41;-1:-1:-1::0;;;;;103009:19:0;::::2;103029:20:::0;103009:19:::2;:41::i;:::-;103230:4;::::0;103380:42:::2;::::0;;::::2;::::0;;::::2;::::0;;;::::2;;::::0;;103369:54;;102967:127;;-1:-1:-1;;;;;;103230:4:0;;::::2;::::0;:9:::2;::::0;103262:4:::2;::::0;103282:10;;103307:15;;102967:127;;103369:54:::2;::::0;::::2;;:::i;:::-;;;;;;;;;;;;;103230:204;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::2;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;103489:4;;;;;;;;;-1:-1:-1::0;;;;;103489:4:0::2;-1:-1:-1::0;;;;;103489:10:0::2;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;103449:52:0;;-1:-1:-1;103449:52:0;;-1:-1:-1;103582:11:0::2;::::0;-1:-1:-1;103582:9:0::2;::::0;-1:-1:-1;;;103582:11:0:i:2;:::-;103559:34:::0;;103627:11:::2;:9;:11::i;:::-;103604:20;::::0;::::2;:34:::0;;;103663:20;;103654:52:::2;::::0;-1:-1:-1;;;;;;;;;;;103654:52:0;::::2;::::0;103663:20;103654:52:::2;:::i;:::-;;;;;;;;103829:20:::0;;103851::::2;::::0;::::2;::::0;103807:4:::2;::::0;:93:::2;::::0;-1:-1:-1;;;;;103807:4:0;;::::2;::::0;103873:13;103888:11:::2;103807:21;:93::i;:::-;103783:9;103782:118:::0;;-1:-1:-1;;;;103782:118:0::2;-1:-1:-1::0;;;103782:118:0::2;::::0;;::::2;;::::0;;::::2;::::0;::::2;::::0;;;::::2;-1:-1:-1::0;;;;103782:118:0::2;-1:-1:-1::0;;;103782:118:0;;::::2;::::0;;;::::2;::::0;::::2;::::0;;;::::2;::::0;;;;103956:20;;103978::::2;::::0;::::2;::::0;103931:4:::2;::::0;:90:::2;::::0;-1:-1:-1;;;;;103931:4:0;;::::2;::::0;103956:20;;103978;;104000:9;;::::2;::::0;::::2;::::0;104011;::::2;::::0;::::2;103931:24;:90::i;:::-;-1:-1:-1::0;;;;;103913:108:0::2;:15;::::0;::::2;:108:::0;;;104105:4:::2;::::0;104157:9:::2;::::0;104246:40:::2;::::0;;::::2;::::0;;::::2;::::0;;104137:4:::2;104246:40:::0;;;104235:52;;-1:-1:-1;;;;;104105:4:0;;::::2;::::0;:9:::2;::::0;104137:4;;-1:-1:-1;;;104157:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;104181:9:0;;::::2;::::0;::::2;::::0;103913:108;;104235:52:::2;::::0;104246:40;104235:52:::2;;:::i;:::-;;;;;;;;;;;;;104105:183;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::2;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104088:13;::::0;::::2;104072:216:::0;;;104073:13:::2;::::0;;::::2;104072:216:::0;;;104314:9:::2;::::0;104306:59;;::::2;::::0;::::2;::::0;-1:-1:-1;;;104314:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;104325:9:0;::::2;::::0;::::2;::::0;104306:59:::2;:::i;:::-;;;;;;;;-1:-1:-1::0;;89481:1:0;90405:7;:22;-1:-1:-1;;;;;;101022:3351:0:o;69596:128::-;-1:-1:-1;;;;;69692:14:0;;69665:7;69692:14;;;:7;:14;;;;;:24;;:22;:24::i;95763:25::-;;;;:::o;113328:88::-;94857:10;;-1:-1:-1;;;;;94857:10:0;94843;:24;94835:39;;;;-1:-1:-1;;;94835:39:0;;;;;;;:::i;:::-;112889:7:::1;::::0;-1:-1:-1;;;112889:7:0;::::1;;;112888:8;112880:22;;;;-1:-1:-1::0;;;112880:22:0::1;;;;;;;:::i;:::-;113394:7:::2;:14:::0;;-1:-1:-1;;;;113394:14:0::2;-1:-1:-1::0;;;113394:14:0::2;::::0;;113328:88::o;97706:1247::-;97954:14;97983:15;98013;89525:1;90122:7;;:19;;90114:34;;;;-1:-1:-1;;;90114:34:0;;;;;;;:::i;:::-;89525:1;90226:7;:18;111244:8:::1;::::0;111225:47:::1;::::0;;-1:-1:-1;;;111225:47:0;;;;111205:113:::1;::::0;-1:-1:-1;;;;;111244:8:0::1;::::0;111225:45:::1;::::0;:47:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;111244:8;111225:47;::::1;;::::0;::::1;;;;::::0;::::1;111205:113;112889:7:::2;::::0;-1:-1:-1;;;112889:7:0;::::2;;;112888:8;112880:22;;;;-1:-1:-1::0;;;112880:22:0::2;;;;;;;:::i;:::-;98056:11:::3;:9;:11::i;:::-;98078:15;:13;:15::i;:::-;-1:-1:-1::0;;98181:9:0::3;::::0;98158:4:::3;::::0;98134:21:::3;::::0;98158:44:::3;::::0;-1:-1:-1;;;;;98158:4:0::3;::::0;-1:-1:-1;;;98181:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;98192:9:0;::::3;::::0;::::3;98158:22;:44::i;:::-;98341:9;::::0;98284:4:::3;::::0;98134:68;;-1:-1:-1;98264:17:0::3;::::0;98284:78:::3;::::0;-1:-1:-1;;;;;98284:4:0;;::::3;::::0;98309:14;;98325;;-1:-1:-1;;;98341:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;98352:9:0;::::3;::::0;::::3;98284:24;:78::i;:::-;98404:4;::::0;98456:9:::3;::::0;98539:37:::3;::::0;;::::3;::::0;;::::3;::::0;;98564:10:::3;98539:37:::0;;98528:49;;98264:98;;-1:-1:-1;;;;;;98404:4:0;;::::3;::::0;:9:::3;::::0;98436:4:::3;::::0;-1:-1:-1;;;98456:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;98480:9:0;;::::3;::::0;::::3;::::0;98264:98;;98528:49:::3;::::0;98539:37;;98528:49:::3;;:::i;:::-;;;;;;;;;;;;;98404:174;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::3;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;98383:195:::0;;-1:-1:-1;98383:195:0;-1:-1:-1;98607:11:0;;;;;:26:::3;;;98632:1;98622:7;:11;98607:26;98599:42;;;;-1:-1:-1::0;;;98599:42:0::3;;;;;;;:::i;:::-;98661:13;:11;:13::i;:::-;:18:::0;:100:::3;;98705:56;98721:9;-1:-1:-1::0;;;;;98705:56:0::3;98732:13;:11;:13::i;:::-;98747;-1:-1:-1::0;;;;;98705:56:0::3;:15;:56::i;:::-;98661:100;;;-1:-1:-1::0;;;;;95200:3:0::3;98682:20:::0;::::3;98661:100;;98652:109;;98774:17;98780:2;98784:6;98774:5;:17::i;:::-;98859:13;:11;:13::i;:::-;98829:8;;;;;;;;;-1:-1:-1::0;;;;;98829:8:0::3;-1:-1:-1::0;;;;;98810:43:0::3;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;;98802:78;;;;-1:-1:-1::0;;;98802:78:0::3;;;;;;;:::i;:::-;98916:2;-1:-1:-1::0;;;;;98896:49:0::3;98904:10;-1:-1:-1::0;;;;;98896:49:0::3;;98920:6;98928:7;98937;98896:49;;;;;;;;:::i;:::-;;;;;;;;112913:1;;89481::::0;90405:7;:22;;;;97706:1247;;;;;;;:::o;59193:95::-;59273:7;59266:14;;;;;;;;-1:-1:-1;;59266:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59240:13;;59266:14;;59273:7;;59266:14;;59273:7;59266:14;;;;;;;;;;;;;;;;;;;;;;;;63194:235;63287:4;63304:95;63313:12;:10;:12::i;:::-;63327:7;63336:62;63375:15;63336:62;;;;;;;;;;;;;-1:-1:-1;;;63336:62:0;;;:11;:25;63348:12;:10;:12::i;:::-;-1:-1:-1;;;;;63336:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;63336:25:0;;;:34;;;;;;;;;;;:62;:38;:62::i;96088:23::-;;;-1:-1:-1;;;;;96088:23:0;;:::o;60593:175::-;60679:4;60696:42;60706:12;:10;:12::i;:::-;60720:9;60731:6;60696:9;:42::i;111490:118::-;94857:10;;-1:-1:-1;;;;;94857:10:0;94843;:24;94835:39;;;;-1:-1:-1;;;94835:39:0;;;;;;;:::i;:::-;111569:17:::1;:31:::0;;-1:-1:-1;;;;;;111569:31:0::1;-1:-1:-1::0;;;;;111569:31:0;;;::::1;::::0;;;::::1;::::0;;111490:118::o;95121:43::-;;;:::o;95033:40::-;;;:::o;107974:421::-;108144:4;;-1:-1:-1;;;;;108144:4:0;108122:10;:27;108114:42;;;;-1:-1:-1;;;108114:42:0;;;;;;;:::i;:::-;108167:31;108201:36;;;;108212:4;108201:36;:::i;:::-;108167:70;-1:-1:-1;108252:11:0;;108248:64;;108265:47;108269:6;108277:7;:13;;;108292:10;108304:7;108265:3;:47::i;:::-;108327:11;;108323:64;;108340:47;108344:6;108352:7;:13;;;108367:10;108379:7;108340:3;:47::i;:::-;107974:421;;;;;:::o;68814:716::-;69043:8;69024:15;:27;;69016:42;;;;-1:-1:-1;;;69016:42:0;;;;;;;:::i;:::-;69071:18;69145:16;69180:5;69204:7;69230:5;69254:16;69264:5;69254:9;:16::i;:::-;69289:8;69116:196;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;69092:231;;;;;;69071:252;;69336:12;69351:28;69368:10;69351:16;:28::i;:::-;69336:43;;69392:14;69409:28;69423:4;69429:1;69432;69435;69409:13;:28::i;:::-;69392:45;;69466:5;-1:-1:-1;;;;;69456:15:0;:6;-1:-1:-1;;;;;69456:15:0;;69448:30;;;;-1:-1:-1;;;69448:30:0;;;;;;;:::i;:::-;69491:31;69500:5;69507:7;69516:5;69491:8;:31::i;:::-;68814:716;;;;;;;;;;:::o;107224:248::-;107353:9;;107335:4;;107269:15;;;;107335:39;;-1:-1:-1;;;;;107335:4:0;;;;-1:-1:-1;;;107353:9:0;;;;;;;-1:-1:-1;;;107364:9:0;;;;107335:17;:39::i;:::-;107314:60;;-1:-1:-1;107314:60:0;-1:-1:-1;107395:24:0;107407:11;:9;:11::i;:::-;107395:7;;:11;:24::i;:::-;107385:34;;107440:24;107452:11;:9;:11::i;:::-;107440:7;;:11;:24::i;:::-;107430:34;;107224:248;;:::o;60831:151::-;-1:-1:-1;;;;;60947:18:0;;;60920:7;60947:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;60831:151::o;97103:548::-;94857:10;;-1:-1:-1;;;;;94857:10:0;94843;:24;94835:39;;;;-1:-1:-1;;;94835:39:0;;;;;;;:::i;:::-;97163:11:::1;::::0;-1:-1:-1;;;97163:11:0;::::1;;;97162:12;97154:26;;;;-1:-1:-1::0;;;97154:26:0::1;;;;;;;:::i;:::-;97191:11;:18:::0;;-1:-1:-1;;;;97191:18:0::1;-1:-1:-1::0;;;97191:18:0::1;::::0;;;;97256:50:::1;::::0;;-1:-1:-1;;;97256:50:0;;;;97191:18;;-1:-1:-1;;;;;97275:8:0::1;::::0;97256:48:::1;::::0;:50:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;97275:8;97256:50;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97242:11;:64;97220:86;;97321:17;97352:4;;;;;;;;;-1:-1:-1::0;;;;;97352:4:0::1;-1:-1:-1::0;;;;;97352:10:0::1;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97317:47;;;;;;;;97375:15;97393:45;97413:11;97426;97393:19;:45::i;:::-;97459:9;:37:::0;;-1:-1:-1;;;;97459:37:0::1;-1:-1:-1::0;;;97471:25:0;;::::1;97459:37;::::0;;::::1;;::::0;;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;;;97507:37:0::1;-1:-1:-1::0;;;97519:25:0;;::::1;97507:37:::0;::::1;::::0;;;::::1;::::0;::::1;;::::0;;;;97519:25;;-1:-1:-1;97555:46:0::1;::::0;97580:9;;::::1;::::0;::::1;::::0;97591;;;::::1;::::0;::::1;97555:24;:46::i;:::-;94885:1;;;97103:548::o:0;99753:1219::-;89525:1;90122:7;;:19;;90114:34;;;;-1:-1:-1;;;90114:34:0;;;;;;;:::i;:::-;89525:1;90226:7;:18;111244:8:::1;::::0;111225:47:::1;::::0;;-1:-1:-1;;;111225:47:0;;;;111205:113:::1;::::0;-1:-1:-1;;;;;111244:8:0::1;::::0;111225:45:::1;::::0;:47:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;111244:8;111225:47;::::1;;::::0;::::1;;;;::::0;::::1;111205:113;99855:10:::2;99837:29;::::0;;;:17:::2;:29;::::0;;;;;::::2;;99829:45;;;;-1:-1:-1::0;;;99829:45:0::2;;;;;;;:::i;:::-;99885:11;:9;:11::i;:::-;100006:9;::::0;99984:4:::2;::::0;:43:::2;::::0;-1:-1:-1;;;;;99984:4:0;;::::2;::::0;-1:-1:-1;;;100006:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;100017:9:0;::::2;::::0;::::2;99984:21;:43::i;:::-;100095:16;100114:11;:9;:11::i;:::-;100095:30;;100136:16;100155:11;:9;:11::i;:::-;100136:30;;-1:-1:-1::0;;;;;;;;;;;100191:8:0::2;100201;100182:28;;;;;;;:::i;:::-;;;;;;;;100278:8;::::0;100259:50:::2;::::0;;-1:-1:-1;;;100259:50:0;;;;100223:19:::2;::::0;-1:-1:-1;;;;;100278:8:0::2;::::0;100259:48:::2;::::0;:50:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;100278:8;100259:50;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100408:4;::::0;100245:11:::2;:64:::0;;::::2;::::0;-1:-1:-1;100408:69:0::2;::::0;-1:-1:-1;;;;;100408:4:0;;::::2;::::0;100430:8;;100440;;100245:64;;100408:21:::2;:69::i;:::-;100384:9;100383:94:::0;;-1:-1:-1;;;;100383:94:0::2;-1:-1:-1::0;;;100383:94:0::2;::::0;;::::2;;::::0;;::::2;::::0;::::2;::::0;;;::::2;-1:-1:-1::0;;;;100383:94:0::2;-1:-1:-1::0;;;100383:94:0;;::::2;::::0;;;::::2;::::0;::::2;::::0;;;::::2;::::0;;;;100560:4:::2;::::0;-1:-1:-1;;100560:66:0::2;::::0;-1:-1:-1;;;;;100560:4:0;;::::2;::::0;100585:8;;100595;;100605:9;;::::2;::::0;::::2;::::0;100616;::::2;::::0;::::2;100560:24;:66::i;:::-;100722:4;::::0;100774:9:::2;::::0;100857:40:::2;::::0;;::::2;::::0;;::::2;::::0;;100754:4:::2;100857:40:::0;;;100846:52;;100540:86;;-1:-1:-1;100686:15:0::2;::::0;;;-1:-1:-1;;;;;100722:4:0::2;::::0;:9:::2;::::0;100754:4;-1:-1:-1;;;100774:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;100798:9:0;;::::2;::::0;::::2;::::0;100540:86;;100846:52:::2;::::0;100857:40;100846:52:::2;;:::i;:::-;;;;;;;;;;;;;100722:177;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::2;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100925:9;::::0;100917:47:::2;::::0;100685:214;;-1:-1:-1;100685:214:0;;-1:-1:-1;100917:47:0::2;::::0;::::2;::::0;-1:-1:-1;;;100925:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;100936:9:0;;::::2;::::0;::::2;::::0;100685:214;;;;100917:47:::2;:::i;:::-;;;;;;;;-1:-1:-1::0;;89481:1:0;90405:7;:22;-1:-1:-1;;;;99753:1219:0:o;95850:25::-;;;;:::o;96004:32::-;;;-1:-1:-1;;;;;96004:32:0;;:::o;112392:123::-;94857:10;;-1:-1:-1;;;;;94857:10:0;94843;:24;94835:39;;;;-1:-1:-1;;;94835:39:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;112471:28:0::1;112502:5;112471:28:::0;;;:17:::1;:28;::::0;;;;:36;;-1:-1:-1;;112471:36:0::1;::::0;;112392:123::o;108810:586::-;108979:4;;-1:-1:-1;;;;;108979:4:0;108957:10;:27;108949:42;;;;-1:-1:-1;;;108949:42:0;;;;;;;:::i;:::-;109020:1;109010:7;:11;:26;;;;109035:1;109025:7;:11;109010:26;109002:42;;;;-1:-1:-1;;;109002:42:0;;;;;;;:::i;:::-;109118:28;109149:37;;;;109160:5;109149:37;:::i;:::-;109215:15;;109118:68;;-1:-1:-1;109243:145:0;;;;109259:56;109263:6;109279:4;109286:10;109306:7;109259:3;:56::i;:::-;109243:145;;;109332:56;109336:6;109352:4;109359:10;109379:7;109332:3;:56::i;:::-;108810:586;;;;;;:::o;47139:128::-;47240:9;;47214:46::o;31830:365::-;31948:17;31979:4;-1:-1:-1;;;;;31979:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31945:46;;;;;;;;32002:10;32015:27;32023:4;32029:12;32015:7;:27::i;:::-;32002:40;;32053:15;32085:4;32071:18;;:11;:18;;;:60;;32120:11;32113:4;:18;32071:60;;;32106:4;32092:11;:18;32071:60;32053:78;;32163:16;32150:29;;:9;:29;;;;32142:45;;;;-1:-1:-1;;;32142:45:0;;;;;;;:::i;104831:1099::-;104912:9;;104889:4;;104872:14;;104889:44;;-1:-1:-1;;;;;104889:4:0;;-1:-1:-1;;;104912:9:0;;;;;;;-1:-1:-1;;;104923:9:0;;;;104889:22;:44::i;:::-;-1:-1:-1;;;;;104872:61:0;;-1:-1:-1;104948:14:0;104944:27;;104964:7;;;104944:27;105101:4;;105111:9;;105101:34;;-1:-1:-1;;;105101:34:0;;-1:-1:-1;;;;;105101:4:0;;;;:9;;:34;;-1:-1:-1;;;105111:9:0;;;;;;;-1:-1:-1;;;105122:9:0;;;;;105101:4;;:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;105208:4:0;;105271:9;;105208:187;;-1:-1:-1;;;105208:187:0;;105157:16;;;;-1:-1:-1;;;;;105208:4:0;;;;:12;;:187;;105247:4;;-1:-1:-1;;;105271:9:0;;;;;;;-1:-1:-1;;;105299:9:0;;;;;;-1:-1:-1;;;;;105327:17:0;;;105208:187;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;105156:239:0;;;;-1:-1:-1;105156:239:0;;-1:-1:-1;105446:27:0;105476:54;95246:3;105476:25;105156:239;95375:7;105476:12;:25::i;:54::-;105446:84;-1:-1:-1;105541:27:0;105571:54;95246:3;105571:25;:8;95375:7;105571:12;:25::i;:54::-;105652:13;;105541:84;;-1:-1:-1;105652:38:0;;105670:19;105652:17;:38::i;:::-;105636:13;:54;105717:13;;:38;;105735:19;105717:17;:38::i;:::-;105701:13;:54;105779:10;;:24;;105794:8;105779:14;:24::i;:::-;105766:10;:37;105827:10;;:24;;105842:8;105827:14;:24::i;:::-;105814:10;:37;;;105899:10;;105867:55;;;;;;105879:8;;105889;;105814:37;105867:55;:::i;:::-;;;;;;;;104831:1099;;;;;;:::o;105938:742::-;105981:15;105998;106025:16;106044:11;:9;:11::i;:::-;106025:30;;106066:16;106085:11;:9;:11::i;:::-;106066:30;;-1:-1:-1;;;;;;;;;;;106123:8:0;106133;106114:28;;;;;;;:::i;:::-;;;;;;;;106270:9;;106225:4;;106205:17;;106225:66;;-1:-1:-1;;;;;106225:4:0;;106250:8;;106260;;-1:-1:-1;;;106270:9:0;;;;;;;-1:-1:-1;;;106281:9:0;;;;106225:24;:66::i;:::-;106205:86;-1:-1:-1;;;;;;106354:13:0;;;106350:323;;106414:4;;106474:9;;106569:40;;;;;;;;;106450:4;106569:40;;;106558:52;;-1:-1:-1;;;;;106414:4:0;;;;:9;;-1:-1:-1;;;106474:9:0;;;;;;;-1:-1:-1;;;106502:9:0;;;;;;106530;;106558:52;;106569:40;106558:52;;:::i;:::-;;;;;;;;;;;;;106414:197;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;106631:30;;106393:218;;-1:-1:-1;106393:218:0;-1:-1:-1;106631:30:0;;;;106393:218;;;;106631:30;:::i;:::-;;;;;;;;106350:323;105938:742;;;;;:::o;43859:935::-;44069:15;44086;44136:1;44122:11;:15;44114:30;;;;-1:-1:-1;;;44114:30:0;;;;;;;:::i;:::-;44155:23;44181:44;-1:-1:-1;;;;;44181:22:0;;44204:9;44215;44181:22;:44::i;:::-;44155:70;-1:-1:-1;44236:17:0;44294:11;44256:35;-1:-1:-1;;;;;44256:24:0;;44285:5;44256:28;:35::i;:::-;:49;;;;;;;-1:-1:-1;44322:13:0;;44318:469;;44373:4;-1:-1:-1;;;;;44373:9:0;;44383;44394;44405:21;:9;:19;:21::i;:::-;44373:54;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44352:75;;-1:-1:-1;44352:75:0;-1:-1:-1;44448:11:0;;;;:26;;;44473:1;44463:7;:11;44448:26;44444:332;;;44556:4;-1:-1:-1;;;;;44556:12:0;;44591:2;44616:9;44648;44680:19;:7;:17;:19::i;:::-;44722;:7;:17;:19::i;:::-;44556:204;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;44535:225:0;;;;-1:-1:-1;44535:225:0;;-1:-1:-1;44444:332:0;43859:935;;;;;;;;;;;:::o;65322:357::-;-1:-1:-1;;;;;65406:21:0;;65398:37;;;;-1:-1:-1;;;65398:37:0;;;;;;;:::i;:::-;65448:49;65469:7;65486:1;65490:6;65448:20;:49::i;:::-;65531:37;;;;;;;;;;;-1:-1:-1;;;65531:37:0;;;;;;;;-1:-1:-1;;;;;65531:18:0;;-1:-1:-1;65531:18:0;;;;;;;;;;;;:37;;65554:6;;65531:22;:37::i;:::-;-1:-1:-1;;;;;65510:18:0;;:9;:18;;;;;;;;;;:58;65594:12;;:24;;65611:6;65594:16;:24::i;:::-;65579:12;:39;65634:37;;65660:1;;-1:-1:-1;;;;;65634:37:0;;;;;;;65664:6;;65634:37;:::i;:::-;;;;;;;;65322:357;;:::o;6613:214::-;6736:7;6790:5;6797:9;6808;6773:45;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6763:56;;;;;;6756:63;;6613:214;;;;;:::o;56565:106::-;56653:10;56565:106;:::o;66117:284::-;-1:-1:-1;;;;;66219:19:0;;66211:36;;;;-1:-1:-1;;;66211:36:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66266:21:0;;66258:38;;;;-1:-1:-1;;;66258:38:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66309:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;66361:32;;;;;66339:6;;66361:32;:::i;:::-;;;;;;;;66117:284;;;:::o;109593:471::-;-1:-1:-1;;;;;109737:22:0;;109754:4;109737:22;109733:324;;;109868:52;109896:5;109903:9;109914:5;109868:27;:52::i;:::-;109733:324;;;109982:63;110014:5;110021;110028:9;110039:5;109982:31;:63::i;:::-;109593:471;;;;:::o;78718:113::-;78811:5;;;78806:16;;;;78798:25;;;;;63919:438;-1:-1:-1;;;;;64025:20:0;;64017:36;;;;-1:-1:-1;;;64017:36:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;64072:23:0;;64064:39;;;;-1:-1:-1;;;64064:39:0;;;;;;;:::i;:::-;64116:47;64137:6;64145:9;64156:6;64116:20;:47::i;:::-;64196:36;;;;;;;;;;;-1:-1:-1;;;64196:36:0;;;;;;;;-1:-1:-1;;;;;64196:17:0;;-1:-1:-1;64196:17:0;;;;;;;;;;;;:36;;64218:6;;64196:21;:36::i;:::-;-1:-1:-1;;;;;64176:17:0;;;:9;:17;;;;;;;;;;;:56;;;;64266:20;;;;;;;:32;;64291:6;64266:24;:32::i;:::-;-1:-1:-1;;;;;64243:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;64314:35;;;;;;;;;;64342:6;;64314:35;:::i;79299:155::-;79420:5;;;79433:12;79415:16;;;;79407:39;;;;-1:-1:-1;;;79407:39:0;;;;;;;;:::i;:::-;;79299:155;;;;;:::o;52482:281::-;52535:7;52576:16;52559:13;:11;:13::i;:::-;:33;52555:201;;;-1:-1:-1;52616:24:0;52609:31;;52555:201;52680:64;52702:10;52714:12;52728:15;52680:21;:64::i;:::-;52673:71;;;;78435:113;78528:5;;;78523:16;;;;78515:25;;;;;45031:581;45221:17;45241:44;-1:-1:-1;;;;;45241:22:0;;45264:9;45275;45241:22;:44::i;:::-;45221:64;-1:-1:-1;;;;;;45300:13:0;;;45296:88;;45330:42;;-1:-1:-1;;;45330:42:0;;-1:-1:-1;;;;;45330:9:0;;;;;:42;;45340:9;;45351;;45362;;45330:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;45296:88;45441:163;;-1:-1:-1;;;45441:163:0;;-1:-1:-1;;;;;45441:12:0;;;;;:163;;45476:4;;45496:9;;45520;;-1:-1:-1;;;;;45544:17:0;;;45441:163;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30631:310::-;30731:15;30748;30786;30804:31;30810:11;30823;30804:5;:31::i;:::-;30860:25;;;;30908;;;-1:-1:-1;;;;;30631:310:0:o;104440:137::-;104484:7;104511:58;104555:13;;104518:6;-1:-1:-1;;;;;104511:24:0;;104544:4;104511:39;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:43;;:58::i;104640:137::-;104684:7;104711:58;104755:13;;104718:6;-1:-1:-1;;;;;104711:24:0;;104744:4;104711:39;;;;;;;;;;;;;;;:::i;24187:601::-;24382:7;24446:20;24482:4;-1:-1:-1;;;;;24482:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;24445:49;;;;;;;;24527:253;24585:12;24616:39;24644:10;24616:27;:39::i;:::-;24674;24702:10;24674:27;:39::i;:::-;24732:7;24758;24527:39;:253::i;:::-;24507:273;;;24187:601;;;;;;;;:::o;23222:560::-;23393:7;23402;23466:20;23502:4;-1:-1:-1;;;;;23502:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23465:49;;;;;;;;23545:229;23603:12;23634:39;23662:10;23634:27;:39::i;:::-;23692;23720:10;23692:27;:39::i;:::-;23750:9;23545:39;:229::i;:::-;23525:249;;;;;23222:560;;;;;;;;:::o;31346:302::-;31477:19;31577:47;31609:14;31577:27;:14;31596:7;31577:18;:27::i;:::-;:31;;:47::i;:::-;31527;31559:14;31527:27;:14;31546:7;31527:18;:27::i;:47::-;:97;:113;;31635:5;31527:113;;;31628:4;31509:131;31346:302;-1:-1:-1;;;;;31346:302:0:o;71435:142::-;71550:9;;;71530:40::o;81666:130::-;81727:9;-1:-1:-1;;;;;81757:6:0;;;;:30;;;81786:1;-1:-1:-1;;;;;81767:20:0;81781:1;-1:-1:-1;;;;;81767:15:0;81776:1;81772;:5;81768:9;;;-1:-1:-1;;;;;81767:15:0;;;;;;;-1:-1:-1;;;;;81767:20:0;;81757:30;81749:39;;;;;81093:116;81189:5;;;-1:-1:-1;;;;;81184:16:0;;;;;;;;81176:25;;;;;81379:116;81475:5;;;-1:-1:-1;;;;;81470:16:0;;;;;;;;81462:25;;;;;27735:1896;27892:15;27909;27937:17;27971:51;;;;;;;;27976:14;27971:51;;;;27992:14;27971:51;;;;28008:1;27971:51;;;;28011:1;27971:51;;;;28014:1;-1:-1:-1;;;;;27971:51:0;;;;;28017:1;27971:51;;;;;;28020:1;27971:51;;;;;27937:85;;28088:20;28110:17;28141:4;-1:-1:-1;;;;;28141:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28086:67;;;;;;;;;28229:50;28239:11;28252:13;28267:11;28229:9;:50::i;:::-;28192:87;;;;;;28210:15;;;28192:87;;;;;;;;28193:15;;;28192:87;;;28423:20;;-1:-1:-1;28445:20:0;;;28401:99;;28417:4;;28192:87;28401:15;:99::i;:::-;28384:13;;;28368:132;;;28369:13;;;28368:132;;;28639:15;;;;28656;;;;28583:89;;28603:4;;28368:132;;;;28583:19;:89::i;:::-;-1:-1:-1;;;;;28565:107:0;:15;;;:107;28754:20;;28776;;;;28798:13;;;;28813;;;;28715:19;;28737:90;;28754:20;;28776;;28737:16;:90::i;:::-;28715:112;;28905:14;28900:583;;;28936:22;28961:111;29013:12;29027:5;:15;;;29044:5;:20;;;29066:5;28961:51;:111::i;:::-;28936:136;;29105:77;29125:43;29153:14;29125:27;:43::i;:::-;29170:11;29105:19;:77::i;:::-;29087:95;;;;;;:15;;;:95;-1:-1:-1;28900:583:0;;;29223:22;29248:113;29302:12;29316:5;:15;;;29333:5;:20;;;29355:5;29248:53;:113::i;:::-;29223:138;;29394:77;29414:43;29442:14;29414:27;:43::i;29394:77::-;29376:95;;;;;;:15;;;:95;-1:-1:-1;28900:583:0;29493:44;29504:5;:15;;;29521:5;:15;;;29493:10;:44::i;:::-;29570:5;:15;;;29558:27;;29608:5;:15;;;29596:27;;27735:1896;;;;;;;;;;;;:::o;46660:114::-;46752:14;;46660:114::o;26122:393::-;26256:17;26323:19;26345:58;26373:4;26380:10;26392;26345:19;:58::i;:::-;26480:27;;-1:-1:-1;;;26480:27:0;;26323:80;;-1:-1:-1;;;;;;26480:14:0;;;;;:27;;26323:80;;26480:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;26458:49:0;;26122:393;-1:-1:-1;;;;;;;;26122:393:0:o;72278:3868::-;72394:14;;;-1:-1:-1;;72910:1:0;72907;72900:20;72943:9;;;;-1:-1:-1;72995:13:0;;;72979:14;;;;72975:34;;-1:-1:-1;73095:10:0;73091:185;;73144:1;73130:11;:15;73122:24;;;;;;-1:-1:-1;73199:23:0;;;;-1:-1:-1;73251:13:0;;73091:185;73407:5;73393:11;:19;73385:28;;;;;;73698:17;73776:11;73773:1;73770;73763:25;74139:12;74154;;;:26;;74277:22;;;;;75100:1;75081;:15;;75080:21;;75331:17;;;75327:21;;75320:28;75390:17;;;75386:21;;75379:28;75450:17;;;75446:21;;75439:28;75510:17;;;75506:21;;75499:28;75570:17;;;75566:21;;75559:28;75631:17;;;75627:21;;;75620:28;74660:12;;;;74656:23;;;74681:1;74652:31;73909:20;;;73898:32;;;74713:12;;;;73953:21;;;;74410:16;;;;74704:21;;;;76103:11;;;;;-1:-1:-1;;72278:3868:0;;;;;:::o;64639:350::-;-1:-1:-1;;;;;64723:21:0;;64715:37;;;;-1:-1:-1;;;64715:37:0;;;;;;;:::i;:::-;64765:49;64794:1;64798:7;64807:6;64765:20;:49::i;:::-;64842:12;;:24;;64859:6;64842:16;:24::i;:::-;64827:12;:39;-1:-1:-1;;;;;64898:18:0;;:9;:18;;;;;;;;;;;:30;;64921:6;64898:22;:30::i;:::-;-1:-1:-1;;;;;64877:18:0;;:9;:18;;;;;;;;;;;:51;;;;64944:37;;64877:18;;:9;64944:37;;;;64974:6;;64944:37;:::i;70067:207::-;-1:-1:-1;;;;;70188:14:0;;70127:15;70188:14;;;:7;:14;;;;;70223:15;70188:14;70223:13;:15::i;:::-;70213:25;;70249:17;:5;:15;:17::i;:::-;70067:207;;;;:::o;53750:167::-;53827:7;53854:55;53876:20;:18;:20::i;:::-;53898:10;53854:21;:55::i;47638:1348::-;47723:7;48648:66;48634:80;;;48626:96;;;;-1:-1:-1;;;48626:96:0;;;;;;;:::i;:::-;48741:1;:7;;48746:2;48741:7;:18;;;;48752:1;:7;;48757:2;48752:7;48741:18;48733:34;;;;-1:-1:-1;;;48733:34:0;;;;;;;:::i;:::-;48865:14;48882:24;48892:4;48898:1;48901;48904;48882:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48882:24:0;;-1:-1:-1;;48882:24:0;;;-1:-1:-1;;;;;;;48925:20:0;;48917:35;;;;-1:-1:-1;;;48917:35:0;;;;;;;:::i;:::-;48972:6;-1:-1:-1;47638:1348:0;;;;;;;:::o;25139:726::-;25269:15;25286;25354:19;25376:58;25404:4;25411:10;25423;25376:19;:58::i;:::-;25354:80;;25495:17;25518:19;25539;25575:4;-1:-1:-1;;;;;25575:14:0;;25590:11;25575:27;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25494:108;;;;;;;;25705:60;25725:4;25731:9;25742:10;25754;25705:19;:60::i;:::-;25684:81;;-1:-1:-1;25684:81:0;-1:-1:-1;25788:24:0;25684:81;-1:-1:-1;;;;;25788:24:0;;:11;:24::i;:::-;25778:34;-1:-1:-1;25833:24:0;:7;-1:-1:-1;;;;;25833:24:0;;:11;:24::i;:::-;25823:34;;25139:726;;;;;;;;;;:::o;27036:238::-;27105:5;27123:16;27149:11;27142:18;;:4;:18;;;;;;;;27123:37;;27182:1;27175:4;:8;;;:35;;;;;27194:11;27187:18;;:4;:18;;;;;;;;:23;;;;27175:35;27171:53;;;-1:-1:-1;;27212:12:0;27171:53;27242:24;;;;27036:238;-1:-1:-1;;27036:238:0:o;26682:::-;26781:9;26769:21;;:9;:21;;;26761:37;;;;-1:-1:-1;;;26761:37:0;;;;;;;:::i;:::-;-1:-1:-1;;26817:30:0;;;;;;26809:46;;;;-1:-1:-1;;;26809:46:0;;;;;;;:::i;:::-;7407:9;26874:30;;;;;;26866:46;;;;-1:-1:-1;;;26866:46:0;;;;;;;:::i;:::-;26682:238;;:::o;32303:422::-;32478:15;;;32491:1;32478:15;;;;;;;;32385:5;;32426:12;;32385:5;;32478:15;;;;;;;;;;;;-1:-1:-1;32478:15:0;32449:44;;32520:13;32504:10;32515:1;32504:13;;;;;;;;;;;;;:29;;;;;;;;;;;32560:1;32544:10;32555:1;32544:13;;;;;;;;:17;;;;:13;;;;;;;;;;;:17;32611:24;;-1:-1:-1;;;32611:24:0;;32575:30;;-1:-1:-1;;;;;32611:12:0;;;;;:24;;32624:10;;32611:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32611:24:0;;;;;;;;;;;;:::i;:::-;32574:61;;;32703:13;32659:57;;32681:15;32697:1;32681:18;;;;;;;;;;;;;;32660:15;32676:1;32660:18;;;;;;;;;;;;;;:39;32659:57;;;;;;;;;32303:422;-1:-1:-1;;;;;;32303:422:0:o;79002:127::-;79060:9;79090:6;;;:30;;-1:-1:-1;;79105:5:0;;;79119:1;79114;79105:5;79114:1;79100:15;;;;;:20;79082:39;;;;;77352:113;77455:1;-1:-1:-1;;;;;77435:21:0;;;;77427:30;;;;;87551:316;87670:12;87684:17;87705:5;-1:-1:-1;;;;;87705:10:0;87739:24;;;87765:2;87769:5;87716:59;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;87716:59:0;;;;;;;;;;;;;;-1:-1:-1;;;;;87716:59:0;-1:-1:-1;;;;;;87716:59:0;;;;;;;;;;87705:71;;;;87716:59;87705:71;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87669:107;;;;87795:7;:57;;;;-1:-1:-1;87807:11:0;;:16;;:44;;;87838:4;87827:24;;;;;;;;;;;;:::i;:::-;87787:72;;;;-1:-1:-1;;;87787:72:0;;;;;;;:::i;86885:367::-;87031:12;87045:17;87079:5;-1:-1:-1;;;;;87079:10:0;87113:28;;;87143:4;87149:2;87153:5;87090:69;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;87090:69:0;;;;;;;;;;;;;;-1:-1:-1;;;;;87090:69:0;-1:-1:-1;;;;;;87090:69:0;;;;;;;;;;87079:81;;;;87090:69;87079:81;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87030:130;;;;87179:7;:57;;;;-1:-1:-1;87191:11:0;;:16;;:44;;;87222:4;87211:24;;;;;;;;;;;;:::i;:::-;87171:73;;;;-1:-1:-1;;;87171:73:0;;;;;;;:::i;52771:337::-;52873:7;52953:8;52980:4;53003:7;53029:13;:11;:13::i;:::-;53069:4;52924:165;;;;;;;;;;;;:::i;8137:2611::-;8200:20;8233:15;8258:1;8251:4;:8;;;:57;;8302:4;8295:12;;8251:57;;;8278:4;8271:12;;8270:13;;8251:57;8233:75;-1:-1:-1;7407:9:0;8327:28;;;8319:42;;;;-1:-1:-1;;;8319:42:0;;;;;;;:::i;:::-;8374:13;8400:3;8390:13;;:93;;-1:-1:-1;;;8390:93:0;;;8411:34;8390:93;8374:109;;;-1:-1:-1;8508:3:0;8498:13;;:18;8494:83;;8535:34;8527:42;8574:3;8526:51;8494:83;8602:3;8592:13;;:18;8588:83;;8629:34;8621:42;8668:3;8620:51;8588:83;8696:3;8686:13;;:18;8682:83;;8723:34;8715:42;8762:3;8714:51;8682:83;8790:4;8780:14;;:19;8776:84;;8818:34;8810:42;8857:3;8809:51;8776:84;8885:4;8875:14;;:19;8871:84;;8913:34;8905:42;8952:3;8904:51;8871:84;8980:4;8970:14;;:19;8966:84;;9008:34;9000:42;9047:3;8999:51;8966:84;9075:4;9065:14;;:19;9061:84;;9103:34;9095:42;9142:3;9094:51;9061:84;9170:5;9160:15;;:20;9156:85;;9199:34;9191:42;9238:3;9190:51;9156:85;9266:5;9256:15;;:20;9252:85;;9295:34;9287:42;9334:3;9286:51;9252:85;9362:5;9352:15;;:20;9348:85;;9391:34;9383:42;9430:3;9382:51;9348:85;9458:5;9448:15;;:20;9444:85;;9487:34;9479:42;9526:3;9478:51;9444:85;9554:6;9544:16;;:21;9540:86;;9584:34;9576:42;9623:3;9575:51;9540:86;9651:6;9641:16;;:21;9637:86;;9681:34;9673:42;9720:3;9672:51;9637:86;9748:6;9738:16;;:21;9734:86;;9778:34;9770:42;9817:3;9769:51;9734:86;9845:6;9835:16;;:21;9831:86;;9875:34;9867:42;9914:3;9866:51;9831:86;9942:7;9932:17;;:22;9928:86;;9973:33;9965:41;10011:3;9964:50;9928:86;10039:7;10029:17;;:22;10025:85;;10070:32;10062:40;10107:3;10061:49;10025:85;10135:7;10125:17;;:22;10121:83;;10166:30;10158:38;10201:3;10157:47;10121:83;10229:7;10219:17;;:22;10215:78;;10260:25;10252:33;10290:3;10251:42;10215:78;10317:1;10310:4;:8;;;10306:47;;;10348:5;-1:-1:-1;;10328:25:0;;;;;;10320:33;;10306:47;10717:7;10708:5;:17;:22;:30;;10737:1;10708:30;;;10733:1;10708:30;10691:48;;10701:2;10692:5;:11;;10691:48;10668:72;;8137:2611;;;;;:::o;18444:920::-;18653:17;18703:13;-1:-1:-1;;;;;18687:29:0;:13;-1:-1:-1;;;;;18687:29:0;;18683:98;;;18752:13;;18767;18683:98;18814:13;-1:-1:-1;;;;;18798:29:0;:12;-1:-1:-1;;;;;18798:29:0;;18794:563;;18856:61;18879:13;18894;18909:7;18856:22;:61::i;:::-;18844:73;;18794:563;;;18954:13;-1:-1:-1;;;;;18939:28:0;:12;-1:-1:-1;;;;;18939:28:0;;18935:422;;;18984:18;19005:60;19028:12;19042:13;19057:7;19005:22;:60::i;:::-;18984:81;;19080:18;19101:60;19124:13;19139:12;19153:7;19101:22;:60::i;:::-;19080:81;;19203:10;-1:-1:-1;;;;;19190:23:0;:10;-1:-1:-1;;;;;19190:23:0;;:49;;19229:10;19190:49;;;19216:10;19190:49;19178:61;;18935:422;;;;;19284:61;19307:13;19322;19337:7;19284:22;:61::i;:::-;19272:73;18444:920;-1:-1:-1;;;;;;18444:920:0:o;21539:815::-;21724:15;21741;21789:13;-1:-1:-1;;;;;21773:29:0;:13;-1:-1:-1;;;;;21773:29:0;;21769:98;;;21838:13;;21853;21769:98;21900:13;-1:-1:-1;;;;;21884:29:0;:12;-1:-1:-1;;;;;21884:29:0;;21880:467;;21940:63;21963:13;21978;21993:9;21940:22;:63::i;:::-;21930:73;;21880:467;;;22040:13;-1:-1:-1;;;;;22025:28:0;:12;-1:-1:-1;;;;;22025:28:0;;22021:326;;;22080:62;22103:12;22117:13;22132:9;22080:22;:62::i;:::-;22070:72;;22167:62;22190:13;22205:12;22219:9;22167:22;:62::i;:::-;22157:72;;22021:326;;;22272:63;22295:13;22310;22325:9;22272:22;:63::i;:::-;22262:73;;21539:815;;;;;;;:::o;30149:400::-;30301:15;30318;30346:17;30366:81;30386:4;30392:14;30408;30424:10;30436;30366:19;:81::i;:::-;30346:101;;30481:60;30501:4;30507:9;30518:10;30530;30481:19;:60::i;:::-;30460:81;;;;-1:-1:-1;30149:400:0;-1:-1:-1;;;;;;;30149:400:0:o;83023:1394::-;83199:7;83336:11;83332:32;;-1:-1:-1;83356:8:0;83349:15;;83332:32;-1:-1:-1;;;70523:2:0;83396:45;;;;83454:956;;;;-1:-1:-1;;;;;83512:50:0;;83523:17;;;;83544:6;83523:17;83544:6;83512:38;;;;;:50;83508:328;;;83605:20;;;83648:25;;;83644:176;;83759:60;83785:10;83797:8;-1:-1:-1;;;;;83759:60:0;83807:11;83759:25;:60::i;:::-;83744:76;;;;;;;83644:176;83508:328;;83867:73;83892:10;83904:35;83932:6;83918:8;-1:-1:-1;;;;;83905:21:0;:10;:21;;;;;;;83904:27;:35::i;:::-;83867:24;:73::i;:::-;83852:89;;;;;;83454:956;-1:-1:-1;;;;;84172:50:0;;84183:17;;;;84204:6;84183:17;84204:6;84172:38;;;;;:50;:74;;;;;84239:7;84226:10;:20;84172:74;84164:83;;;;;;84284:20;;;84326:72;:60;84284:10;-1:-1:-1;;;;;84326:60:0;;84284:20;84326:25;:60::i;:::-;:70;:72::i;11174:4424::-;11247:10;7590;-1:-1:-1;;;;;11378:30:0;;;;;;:63;;-1:-1:-1;7772:49:0;-1:-1:-1;;;;;11412:29:0;;;11378:63;11370:77;;;;-1:-1:-1;;;11370:77:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11499:2:0;11474:27;;;;-1:-1:-1;;;;;11610:41:0;;11607:1;11603:49;11702:9;;;11778:18;11772:25;;11769:1;11765:33;11848:9;;;11924:10;11918:17;;11915:1;11911:25;11986:9;;;12062:6;12056:13;;12053:1;12049:21;12120:9;;;12196:4;12190:11;;12187:1;12183:19;;;12252:9;;;12328:3;12322:10;;12319:1;12315:18;12383:9;;;12453:10;;;12450:1;12446:18;;;12514:9;;;;12577:10;;;11819;;11957;;;12091;;;12223;12354;;;12485;12608;12652:3;12645:10;;12641:80;;12677:3;12671;:9;12661:5;:20;;12657:24;;12641:80;;;12717:3;12711;:9;12701:5;:20;;12697:24;;12641:80;12825:9;;;12820:3;12816:19;;;12858:11;;;;12932:9;;;;13000;;12991:19;;;13033:11;;;13107:9;13175;;13166:19;;;13208:11;;;13282:9;13350;;13341:19;;;13383:11;;;13457:9;13525;;13516:19;;;13558:11;;;13632:9;13700;;13691:19;;;13733:11;;;13807:9;13875;;13866:19;;;13908:11;;;13982:9;14050;;14041:19;;;14083:11;;;14157:9;14225;;14216:19;;;14258:11;;;14332:9;14400;;14391:19;;;14433:11;;;14507:9;14575;;14566:19;;;14608:11;;;14682:9;14750;;14741:19;;;14783:11;;;14857:9;14925;;14916:19;;;14958:11;;;;15032:9;;;;15100;;15091:19;;;;;12825:9;-1:-1:-1;;12750:17:0;;12772:2;12749:25;12902:10;;;;;;;12892:21;13077:10;;;;;;;13067:21;;;;13252:10;;;;;;;13242:21;;;;13427:10;;;;;;;13417:21;;;;13602:10;;;;;;;13592:21;;;;13777:10;;;;;;;13767:21;;;;13952:10;;;;;;;13942:21;14127:10;;;;;;;14117:21;14302:10;;;;;;;14292:21;14477:10;;;;;;;14467:21;14652:10;;;;;;;14642:21;14827:10;;;;;;;14817:21;15002:10;;;;;;;14992:21;15177:10;;;;;;;15167:21;15242:24;15234:32;;-1:-1:-1;;15320:53:0;;12764:3;15319:62;;;;15431:39;15415:55;;15414:64;;15499:17;;;;;;;;;:91;;15559:12;-1:-1:-1;;;;;15529:42:0;:26;15548:6;15529:18;:26::i;:::-;-1:-1:-1;;;;;15529:42:0;;;:61;;15583:7;15529:61;;;15574:6;15529:61;15499:91;;;15519:7;15499:91;15492:98;11174:4424;-1:-1:-1;;;;;;;;;11174:4424:0:o;85255:1182::-;85433:7;85613:3;85609:821;;;85633:16;-1:-1:-1;;;;;85692:27:0;;;:182;;85822:52;85838:6;-1:-1:-1;;;85864:9:0;-1:-1:-1;;;;;85822:52:0;:15;:52::i;:::-;85692:182;;;-1:-1:-1;;;;;85747:47:0;;70523:2;85748:33;;;85747:47;;;;;;85692:182;85633:260;-1:-1:-1;85917:43:0;:31;-1:-1:-1;;;;;85917:17:0;;85633:260;85917:21;:31::i;:43::-;85910:50;;;;;85609:821;85993:16;-1:-1:-1;;;;;86052:27:0;;;:215;;86205:62;86231:6;-1:-1:-1;;;86257:9:0;-1:-1:-1;;;;;86205:62:0;:25;:62::i;:::-;86052:215;;;86107:70;70523:2;86132:33;;;-1:-1:-1;;;;;86107:70:0;;:24;:70::i;:::-;85993:293;;86322:8;86311;-1:-1:-1;;;;;86311:19:0;;86303:28;;;;;;-1:-1:-1;;;;;86398:19:0;;;;-1:-1:-1;86383:35:0;;46782:187;46942:19;;46960:1;46942:19;;;46782:187::o;49336:196::-;49429:7;49495:15;49512:10;49466:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49456:68;;;;;;49449:75;;49336:196;;;;:::o;16514:483::-;16666:17;16716:13;-1:-1:-1;;;;;16700:29:0;:13;-1:-1:-1;;;;;16700:29:0;;16696:98;;;16765:13;;16780;16696:98;16805:20;16828:63;16844:13;-1:-1:-1;;;;;16828:63:0;16859:13;-1:-1:-1;;;;;16828:63:0;-1:-1:-1;;;16828:15:0;:63::i;:::-;16805:86;;16909:80;16919:69;16935:7;16944:12;16974:13;16958;:29;-1:-1:-1;;;;;16919:69:0;:15;:69::i;:::-;16909:9;:80::i;17444:390::-;17596:17;17646:13;-1:-1:-1;;;;;17630:29:0;:13;-1:-1:-1;;;;;17630:29:0;;17626:98;;;17695:13;;17710;17626:98;17742:84;17752:73;17768:7;-1:-1:-1;;;17811:13:0;17795;:29;-1:-1:-1;;;;;17752:73:0;:15;:73::i;19729:511::-;19883:15;19931:13;-1:-1:-1;;;;;19915:29:0;:13;-1:-1:-1;;;;;19915:29:0;;19911:98;;;19980:13;;19995;19911:98;20219:13;-1:-1:-1;;;;;20042:190:0;:174;70523:2;20076:45;;20084:9;-1:-1:-1;;;;;20076:18:0;:45;;20156:13;20140;:29;-1:-1:-1;;;;;20042:174:0;20188:13;-1:-1:-1;;;;;20042:174:0;:15;:174::i;:::-;:190;;;;;;;19729:511;-1:-1:-1;;;;19729:511:0:o;20605:383::-;20759:15;20807:13;-1:-1:-1;;;;;20791:29:0;:13;-1:-1:-1;;;;;20791:29:0;;20787:98;;;20856:13;;20871;20787:98;20905:75;20921:9;-1:-1:-1;;;;;20905:75:0;20948:13;20932;:29;-1:-1:-1;;;;;20905:75:0;-1:-1:-1;;;20905:15:0;:75::i;76435:325::-;76561:14;76597:25;76604:1;76607;76610:11;76597:6;:25::i;:::-;76588:34;;76665:1;76650:11;76637:25;;;;;76647:1;76644;76637:25;:29;76633:120;;;-1:-1:-1;;76691:6:0;:26;76683:35;;;;;;76733:8;;76435:325;;;;;:::o;71028:169::-;71151:9;;;71165;;71162:16;;71147:32;;71127:63::o;77059:113::-;77162:1;-1:-1:-1;;;;;77142:21:0;;;;77134:30;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:777:1:-;;138:3;131:4;123:6;119:17;115:27;105:2;;160:5;153;146:20;105:2;193:6;187:13;219:4;243:63;258:47;302:2;258:47;:::i;:::-;243:63;:::i;:::-;340:15;;;371:12;;;;403:15;;;449:11;;;437:24;;433:33;;430:42;-1:-1:-1;427:2:1;;;489:5;482;475:20;427:2;515:5;529:233;543:2;540:1;537:9;529:233;;;607:3;601:10;624:33;651:5;624:33;:::i;:::-;670:18;;708:12;;;;740;;;;561:1;554:9;529:233;;;-1:-1:-1;780:5:1;;95:696;-1:-1:-1;;;;;;;95:696:1:o;796:377::-;;;913:3;906:4;898:6;894:17;890:27;880:2;;938:8;928;921:26;880:2;-1:-1:-1;968:20:1;;1011:18;1000:30;;997:2;;;1050:8;1040;1033:26;997:2;1094:4;1086:6;1082:17;1070:29;;1146:3;1139:4;1130:6;1122;1118:19;1114:30;1111:39;1108:2;;;1163:1;1160;1153:12;1108:2;870:303;;;;;:::o;1178:166::-;1257:13;;1310:1;1299:20;;;1289:31;;1279:2;;1334:1;1331;1324:12;1349:194;1430:13;;-1:-1:-1;;;;;1472:46:1;;1462:57;;1452:2;;1533:1;1530;1523:12;1548:165;1628:13;;1681:6;1670:18;;1660:29;;1650:2;;1703:1;1700;1693:12;1718:259;;1830:2;1818:9;1809:7;1805:23;1801:32;1798:2;;;1851:6;1843;1836:22;1798:2;1895:9;1882:23;1914:33;1941:5;1914:33;:::i;1982:402::-;;;2111:2;2099:9;2090:7;2086:23;2082:32;2079:2;;;2132:6;2124;2117:22;2079:2;2176:9;2163:23;2195:33;2222:5;2195:33;:::i;:::-;2247:5;-1:-1:-1;2304:2:1;2289:18;;2276:32;2317:35;2276:32;2317:35;:::i;:::-;2371:7;2361:17;;;2069:315;;;;;:::o;2389:470::-;;;;2535:2;2523:9;2514:7;2510:23;2506:32;2503:2;;;2556:6;2548;2541:22;2503:2;2600:9;2587:23;2619:33;2646:5;2619:33;:::i;:::-;2671:5;-1:-1:-1;2728:2:1;2713:18;;2700:32;2741:35;2700:32;2741:35;:::i;:::-;2493:366;;2795:7;;-1:-1:-1;;;2849:2:1;2834:18;;;;2821:32;;2493:366::o;2864:817::-;;;;;;;;3076:3;3064:9;3055:7;3051:23;3047:33;3044:2;;;3098:6;3090;3083:22;3044:2;3142:9;3129:23;3161:33;3188:5;3161:33;:::i;:::-;3213:5;-1:-1:-1;3270:2:1;3255:18;;3242:32;3283:35;3242:32;3283:35;:::i;:::-;3337:7;-1:-1:-1;3391:2:1;3376:18;;3363:32;;-1:-1:-1;3442:2:1;3427:18;;3414:32;;-1:-1:-1;3498:3:1;3483:19;;3470:33;3512;3470;3512;:::i;:::-;3034:647;;;;-1:-1:-1;3034:647:1;;;;3564:7;3618:3;3603:19;;3590:33;;-1:-1:-1;3670:3:1;3655:19;;;3642:33;;3034:647;-1:-1:-1;;3034:647:1:o;3686:327::-;;;3815:2;3803:9;3794:7;3790:23;3786:32;3783:2;;;3836:6;3828;3821:22;3783:2;3880:9;3867:23;3899:33;3926:5;3899:33;:::i;:::-;3951:5;4003:2;3988:18;;;;3975:32;;-1:-1:-1;;;3773:240:1:o;4018:1321::-;;;4206:2;4194:9;4185:7;4181:23;4177:32;4174:2;;;4227:6;4219;4212:22;4174:2;4265:9;4259:16;4294:18;4335:2;4327:6;4324:14;4321:2;;;4356:6;4348;4341:22;4321:2;4399:6;4388:9;4384:22;4374:32;;4444:7;4437:4;4433:2;4429:13;4425:27;4415:2;;4471:6;4463;4456:22;4415:2;4505;4499:9;4527:4;4551:63;4566:47;4610:2;4566:47;:::i;4551:63::-;4648:15;;;4679:12;;;;4711:11;;;4749;;;4741:20;;4737:29;;4734:42;-1:-1:-1;4731:2:1;;;4794:6;4786;4779:22;4731:2;4821:6;4812:15;;4836:269;4850:2;4847:1;4844:9;4836:269;;;4914:3;4908:10;4965:5;4962:1;4951:20;4944:5;4941:31;4931:2;;4991:6;4983;4976:22;4931:2;5013:18;;4868:1;4861:9;;;;;5051:12;;;;5083;;4836:269;;;-1:-1:-1;5160:18:1;;;5154:25;5124:5;;-1:-1:-1;5154:25:1;;-1:-1:-1;;;5191:16:1;;;5188:2;;;5225:6;5217;5210:22;5188:2;;5253:80;5325:7;5314:8;5303:9;5299:24;5253:80;:::i;:::-;5243:90;;;4164:1175;;;;;:::o;5344:257::-;;5464:2;5452:9;5443:7;5439:23;5435:32;5432:2;;;5485:6;5477;5470:22;5432:2;5522:9;5516:16;5541:30;5565:5;5541:30;:::i;5606:216::-;;5727:2;5715:9;5706:7;5702:23;5698:32;5695:2;;;5748:6;5740;5733:22;5695:2;5776:40;5806:9;5776:40;:::i;5827:253::-;;;5965:2;5953:9;5944:7;5940:23;5936:32;5933:2;;;5986:6;5978;5971:22;5933:2;-1:-1:-1;;6014:16:1;;6070:2;6055:18;;;6049:25;6014:16;;6049:25;;-1:-1:-1;5923:157:1:o;6085:565::-;;;;;6248:2;6236:9;6227:7;6223:23;6219:32;6216:2;;;6269:6;6261;6254:22;6216:2;6310:9;6297:23;6287:33;;6367:2;6356:9;6352:18;6339:32;6329:42;;6422:2;6411:9;6407:18;6394:32;6449:18;6441:6;6438:30;6435:2;;;6486:6;6478;6471:22;6435:2;6530:60;6582:7;6573:6;6562:9;6558:22;6530:60;:::i;:::-;6206:444;;;;-1:-1:-1;6609:8:1;-1:-1:-1;;;;6206:444:1:o;6655:517::-;;6801:2;6789:9;6780:7;6776:23;6772:32;6769:2;;;6822:6;6814;6807:22;6769:2;6860;6854:9;6902:2;6894:6;6890:15;6971:6;6959:10;6956:22;6935:18;6923:10;6920:34;6917:62;6914:2;;;6982:9;6914:2;7009;7002:22;7046:23;;7078:33;7046:23;7078:33;:::i;:::-;7120:21;;7127:6;6759:413;-1:-1:-1;;;6759:413:1:o;7177:514::-;;7323:2;7311:9;7302:7;7298:23;7294:32;7291:2;;;7344:6;7336;7329:22;7291:2;7382;7376:9;7424:2;7416:6;7412:15;7493:6;7481:10;7478:22;7457:18;7445:10;7442:34;7439:62;7436:2;;;7504:9;7436:2;7531;7524:22;7568:23;;7600:30;7568:23;7600:30;:::i;7696:307::-;;;7836:2;7824:9;7815:7;7811:23;7807:32;7804:2;;;7857:6;7849;7842:22;7804:2;7885:42;7917:9;7885:42;:::i;:::-;7875:52;;7946:51;7993:2;7982:9;7978:18;7946:51;:::i;:::-;7936:61;;7794:209;;;;;:::o;8008:518::-;;;;;;8199:3;8187:9;8178:7;8174:23;8170:33;8167:2;;;8221:6;8213;8206:22;8167:2;8249:42;8281:9;8249:42;:::i;:::-;8239:52;;8331:2;8320:9;8316:18;8310:25;8300:35;;8375:2;8364:9;8360:18;8354:25;8344:35;;8398:51;8445:2;8434:9;8430:18;8398:51;:::i;:::-;8388:61;;8468:52;8515:3;8504:9;8500:19;8468:52;:::i;:::-;8458:62;;8157:369;;;;;;;;:::o;8531:867::-;;;;;;;;8746:3;8734:9;8725:7;8721:23;8717:33;8714:2;;;8768:6;8760;8753:22;8714:2;8805:9;8799:16;8824:33;8851:5;8824:33;:::i;:::-;8876:5;-1:-1:-1;8900:49:1;8945:2;8930:18;;8900:49;:::i;:::-;8890:59;;8968:50;9014:2;9003:9;8999:18;8968:50;:::i;:::-;8958:60;;9037:50;9083:2;9072:9;9068:18;9037:50;:::i;:::-;9027:60;;9106:51;9152:3;9141:9;9137:19;9106:51;:::i;:::-;9096:61;;9202:3;9191:9;9187:19;9181:26;9216:33;9241:7;9216:33;:::i;:::-;9320:3;9305:19;;9299:26;9268:7;;-1:-1:-1;9334:32:1;9299:26;9334:32;:::i;:::-;9385:7;9375:17;;;8704:694;;;;;;;;;;:::o;9403:298::-;;9525:2;9513:9;9504:7;9500:23;9496:32;9493:2;;;9546:6;9538;9531:22;9493:2;9583:9;9577:16;9633:8;9626:5;9622:20;9615:5;9612:31;9602:2;;9662:6;9654;9647:22;9706:194;;9829:2;9817:9;9808:7;9804:23;9800:32;9797:2;;;9850:6;9842;9835:22;9797:2;-1:-1:-1;9878:16:1;;9787:113;-1:-1:-1;9787:113:1:o;9905:327::-;;;10034:2;10022:9;10013:7;10009:23;10005:32;10002:2;;;10055:6;10047;10040:22;10002:2;10096:9;10083:23;10073:33;;10156:2;10145:9;10141:18;10128:32;10169:33;10196:5;10169:33;:::i;10237:258::-;;;10366:2;10354:9;10345:7;10341:23;10337:32;10334:2;;;10387:6;10379;10372:22;10334:2;-1:-1:-1;;10415:23:1;;;10485:2;10470:18;;;10457:32;;-1:-1:-1;10324:171:1:o;10760:395::-;;;;10906:2;10894:9;10885:7;10881:23;10877:32;10874:2;;;10927:6;10919;10912:22;10874:2;10968:9;10955:23;10945:33;;11025:2;11014:9;11010:18;10997:32;10987:42;;11079:2;11068:9;11064:18;11051:32;11092:33;11119:5;11092:33;:::i;:::-;11144:5;11134:15;;;10864:291;;;;;:::o;11732:300::-;;11854:2;11842:9;11833:7;11829:23;11825:32;11822:2;;;11875:6;11867;11860:22;11822:2;11912:9;11906:16;11962:10;11955:5;11951:22;11944:5;11941:33;11931:2;;11993:6;11985;11978:22;12037:259;;12118:5;12112:12;12145:6;12140:3;12133:19;12161:63;12217:6;12210:4;12205:3;12201:14;12194:4;12187:5;12183:16;12161:63;:::i;:::-;12278:2;12257:15;-1:-1:-1;;12253:29:1;12244:39;;;;12285:4;12240:50;;12088:208;-1:-1:-1;;12088:208:1:o;12301:401::-;12498:2;12494:15;;;;-1:-1:-1;;12490:53:1;12478:66;;12594:1;12583:21;;;12578:3;12574:31;;;12569:2;12560:12;;12553:53;12645:21;;12636:31;;12631:2;12622:12;;12615:53;12693:2;12684:12;;12468:234::o;12707:274::-;;12874:6;12868:13;12890:53;12936:6;12931:3;12924:4;12916:6;12912:17;12890:53;:::i;:::-;12959:16;;;;;12844:137;-1:-1:-1;;12844:137:1:o;12986:392::-;-1:-1:-1;;;13244:27:1;;13296:1;13287:11;;13280:27;;;;13332:2;13323:12;;13316:28;13369:2;13360:12;;13234:144::o;13383:203::-;-1:-1:-1;;;;;13547:32:1;;;;13529:51;;13517:2;13502:18;;13484:102::o;13591:375::-;-1:-1:-1;;;;;13849:15:1;;;13831:34;;13901:15;;;;13896:2;13881:18;;13874:43;13948:2;13933:18;;13926:34;;;;13781:2;13766:18;;13748:218::o;13971:570::-;-1:-1:-1;;;;;14260:15:1;;;14242:34;;14319:14;;14312:22;14307:2;14292:18;;14285:50;14366:2;14351:18;;14344:34;;;14414:15;;14409:2;14394:18;;14387:43;14222:3;14461;14446:19;;14439:32;;;13971:570;;14488:47;;14515:19;;14507:6;14488:47;:::i;:::-;14480:55;14194:347;-1:-1:-1;;;;;;;14194:347:1:o;14546:595::-;;14826:1;14822;14817:3;14813:11;14809:19;14801:6;14797:32;14786:9;14779:51;14880:6;14877:1;14866:21;14861:2;14850:9;14846:18;14839:49;14938:6;14935:1;14924:21;14919:2;14908:9;14904:18;14897:49;-1:-1:-1;;;;;14986:6:1;14982:47;14977:2;14966:9;14962:18;14955:75;15067:3;15061;15050:9;15046:19;15039:32;15088:47;15130:3;15119:9;15115:19;15107:6;15088:47;:::i;15146:582::-;-1:-1:-1;;;;;15415:32:1;;;;15397:51;;15495:1;15484:21;;;15479:2;15464:18;;15457:49;15542:21;;;;15537:2;15522:18;;15515:49;-1:-1:-1;;;;;15653:15:1;;;15648:2;15633:18;;15626:43;15706:15;15700:3;15685:19;;15678:44;15384:3;15369:19;;15351:377::o;15733:274::-;-1:-1:-1;;;;;15925:32:1;;;;15907:51;;15989:2;15974:18;;15967:34;15895:2;15880:18;;15862:145::o;16012:650::-;16181:2;16233:21;;;16303:13;;16206:18;;;16325:22;;;16012:650;;16181:2;16404:15;;;;16378:2;16363:18;;;16012:650;16450:186;16464:6;16461:1;16458:13;16450:186;;;16529:13;;16544:10;16525:30;16513:43;;16611:15;;;;16576:12;;;;16486:1;16479:9;16450:186;;;-1:-1:-1;16653:3:1;;16161:501;-1:-1:-1;;;;;;16161:501:1:o;16667:187::-;16832:14;;16825:22;16807:41;;16795:2;16780:18;;16762:92::o;16859:177::-;17005:25;;;16993:2;16978:18;;16960:76::o;17041:591::-;17328:25;;;-1:-1:-1;;;;;17427:15:1;;;17422:2;17407:18;;17400:43;17479:15;;;;17474:2;17459:18;;17452:43;17526:2;17511:18;;17504:34;17569:3;17554:19;;17547:35;;;;17380:3;17598:19;;17591:35;17315:3;17300:19;;17282:350::o;17637:489::-;17896:25;;;17952:2;17937:18;;17930:34;;;;17995:2;17980:18;;17973:34;;;;18038:2;18023:18;;18016:34;-1:-1:-1;;;;;18087:32:1;18081:3;18066:19;;18059:61;17883:3;17868:19;;17850:276::o;18131:398::-;18358:25;;;18431:4;18419:17;;;;18414:2;18399:18;;18392:45;18468:2;18453:18;;18446:34;18511:2;18496:18;;18489:34;18345:3;18330:19;;18312:217::o;18765:188::-;18936:1;18925:21;;;;18907:40;;18895:2;18880:18;;18862:91::o;18958:390::-;19189:1;19178:21;;;19160:40;;19236:21;;;;19231:2;19216:18;;19209:49;-1:-1:-1;;;;;19294:47:1;;;19289:2;19274:18;;19267:75;19148:2;19133:18;;19115:233::o;19740:413::-;19992:1;19981:21;;;19963:40;;20039:21;;;;20034:2;20019:18;;20012:49;20092:2;20077:18;;20070:34;20135:2;20120:18;;20113:34;;;;19950:3;19935:19;;19917:236::o;20158:221::-;;20307:2;20296:9;20289:21;20327:46;20369:2;20358:9;20354:18;20346:6;20327:46;:::i;20384:326::-;20586:2;20568:21;;;20625:1;20605:18;;;20598:29;-1:-1:-1;;;20658:2:1;20643:18;;20636:33;20701:2;20686:18;;20558:152::o;20715:326::-;20917:2;20899:21;;;20956:1;20936:18;;;20929:29;-1:-1:-1;;;20989:2:1;20974:18;;20967:33;21032:2;21017:18;;20889:152::o;21046:326::-;21248:2;21230:21;;;21287:1;21267:18;;;21260:29;-1:-1:-1;;;21320:2:1;21305:18;;21298:33;21363:2;21348:18;;21220:152::o;21377:325::-;21579:2;21561:21;;;21618:1;21598:18;;;21591:29;-1:-1:-1;;;21651:2:1;21636:18;;21629:32;21693:2;21678:18;;21551:151::o;21707:325::-;21909:2;21891:21;;;21948:1;21928:18;;;21921:29;-1:-1:-1;;;21981:2:1;21966:18;;21959:32;22023:2;22008:18;;21881:151::o;22037:325::-;22239:2;22221:21;;;22278:1;22258:18;;;22251:29;-1:-1:-1;;;22311:2:1;22296:18;;22289:32;22353:2;22338:18;;22211:151::o;22367:327::-;22569:2;22551:21;;;22608:1;22588:18;;;22581:29;-1:-1:-1;;;22641:2:1;22626:18;;22619:34;22685:2;22670:18;;22541:153::o;22699:326::-;22901:2;22883:21;;;22940:1;22920:18;;;22913:29;-1:-1:-1;;;22973:2:1;22958:18;;22951:33;23016:2;23001:18;;22873:152::o;23030:325::-;23232:2;23214:21;;;23271:1;23251:18;;;23244:29;-1:-1:-1;;;23304:2:1;23289:18;;23282:32;23346:2;23331:18;;23204:151::o;23360:326::-;23562:2;23544:21;;;23601:1;23581:18;;;23574:29;-1:-1:-1;;;23634:2:1;23619:18;;23612:33;23677:2;23662:18;;23534:152::o;23691:326::-;23893:2;23875:21;;;23932:1;23912:18;;;23905:29;-1:-1:-1;;;23965:2:1;23950:18;;23943:33;24008:2;23993:18;;23865:152::o;24022:326::-;24224:2;24206:21;;;24263:1;24243:18;;;24236:29;-1:-1:-1;;;24296:2:1;24281:18;;24274:33;24339:2;24324:18;;24196:152::o;24353:326::-;24555:2;24537:21;;;24594:1;24574:18;;;24567:29;-1:-1:-1;;;24627:2:1;24612:18;;24605:33;24670:2;24655:18;;24527:152::o;24684:324::-;24886:2;24868:21;;;24925:1;24905:18;;;24898:29;-1:-1:-1;;;24958:2:1;24943:18;;24936:31;24999:2;24984:18;;24858:150::o;25013:326::-;25215:2;25197:21;;;25254:1;25234:18;;;25227:29;-1:-1:-1;;;25287:2:1;25272:18;;25265:33;25330:2;25315:18;;25187:152::o;25344:324::-;25546:2;25528:21;;;25585:1;25565:18;;;25558:29;-1:-1:-1;;;25618:2:1;25603:18;;25596:31;25659:2;25644:18;;25518:150::o;25673:326::-;25875:2;25857:21;;;25914:1;25894:18;;;25887:29;-1:-1:-1;;;25947:2:1;25932:18;;25925:33;25990:2;25975:18;;25847:152::o;26004:325::-;26206:2;26188:21;;;26245:1;26225:18;;;26218:29;-1:-1:-1;;;26278:2:1;26263:18;;26256:32;26320:2;26305:18;;26178:151::o;26334:326::-;26536:2;26518:21;;;26575:1;26555:18;;;26548:29;-1:-1:-1;;;26608:2:1;26593:18;;26586:33;26651:2;26636:18;;26508:152::o;26665:326::-;26867:2;26849:21;;;26906:1;26886:18;;;26879:29;-1:-1:-1;;;26939:2:1;26924:18;;26917:33;26982:2;26967:18;;26839:152::o;26996:325::-;27198:2;27180:21;;;27237:1;27217:18;;;27210:29;-1:-1:-1;;;27270:2:1;27255:18;;27248:32;27312:2;27297:18;;27170:151::o;27326:326::-;27528:2;27510:21;;;27567:1;27547:18;;;27540:29;-1:-1:-1;;;27600:2:1;27585:18;;27578:33;27643:2;27628:18;;27500:152::o;27657:326::-;27859:2;27841:21;;;27898:1;27878:18;;;27871:29;-1:-1:-1;;;27931:2:1;27916:18;;27909:33;27974:2;27959:18;;27831:152::o;27988:326::-;28190:2;28172:21;;;28229:1;28209:18;;;28202:29;-1:-1:-1;;;28262:2:1;28247:18;;28240:33;28305:2;28290:18;;28162:152::o;28319:324::-;28521:2;28503:21;;;28560:1;28540:18;;;28533:29;-1:-1:-1;;;28593:2:1;28578:18;;28571:31;28634:2;28619:18;;28493:150::o;28648:326::-;28850:2;28832:21;;;28889:1;28869:18;;;28862:29;-1:-1:-1;;;28922:2:1;28907:18;;28900:33;28965:2;28950:18;;28822:152::o;28979:325::-;29181:2;29163:21;;;29220:1;29200:18;;;29193:29;-1:-1:-1;;;29253:2:1;29238:18;;29231:32;29295:2;29280:18;;29153:151::o;29309:324::-;29511:2;29493:21;;;29550:1;29530:18;;;29523:29;-1:-1:-1;;;29583:2:1;29568:18;;29561:31;29624:2;29609:18;;29483:150::o;29638:325::-;29840:2;29822:21;;;29879:1;29859:18;;;29852:29;-1:-1:-1;;;29912:2:1;29897:18;;29890:32;29954:2;29939:18;;29812:151::o;29968:325::-;30170:2;30152:21;;;30209:1;30189:18;;;30182:29;-1:-1:-1;;;30242:2:1;30227:18;;30220:32;30284:2;30269:18;;30142:151::o;30298:324::-;30500:2;30482:21;;;30539:1;30519:18;;;30512:29;-1:-1:-1;;;30572:2:1;30557:18;;30550:31;30613:2;30598:18;;30472:150::o;30627:326::-;30829:2;30811:21;;;30868:1;30848:18;;;30841:29;-1:-1:-1;;;30901:2:1;30886:18;;30879:33;30944:2;30929:18;;30801:152::o;30958:325::-;31160:2;31142:21;;;31199:1;31179:18;;;31172:29;-1:-1:-1;;;31232:2:1;31217:18;;31210:32;31274:2;31259:18;;31132:151::o;31288:327::-;31490:2;31472:21;;;31529:1;31509:18;;;31502:29;-1:-1:-1;;;31562:2:1;31547:18;;31540:34;31606:2;31591:18;;31462:153::o;31620:325::-;31822:2;31804:21;;;31861:1;31841:18;;;31834:29;-1:-1:-1;;;31894:2:1;31879:18;;31872:32;31936:2;31921:18;;31794:151::o;31950:326::-;32152:2;32134:21;;;32191:1;32171:18;;;32164:29;-1:-1:-1;;;32224:2:1;32209:18;;32202:33;32267:2;32252:18;;32124:152::o;32281:278::-;32517:13;;-1:-1:-1;;;;;32513:39:1;32495:58;;32483:2;32468:18;;32450:109::o;32564:268::-;32810:13;;32803:21;32796:29;32778:48;;32766:2;32751:18;;32733:99::o;32837:543::-;-1:-1:-1;;;;;33167:15:1;;;33149:34;;33214:2;33199:18;;33192:34;;;;33257:2;33242:18;;33235:34;;;;33305:15;;33300:2;33285:18;;33278:43;33358:15;;;33352:3;33337:19;;33330:44;33083:3;33068:19;;33050:330::o;33567:248::-;33741:25;;;33797:2;33782:18;;33775:34;33729:2;33714:18;;33696:119::o;33820:319::-;34022:25;;;34078:2;34063:18;;34056:34;;;;34121:2;34106:18;;34099:34;34010:2;33995:18;;33977:162::o;34144:391::-;34375:25;;;34431:2;34416:18;;34409:34;;;;34474:2;34459:18;;34452:34;34517:2;34502:18;;34495:34;34362:3;34347:19;;34329:206::o;34540:184::-;34712:4;34700:17;;;;34682:36;;34670:2;34655:18;;34637:87::o;34729:242::-;34799:2;34793:9;34829:17;;;34876:18;34861:34;;34897:22;;;34858:62;34855:2;;;34923:9;34855:2;34950;34943:22;34773:198;;-1:-1:-1;34773:198:1:o;34976:181::-;;35073:18;35065:6;35062:30;35059:2;;;35095:9;35059:2;-1:-1:-1;35146:4:1;35127:17;;;35123:28;;35049:108::o;35162:258::-;35234:1;35244:113;35258:6;35255:1;35252:13;35244:113;;;35334:11;;;35328:18;35315:11;;;35308:39;35280:2;35273:10;35244:113;;;35375:6;35372:1;35369:13;35366:2;;;-1:-1:-1;;35410:1:1;35392:16;;35385:27;35215:205::o;35425:133::-;-1:-1:-1;;;;;35502:31:1;;35492:42;;35482:2;;35548:1;35545;35538:12;35482:2;35472:86;:::o;35563:120::-;35651:5;35644:13;35637:21;35630:5;35627:32;35617:2;;35673:1;35670;35663:12;35688:116;35774:4;35767:5;35763:16;35756:5;35753:27;35743:2;;35794:1;35791;35784:12

Swarm Source

ipfs://9ec1d1b97c088e8904ad528d395ddbc67d4e4ae9429e69b8d358833d8432235f

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.