ETH Price: $3,728.20 (+18.35%)
Gas: 15 Gwei

Contract

0xB440bd39870A94ba1131C6182Ca5Fba589d5449e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Multicall196011162024-04-07 3:23:2344 days ago1712460203IN
0xB440bd39...589d5449e
0 ETH0.0059326411.83956488
Multicall195649352024-04-02 1:46:4749 days ago1712022407IN
0xB440bd39...589d5449e
0 ETH0.0092890518.41912605
Multicall194386592024-03-15 6:48:1167 days ago1710485291IN
0xB440bd39...589d5449e
0 ETH0.0203372735.41653593
Multicall191603962024-02-05 6:49:11106 days ago1707115751IN
0xB440bd39...589d5449e
0 ETH0.0136739213.23638498
Multicall191603672024-02-05 6:43:23106 days ago1707115403IN
0xB440bd39...589d5449e
0 ETH0.021639415.24687377
Multicall191603452024-02-05 6:38:59106 days ago1707115139IN
0xB440bd39...589d5449e
0 ETH0.0073151512.92531054
Multicall191537032024-02-04 8:16:11107 days ago1707034571IN
0xB440bd39...589d5449e
0 ETH0.0102330913.61050023
Multicall191536112024-02-04 7:57:23107 days ago1707033443IN
0xB440bd39...589d5449e
0 ETH0.0245785614.73833664
Multicall191535362024-02-04 7:42:23107 days ago1707032543IN
0xB440bd39...589d5449e
0 ETH0.016448812.29208205
Multicall191535132024-02-04 7:37:47107 days ago1707032267IN
0xB440bd39...589d5449e
0 ETH0.0243860613.34012762
Init191534172024-02-04 7:18:23107 days ago1707031103IN
0xB440bd39...589d5449e
0 ETH0.009087113.31282244
Multicall191533982024-02-04 7:14:35107 days ago1707030875IN
0xB440bd39...589d5449e
0 ETH0.0098496413.0841142
Init191533812024-02-04 7:11:11107 days ago1707030671IN
0xB440bd39...589d5449e
0 ETH0.0107055713.25157428
Init191530152024-02-04 5:57:11107 days ago1707026231IN
0xB440bd39...589d5449e
0 ETH0.0101830113.90429192
Multicall191529732024-02-04 5:48:47107 days ago1707025727IN
0xB440bd39...589d5449e
0 ETH0.009533313.41117332
Multicall191529232024-02-04 5:38:35107 days ago1707025115IN
0xB440bd39...589d5449e
0 ETH0.0100739112.41337998
Multicall191527212024-02-04 4:56:59107 days ago1707022619IN
0xB440bd39...589d5449e
0 ETH0.0115197412.31717474
Multicall191526642024-02-04 4:45:23107 days ago1707021923IN
0xB440bd39...589d5449e
0 ETH0.0475435514.24117736
Multicall173353012023-05-25 9:33:47362 days ago1685007227IN
0xB440bd39...589d5449e
0 ETH0.0169592327.53033322
Multicall173352882023-05-25 9:31:11362 days ago1685007071IN
0xB440bd39...589d5449e
0 ETH0.0152587527.14612612
Multicall165241402023-01-31 3:32:11476 days ago1675135931IN
0xB440bd39...589d5449e
0 ETH0.0099763515.31792549
Multicall165241192023-01-31 3:27:59476 days ago1675135679IN
0xB440bd39...589d5449e
0 ETH0.007268214.16428245
Multicall159226942022-11-08 3:42:11560 days ago1667878931IN
0xB440bd39...589d5449e
0 ETH0.0034862313.96924087
Multicall159148012022-11-07 1:16:23561 days ago1667783783IN
0xB440bd39...589d5449e
0 ETH0.0095309112.44927064
Multicall158673922022-10-31 10:17:59568 days ago1667211479IN
0xB440bd39...589d5449e
0 ETH0.0081571510.30551638
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:
HotPotV3FundController

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 800 runs

Other Settings:
istanbul EvmVersion, None license
File 1 of 36 : HotPotV3FundController.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol';
import '@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol';
import '@uniswap/v3-periphery/contracts/libraries/TransferHelper.sol';
import './libraries/PathPrice.sol';
import './interfaces/IHotPotV3Fund.sol';
import './interfaces/IHotPot.sol';
import './interfaces/IHotPotV3FundController.sol';
import './base/Multicall.sol';

contract HotPotV3FundController is IHotPotV3FundController, Multicall {
    using Path for bytes;

    address public override immutable uniV3Factory;
    address public override immutable uniV3Router;
    address public override immutable hotpot;
    address public override governance;
    address public override immutable WETH9;
    uint32 maxPIS = (100 << 16) + 9974;// MaxPriceImpact: 1%, MaxSwapSlippage: 0.5% = (1 - (sqrtSlippage/1e4)^2) * 100%

    mapping (address => bool) public override verifiedToken;
    mapping (address => bytes) public override harvestPath;

    modifier onlyManager(address fund){
        require(msg.sender == IHotPotV3Fund(fund).manager(), "OMC");
        _;
    }

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

    modifier checkDeadline(uint deadline) {
        require(block.timestamp <= deadline, 'CDL');
        _;
    }

    constructor(
        address _hotpot,
        address _governance,
        address _uniV3Router,
        address _uniV3Factory,
        address _weth9
    ) {
        hotpot = _hotpot;
        governance = _governance;
        uniV3Router = _uniV3Router;
        uniV3Factory = _uniV3Factory;
        WETH9 = _weth9;
    }

    /// @inheritdoc IControllerState
    function maxPriceImpact() external override view returns(uint32 priceImpact){
        return maxPIS >> 16;
    }

    /// @inheritdoc IControllerState
    function maxSqrtSlippage() external override view returns(uint32 sqrtSlippage){
        return maxPIS & 0xffff;
    }

    /// @inheritdoc IGovernanceActions
    function setHarvestPath(address token, bytes calldata path) external override onlyGovernance {
        bytes memory _path = path;
        while (true) {
            (address tokenIn, address tokenOut, uint24 fee) = _path.decodeFirstPool();

            // pool is exist
            address pool = IUniswapV3Factory(uniV3Factory).getPool(tokenIn, tokenOut, fee);
            require(pool != address(0), "PIE");
            // at least 2 observations
            (,,,uint16 observationCardinality,,,) = IUniswapV3Pool(pool).slot0();
            require(observationCardinality >= 2, "OC");

            if (_path.hasMultiplePools()) {
                _path = _path.skipToken();
            } else {
                //最后一个交易对:输入WETH9, 输出hotpot
                require(tokenIn == WETH9 && tokenOut == hotpot, "IOT");
                break;
            }
        }
        harvestPath[token] = path;
        emit SetHarvestPath(token, path);
    }

    /// @inheritdoc IGovernanceActions
    function setMaxPriceImpact(uint32 priceImpact) external override onlyGovernance {
        require(priceImpact <= 1e4 ,"SPI");
        maxPIS = (priceImpact << 16) | (maxPIS & 0xffff);
        emit SetMaxPriceImpact(priceImpact);
    }

    /// @inheritdoc IGovernanceActions
    function setMaxSqrtSlippage(uint32 sqrtSlippage) external override onlyGovernance {
        require(sqrtSlippage <= 1e4 ,"SSS");
        maxPIS = maxPIS & 0xffff0000 | sqrtSlippage;
        emit SetMaxSqrtSlippage(sqrtSlippage);
    }

    /// @inheritdoc IHotPotV3FundController
    function harvest(address token, uint amount) external override returns(uint burned) {
        bytes memory path = harvestPath[token];
        PathPrice.verifySlippage(path, uniV3Factory, maxPIS & 0xffff);
        uint value = amount <= IERC20(token).balanceOf(address(this)) ? amount : IERC20(token).balanceOf(address(this));
        TransferHelper.safeApprove(token, uniV3Router, value);

        ISwapRouter.ExactInputParams memory args = ISwapRouter.ExactInputParams({
            path: path,
            recipient: address(this),
            deadline: block.timestamp,
            amountIn: value,
            amountOutMinimum: 0
        });
        burned = ISwapRouter(uniV3Router).exactInput(args);
        IHotPot(hotpot).burn(burned);
        emit Harvest(token, amount, burned);
    }

    /// @inheritdoc IGovernanceActions
    function setGovernance(address account) external override onlyGovernance {
        require(account != address(0));
        governance = account;
        emit SetGovernance(account);
    }

    /// @inheritdoc IGovernanceActions
    function setVerifiedToken(address token, bool isVerified) external override onlyGovernance {
        verifiedToken[token] = isVerified;
        emit ChangeVerifiedToken(token, isVerified);
    }

    /// @inheritdoc IManagerActions
    function setDescriptor(address fund, bytes calldata _descriptor) external override onlyManager(fund) {
        return IHotPotV3Fund(fund).setDescriptor(_descriptor);
    }

    /// @inheritdoc IManagerActions
    function setDepositDeadline(address fund, uint deadline) external override onlyManager(fund) {
        return IHotPotV3Fund(fund).setDepositDeadline(deadline);
    }

    /// @inheritdoc IManagerActions
    function setPath(
        address fund,
        address distToken,
        bytes memory path
    ) external override onlyManager(fund){
        require(verifiedToken[distToken]);

        address fundToken = IHotPotV3Fund(fund).token();
        bytes memory _path = path;
        bytes memory _reverse;
        (address tokenIn, address tokenOut, uint24 fee) = path.decodeFirstPool();
        _reverse = abi.encodePacked(tokenOut, fee, tokenIn);
        bool isBuy;
        // 第一个tokenIn是基金token,那么就是buy路径
        if(tokenIn == fundToken){
            isBuy = true;
        }
        // 如果是sellPath, 第一个需要是目标代币
        else{
            require(tokenIn == distToken);
        }

        while (true) {
            require(verifiedToken[tokenIn], "VIT");
            require(verifiedToken[tokenOut], "VOT");
            // pool is exist
            address pool = IUniswapV3Factory(uniV3Factory).getPool(tokenIn, tokenOut, fee);
            require(pool != address(0), "PIE");
            // at least 2 observations
            (,,,uint16 observationCardinality,,,) = IUniswapV3Pool(pool).slot0();
            require(observationCardinality >= 2, "OC");

            if (path.hasMultiplePools()) {
                path = path.skipToken();
                (tokenIn, tokenOut, fee) = path.decodeFirstPool();
                _reverse = abi.encodePacked(tokenOut, fee, _reverse);
            } else {
                /// @dev 如果是buy, 最后一个token要是目标代币;
                /// @dev 如果是sell, 最后一个token要是基金token.
                if(isBuy)
                    require(tokenOut == distToken, "OID");
                else
                    require(tokenOut == fundToken, "OIF");
                break;
            }
        }
        if(!isBuy) (_path, _reverse) = (_reverse, _path);
        IHotPotV3Fund(fund).setPath(distToken, _path, _reverse);
    }

    /// @inheritdoc IManagerActions
    function init(
        address fund,
        address token0,
        address token1,
        uint24 fee,
        int24 tickLower,
        int24 tickUpper,
        uint amount,
        uint deadline
    ) external override checkDeadline(deadline) onlyManager(fund) returns(uint128 liquidity){
        return IHotPotV3Fund(fund).init(token0, token1, fee, tickLower, tickUpper, amount, maxPIS);
    }

    /// @inheritdoc IManagerActions
    function add(
        address fund,
        uint poolIndex,
        uint positionIndex,
        uint amount,
        bool collect,
        uint deadline
    ) external override checkDeadline(deadline) onlyManager(fund) returns(uint128 liquidity){
        return IHotPotV3Fund(fund).add(poolIndex, positionIndex, amount, collect, maxPIS);
    }

    /// @inheritdoc IManagerActions
    function sub(
        address fund,
        uint poolIndex,
        uint positionIndex,
        uint proportionX128,
        uint deadline
    ) external override checkDeadline(deadline) onlyManager(fund) returns(uint amount){
        return IHotPotV3Fund(fund).sub(poolIndex, positionIndex, proportionX128, maxPIS);
    }

    /// @inheritdoc IManagerActions
    function move(
        address fund,
        uint poolIndex,
        uint subIndex,
        uint addIndex,
        uint proportionX128,
        uint deadline
    ) external override checkDeadline(deadline) onlyManager(fund) returns(uint128 liquidity){
        return IHotPotV3Fund(fund).move(poolIndex, subIndex, addIndex, proportionX128, maxPIS);
    }
}

File 2 of 36 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

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

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

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

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

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

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

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

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

File 3 of 36 : IUniswapV3Factory.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title The interface for the Uniswap V3 Factory
/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees
interface IUniswapV3Factory {
    /// @notice Emitted when the owner of the factory is changed
    /// @param oldOwner The owner before the owner was changed
    /// @param newOwner The owner after the owner was changed
    event OwnerChanged(address indexed oldOwner, address indexed newOwner);

    /// @notice Emitted when a pool is created
    /// @param token0 The first token of the pool by address sort order
    /// @param token1 The second token of the pool by address sort order
    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// @param tickSpacing The minimum number of ticks between initialized ticks
    /// @param pool The address of the created pool
    event PoolCreated(
        address indexed token0,
        address indexed token1,
        uint24 indexed fee,
        int24 tickSpacing,
        address pool
    );

    /// @notice Emitted when a new fee amount is enabled for pool creation via the factory
    /// @param fee The enabled fee, denominated in hundredths of a bip
    /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee
    event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);

    /// @notice Returns the current owner of the factory
    /// @dev Can be changed by the current owner via setOwner
    /// @return The address of the factory owner
    function owner() external view returns (address);

    /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled
    /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context
    /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee
    /// @return The tick spacing
    function feeAmountTickSpacing(uint24 fee) external view returns (int24);

    /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist
    /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order
    /// @param tokenA The contract address of either token0 or token1
    /// @param tokenB The contract address of the other token
    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// @return pool The pool address
    function getPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external view returns (address pool);

    /// @notice Creates a pool for the given two tokens and fee
    /// @param tokenA One of the two tokens in the desired pool
    /// @param tokenB The other of the two tokens in the desired pool
    /// @param fee The desired fee for the pool
    /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved
    /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments
    /// are invalid.
    /// @return pool The address of the newly created pool
    function createPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external returns (address pool);

    /// @notice Updates the owner of the factory
    /// @dev Must be called by the current owner
    /// @param _owner The new owner of the factory
    function setOwner(address _owner) external;

    /// @notice Enables a fee amount with the given tickSpacing
    /// @dev Fee amounts may never be removed once enabled
    /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6)
    /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount
    function enableFeeAmount(uint24 fee, int24 tickSpacing) external;
}

File 4 of 36 : IUniswapV3Pool.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import './pool/IUniswapV3PoolImmutables.sol';
import './pool/IUniswapV3PoolState.sol';
import './pool/IUniswapV3PoolDerivedState.sol';
import './pool/IUniswapV3PoolActions.sol';
import './pool/IUniswapV3PoolOwnerActions.sol';
import './pool/IUniswapV3PoolEvents.sol';

/// @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,
    IUniswapV3PoolOwnerActions,
    IUniswapV3PoolEvents
{

}

File 5 of 36 : IUniswapV3SwapCallback.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Callback for IUniswapV3PoolActions#swap
/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface
interface IUniswapV3SwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external;
}

File 6 of 36 : IUniswapV3PoolActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Permissionless pool actions
/// @notice Contains pool methods that can be called by anyone
interface IUniswapV3PoolActions {
    /// @notice Sets the initial price for the pool
    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96
    function initialize(uint160 sqrtPriceX96) external;

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

    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback
    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback
    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling
    /// with 0 amount{0,1} and sending the donation amount(s) from the callback
    /// @param recipient The address which will receive the token0 and token1 amounts
    /// @param amount0 The amount of token0 to send
    /// @param amount1 The amount of token1 to send
    /// @param data Any data to be passed through to the callback
    function flash(
        address recipient,
        uint256 amount0,
        uint256 amount1,
        bytes calldata data
    ) external;

    /// @notice Increase the maximum number of price and liquidity observations that this pool will store
    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to
    /// the input observationCardinalityNext.
    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store
    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;
}

File 7 of 36 : IUniswapV3PoolDerivedState.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

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

    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range
    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.
    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first
    /// snapshot is taken and the second snapshot is taken.
    /// @param tickLower The lower tick of the range
    /// @param tickUpper The upper tick of the range
    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range
    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range
    /// @return secondsInside The snapshot of seconds per liquidity for the range
    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)
        external
        view
        returns (
            int56 tickCumulativeInside,
            uint160 secondsPerLiquidityInsideX128,
            uint32 secondsInside
        );
}

File 8 of 36 : IUniswapV3PoolEvents.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Events emitted by a pool
/// @notice Contains all events emitted by the pool
interface IUniswapV3PoolEvents {
    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool
    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize
    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96
    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool
    event Initialize(uint160 sqrtPriceX96, int24 tick);

    /// @notice Emitted when liquidity is minted for a given position
    /// @param sender The address that minted the liquidity
    /// @param owner The owner of the position and recipient of any minted liquidity
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity minted to the position range
    /// @param amount0 How much token0 was required for the minted liquidity
    /// @param amount1 How much token1 was required for the minted liquidity
    event Mint(
        address sender,
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted when fees are collected by the owner of a position
    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees
    /// @param owner The owner of the position for which fees are collected
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount0 The amount of token0 fees collected
    /// @param amount1 The amount of token1 fees collected
    event Collect(
        address indexed owner,
        address recipient,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount0,
        uint128 amount1
    );

    /// @notice Emitted when a position's liquidity is removed
    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect
    /// @param owner The owner of the position for which liquidity is removed
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity to remove
    /// @param amount0 The amount of token0 withdrawn
    /// @param amount1 The amount of token1 withdrawn
    event Burn(
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted by the pool for any swaps between token0 and token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the output of the swap
    /// @param amount0 The delta of the token0 balance of the pool
    /// @param amount1 The delta of the token1 balance of the pool
    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96
    /// @param liquidity The liquidity of the pool after the swap
    /// @param tick The log base 1.0001 of price of the pool after the swap
    event Swap(
        address indexed sender,
        address indexed recipient,
        int256 amount0,
        int256 amount1,
        uint160 sqrtPriceX96,
        uint128 liquidity,
        int24 tick
    );

    /// @notice Emitted by the pool for any flashes of token0/token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the tokens from flash
    /// @param amount0 The amount of token0 that was flashed
    /// @param amount1 The amount of token1 that was flashed
    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee
    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee
    event Flash(
        address indexed sender,
        address indexed recipient,
        uint256 amount0,
        uint256 amount1,
        uint256 paid0,
        uint256 paid1
    );

    /// @notice Emitted by the pool for increases to the number of observations that can be stored
    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index
    /// just before a mint/swap/burn.
    /// @param observationCardinalityNextOld The previous value of the next observation cardinality
    /// @param observationCardinalityNextNew The updated value of the next observation cardinality
    event IncreaseObservationCardinalityNext(
        uint16 observationCardinalityNextOld,
        uint16 observationCardinalityNextNew
    );

    /// @notice Emitted when the protocol fee is changed by the pool
    /// @param feeProtocol0Old The previous value of the token0 protocol fee
    /// @param feeProtocol1Old The previous value of the token1 protocol fee
    /// @param feeProtocol0New The updated value of the token0 protocol fee
    /// @param feeProtocol1New The updated value of the token1 protocol fee
    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);

    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner
    /// @param sender The address that collects the protocol fees
    /// @param recipient The address that receives the collected protocol fees
    /// @param amount0 The amount of token0 protocol fees that is withdrawn
    /// @param amount0 The amount of token1 protocol fees that is withdrawn
    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);
}

File 9 of 36 : IUniswapV3PoolImmutables.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @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 contract that deployed the pool, which must adhere to the IUniswapV3Factory interface
    /// @return The contract address
    function factory() external view returns (address);

    /// @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's fee in hundredths of a bip, i.e. 1e-6
    /// @return The fee
    function fee() external view returns (uint24);

    /// @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 The maximum amount of position liquidity that can use any tick in the range
    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and
    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool
    /// @return The max amount of liquidity per tick
    function maxLiquidityPerTick() external view returns (uint128);
}

File 10 of 36 : IUniswapV3PoolOwnerActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Permissioned pool actions
/// @notice Contains pool methods that may only be called by the factory owner
interface IUniswapV3PoolOwnerActions {
    /// @notice Set the denominator of the protocol's % share of the fees
    /// @param feeProtocol0 new protocol fee for token0 of the pool
    /// @param feeProtocol1 new protocol fee for token1 of the pool
    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;

    /// @notice Collect the protocol fee accrued to the pool
    /// @param recipient The address to which collected protocol fees should be sent
    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1
    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0
    /// @return amount0 The protocol fee collected in token0
    /// @return amount1 The protocol fee collected in token1
    function collectProtocol(
        address recipient,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);
}

File 11 of 36 : IUniswapV3PoolState.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @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 The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal0X128() external view returns (uint256);

    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal1X128() external view returns (uint256);

    /// @notice The amounts of token0 and token1 that are owed to the protocol
    /// @dev Protocol fees will never exceed uint128 max in either token
    function protocolFees() external view returns (uint128 token0, uint128 token1);

    /// @notice The currently in range liquidity available to the pool
    /// @dev This value has no relationship to the total liquidity across all ticks
    function liquidity() external view returns (uint128);

    /// @notice Look up information about a specific tick in the pool
    /// @param tick The tick to look up
    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or
    /// tick upper,
    /// liquidityNet how much liquidity changes when the pool price crosses the tick,
    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,
    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,
    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick
    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,
    /// secondsOutside the seconds spent on the other side of the tick from the current tick,
    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.
    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.
    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for
    /// a specific position.
    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityGross,
            int128 liquidityNet,
            uint256 feeGrowthOutside0X128,
            uint256 feeGrowthOutside1X128,
            int56 tickCumulativeOutside,
            uint160 secondsPerLiquidityOutsideX128,
            uint32 secondsOutside,
            bool initialized
        );

    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information
    function tickBitmap(int16 wordPosition) external view returns (uint256);

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

    /// @notice Returns data about a specific observation index
    /// @param index The element of the observations array to fetch
    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time
    /// ago, rather than at a specific index in the array.
    /// @return blockTimestamp The timestamp of the observation,
    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,
    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,
    /// Returns initialized whether the observation has been initialized and the values are safe to use
    function observations(uint256 index)
        external
        view
        returns (
            uint32 blockTimestamp,
            int56 tickCumulative,
            uint160 secondsPerLiquidityCumulativeX128,
            bool initialized
        );
}

File 12 of 36 : FixedPoint128.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.4.0;

/// @title FixedPoint128
/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)
library FixedPoint128 {
    uint256 internal constant Q128 = 0x100000000000000000000000000000000;
}

File 13 of 36 : FixedPoint96.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.4.0;

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

File 14 of 36 : FullMath.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.0;

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

File 15 of 36 : TickMath.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

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

File 16 of 36 : ISwapRouter.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';

/// @title Router token swapping functionality
/// @notice Functions for swapping tokens via Uniswap V3
interface ISwapRouter is IUniswapV3SwapCallback {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

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

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

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

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

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

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

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

File 17 of 36 : BytesLib.sol
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * @title Solidity Bytes Arrays Utils
 * @author Gonçalo Sá <[email protected]>
 *
 * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.
 *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.
 */
pragma solidity >=0.5.0 <0.8.0;

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

        bytes memory tempBytes;

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

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

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

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

                    mstore(tempBytes, _length)

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

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

        return tempBytes;
    }

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

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

        return tempAddress;
    }

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

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

        return tempUint;
    }
}

File 18 of 36 : Path.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.0;

import './BytesLib.sol';

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

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

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

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

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

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

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

File 19 of 36 : PoolAddress.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee
library PoolAddress {
    bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;

    /// @notice The identifying key of the pool
    struct PoolKey {
        address token0;
        address token1;
        uint24 fee;
    }

    /// @notice Returns PoolKey: the ordered tokens with the matched fee levels
    /// @param tokenA The first token of a pool, unsorted
    /// @param tokenB The second token of a pool, unsorted
    /// @param fee The fee level of the pool
    /// @return Poolkey The pool details with ordered token0 and token1 assignments
    function getPoolKey(
        address tokenA,
        address tokenB,
        uint24 fee
    ) internal pure returns (PoolKey memory) {
        if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
        return PoolKey({token0: tokenA, token1: tokenB, fee: fee});
    }

    /// @notice Deterministically computes the pool address given the factory and PoolKey
    /// @param factory The Uniswap V3 factory contract address
    /// @param key The PoolKey
    /// @return pool The contract address of the V3 pool
    function computeAddress(address factory, PoolKey memory key) internal pure returns (address pool) {
        require(key.token0 < key.token1);
        pool = address(
            uint256(
                keccak256(
                    abi.encodePacked(
                        hex'ff',
                        factory,
                        keccak256(abi.encode(key.token0, key.token1, key.fee)),
                        POOL_INIT_CODE_HASH
                    )
                )
            )
        );
    }
}

File 20 of 36 : TransferHelper.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.0;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

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');
    }

    /// @notice Approves the stipulated contract to spend the given allowance in the given token
    /// @dev Errors with 'SA' if transfer fails
    /// @param token The contract address of the token to be approved
    /// @param to The target of the approval
    /// @param value The amount of the given token the target will be allowed to spend
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'SA');
    }

    /// @notice Transfers ETH to the recipient address
    /// @dev Fails with `STE`
    /// @param to The destination of the transfer
    /// @param value The value to be transferred
    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'STE');
    }
}

File 22 of 36 : Multicall.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma abicoder v2;

import '../interfaces/IMulticall.sol';

/// @title Multicall
/// @notice Enables calling multiple methods in a single call to the contract
abstract contract Multicall is IMulticall {
    /// @inheritdoc IMulticall
    function multicall(bytes[] calldata data) external payable override returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            (bool success, bytes memory result) = address(this).delegatecall(data[i]);

            if (!success) {
                // Next 5 lines from https://ethereum.stackexchange.com/a/83577
                if (result.length < 68) revert();
                assembly {
                    result := add(result, 0x04)
                }
                revert(abi.decode(result, (string)));
            }

            results[i] = result;
        }
    }
}

File 23 of 36 : IHotPot.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title HPT (Hotpot Funds) 代币接口定义.
interface IHotPot is IERC20{
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);

    function burn(uint value) external returns (bool) ;
    function burnFrom(address from, uint value) external returns (bool);
}

File 24 of 36 : IHotPotV3Fund.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import './IHotPotV3FundERC20.sol';
import './fund/IHotPotV3FundEvents.sol';
import './fund/IHotPotV3FundState.sol';
import './fund/IHotPotV3FundUserActions.sol';
import './fund/IHotPotV3FundManagerActions.sol';

/// @title Hotpot V3 基金接口
/// @notice 接口定义分散在多个接口文件
interface IHotPotV3Fund is 
    IHotPotV3FundERC20, 
    IHotPotV3FundEvents, 
    IHotPotV3FundState, 
    IHotPotV3FundUserActions, 
    IHotPotV3FundManagerActions
{    
}

File 25 of 36 : IHotPotV3FundController.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import './controller/IManagerActions.sol';
import './controller/IGovernanceActions.sol';
import './controller/IControllerState.sol';
import './controller/IControllerEvents.sol';

/// @title Hotpot V3 控制合约接口定义.
/// @notice 基金经理和治理均需通过控制合约进行操作.
interface IHotPotV3FundController is IManagerActions, IGovernanceActions, IControllerState, IControllerEvents {
    /// @notice 基金分成全部用于销毁HPT
    /// @dev 任何人都可以调用本函数
    /// @param token 用于销毁时购买HPT的代币类型
    /// @param amount 代币数量
    /// @return burned 销毁数量
    function harvest(address token, uint amount) external returns(uint burned);
}

File 26 of 36 : IHotPotV3FundERC20.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title Hotpot V3 基金份额代币接口定义
interface IHotPotV3FundERC20 is IERC20{
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

File 27 of 36 : IMulticall.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

/// @title Multicall
/// @notice Enables calling multiple methods in a single call to the contract
interface IMulticall {
    /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed
    /// @param data The encoded function data for each of the calls to make to this contract
    /// @return results The results from each of the calls passed in via data
    /// @dev The `msg.value` should not be trusted for any method callable from multicall.
    function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);
}

File 28 of 36 : IControllerEvents.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title HotPotV3Controller 事件接口定义
interface IControllerEvents {
    /// @notice 当设置受信任token时触发
    event ChangeVerifiedToken(address indexed token, bool isVerified);

    /// @notice 当调用Harvest时触发
    event Harvest(address indexed token, uint amount, uint burned);

    /// @notice 当调用setHarvestPath时触发
    event SetHarvestPath(address indexed token, bytes path);

    /// @notice 当调用setGovernance时触发
    event SetGovernance(address indexed account);

    /// @notice 当调用setMaxSqrtSlippage时触发
    event SetMaxSqrtSlippage(uint sqrtSlippage);

    /// @notice 当调用setMaxPriceImpact时触发
    event SetMaxPriceImpact(uint priceImpact);
}

File 29 of 36 : IControllerState.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title HotPotV3Controller 状态变量及只读函数
interface IControllerState {
    /// @notice Returns the address of the Uniswap V3 router
    function uniV3Router() external view returns (address);

    /// @notice Returns the address of the Uniswap V3 facotry
    function uniV3Factory() external view returns (address);

    /// @notice 本项目治理代币HPT的地址
    function hotpot() external view returns (address);

    /// @notice 治理账户地址
    function governance() external view returns (address);

    /// @notice Returns the address of WETH9
    function WETH9() external view returns (address);

    /// @notice 代币是否受信任
    /// @dev The call will revert if the the token argument is address 0.
    /// @param token 要查询的代币地址
    function verifiedToken(address token) external view returns (bool);

    /// @notice harvest时交易路径
    /// @param token 要兑换的代币
    function harvestPath(address token) external view returns (bytes memory);

    /// @notice 获取swap时最大滑点,取值范围为 0-1e4, 计算公式为:MaxSwapSlippage = (1 - (sqrtSlippage/1e4)^2) * 100%
    ///         如设置最大滑点 0.5%, 则 sqrtSlippage 应设置为9974,此时 MaxSwapSlippage = (1-(9974/1e4)^2)*100% = 0.5% 
    function maxSqrtSlippage() external view returns (uint32);

    /// @notice 获取swap时最大价格影响,取值范围为 0-1e4
    function maxPriceImpact() external view returns (uint32);
}

File 30 of 36 : IGovernanceActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title 治理操作接口定义
interface IGovernanceActions {
    /// @notice Change governance
    /// @dev This function can only be called by governance
    /// @param account 新的governance地址
    function setGovernance(address account) external;

    /// @notice Set the token to be verified for all fund, vice versa
    /// @dev This function can only be called by governance
    /// @param token 目标代币
    /// @param isVerified 是否受信任
    function setVerifiedToken(address token, bool isVerified) external;

    /// @notice Set the swap path for harvest
    /// @dev This function can only be called by governance
    /// @param token 目标代币
    /// @param path 路径
    function setHarvestPath(address token, bytes calldata path) external;

    /// @notice 设置swap时最大滑点,取值范围为 0-1e4, 计算公式为:MaxSwapSlippage = (1 - (sqrtSlippage/1e4)^2) * 100%
    ///         如设置最大滑点 0.5%, 则 sqrtSlippage 应设置为9974,此时 MaxSwapSlippage = (1-(9974/1e4)^2)*100% = 0.5% 
    /// @dev This function can only be called by governance
    /// @param sqrtSlippage 0-1e4
    function setMaxSqrtSlippage(uint32 sqrtSlippage) external;

    /// @notice Set the max price impact for swap
    /// @dev This function can only be called by governance
    /// @param priceImpact 0-1e4
    function setMaxPriceImpact(uint32 priceImpact) external;
}

File 31 of 36 : IManagerActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import '../fund/IHotPotV3FundManagerActions.sol';

/// @title 控制器合约基金经理操作接口定义
interface IManagerActions {
    /// @notice 设置基金描述信息
    /// @dev This function can only be called by manager 
    /// @param _descriptor 描述信息
    function setDescriptor(address fund, bytes calldata _descriptor) external;

    /// @notice 设置基金存入截止时间
    /// @dev This function can only be called by manager 
    /// @param fund 基金地址
    /// @param deadline 最晚存入截止时间
    function setDepositDeadline(address fund, uint deadline) external;

    /// @notice 设置代币交易路径
    /// @dev This function can only be called by manager 
    /// @dev 设置路径时不能修改为0地址,且path路径里的token必须验证是否受信任
    /// @param fund 基金地址
    /// @param distToken 目标代币地址
    /// @param path 符合uniswap v3格式的交易路径
    function setPath(
        address fund, 
        address distToken, 
        bytes memory path
    ) external;

    /// @notice 初始化头寸, 允许投资额为0.
    /// @dev This function can only be called by manager
    /// @param fund 基金地址
    /// @param token0 token0 地址
    /// @param token1 token1 地址
    /// @param fee 手续费率
    /// @param tickLower 价格刻度下届
    /// @param tickUpper 价格刻度上届
    /// @param amount 初始化投入金额,允许为0, 为0表示仅初始化头寸,不作实质性投资
    /// @param deadline 最晚交易时间
    /// @return liquidity 添加的lp数量
    function init(
        address fund,
        address token0,
        address token1,
        uint24 fee,
        int24 tickLower,
        int24 tickUpper,
        uint amount,
        uint deadline
    ) external returns(uint128 liquidity);

    /// @notice 投资指定头寸,可选复投手续费
    /// @dev This function can only be called by manager 
    /// @param fund 基金地址
    /// @param poolIndex 池子索引号
    /// @param positionIndex 头寸索引号
    /// @param amount 投资金额
    /// @param collect 是否收集已产生的手续费并复投
    /// @param deadline 最晚交易时间
    /// @return liquidity 添加的lp数量
    function add(
        address fund,
        uint poolIndex,
        uint positionIndex, 
        uint amount, 
        bool collect,
        uint deadline
    ) external returns(uint128 liquidity);

    /// @notice 撤资指定头寸
    /// @dev This function can only be called by manager 
    /// @param fund 基金地址
    /// @param poolIndex 池子索引号
    /// @param positionIndex 头寸索引号
    /// @param proportionX128 撤资比例,左移128位; 允许为0,为0表示只收集手续费
    /// @param deadline 最晚交易时间
    /// @return amount 撤资获得的基金本币数量
    function sub(
        address fund,
        uint poolIndex,
        uint positionIndex,
        uint proportionX128,
        uint deadline
    ) external returns(uint amount);

    /// @notice 调整头寸投资
    /// @dev This function can only be called by manager 
    /// @param fund 基金地址
    /// @param poolIndex 池子索引号
    /// @param subIndex 要移除的头寸索引号
    /// @param addIndex 要添加的头寸索引号
    /// @param proportionX128 调整比例,左移128位
    /// @param deadline 最晚交易时间
    /// @return liquidity 调整后添加的lp数量
    function move(
        address fund,
        uint poolIndex,
        uint subIndex, 
        uint addIndex,
        uint proportionX128,
        uint deadline
    ) external returns(uint128 liquidity);
}

File 32 of 36 : IHotPotV3FundEvents.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Hotpot V3 事件接口定义
interface IHotPotV3FundEvents {
    /// @notice 当存入基金token时,会触发该事件
    event Deposit(address indexed owner, uint amount, uint share);

    /// @notice 当取走基金token时,会触发该事件
    event Withdraw(address indexed owner, uint amount, uint share);

    /// @notice 当调用setDescriptor时触发
    event SetDescriptor(bytes descriptor);

    /// @notice 当调用setDepositDeadline时触发
    event SetDeadline(uint deadline);

    /// @notice 当调用setPath时触发
    event SetPath(address distToken, bytes path);

    /// @notice 当调用init时,会触发该事件
    event Init(uint poolIndex, uint positionIndex, uint amount);

    /// @notice 当调用add时,会触发该事件
    event Add(uint poolIndex, uint positionIndex, uint amount, bool collect);

    /// @notice 当调用sub时,会触发该事件
    event Sub(uint poolIndex, uint positionIndex, uint proportionX128);

    /// @notice 当调用move时,会触发该事件
    event Move(uint poolIndex, uint subIndex, uint addIndex, uint proportionX128);
}

File 33 of 36 : IHotPotV3FundManagerActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @notice 基金经理操作接口定义
interface IHotPotV3FundManagerActions {
    /// @notice 设置基金描述信息
    /// @dev This function can only be called by controller 
    /// @param _descriptor 描述信息
    function setDescriptor(bytes calldata _descriptor) external;

    /// @notice 设置基金存入截止时间
    /// @dev This function can only be called by controller 
    /// @param deadline 最晚存入截止时间
    function setDepositDeadline(uint deadline) external;

    /// @notice 设置代币交易路径
    /// @dev This function can only be called by controller 
    /// @dev 设置路径时不能修改为0地址,且path路径里的token必须验证是否受信任
    /// @param distToken 目标代币地址
    /// @param buy 购买路径(本币->distToken)
    /// @param sell 销售路径(distToken->本币)
    function setPath(
        address distToken, 
        bytes calldata buy,
        bytes calldata sell
    ) external;

    /// @notice 初始化头寸, 允许投资额为0.
    /// @dev This function can only be called by controller
    /// @param token0 token0 地址
    /// @param token1 token1 地址
    /// @param fee 手续费率
    /// @param tickLower 价格刻度下届
    /// @param tickUpper 价格刻度上届
    /// @param amount 初始化投入金额,允许为0, 为0表示仅初始化头寸,不作实质性投资
    /// @param maxPIS 最大价格影响和价格滑点
    /// @return liquidity 添加的lp数量
    function init(
        address token0,
        address token1,
        uint24 fee,
        int24 tickLower,
        int24 tickUpper,
        uint amount,
        uint32 maxPIS
    ) external returns(uint128 liquidity);

    /// @notice 投资指定头寸,可选复投手续费
    /// @dev This function can only be called by controller 
    /// @param poolIndex 池子索引号
    /// @param positionIndex 头寸索引号
    /// @param amount 投资金额
    /// @param collect 是否收集已产生的手续费并复投
    /// @param maxPIS 最大价格影响和价格滑点
    /// @return liquidity 添加的lp数量
    function add(
        uint poolIndex, 
        uint positionIndex, 
        uint amount, 
        bool collect,
        uint32 maxPIS
    ) external returns(uint128 liquidity);

    /// @notice 撤资指定头寸
    /// @dev This function can only be called by controller 
    /// @param poolIndex 池子索引号
    /// @param positionIndex 头寸索引号
    /// @param proportionX128 撤资比例,左移128位; 允许为0,为0表示只收集手续费
    /// @param maxPIS 最大价格影响和价格滑点
    /// @return amount 撤资获得的基金本币数量
    function sub(
        uint poolIndex, 
        uint positionIndex, 
        uint proportionX128,
        uint32 maxPIS
    ) external returns(uint amount);

    /// @notice 调整头寸投资
    /// @dev This function can only be called by controller 
    /// @param poolIndex 池子索引号
    /// @param subIndex 要移除的头寸索引号
    /// @param addIndex 要添加的头寸索引号
    /// @param proportionX128 调整比例,左移128位
    /// @param maxPIS 最大价格影响和价格滑点
    /// @return liquidity 调整后添加的lp数量
    function move(
        uint poolIndex,
        uint subIndex, 
        uint addIndex, 
        uint proportionX128, //以前是按LP数量移除,现在改成按总比例移除,这样前端就不用管实际LP是多少了
        uint32 maxPIS
    ) external  returns(uint128 liquidity);
}

File 34 of 36 : IHotPotV3FundState.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Hotpot V3 状态变量及只读函数
interface IHotPotV3FundState {
    /// @notice 控制器合约地址
    function controller() external view returns (address);

    /// @notice 基金经理地址
    function manager() external view returns (address);

    /// @notice 基金本币地址
    function token() external view returns (address);

    /// @notice 32 bytes 基金经理 + 任意长度的简要描述
    function descriptor() external view returns (bytes memory);

    /// @notice 基金锁定期
    function lockPeriod() external view returns (uint);

    /// @notice 基金经理收费基线
    function baseLine() external view returns (uint);

    /// @notice 基金经理收费比例
    function managerFee() external view returns (uint);

    /// @notice 基金存入截止时间
    function depositDeadline() external view returns (uint);

    /// @notice 获取最新存入时间
    /// @param account 目标地址
    /// @return 最新存入时间
    function lastDepositTime(address account) external view returns (uint);

    /// @notice 总投入数量
    function totalInvestment() external view returns (uint);

    /// @notice owner的投入数量
    /// @param owner 用户地址
    /// @return 投入本币的数量
    function investmentOf(address owner) external view returns (uint);

    /// @notice 指定头寸的资产数量
    /// @param poolIndex 池子索引号
    /// @param positionIndex 头寸索引号
    /// @return 以本币计价的头寸资产数量
    function assetsOfPosition(uint poolIndex, uint positionIndex) external view returns(uint);

    /// @notice 指定pool的资产数量
    /// @param poolIndex 池子索引号
    /// @return 以本币计价的池子资产数量
    function assetsOfPool(uint poolIndex) external view returns(uint);

    /// @notice 总资产数量
    /// @return 以本币计价的总资产数量
    function totalAssets() external view returns (uint);

    /// @notice 基金本币->目标代币 的购买路径
    /// @param _token 目标代币地址
    /// @return 符合uniswap v3格式的目标代币购买路径
    function buyPath(address _token) external view returns (bytes memory);

    /// @notice 目标代币->基金本币 的购买路径
    /// @param _token 目标代币地址
    /// @return 符合uniswap v3格式的目标代币销售路径
    function sellPath(address _token) external view returns (bytes memory);

    /// @notice 获取池子地址
    /// @param index 池子索引号
    /// @return 池子地址
    function pools(uint index) external view returns(address);

    /// @notice 头寸信息
    /// @dev 由于基金需要遍历头寸,所以用二维动态数组存储头寸
    /// @param poolIndex 池子索引号
    /// @param positionIndex 头寸索引号
    /// @return isEmpty 是否空头寸,tickLower 价格刻度下届,tickUpper 价格刻度上届
    function positions(uint poolIndex, uint positionIndex) 
        external 
        view 
        returns(
            bool isEmpty,
            int24 tickLower,
            int24 tickUpper 
        );

    /// @notice pool数组长度
    function poolsLength() external view returns(uint);

    /// @notice 指定池子的头寸数组长度
    /// @param poolIndex 池子索引号
    /// @return 头寸数组长度
    function positionsLength(uint poolIndex) external view returns(uint);
}

File 35 of 36 : IHotPotV3FundUserActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Hotpot V3 用户操作接口定义
/// @notice 存入(deposit)函数适用于ERC20基金; 如果是ETH基金(内部会转换为WETH9),应直接向基金合约转账;
interface IHotPotV3FundUserActions {
    /// @notice 用户存入基金本币
    /// @param amount 存入数量
    /// @return share 用户获得的基金份额
    function deposit(uint amount) external returns(uint share);

    /// @notice 用户取出指定份额的本币
    /// @param share 取出的基金份额数量
    /// @param amountMin 最小提取值
    /// @param deadline 最晚交易时间
    /// @return amount 返回本币数量
    function withdraw(uint share, uint amountMin, uint deadline) external returns(uint amount);
}

File 36 of 36 : FixedPoint64.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.4.0;

/// @title FixedPoint64
/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)
library FixedPoint64 {
    uint256 internal constant Q64 = 0x10000000000000000;
}

File 37 of 36 : PathPrice.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
import '@uniswap/v3-core/contracts/libraries/FullMath.sol';
import "@uniswap/v3-core/contracts/libraries/FixedPoint96.sol";
import "@uniswap/v3-core/contracts/libraries/FixedPoint128.sol";
import "./FixedPoint64.sol";
import '@uniswap/v3-core/contracts/libraries/TickMath.sol';
import "@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol";
import "@uniswap/v3-periphery/contracts/libraries/Path.sol";

library PathPrice {
    using Path for bytes;

    /// @notice 获取目标代币当前价格的平方根
    /// @param path 兑换路径
    /// @return sqrtPriceX96 价格的平方根(X 2^96),给定兑换路径的 tokenOut / tokenIn 的价格
    function getSqrtPriceX96(
        bytes memory path, 
        address uniV3Factory
    ) internal view returns (uint sqrtPriceX96){
        require(path.length > 0, "IPL");

        sqrtPriceX96 = FixedPoint96.Q96;
        uint _nextSqrtPriceX96;
        uint32[] memory secondAges = new uint32[](2);
        secondAges[0] = 0;
        secondAges[1] = 1;
        while (true) {
            (address tokenIn, address tokenOut, uint24 fee) = path.decodeFirstPool();
            IUniswapV3Pool pool = IUniswapV3Pool(PoolAddress.computeAddress(uniV3Factory, PoolAddress.getPoolKey(tokenIn, tokenOut, fee)));

            (_nextSqrtPriceX96,,,,,,) = pool.slot0();
            sqrtPriceX96 = tokenIn > tokenOut
                ? FullMath.mulDiv(sqrtPriceX96, FixedPoint96.Q96, _nextSqrtPriceX96)
                : FullMath.mulDiv(sqrtPriceX96, _nextSqrtPriceX96, FixedPoint96.Q96);

            // decide whether to continue or terminate
            if (path.hasMultiplePools())
                path = path.skipToken();
            else 
                break; 
        }
    }

    /// @notice 获取目标代币预言机价格的平方根
    /// @param path 兑换路径
    /// @return sqrtPriceX96Last 预言机价格的平方根(X 2^96),给定兑换路径的 tokenOut / tokenIn 的价格
    function getSqrtPriceX96Last(
        bytes memory path, 
        address uniV3Factory
    ) internal view returns (uint sqrtPriceX96Last){
        require(path.length > 0, "IPL");

        sqrtPriceX96Last = FixedPoint96.Q96;
        uint _nextSqrtPriceX96;
        uint32[] memory secondAges = new uint32[](2);
        secondAges[0] = 0;
        secondAges[1] = 1;
        while (true) {
            (address tokenIn, address tokenOut, uint24 fee) = path.decodeFirstPool();
            IUniswapV3Pool pool = IUniswapV3Pool(PoolAddress.computeAddress(uniV3Factory, PoolAddress.getPoolKey(tokenIn, tokenOut, fee)));

            // sqrtPriceX96Last
            (int56[] memory tickCumulatives,) = pool.observe(secondAges);
            _nextSqrtPriceX96 = TickMath.getSqrtRatioAtTick(int24(tickCumulatives[0] - tickCumulatives[1]));
            sqrtPriceX96Last = tokenIn > tokenOut
                ? FullMath.mulDiv(sqrtPriceX96Last, FixedPoint96.Q96, _nextSqrtPriceX96)
                : FullMath.mulDiv(sqrtPriceX96Last, _nextSqrtPriceX96, FixedPoint96.Q96);

            // decide whether to continue or terminate
            if (path.hasMultiplePools())
                path = path.skipToken();
            else 
                break;
        }
    }

    /// @notice 验证交易滑点是否满足条件
    /// @param path 兑换路径
    /// @param uniV3Factory uniswap v3 factory
    /// @param maxSqrtSlippage 最大滑点,最大值: 1e4
    /// @return 当前价
    function verifySlippage(
        bytes memory path, 
        address uniV3Factory, 
        uint32 maxSqrtSlippage
    ) internal view returns(uint) { 
        uint last = getSqrtPriceX96Last(path, uniV3Factory);
        uint current = getSqrtPriceX96(path, uniV3Factory);
        if(last > current) require(current > FullMath.mulDiv(maxSqrtSlippage, last, 1e4), "VS");
        return current;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "evmVersion": "istanbul",
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_hotpot","type":"address"},{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address","name":"_uniV3Router","type":"address"},{"internalType":"address","name":"_uniV3Factory","type":"address"},{"internalType":"address","name":"_weth9","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"bool","name":"isVerified","type":"bool"}],"name":"ChangeVerifiedToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burned","type":"uint256"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"SetGovernance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"bytes","name":"path","type":"bytes"}],"name":"SetHarvestPath","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"priceImpact","type":"uint256"}],"name":"SetMaxPriceImpact","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"sqrtSlippage","type":"uint256"}],"name":"SetMaxSqrtSlippage","type":"event"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fund","type":"address"},{"internalType":"uint256","name":"poolIndex","type":"uint256"},{"internalType":"uint256","name":"positionIndex","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"collect","type":"bool"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"add","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"harvest","outputs":[{"internalType":"uint256","name":"burned","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"harvestPath","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hotpot","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fund","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"init","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPriceImpact","outputs":[{"internalType":"uint32","name":"priceImpact","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSqrtSlippage","outputs":[{"internalType":"uint32","name":"sqrtSlippage","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fund","type":"address"},{"internalType":"uint256","name":"poolIndex","type":"uint256"},{"internalType":"uint256","name":"subIndex","type":"uint256"},{"internalType":"uint256","name":"addIndex","type":"uint256"},{"internalType":"uint256","name":"proportionX128","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"move","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"fund","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"setDepositDeadline","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fund","type":"address"},{"internalType":"bytes","name":"_descriptor","type":"bytes"}],"name":"setDescriptor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bytes","name":"path","type":"bytes"}],"name":"setHarvestPath","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"priceImpact","type":"uint32"}],"name":"setMaxPriceImpact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"sqrtSlippage","type":"uint32"}],"name":"setMaxSqrtSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fund","type":"address"},{"internalType":"address","name":"distToken","type":"address"},{"internalType":"bytes","name":"path","type":"bytes"}],"name":"setPath","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"isVerified","type":"bool"}],"name":"setVerifiedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fund","type":"address"},{"internalType":"uint256","name":"poolIndex","type":"uint256"},{"internalType":"uint256","name":"positionIndex","type":"uint256"},{"internalType":"uint256","name":"proportionX128","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"sub","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniV3Factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniV3Router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"verifiedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6101006040526000805463ffffffff60a01b19166232137b60a11b1790553480156200002a57600080fd5b5060405162003a2038038062003a208339810160408190526200004d91620000bb565b606094851b6001600160601b031990811660c052600080546001600160a01b0319166001600160a01b03969096169590951790945591841b831660a052831b821660805290911b1660e0526200012a565b80516001600160a01b0381168114620000b657600080fd5b919050565b600080600080600060a08688031215620000d3578081fd5b620000de866200009e565b9450620000ee602087016200009e565b9350620000fe604087016200009e565b92506200010e606087016200009e565b91506200011e608087016200009e565b90509295509295909350565b60805160601c60a05160601c60c05160601c60e05160601c61388c6200019460003980610e58528061100052508061076a5280610ab75280610e9452508061066852806106c1528061110152508061051b5280610cd25280611125528061138b525061388c6000f3fe6080604052600436106101805760003560e01c80635aa6e675116100d6578063ab033ea91161007f578063e77fa2ca11610059578063e77fa2ca1461041c578063fc5caa7f1461043c578063fdd1cad61461045c57610180565b8063ab033ea9146103bc578063ac9650d8146103dc578063b70aed71146103fc57610180565b80637ba5aeaf116100b05780637ba5aeaf1461035c5780637caee8d21461037c5780637d4195691461039c57610180565b80635aa6e6751461031d5780635fafa58914610332578063705e474b1461034757610180565b806328fec3b2116101385780634aa4a4fc116101125780634aa4a4fc146102bb5780635752fc35146102d05780635a39ffda146102f057610180565b806328fec3b2146102415780632c44e0951461026e578063411162131461028e57610180565b80630feb7211116101695780630feb7211146101dd57806315ea88c4146101fd57806316c8357f1461021f57610180565b8063018ee9b71461018557806307731e0d146101bb575b600080fd5b34801561019157600080fd5b506101a56101a0366004612e2a565b610471565b6040516101b291906136a8565b60405180910390f35b3480156101c757600080fd5b506101db6101d6366004612daa565b61083e565b005b3480156101e957600080fd5b506101a56101f8366004612eb2565b610950565b34801561020957600080fd5b50610212610ab5565b6040516101b291906132e1565b34801561022b57600080fd5b50610234610ad9565b6040516101b29190613734565b34801561024d57600080fd5b5061026161025c366004612e55565b610aed565b6040516101b2919061368b565b34801561027a57600080fd5b506101db610289366004612daa565b610c54565b34801561029a57600080fd5b506102ae6102a9366004612c04565b610f65565b6040516101b2919061348b565b3480156102c757600080fd5b50610212610ffe565b3480156102dc57600080fd5b506101db6102eb3660046131e4565b611022565b3480156102fc57600080fd5b5061031061030b366004612c04565b6110db565b6040516101b29190613451565b34801561032957600080fd5b506102126110f0565b34801561033e57600080fd5b506102126110ff565b34801561035357600080fd5b50610212611123565b34801561036857600080fd5b506101db610377366004612cd7565b611147565b34801561038857600080fd5b50610261610397366004612ef5565b611624565b3480156103a857600080fd5b506102616103b7366004612c3c565b61172c565b3480156103c857600080fd5b506101db6103d7366004612c04565b611899565b6103ef6103ea366004612f40565b611936565b6040516101b291906133a7565b34801561040857600080fd5b506101db610417366004612d72565b611a76565b34801561042857600080fd5b506101db610437366004612e2a565b611b00565b34801561044857600080fd5b506101db6104573660046131e4565b611c05565b34801561046857600080fd5b50610234611cbd565b6001600160a01b0382166000908152600260208181526040808420805482516001821615610100026000190190911694909404601f810184900484028501840190925281845284939290919083018282801561050e5780601f106104e35761010080835404028352916020019161050e565b820191906000526020600020905b8154815290600101906020018083116104f157829003601f168201915b50505050509050610556817f0000000000000000000000000000000000000000000000000000000000000000600060149054906101000a900463ffffffff1661ffff16611cce565b506040516370a0823160e01b81526000906001600160a01b038616906370a08231906105869030906004016132e1565b60206040518083038186803b15801561059e57600080fd5b505afa1580156105b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d691906131cc565b84111561065e576040516370a0823160e01b81526001600160a01b038616906370a08231906106099030906004016132e1565b60206040518083038186803b15801561062157600080fd5b505afa158015610635573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065991906131cc565b610660565b835b905061068d857f000000000000000000000000000000000000000000000000000000000000000083611d2f565b6040805160a08101825283815230602082015242818301526060810183905260006080820152905163c04b8d5960e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c04b8d59906106fe908490600401613632565b602060405180830381600087803b15801561071857600080fd5b505af115801561072c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075091906131cc565b604051630852cd8d60e31b81529094506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342966c689061079f9087906004016136a8565b602060405180830381600087803b1580156107b957600080fd5b505af11580156107cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f19190613077565b50856001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954868660405161082d9291906136b1565b60405180910390a250505092915050565b82806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561087857600080fd5b505afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b09190612c20565b6001600160a01b0316336001600160a01b0316146108e95760405162461bcd60e51b81526004016108e0906135f8565b60405180910390fd5b604051633bc8dd1160e11b81526001600160a01b03851690637791ba2290610917908690869060040161345c565b600060405180830381600087803b15801561093157600080fd5b505af1158015610945573d6000803e3d6000fd5b505050505b50505050565b600081804211156109735760405162461bcd60e51b81526004016108e090613615565b86806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b1580156109ad57600080fd5b505afa1580156109c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e59190612c20565b6001600160a01b0316336001600160a01b031614610a155760405162461bcd60e51b81526004016108e0906135f8565b600054604051635a1f02a360e01b81526001600160a01b038a1691635a1f02a391610a57918b918b918b91600160a01b90910463ffffffff1690600401613713565b602060405180830381600087803b158015610a7157600080fd5b505af1158015610a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa991906131cc565b98975050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600054600160a01b900460101c61ffff1690565b60008180421115610b105760405162461bcd60e51b81526004016108e090613615565b87806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4a57600080fd5b505afa158015610b5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b829190612c20565b6001600160a01b0316336001600160a01b031614610bb25760405162461bcd60e51b81526004016108e0906135f8565b60005460405163a5e7148b60e01b81526001600160a01b038b169163a5e7148b91610bf5918c918c918c918c91600160a01b900463ffffffff16906004016136bf565b602060405180830381600087803b158015610c0f57600080fd5b505af1158015610c23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c479190613106565b9998505050505050505050565b6000546001600160a01b03163314610c7e5760405162461bcd60e51b81526004016108e0906135a1565b600082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293505050505b6000806000610cc884611e92565b92509250925060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631698ee828585856040518463ffffffff1660e01b8152600401610d20939291906132f5565b60206040518083038186803b158015610d3857600080fd5b505afa158015610d4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d709190612c20565b90506001600160a01b038116610d985760405162461bcd60e51b81526004016108e090613584565b6000816001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015610dd357600080fd5b505afa158015610de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0b9190613136565b505050935050505060028161ffff161015610e385760405162461bcd60e51b81526004016108e09061354b565b610e4186611ec3565b15610e5657610e4f86611ecf565b9550610eee565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316148015610ec857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316145b610ee45760405162461bcd60e51b81526004016108e0906135be565b5050505050610ef8565b5050505050610cba565b6001600160a01b0384166000908152600260205260409020610f1b908484612abc565b50836001600160a01b03167fbf266ca2219bf330c8d14111eab221f9086ce74f05dfc01ea8017d263e3f8ab48484604051610f5792919061345c565b60405180910390a250505050565b600260208181526000928352604092839020805484516001821615610100026000190190911693909304601f8101839004830284018301909452838352919290830182828015610ff65780601f10610fcb57610100808354040283529160200191610ff6565b820191906000526020600020905b815481529060010190602001808311610fd957829003601f168201915b505050505081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316331461104c5760405162461bcd60e51b81526004016108e0906135a1565b6127108163ffffffff1611156110745760405162461bcd60e51b81526004016108e09061352e565b6000805463ffffffff60a01b19811663ffffffff600160a01b9283900463ffff0000168517169091021790556040517f8726cc0a6bf5d69647f88fc55818f1e99aa22955985486c5f156083b94d03c26906110d0908390613734565b60405180910390a150565b60016020526000908152604090205460ff1681565b6000546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b82806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561118157600080fd5b505afa158015611195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b99190612c20565b6001600160a01b0316336001600160a01b0316146111e95760405162461bcd60e51b81526004016108e0906135f8565b6001600160a01b03831660009081526001602052604090205460ff1661120e57600080fd5b6000846001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561124957600080fd5b505afa15801561125d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112819190612c20565b90508260606000808061129385611e92565b9250925092508181846040516020016112ae93929190613234565b60405160208183030381529060405293506000866001600160a01b0316846001600160a01b031614156112e357506001611301565b896001600160a01b0316846001600160a01b03161461130157600080fd5b6001600160a01b03841660009081526001602052604090205460ff166113395760405162461bcd60e51b81526004016108e0906134d8565b6001600160a01b03831660009081526001602052604090205460ff166113715760405162461bcd60e51b81526004016108e09061349e565b604051630b4c774160e11b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631698ee82906113c4908890889088906004016132f5565b60206040518083038186803b1580156113dc57600080fd5b505afa1580156113f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114149190612c20565b90506001600160a01b03811661143c5760405162461bcd60e51b81526004016108e090613584565b6000816001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561147757600080fd5b505afa15801561148b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114af9190613136565b505050935050505060028161ffff1610156114dc5760405162461bcd60e51b81526004016108e09061354b565b6114e58b611ec3565b15611531576114f38b611ecf565b9a506114fe8b611e92565b604051929850909650945061151b90869086908a90602001613287565b60405160208183030381529060405296506115a5565b821561156d578b6001600160a01b0316856001600160a01b0316146115685760405162461bcd60e51b81526004016108e0906135db565b61159e565b886001600160a01b0316856001600160a01b03161461159e5760405162461bcd60e51b81526004016108e090613511565b50506115ac565b5050611301565b806115b5579394935b6040516304e6517d60e31b81526001600160a01b038c16906327328be8906115e5908d908a908a90600401613369565b600060405180830381600087803b1580156115ff57600080fd5b505af1158015611613573d6000803e3d6000fd5b505050505050505050505050505050565b600081804211156116475760405162461bcd60e51b81526004016108e090613615565b87806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561168157600080fd5b505afa158015611695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b99190612c20565b6001600160a01b0316336001600160a01b0316146116e95760405162461bcd60e51b81526004016108e0906135f8565b60005460405163411bc9df60e01b81526001600160a01b038b169163411bc9df91610bf5918c918c918c918c91600160a01b900463ffffffff16906004016136ea565b6000818042111561174f5760405162461bcd60e51b81526004016108e090613615565b89806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561178957600080fd5b505afa15801561179d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c19190612c20565b6001600160a01b0316336001600160a01b0316146117f15760405162461bcd60e51b81526004016108e0906135f8565b6000546040516392f1d48d60e01b81526001600160a01b038d16916392f1d48d91611838918e918e918e918e918e918e91600160a01b900463ffffffff169060040161331d565b602060405180830381600087803b15801561185257600080fd5b505af1158015611866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188a9190613106565b9b9a5050505050505050505050565b6000546001600160a01b031633146118c35760405162461bcd60e51b81526004016108e0906135a1565b6001600160a01b0381166118d657600080fd5b600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316908117825560405190917f24a8c4807b324a269a51827c3446b8ac1cc13810d7d0c0ca1efafabddd7b621991a250565b60608167ffffffffffffffff8111801561194f57600080fd5b5060405190808252806020026020018201604052801561198357816020015b606081526020019060019003908161196e5790505b50905060005b82811015611a6f57600080308686858181106119a157fe5b90506020028101906119b39190613745565b6040516119c19291906132d1565b600060405180830381855af49150503d80600081146119fc576040519150601f19603f3d011682016040523d82523d6000602084013e611a01565b606091505b509150915081611a4d57604481511015611a1a57600080fd5b60048101905080806020019051810190611a349190613093565b60405162461bcd60e51b81526004016108e0919061348b565b80848481518110611a5a57fe5b60209081029190910101525050600101611989565b5092915050565b6000546001600160a01b03163314611aa05760405162461bcd60e51b81526004016108e0906135a1565b6001600160a01b03821660008181526001602052604090819020805460ff1916841515179055517f500b1f58b34adc76428a9ea1ce754de9032a040baa7fc2f96340b35d32f377a190611af4908490613451565b60405180910390a25050565b81806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3a57600080fd5b505afa158015611b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b729190612c20565b6001600160a01b0316336001600160a01b031614611ba25760405162461bcd60e51b81526004016108e0906135f8565b60405163d8a8608160e01b81526001600160a01b0384169063d8a8608190611bce9085906004016136a8565b600060405180830381600087803b158015611be857600080fd5b505af1158015611bfc573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b03163314611c2f5760405162461bcd60e51b81526004016108e0906135a1565b6127108163ffffffff161115611c575760405162461bcd60e51b81526004016108e0906134bb565b6000805463ffffffff60a01b19811663ffffffff600160a01b9283900461ffff16601086901b65ffffffff00001617169091021790556040517fbf730e55c52a9d8ae89fb709291c0ad2391752f5d86fbcd6dc1d09963fbb74c6906110d0908390613734565b600054600160a01b900461ffff1690565b600080611cdb8585611eec565b90506000611ce986866120f4565b905080821115611d2457611d068463ffffffff16836127106122a0565b8111611d245760405162461bcd60e51b81526004016108e0906134f5565b9150505b9392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663095ea7b360e01b1781529251825160009485949389169392918291908083835b60208310611dc05780518252601f199092019160209182019101611da1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611e22576040519150601f19603f3d011682016040523d82523d6000602084013e611e27565b606091505b5091509150818015611e55575080511580611e555750808060200190516020811015611e5257600080fd5b50515b611e8b576040805162461bcd60e51b8152602060048201526002602482015261534160f01b604482015290519081900360640190fd5b5050505050565b60008080611ea0848261234f565b9250611ead846014612412565b9050611eba84601761234f565b91509193909250565b8051604211155b919050565b8051606090611ee6908390601790601619016124ce565b92915050565b600080835111611f0e5760405162461bcd60e51b81526004016108e090613567565b50604080516002808252606082018352600160601b9260009283929091602083019080368337019050509050600081600081518110611f4957fe5b602002602001019063ffffffff16908163ffffffff1681525050600181600181518110611f7257fe5b602002602001019063ffffffff16908163ffffffff16815250505b6000806000611f9b88611e92565b9250925092506000611fb788611fb286868661262b565b612681565b90506000816001600160a01b031663883bdbfd876040518263ffffffff1660e01b8152600401611fe79190613407565b60006040518083038186803b158015611fff57600080fd5b505afa158015612013573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261203b9190810190612faf565b5090506120718160018151811061204e57fe5b60200260200101518260008151811061206357fe5b60200260200101510361277d565b6001600160a01b03169650836001600160a01b0316856001600160a01b0316116120a9576120a48888600160601b6122a0565b6120b8565b6120b888600160601b896122a0565b97506120c38a611ec3565b156120d8576120d18a611ecf565b99506120e2565b50505050506120ec565b5050505050611f8d565b505092915050565b6000808351116121165760405162461bcd60e51b81526004016108e090613567565b50604080516002808252606082018352600160601b926000928392909160208301908036833701905050905060008160008151811061215157fe5b602002602001019063ffffffff16908163ffffffff168152505060018160018151811061217a57fe5b602002602001019063ffffffff16908163ffffffff16815250505b60008060006121a388611e92565b92509250925060006121ba88611fb286868661262b565b9050806001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156121f557600080fd5b505afa158015612209573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222d9190613136565b5050506001600160a01b0393841699505050508381169085161161225f5761225a8787600160601b6122a0565b61226e565b61226e87600160601b886122a0565b965061227989611ec3565b1561228e5761228789611ecf565b9850612297565b505050506120ec565b50505050612195565b60008080600019858709868602925082811090839003039050806122d657600084116122cb57600080fd5b508290049050611d28565b8084116122e257600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6000818260140110156123a9576040805162461bcd60e51b815260206004820152601260248201527f746f416464726573735f6f766572666c6f770000000000000000000000000000604482015290519081900360640190fd5b8160140183511015612402576040805162461bcd60e51b815260206004820152601560248201527f746f416464726573735f6f75744f66426f756e64730000000000000000000000604482015290519081900360640190fd5b500160200151600160601b900490565b60008182600301101561246c576040805162461bcd60e51b815260206004820152601160248201527f746f55696e7432345f6f766572666c6f77000000000000000000000000000000604482015290519081900360640190fd5b81600301835110156124c5576040805162461bcd60e51b815260206004820152601460248201527f746f55696e7432345f6f75744f66426f756e6473000000000000000000000000604482015290519081900360640190fd5b50016003015190565b60608182601f011015612519576040805162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b604482015290519081900360640190fd5b828284011015612561576040805162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b604482015290519081900360640190fd5b818301845110156125b9576040805162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015290519081900360640190fd5b6060821580156125d85760405191506000825260208201604052612622565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156126115780518352602092830192016125f9565b5050858452601f01601f1916604052505b50949350505050565b612633612b48565b826001600160a01b0316846001600160a01b03161115612651579192915b50604080516060810182526001600160a01b03948516815292909316602083015262ffffff169181019190915290565b600081602001516001600160a01b031682600001516001600160a01b0316106126a957600080fd5b50805160208083015160409384015184516001600160a01b0394851681850152939091168385015262ffffff166060808401919091528351808403820181526080840185528051908301207fff0000000000000000000000000000000000000000000000000000000000000060a085015294901b6bffffffffffffffffffffffff191660a183015260b58201939093527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460d5808301919091528251808303909101815260f5909101909152805191012090565b60008060008360020b12612794578260020b61279c565b8260020b6000035b9050620d89e88111156127da576040805162461bcd60e51b81526020600482015260016024820152601560fa1b604482015290519081900360640190fd5b6000600182166127fb5770010000000000000000000000000000000061280d565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff1690506002821615612841576ffff97272373d413259a46990580e213a0260801c5b6004821615612860576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b600882161561287f576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b601082161561289e576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156128bd576fff973b41fa98c081472e6896dfb254c00260801c5b60408216156128dc576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156128fb576ffe5dee046a99a2a811c461f1969c30530260801c5b61010082161561291b576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b61020082161561293b576ff987a7253ac413176f2b074cf7815e540260801c5b61040082161561295b576ff3392b0822b70005940c7a398e4b70f30260801c5b61080082161561297b576fe7159475a2c29b7443b29c7fa6e889d90260801c5b61100082161561299b576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156129bb576fa9f746462d870fdf8a65dc1f90e061e50260801c5b6140008216156129db576f70d869a156d2a1b890bb3df62baf32f70260801c5b6180008216156129fb576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615612a1c576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615612a3c576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615612a5b576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615612a78576b048a170391f7dc42444e8fa20260801c5b60008460020b1315612a93578060001981612a8f57fe5b0490505b640100000000810615612aa7576001612aaa565b60005b60ff16602082901c0192505050919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282612af25760008555612b38565b82601f10612b0b5782800160ff19823516178555612b38565b82800160010185558215612b38579182015b82811115612b38578235825591602001919060010190612b1d565b50612b44929150612b68565b5090565b604080516060810182526000808252602082018190529181019190915290565b5b80821115612b445760008155600101612b69565b600082601f830112612b8d578081fd5b81516020612ba2612b9d836137b5565b613791565b8281528181019085830183850287018401881015612bbe578586fd5b855b85811015612be5578151612bd381613821565b84529284019290840190600101612bc0565b5090979650505050505050565b805161ffff81168114611eca57600080fd5b600060208284031215612c15578081fd5b8135611d2881613821565b600060208284031215612c31578081fd5b8151611d2881613821565b600080600080600080600080610100898b031215612c58578384fd5b8835612c6381613821565b97506020890135612c7381613821565b96506040890135612c8381613821565b9550606089013562ffffff81168114612c9a578485fd5b94506080890135612caa81613847565b935060a0890135612cba81613847565b979a969950949793969295929450505060c08201359160e0013590565b600080600060608486031215612ceb578081fd5b8335612cf681613821565b92506020840135612d0681613821565b9150604084013567ffffffffffffffff811115612d21578182fd5b8401601f81018613612d31578182fd5b8035612d3f612b9d826137d3565b818152876020838501011115612d53578384fd5b8160208401602083013783602083830101528093505050509250925092565b60008060408385031215612d84578182fd5b8235612d8f81613821565b91506020830135612d9f81613839565b809150509250929050565b600080600060408486031215612dbe578081fd5b8335612dc981613821565b9250602084013567ffffffffffffffff80821115612de5578283fd5b818601915086601f830112612df8578283fd5b813581811115612e06578384fd5b876020828501011115612e17578384fd5b6020830194508093505050509250925092565b60008060408385031215612e3c578182fd5b8235612e4781613821565b946020939093013593505050565b60008060008060008060c08789031215612e6d578384fd5b8635612e7881613821565b95506020870135945060408701359350606087013592506080870135612e9d81613839565b8092505060a087013590509295509295509295565b600080600080600060a08688031215612ec9578283fd5b8535612ed481613821565b97602087013597506040870135966060810135965060800135945092505050565b60008060008060008060c08789031215612f0d578384fd5b8635612f1881613821565b9860208801359850604088013597606081013597506080810135965060a00135945092505050565b60008060208385031215612f52578182fd5b823567ffffffffffffffff80821115612f69578384fd5b818501915085601f830112612f7c578384fd5b813581811115612f8a578485fd5b8660208083028501011115612f9d578485fd5b60209290920196919550909350505050565b60008060408385031215612fc1578182fd5b825167ffffffffffffffff80821115612fd8578384fd5b818501915085601f830112612feb578384fd5b81516020612ffb612b9d836137b5565b82815281810190858301838502870184018b1015613017578889fd5b8896505b848710156130475780518060060b811461303357898afd5b83526001969096019591830191830161301b565b5091880151919650909350505080821115613060578283fd5b5061306d85828601612b7d565b9150509250929050565b600060208284031215613088578081fd5b8151611d2881613839565b6000602082840312156130a4578081fd5b815167ffffffffffffffff8111156130ba578182fd5b8201601f810184136130ca578182fd5b80516130d8612b9d826137d3565b8181528560208385010111156130ec578384fd5b6130fd8260208301602086016137f5565b95945050505050565b600060208284031215613117578081fd5b81516fffffffffffffffffffffffffffffffff81168114611d28578182fd5b600080600080600080600060e0888a031215613150578081fd5b875161315b81613821565b602089015190975061316c81613847565b955061317a60408901612bf2565b945061318860608901612bf2565b935061319660808901612bf2565b925060a088015160ff811681146131ab578182fd5b60c08901519092506131bc81613839565b8091505092959891949750929550565b6000602082840312156131dd578081fd5b5051919050565b6000602082840312156131f5578081fd5b813563ffffffff81168114611d28578182fd5b600081518084526132208160208601602086016137f5565b601f01601f19169290920160200192915050565b606093841b6bffffffffffffffffffffffff19908116825260e89390931b7fffffff0000000000000000000000000000000000000000000000000000000000166014820152921b166017820152602b0190565b60006bffffffffffffffffffffffff198560601b16825262ffffff60e81b8460e81b16601483015282516132c28160178501602087016137f5565b91909101601701949350505050565b6000828483379101908152919050565b6001600160a01b0391909116815260200190565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b6001600160a01b03978816815295909616602086015262ffffff939093166040850152600291820b6060850152900b608083015260a082015263ffffffff90911660c082015260e00190565b60006001600160a01b03851682526060602083015261338b6060830185613208565b828103604084015261339d8185613208565b9695505050505050565b6000602080830181845280855180835260408601915060408482028701019250838701855b828110156133fa57603f198886030184526133e8858351613208565b945092850192908501906001016133cc565b5092979650505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561344557835163ffffffff1683529284019291840191600101613423565b50909695505050505050565b901515815260200190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b600060208252611d286020830184613208565b6020808252600390820152621593d560ea1b604082015260600190565b60208082526003908201526253504960e81b604082015260600190565b60208082526003908201526215925560ea1b604082015260600190565b602080825260029082015261565360f01b604082015260600190565b60208082526003908201526227a4a360e91b604082015260600190565b60208082526003908201526253535360e81b604082015260600190565b6020808252600290820152614f4360f01b604082015260600190565b60208082526003908201526212541360ea1b604082015260600190565b60208082526003908201526250494560e81b604082015260600190565b6020808252600390820152624f474360e81b604082015260600190565b6020808252600390820152621253d560ea1b604082015260600190565b60208082526003908201526213d25160ea1b604082015260600190565b6020808252600390820152624f4d4360e81b604082015260600190565b60208082526003908201526210d11360ea1b604082015260600190565b600060208252825160a0602084015261364e60c0840182613208565b90506001600160a01b0360208501511660408401526040840151606084015260608401516080840152608084015160a08401528091505092915050565b6fffffffffffffffffffffffffffffffff91909116815260200190565b90815260200190565b918252602082015260400190565b948552602085019390935260408401919091521515606083015263ffffffff16608082015260a00190565b94855260208501939093526040840191909152606083015263ffffffff16608082015260a00190565b9384526020840192909252604083015263ffffffff16606082015260800190565b63ffffffff91909116815260200190565b6000808335601e1984360301811261375b578283fd5b83018035915067ffffffffffffffff821115613775578283fd5b60200191503681900382131561378a57600080fd5b9250929050565b60405181810167ffffffffffffffff811182821017156137ad57fe5b604052919050565b600067ffffffffffffffff8211156137c957fe5b5060209081020190565b600067ffffffffffffffff8211156137e757fe5b50601f01601f191660200190565b60005b838110156138105781810151838201526020016137f8565b8381111561094a5750506000910152565b6001600160a01b038116811461383657600080fd5b50565b801515811461383657600080fd5b8060020b811461383657600080fdfea2646970667358221220c298d96b43bb39c80d128c0458e12f15913c31841dab6e8b1e56a7c77940578164736f6c63430007060033000000000000000000000000615d8e5e1344b36a95f6ecd8e6cda020e84dc25b00000000000000000000000089a803f5f81bbef6134fdf6e5deee75870393585000000000000000000000000e592427a0aece92de3edee1f18e0157c058615640000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x6080604052600436106101805760003560e01c80635aa6e675116100d6578063ab033ea91161007f578063e77fa2ca11610059578063e77fa2ca1461041c578063fc5caa7f1461043c578063fdd1cad61461045c57610180565b8063ab033ea9146103bc578063ac9650d8146103dc578063b70aed71146103fc57610180565b80637ba5aeaf116100b05780637ba5aeaf1461035c5780637caee8d21461037c5780637d4195691461039c57610180565b80635aa6e6751461031d5780635fafa58914610332578063705e474b1461034757610180565b806328fec3b2116101385780634aa4a4fc116101125780634aa4a4fc146102bb5780635752fc35146102d05780635a39ffda146102f057610180565b806328fec3b2146102415780632c44e0951461026e578063411162131461028e57610180565b80630feb7211116101695780630feb7211146101dd57806315ea88c4146101fd57806316c8357f1461021f57610180565b8063018ee9b71461018557806307731e0d146101bb575b600080fd5b34801561019157600080fd5b506101a56101a0366004612e2a565b610471565b6040516101b291906136a8565b60405180910390f35b3480156101c757600080fd5b506101db6101d6366004612daa565b61083e565b005b3480156101e957600080fd5b506101a56101f8366004612eb2565b610950565b34801561020957600080fd5b50610212610ab5565b6040516101b291906132e1565b34801561022b57600080fd5b50610234610ad9565b6040516101b29190613734565b34801561024d57600080fd5b5061026161025c366004612e55565b610aed565b6040516101b2919061368b565b34801561027a57600080fd5b506101db610289366004612daa565b610c54565b34801561029a57600080fd5b506102ae6102a9366004612c04565b610f65565b6040516101b2919061348b565b3480156102c757600080fd5b50610212610ffe565b3480156102dc57600080fd5b506101db6102eb3660046131e4565b611022565b3480156102fc57600080fd5b5061031061030b366004612c04565b6110db565b6040516101b29190613451565b34801561032957600080fd5b506102126110f0565b34801561033e57600080fd5b506102126110ff565b34801561035357600080fd5b50610212611123565b34801561036857600080fd5b506101db610377366004612cd7565b611147565b34801561038857600080fd5b50610261610397366004612ef5565b611624565b3480156103a857600080fd5b506102616103b7366004612c3c565b61172c565b3480156103c857600080fd5b506101db6103d7366004612c04565b611899565b6103ef6103ea366004612f40565b611936565b6040516101b291906133a7565b34801561040857600080fd5b506101db610417366004612d72565b611a76565b34801561042857600080fd5b506101db610437366004612e2a565b611b00565b34801561044857600080fd5b506101db6104573660046131e4565b611c05565b34801561046857600080fd5b50610234611cbd565b6001600160a01b0382166000908152600260208181526040808420805482516001821615610100026000190190911694909404601f810184900484028501840190925281845284939290919083018282801561050e5780601f106104e35761010080835404028352916020019161050e565b820191906000526020600020905b8154815290600101906020018083116104f157829003601f168201915b50505050509050610556817f0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984600060149054906101000a900463ffffffff1661ffff16611cce565b506040516370a0823160e01b81526000906001600160a01b038616906370a08231906105869030906004016132e1565b60206040518083038186803b15801561059e57600080fd5b505afa1580156105b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d691906131cc565b84111561065e576040516370a0823160e01b81526001600160a01b038616906370a08231906106099030906004016132e1565b60206040518083038186803b15801561062157600080fd5b505afa158015610635573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065991906131cc565b610660565b835b905061068d857f000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156483611d2f565b6040805160a08101825283815230602082015242818301526060810183905260006080820152905163c04b8d5960e01b81527f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b03169063c04b8d59906106fe908490600401613632565b602060405180830381600087803b15801561071857600080fd5b505af115801561072c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075091906131cc565b604051630852cd8d60e31b81529094506001600160a01b037f000000000000000000000000615d8e5e1344b36a95f6ecd8e6cda020e84dc25b16906342966c689061079f9087906004016136a8565b602060405180830381600087803b1580156107b957600080fd5b505af11580156107cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f19190613077565b50856001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954868660405161082d9291906136b1565b60405180910390a250505092915050565b82806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561087857600080fd5b505afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b09190612c20565b6001600160a01b0316336001600160a01b0316146108e95760405162461bcd60e51b81526004016108e0906135f8565b60405180910390fd5b604051633bc8dd1160e11b81526001600160a01b03851690637791ba2290610917908690869060040161345c565b600060405180830381600087803b15801561093157600080fd5b505af1158015610945573d6000803e3d6000fd5b505050505b50505050565b600081804211156109735760405162461bcd60e51b81526004016108e090613615565b86806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b1580156109ad57600080fd5b505afa1580156109c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e59190612c20565b6001600160a01b0316336001600160a01b031614610a155760405162461bcd60e51b81526004016108e0906135f8565b600054604051635a1f02a360e01b81526001600160a01b038a1691635a1f02a391610a57918b918b918b91600160a01b90910463ffffffff1690600401613713565b602060405180830381600087803b158015610a7157600080fd5b505af1158015610a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa991906131cc565b98975050505050505050565b7f000000000000000000000000615d8e5e1344b36a95f6ecd8e6cda020e84dc25b81565b600054600160a01b900460101c61ffff1690565b60008180421115610b105760405162461bcd60e51b81526004016108e090613615565b87806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4a57600080fd5b505afa158015610b5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b829190612c20565b6001600160a01b0316336001600160a01b031614610bb25760405162461bcd60e51b81526004016108e0906135f8565b60005460405163a5e7148b60e01b81526001600160a01b038b169163a5e7148b91610bf5918c918c918c918c91600160a01b900463ffffffff16906004016136bf565b602060405180830381600087803b158015610c0f57600080fd5b505af1158015610c23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c479190613106565b9998505050505050505050565b6000546001600160a01b03163314610c7e5760405162461bcd60e51b81526004016108e0906135a1565b600082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293505050505b6000806000610cc884611e92565b92509250925060007f0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f9846001600160a01b0316631698ee828585856040518463ffffffff1660e01b8152600401610d20939291906132f5565b60206040518083038186803b158015610d3857600080fd5b505afa158015610d4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d709190612c20565b90506001600160a01b038116610d985760405162461bcd60e51b81526004016108e090613584565b6000816001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015610dd357600080fd5b505afa158015610de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0b9190613136565b505050935050505060028161ffff161015610e385760405162461bcd60e51b81526004016108e09061354b565b610e4186611ec3565b15610e5657610e4f86611ecf565b9550610eee565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316856001600160a01b0316148015610ec857507f000000000000000000000000615d8e5e1344b36a95f6ecd8e6cda020e84dc25b6001600160a01b0316846001600160a01b0316145b610ee45760405162461bcd60e51b81526004016108e0906135be565b5050505050610ef8565b5050505050610cba565b6001600160a01b0384166000908152600260205260409020610f1b908484612abc565b50836001600160a01b03167fbf266ca2219bf330c8d14111eab221f9086ce74f05dfc01ea8017d263e3f8ab48484604051610f5792919061345c565b60405180910390a250505050565b600260208181526000928352604092839020805484516001821615610100026000190190911693909304601f8101839004830284018301909452838352919290830182828015610ff65780601f10610fcb57610100808354040283529160200191610ff6565b820191906000526020600020905b815481529060010190602001808311610fd957829003601f168201915b505050505081565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000546001600160a01b0316331461104c5760405162461bcd60e51b81526004016108e0906135a1565b6127108163ffffffff1611156110745760405162461bcd60e51b81526004016108e09061352e565b6000805463ffffffff60a01b19811663ffffffff600160a01b9283900463ffff0000168517169091021790556040517f8726cc0a6bf5d69647f88fc55818f1e99aa22955985486c5f156083b94d03c26906110d0908390613734565b60405180910390a150565b60016020526000908152604090205460ff1681565b6000546001600160a01b031681565b7f000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156481565b7f0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f98481565b82806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561118157600080fd5b505afa158015611195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b99190612c20565b6001600160a01b0316336001600160a01b0316146111e95760405162461bcd60e51b81526004016108e0906135f8565b6001600160a01b03831660009081526001602052604090205460ff1661120e57600080fd5b6000846001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561124957600080fd5b505afa15801561125d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112819190612c20565b90508260606000808061129385611e92565b9250925092508181846040516020016112ae93929190613234565b60405160208183030381529060405293506000866001600160a01b0316846001600160a01b031614156112e357506001611301565b896001600160a01b0316846001600160a01b03161461130157600080fd5b6001600160a01b03841660009081526001602052604090205460ff166113395760405162461bcd60e51b81526004016108e0906134d8565b6001600160a01b03831660009081526001602052604090205460ff166113715760405162461bcd60e51b81526004016108e09061349e565b604051630b4c774160e11b81526000906001600160a01b037f0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f9841690631698ee82906113c4908890889088906004016132f5565b60206040518083038186803b1580156113dc57600080fd5b505afa1580156113f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114149190612c20565b90506001600160a01b03811661143c5760405162461bcd60e51b81526004016108e090613584565b6000816001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561147757600080fd5b505afa15801561148b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114af9190613136565b505050935050505060028161ffff1610156114dc5760405162461bcd60e51b81526004016108e09061354b565b6114e58b611ec3565b15611531576114f38b611ecf565b9a506114fe8b611e92565b604051929850909650945061151b90869086908a90602001613287565b60405160208183030381529060405296506115a5565b821561156d578b6001600160a01b0316856001600160a01b0316146115685760405162461bcd60e51b81526004016108e0906135db565b61159e565b886001600160a01b0316856001600160a01b03161461159e5760405162461bcd60e51b81526004016108e090613511565b50506115ac565b5050611301565b806115b5579394935b6040516304e6517d60e31b81526001600160a01b038c16906327328be8906115e5908d908a908a90600401613369565b600060405180830381600087803b1580156115ff57600080fd5b505af1158015611613573d6000803e3d6000fd5b505050505050505050505050505050565b600081804211156116475760405162461bcd60e51b81526004016108e090613615565b87806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561168157600080fd5b505afa158015611695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b99190612c20565b6001600160a01b0316336001600160a01b0316146116e95760405162461bcd60e51b81526004016108e0906135f8565b60005460405163411bc9df60e01b81526001600160a01b038b169163411bc9df91610bf5918c918c918c918c91600160a01b900463ffffffff16906004016136ea565b6000818042111561174f5760405162461bcd60e51b81526004016108e090613615565b89806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b15801561178957600080fd5b505afa15801561179d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c19190612c20565b6001600160a01b0316336001600160a01b0316146117f15760405162461bcd60e51b81526004016108e0906135f8565b6000546040516392f1d48d60e01b81526001600160a01b038d16916392f1d48d91611838918e918e918e918e918e918e91600160a01b900463ffffffff169060040161331d565b602060405180830381600087803b15801561185257600080fd5b505af1158015611866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188a9190613106565b9b9a5050505050505050505050565b6000546001600160a01b031633146118c35760405162461bcd60e51b81526004016108e0906135a1565b6001600160a01b0381166118d657600080fd5b600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316908117825560405190917f24a8c4807b324a269a51827c3446b8ac1cc13810d7d0c0ca1efafabddd7b621991a250565b60608167ffffffffffffffff8111801561194f57600080fd5b5060405190808252806020026020018201604052801561198357816020015b606081526020019060019003908161196e5790505b50905060005b82811015611a6f57600080308686858181106119a157fe5b90506020028101906119b39190613745565b6040516119c19291906132d1565b600060405180830381855af49150503d80600081146119fc576040519150601f19603f3d011682016040523d82523d6000602084013e611a01565b606091505b509150915081611a4d57604481511015611a1a57600080fd5b60048101905080806020019051810190611a349190613093565b60405162461bcd60e51b81526004016108e0919061348b565b80848481518110611a5a57fe5b60209081029190910101525050600101611989565b5092915050565b6000546001600160a01b03163314611aa05760405162461bcd60e51b81526004016108e0906135a1565b6001600160a01b03821660008181526001602052604090819020805460ff1916841515179055517f500b1f58b34adc76428a9ea1ce754de9032a040baa7fc2f96340b35d32f377a190611af4908490613451565b60405180910390a25050565b81806001600160a01b031663481c6a756040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3a57600080fd5b505afa158015611b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b729190612c20565b6001600160a01b0316336001600160a01b031614611ba25760405162461bcd60e51b81526004016108e0906135f8565b60405163d8a8608160e01b81526001600160a01b0384169063d8a8608190611bce9085906004016136a8565b600060405180830381600087803b158015611be857600080fd5b505af1158015611bfc573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b03163314611c2f5760405162461bcd60e51b81526004016108e0906135a1565b6127108163ffffffff161115611c575760405162461bcd60e51b81526004016108e0906134bb565b6000805463ffffffff60a01b19811663ffffffff600160a01b9283900461ffff16601086901b65ffffffff00001617169091021790556040517fbf730e55c52a9d8ae89fb709291c0ad2391752f5d86fbcd6dc1d09963fbb74c6906110d0908390613734565b600054600160a01b900461ffff1690565b600080611cdb8585611eec565b90506000611ce986866120f4565b905080821115611d2457611d068463ffffffff16836127106122a0565b8111611d245760405162461bcd60e51b81526004016108e0906134f5565b9150505b9392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663095ea7b360e01b1781529251825160009485949389169392918291908083835b60208310611dc05780518252601f199092019160209182019101611da1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611e22576040519150601f19603f3d011682016040523d82523d6000602084013e611e27565b606091505b5091509150818015611e55575080511580611e555750808060200190516020811015611e5257600080fd5b50515b611e8b576040805162461bcd60e51b8152602060048201526002602482015261534160f01b604482015290519081900360640190fd5b5050505050565b60008080611ea0848261234f565b9250611ead846014612412565b9050611eba84601761234f565b91509193909250565b8051604211155b919050565b8051606090611ee6908390601790601619016124ce565b92915050565b600080835111611f0e5760405162461bcd60e51b81526004016108e090613567565b50604080516002808252606082018352600160601b9260009283929091602083019080368337019050509050600081600081518110611f4957fe5b602002602001019063ffffffff16908163ffffffff1681525050600181600181518110611f7257fe5b602002602001019063ffffffff16908163ffffffff16815250505b6000806000611f9b88611e92565b9250925092506000611fb788611fb286868661262b565b612681565b90506000816001600160a01b031663883bdbfd876040518263ffffffff1660e01b8152600401611fe79190613407565b60006040518083038186803b158015611fff57600080fd5b505afa158015612013573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261203b9190810190612faf565b5090506120718160018151811061204e57fe5b60200260200101518260008151811061206357fe5b60200260200101510361277d565b6001600160a01b03169650836001600160a01b0316856001600160a01b0316116120a9576120a48888600160601b6122a0565b6120b8565b6120b888600160601b896122a0565b97506120c38a611ec3565b156120d8576120d18a611ecf565b99506120e2565b50505050506120ec565b5050505050611f8d565b505092915050565b6000808351116121165760405162461bcd60e51b81526004016108e090613567565b50604080516002808252606082018352600160601b926000928392909160208301908036833701905050905060008160008151811061215157fe5b602002602001019063ffffffff16908163ffffffff168152505060018160018151811061217a57fe5b602002602001019063ffffffff16908163ffffffff16815250505b60008060006121a388611e92565b92509250925060006121ba88611fb286868661262b565b9050806001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156121f557600080fd5b505afa158015612209573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222d9190613136565b5050506001600160a01b0393841699505050508381169085161161225f5761225a8787600160601b6122a0565b61226e565b61226e87600160601b886122a0565b965061227989611ec3565b1561228e5761228789611ecf565b9850612297565b505050506120ec565b50505050612195565b60008080600019858709868602925082811090839003039050806122d657600084116122cb57600080fd5b508290049050611d28565b8084116122e257600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6000818260140110156123a9576040805162461bcd60e51b815260206004820152601260248201527f746f416464726573735f6f766572666c6f770000000000000000000000000000604482015290519081900360640190fd5b8160140183511015612402576040805162461bcd60e51b815260206004820152601560248201527f746f416464726573735f6f75744f66426f756e64730000000000000000000000604482015290519081900360640190fd5b500160200151600160601b900490565b60008182600301101561246c576040805162461bcd60e51b815260206004820152601160248201527f746f55696e7432345f6f766572666c6f77000000000000000000000000000000604482015290519081900360640190fd5b81600301835110156124c5576040805162461bcd60e51b815260206004820152601460248201527f746f55696e7432345f6f75744f66426f756e6473000000000000000000000000604482015290519081900360640190fd5b50016003015190565b60608182601f011015612519576040805162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b604482015290519081900360640190fd5b828284011015612561576040805162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b604482015290519081900360640190fd5b818301845110156125b9576040805162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015290519081900360640190fd5b6060821580156125d85760405191506000825260208201604052612622565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156126115780518352602092830192016125f9565b5050858452601f01601f1916604052505b50949350505050565b612633612b48565b826001600160a01b0316846001600160a01b03161115612651579192915b50604080516060810182526001600160a01b03948516815292909316602083015262ffffff169181019190915290565b600081602001516001600160a01b031682600001516001600160a01b0316106126a957600080fd5b50805160208083015160409384015184516001600160a01b0394851681850152939091168385015262ffffff166060808401919091528351808403820181526080840185528051908301207fff0000000000000000000000000000000000000000000000000000000000000060a085015294901b6bffffffffffffffffffffffff191660a183015260b58201939093527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460d5808301919091528251808303909101815260f5909101909152805191012090565b60008060008360020b12612794578260020b61279c565b8260020b6000035b9050620d89e88111156127da576040805162461bcd60e51b81526020600482015260016024820152601560fa1b604482015290519081900360640190fd5b6000600182166127fb5770010000000000000000000000000000000061280d565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff1690506002821615612841576ffff97272373d413259a46990580e213a0260801c5b6004821615612860576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b600882161561287f576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b601082161561289e576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156128bd576fff973b41fa98c081472e6896dfb254c00260801c5b60408216156128dc576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156128fb576ffe5dee046a99a2a811c461f1969c30530260801c5b61010082161561291b576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b61020082161561293b576ff987a7253ac413176f2b074cf7815e540260801c5b61040082161561295b576ff3392b0822b70005940c7a398e4b70f30260801c5b61080082161561297b576fe7159475a2c29b7443b29c7fa6e889d90260801c5b61100082161561299b576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156129bb576fa9f746462d870fdf8a65dc1f90e061e50260801c5b6140008216156129db576f70d869a156d2a1b890bb3df62baf32f70260801c5b6180008216156129fb576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615612a1c576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615612a3c576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615612a5b576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615612a78576b048a170391f7dc42444e8fa20260801c5b60008460020b1315612a93578060001981612a8f57fe5b0490505b640100000000810615612aa7576001612aaa565b60005b60ff16602082901c0192505050919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282612af25760008555612b38565b82601f10612b0b5782800160ff19823516178555612b38565b82800160010185558215612b38579182015b82811115612b38578235825591602001919060010190612b1d565b50612b44929150612b68565b5090565b604080516060810182526000808252602082018190529181019190915290565b5b80821115612b445760008155600101612b69565b600082601f830112612b8d578081fd5b81516020612ba2612b9d836137b5565b613791565b8281528181019085830183850287018401881015612bbe578586fd5b855b85811015612be5578151612bd381613821565b84529284019290840190600101612bc0565b5090979650505050505050565b805161ffff81168114611eca57600080fd5b600060208284031215612c15578081fd5b8135611d2881613821565b600060208284031215612c31578081fd5b8151611d2881613821565b600080600080600080600080610100898b031215612c58578384fd5b8835612c6381613821565b97506020890135612c7381613821565b96506040890135612c8381613821565b9550606089013562ffffff81168114612c9a578485fd5b94506080890135612caa81613847565b935060a0890135612cba81613847565b979a969950949793969295929450505060c08201359160e0013590565b600080600060608486031215612ceb578081fd5b8335612cf681613821565b92506020840135612d0681613821565b9150604084013567ffffffffffffffff811115612d21578182fd5b8401601f81018613612d31578182fd5b8035612d3f612b9d826137d3565b818152876020838501011115612d53578384fd5b8160208401602083013783602083830101528093505050509250925092565b60008060408385031215612d84578182fd5b8235612d8f81613821565b91506020830135612d9f81613839565b809150509250929050565b600080600060408486031215612dbe578081fd5b8335612dc981613821565b9250602084013567ffffffffffffffff80821115612de5578283fd5b818601915086601f830112612df8578283fd5b813581811115612e06578384fd5b876020828501011115612e17578384fd5b6020830194508093505050509250925092565b60008060408385031215612e3c578182fd5b8235612e4781613821565b946020939093013593505050565b60008060008060008060c08789031215612e6d578384fd5b8635612e7881613821565b95506020870135945060408701359350606087013592506080870135612e9d81613839565b8092505060a087013590509295509295509295565b600080600080600060a08688031215612ec9578283fd5b8535612ed481613821565b97602087013597506040870135966060810135965060800135945092505050565b60008060008060008060c08789031215612f0d578384fd5b8635612f1881613821565b9860208801359850604088013597606081013597506080810135965060a00135945092505050565b60008060208385031215612f52578182fd5b823567ffffffffffffffff80821115612f69578384fd5b818501915085601f830112612f7c578384fd5b813581811115612f8a578485fd5b8660208083028501011115612f9d578485fd5b60209290920196919550909350505050565b60008060408385031215612fc1578182fd5b825167ffffffffffffffff80821115612fd8578384fd5b818501915085601f830112612feb578384fd5b81516020612ffb612b9d836137b5565b82815281810190858301838502870184018b1015613017578889fd5b8896505b848710156130475780518060060b811461303357898afd5b83526001969096019591830191830161301b565b5091880151919650909350505080821115613060578283fd5b5061306d85828601612b7d565b9150509250929050565b600060208284031215613088578081fd5b8151611d2881613839565b6000602082840312156130a4578081fd5b815167ffffffffffffffff8111156130ba578182fd5b8201601f810184136130ca578182fd5b80516130d8612b9d826137d3565b8181528560208385010111156130ec578384fd5b6130fd8260208301602086016137f5565b95945050505050565b600060208284031215613117578081fd5b81516fffffffffffffffffffffffffffffffff81168114611d28578182fd5b600080600080600080600060e0888a031215613150578081fd5b875161315b81613821565b602089015190975061316c81613847565b955061317a60408901612bf2565b945061318860608901612bf2565b935061319660808901612bf2565b925060a088015160ff811681146131ab578182fd5b60c08901519092506131bc81613839565b8091505092959891949750929550565b6000602082840312156131dd578081fd5b5051919050565b6000602082840312156131f5578081fd5b813563ffffffff81168114611d28578182fd5b600081518084526132208160208601602086016137f5565b601f01601f19169290920160200192915050565b606093841b6bffffffffffffffffffffffff19908116825260e89390931b7fffffff0000000000000000000000000000000000000000000000000000000000166014820152921b166017820152602b0190565b60006bffffffffffffffffffffffff198560601b16825262ffffff60e81b8460e81b16601483015282516132c28160178501602087016137f5565b91909101601701949350505050565b6000828483379101908152919050565b6001600160a01b0391909116815260200190565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b6001600160a01b03978816815295909616602086015262ffffff939093166040850152600291820b6060850152900b608083015260a082015263ffffffff90911660c082015260e00190565b60006001600160a01b03851682526060602083015261338b6060830185613208565b828103604084015261339d8185613208565b9695505050505050565b6000602080830181845280855180835260408601915060408482028701019250838701855b828110156133fa57603f198886030184526133e8858351613208565b945092850192908501906001016133cc565b5092979650505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561344557835163ffffffff1683529284019291840191600101613423565b50909695505050505050565b901515815260200190565b60006020825282602083015282846040840137818301604090810191909152601f909201601f19160101919050565b600060208252611d286020830184613208565b6020808252600390820152621593d560ea1b604082015260600190565b60208082526003908201526253504960e81b604082015260600190565b60208082526003908201526215925560ea1b604082015260600190565b602080825260029082015261565360f01b604082015260600190565b60208082526003908201526227a4a360e91b604082015260600190565b60208082526003908201526253535360e81b604082015260600190565b6020808252600290820152614f4360f01b604082015260600190565b60208082526003908201526212541360ea1b604082015260600190565b60208082526003908201526250494560e81b604082015260600190565b6020808252600390820152624f474360e81b604082015260600190565b6020808252600390820152621253d560ea1b604082015260600190565b60208082526003908201526213d25160ea1b604082015260600190565b6020808252600390820152624f4d4360e81b604082015260600190565b60208082526003908201526210d11360ea1b604082015260600190565b600060208252825160a0602084015261364e60c0840182613208565b90506001600160a01b0360208501511660408401526040840151606084015260608401516080840152608084015160a08401528091505092915050565b6fffffffffffffffffffffffffffffffff91909116815260200190565b90815260200190565b918252602082015260400190565b948552602085019390935260408401919091521515606083015263ffffffff16608082015260a00190565b94855260208501939093526040840191909152606083015263ffffffff16608082015260a00190565b9384526020840192909252604083015263ffffffff16606082015260800190565b63ffffffff91909116815260200190565b6000808335601e1984360301811261375b578283fd5b83018035915067ffffffffffffffff821115613775578283fd5b60200191503681900382131561378a57600080fd5b9250929050565b60405181810167ffffffffffffffff811182821017156137ad57fe5b604052919050565b600067ffffffffffffffff8211156137c957fe5b5060209081020190565b600067ffffffffffffffff8211156137e757fe5b50601f01601f191660200190565b60005b838110156138105781810151838201526020016137f8565b8381111561094a5750506000910152565b6001600160a01b038116811461383657600080fd5b50565b801515811461383657600080fd5b8060020b811461383657600080fdfea2646970667358221220c298d96b43bb39c80d128c0458e12f15913c31841dab6e8b1e56a7c77940578164736f6c63430007060033

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

000000000000000000000000615d8e5e1344b36a95f6ecd8e6cda020e84dc25b00000000000000000000000089a803f5f81bbef6134fdf6e5deee75870393585000000000000000000000000e592427a0aece92de3edee1f18e0157c058615640000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : _hotpot (address): 0x615D8e5e1344B36A95F6ecd8e6CDA020E84dc25b
Arg [1] : _governance (address): 0x89a803F5F81bBEF6134fDF6e5DeeE75870393585
Arg [2] : _uniV3Router (address): 0xE592427A0AEce92De3Edee1F18E0157C05861564
Arg [3] : _uniV3Factory (address): 0x1F98431c8aD98523631AE4a59f267346ea31F984
Arg [4] : _weth9 (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000615d8e5e1344b36a95f6ecd8e6cda020e84dc25b
Arg [1] : 00000000000000000000000089a803f5f81bbef6134fdf6e5deee75870393585
Arg [2] : 000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564
Arg [3] : 0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


Deployed Bytecode Sourcemap

487:8426:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3661:794;;;;;;;;;;-1:-1:-1;3661:794:19;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4968:171;;;;;;;;;;-1:-1:-1;4968:171:19;;;;;:::i;:::-;;:::i;:::-;;8194:322;;;;;;;;;;-1:-1:-1;8194:322:19;;;;;:::i;:::-;;:::i;693:40::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;1771:112::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7809:343::-;;;;;;;;;;-1:-1:-1;7809:343:19;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2088:965::-;;;;;;;;;;-1:-1:-1;2088:965:19;;;;;:::i;:::-;;:::i;1006:54::-;;;;;;;;;;-1:-1:-1;1006:54:19;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;779:39::-;;;;;;;;;;;;;:::i;3377:234::-;;;;;;;;;;-1:-1:-1;3377:234:19;;;;;:::i;:::-;;:::i;945:55::-;;;;;;;;;;-1:-1:-1;945:55:19;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;739:34::-;;;;;;;;;;;;;:::i;642:45::-;;;;;;;;;;;;;:::i;590:46::-;;;;;;;;;;;;;:::i;5388:1940::-;;;;;;;;;;-1:-1:-1;5388:1940:19;;;;;:::i;:::-;;:::i;8558:353::-;;;;;;;;;;-1:-1:-1;8558:353:19;;;;;:::i;:::-;;:::i;7370:397::-;;;;;;;;;;-1:-1:-1;7370:397:19;;;;;:::i;:::-;;:::i;4500:187::-;;;;;;;;;;-1:-1:-1;4500:187:19;;;;;:::i;:::-;;:::i;308:655:20:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4732:194:19:-;;;;;;;;;;-1:-1:-1;4732:194:19;;;;;:::i;:::-;;:::i;5181:165::-;;;;;;;;;;-1:-1:-1;5181:165:19;;;;;:::i;:::-;;:::i;3098:234::-;;;;;;;;;;-1:-1:-1;3098:234:19;;;;;:::i;:::-;;:::i;1926:117::-;;;;;;;;;;;;;:::i;3661:794::-;-1:-1:-1;;;;;3775:18:19;;3732:11;3775:18;;;:11;:18;;;;;;;;3755:38;;;;;;;;;;-1:-1:-1;;3755:38:19;;;;;;;;;;;;;;;;;;;;;;;;;;3732:11;;3755:38;3775:18;;3755:38;;;3775:18;3755:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3803:61;3828:4;3834:12;3848:6;;;;;;;;;;;3857;3848:15;3803:24;:61::i;:::-;-1:-1:-1;3897:38:19;;-1:-1:-1;;;3897:38:19;;3874:10;;-1:-1:-1;;;;;3897:23:19;;;;;:38;;3929:4;;3897:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3887:6;:48;;:98;;3947:38;;-1:-1:-1;;;3947:38:19;;-1:-1:-1;;;;;3947:23:19;;;;;:38;;3979:4;;3947:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3887:98;;;3938:6;3887:98;3874:111;;3995:53;4022:5;4029:11;4042:5;3995:26;:53::i;:::-;4102:203;;;;;;;;;;;4188:4;4102:203;;;;4217:15;4102:203;;;;;;;;;;4059:40;4102:203;;;;4324:41;;-1:-1:-1;;;4324:41:19;;4336:11;-1:-1:-1;;;;;4324:35:19;;;;:41;;4102:203;;4324:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4375:28;;-1:-1:-1;;;4375:28:19;;4315:50;;-1:-1:-1;;;;;;4383:6:19;4375:20;;;;:28;;4315:50;;4375:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4426:5;-1:-1:-1;;;;;4418:30:19;;4433:6;4441;4418:30;;;;;;;:::i;:::-;;;;;;;;3661:794;;;;;;;:::o;4968:171::-;5063:4;1147;-1:-1:-1;;;;;1133:27:19;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1119:43:19;:10;-1:-1:-1;;;;;1119:43:19;;1111:59;;;;-1:-1:-1;;;1111:59:19;;;;;;;:::i;:::-;;;;;;;;;5086:46:::1;::::0;-1:-1:-1;;;5086:46:19;;-1:-1:-1;;;;;5086:33:19;::::1;::::0;::::1;::::0;:46:::1;::::0;5120:11;;;;5086:46:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1180:1;4968:171:::0;;;;:::o;8194:322::-;8407:11;8371:8;1366;1347:15;:27;;1339:43;;;;-1:-1:-1;;;1339:43:19;;;;;;;:::i;:::-;8393:4:::1;1147;-1:-1:-1::0;;;;;1133:27:19::1;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;1119:43:19::1;:10;-1:-1:-1::0;;;;;1119:43:19::1;;1111:59;;;;-1:-1:-1::0;;;1111:59:19::1;;;;;;;:::i;:::-;8502:6:::2;::::0;8436:73:::2;::::0;-1:-1:-1;;;8436:73:19;;-1:-1:-1;;;;;8436:23:19;::::2;::::0;::::2;::::0;:73:::2;::::0;8460:9;;8471:13;;8486:14;;-1:-1:-1;;;8502:6:19;;::::2;;;::::0;8436:73:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8429:80:::0;8194:322;-1:-1:-1;;;;;;;;8194:322:19:o;693:40::-;;;:::o;1771:112::-;1828:18;1864:6;-1:-1:-1;;;1864:6:19;;1874:2;1864:12;;;;1771:112::o;7809:343::-;8036:17;8000:8;1366;1347:15;:27;;1339:43;;;;-1:-1:-1;;;1339:43:19;;;;;;;:::i;:::-;8022:4:::1;1147;-1:-1:-1::0;;;;;1133:27:19::1;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;1119:43:19::1;:10;-1:-1:-1::0;;;;;1119:43:19::1;;1111:59;;;;-1:-1:-1::0;;;1111:59:19::1;;;;;;;:::i;:::-;8138:6:::2;::::0;8071:74:::2;::::0;-1:-1:-1;;;8071:74:19;;-1:-1:-1;;;;;8071:23:19;::::2;::::0;::::2;::::0;:74:::2;::::0;8095:9;;8106:13;;8121:6;;8129:7;;-1:-1:-1;;;8138:6:19;::::2;;;::::0;8071:74:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8064:81:::0;7809:343;-1:-1:-1;;;;;;;;;7809:343:19:o;2088:965::-;1249:10;;-1:-1:-1;;;;;1249:10:19;1235;:24;1227:40;;;;-1:-1:-1;;;1227:40:19;;;;;;;:::i;:::-;2191:18:::1;2212:4;;2191:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;2191:25:19;;-1:-1:-1;;;;2226:744:19::1;2254:15;2271:16:::0;2289:10:::1;2303:23;:5;:21;:23::i;:::-;2253:73;;;;;;2370:12;2403;-1:-1:-1::0;;;;;2385:39:19::1;;2425:7;2434:8;2444:3;2385:63;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2370:78:::0;-1:-1:-1;;;;;;2470:18:19;::::1;2462:34;;;;-1:-1:-1::0;;;2462:34:19::1;;;;;;;:::i;:::-;2553:29;2604:4;-1:-1:-1::0;;;;;2589:26:19::1;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2549:68;;;;;;;;2665:1;2639:22;:27;;;;2631:42;;;;-1:-1:-1::0;;;2631:42:19::1;;;;;;;:::i;:::-;2692:24;:5;:22;:24::i;:::-;2688:272;;;2744:17;:5;:15;:17::i;:::-;2736:25;;2688:272;;;2887:5;-1:-1:-1::0;;;;;2876:16:19::1;:7;-1:-1:-1::0;;;;;2876:16:19::1;;:38;;;;;2908:6;-1:-1:-1::0;;;;;2896:18:19::1;:8;-1:-1:-1::0;;;;;2896:18:19::1;;2876:38;2868:54;;;;-1:-1:-1::0;;;2868:54:19::1;;;;;;;:::i;:::-;2940:5;;;;;;;2688:272;2226:744;;;;;;;;-1:-1:-1::0;;;;;2979:18:19;::::1;;::::0;;;:11:::1;:18;::::0;;;;:25:::1;::::0;3000:4;;2979:25:::1;:::i;:::-;;3034:5;-1:-1:-1::0;;;;;3019:27:19::1;;3041:4;;3019:27;;;;;;;:::i;:::-;;;;;;;;1277:1;2088:965:::0;;;:::o;1006:54::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1006:54:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;779:39::-;;;:::o;3377:234::-;1249:10;;-1:-1:-1;;;;;1249:10:19;1235;:24;1227:40;;;;-1:-1:-1;;;1227:40:19;;;;;;;:::i;:::-;3493:3:::1;3477:12;:19;;;;3469:35;;;;-1:-1:-1::0;;;3469:35:19::1;;;;;;;:::i;:::-;3523:6;::::0;;-1:-1:-1;;;;3514:43:19;::::1;3523:6;-1:-1:-1::0;;;3523:6:19;;;::::1;3532:10;3523:19:::0;:34;::::1;3514:43;::::0;;::::1;;::::0;;3572:32:::1;::::0;::::1;::::0;::::1;::::0;3523:34;;3572:32:::1;:::i;:::-;;;;;;;;3377:234:::0;:::o;945:55::-;;;;;;;;;;;;;;;:::o;739:34::-;;;-1:-1:-1;;;;;739:34:19;;:::o;642:45::-;;;:::o;590:46::-;;;:::o;5388:1940::-;5517:4;1147;-1:-1:-1;;;;;1133:27:19;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1119:43:19;:10;-1:-1:-1;;;;;1119:43:19;;1111:59;;;;-1:-1:-1;;;1111:59:19;;;;;;;:::i;:::-;-1:-1:-1;;;;;5540:24:19;::::1;;::::0;;;:13:::1;:24;::::0;;;;;::::1;;5532:33;;;::::0;::::1;;5576:17;5610:4;-1:-1:-1::0;;;;;5596:25:19::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5576:47:::0;-1:-1:-1;5654:4:19;5668:21:::1;5633:18;::::0;;5749:22:::1;5654:4:::0;5749:20:::1;:22::i;:::-;5699:72;;;;;;5809:8;5819:3;5824:7;5792:40;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5781:51;;5842:10;5942:9;-1:-1:-1::0;;;;;5931:20:19::1;:7;-1:-1:-1::0;;;;;5931:20:19::1;;5928:189;;;-1:-1:-1::0;5974:4:19::1;5928:189;;;6096:9;-1:-1:-1::0;;;;;6085:20:19::1;:7;-1:-1:-1::0;;;;;6085:20:19::1;;6077:29;;;::::0;::::1;;-1:-1:-1::0;;;;;6162:22:19;::::1;;::::0;;;:13:::1;:22;::::0;;;;;::::1;;6154:38;;;;-1:-1:-1::0;;;6154:38:19::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;6214:23:19;::::1;;::::0;;;:13:::1;:23;::::0;;;;;::::1;;6206:39;;;;-1:-1:-1::0;;;6206:39:19::1;;;;;;;:::i;:::-;6303:63;::::0;-1:-1:-1;;;6303:63:19;;6288:12:::1;::::0;-1:-1:-1;;;;;6321:12:19::1;6303:39;::::0;::::1;::::0;:63:::1;::::0;6343:7;;6352:8;;6362:3;;6303:63:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6288:78:::0;-1:-1:-1;;;;;;6388:18:19;::::1;6380:34;;;;-1:-1:-1::0;;;6380:34:19::1;;;;;;;:::i;:::-;6471:29;6522:4;-1:-1:-1::0;;;;;6507:26:19::1;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6467:68;;;;;;;;6583:1;6557:22;:27;;;;6549:42;;;;-1:-1:-1::0;;;6549:42:19::1;;;;;;;:::i;:::-;6610:23;:4;:21;:23::i;:::-;6606:583;;;6660:16;:4;:14;:16::i;:::-;6653:23;;6721:22;:4;:20;:22::i;:::-;6772:41;::::0;6694:49;;-1:-1:-1;6694:49:19;;-1:-1:-1;6694:49:19;-1:-1:-1;6772:41:19::1;::::0;6694:49;;;;6804:8;;6772:41:::1;;;:::i;:::-;;;;;;;;;;;;;6761:52;;6606:583;;;7007:5;7004:147;;;7054:9;-1:-1:-1::0;;;;;7042:21:19::1;:8;-1:-1:-1::0;;;;;7042:21:19::1;;7034:37;;;;-1:-1:-1::0;;;7034:37:19::1;;;;;;;:::i;:::-;7004:147;;;7134:9;-1:-1:-1::0;;;;;7122:21:19::1;:8;-1:-1:-1::0;;;;;7122:21:19::1;;7114:37;;;;-1:-1:-1::0;;;7114:37:19::1;;;;;;;:::i;:::-;7169:5;;;;6606:583;6127:1072;;;;;7212:5;7208:48;;7240:8:::0;;7250:5;7208:48:::1;7266:55;::::0;-1:-1:-1;;;7266:55:19;;-1:-1:-1;;;;;7266:27:19;::::1;::::0;::::1;::::0;:55:::1;::::0;7294:9;;7305:5;;7312:8;;7266:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1180:1;;;;;;;5388:1940:::0;;;;:::o;8558:353::-;8790:17;8754:8;1366;1347:15;:27;;1339:43;;;;-1:-1:-1;;;1339:43:19;;;;;;;:::i;:::-;8776:4:::1;1147;-1:-1:-1::0;;;;;1133:27:19::1;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;1119:43:19::1;:10;-1:-1:-1::0;;;;;1119:43:19::1;;1111:59;;;;-1:-1:-1::0;;;1111:59:19::1;;;;;;;:::i;:::-;8897:6:::2;::::0;8825:79:::2;::::0;-1:-1:-1;;;8825:79:19;;-1:-1:-1;;;;;8825:24:19;::::2;::::0;::::2;::::0;:79:::2;::::0;8850:9;;8861:8;;8871;;8881:14;;-1:-1:-1;;;8897:6:19;::::2;;;::::0;8825:79:::2;;;:::i;7370:397::-:0;7642:17;7606:8;1366;1347:15;:27;;1339:43;;;;-1:-1:-1;;;1339:43:19;;;;;;;:::i;:::-;7628:4:::1;1147;-1:-1:-1::0;;;;;1133:27:19::1;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;1119:43:19::1;:10;-1:-1:-1::0;;;;;1119:43:19::1;;1111:59;;;;-1:-1:-1::0;;;1111:59:19::1;;;;;;;:::i;:::-;7753:6:::2;::::0;7677:83:::2;::::0;-1:-1:-1;;;7677:83:19;;-1:-1:-1;;;;;7677:24:19;::::2;::::0;::::2;::::0;:83:::2;::::0;7702:6;;7710;;7718:3;;7723:9;;7734;;7745:6;;-1:-1:-1;;;7753:6:19;::::2;;;::::0;7677:83:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7670:90:::0;7370:397;-1:-1:-1;;;;;;;;;;;7370:397:19:o;4500:187::-;1249:10;;-1:-1:-1;;;;;1249:10:19;1235;:24;1227:40;;;;-1:-1:-1;;;1227:40:19;;;;;;;:::i;:::-;-1:-1:-1;;;;;4591:21:19;::::1;4583:30;;;::::0;::::1;;4623:10;:20:::0;;;::::1;-1:-1:-1::0;;;;;4623:20:19;::::1;::::0;;::::1;::::0;;4658:22:::1;::::0;4623:20;;4658:22:::1;::::0;::::1;4500:187:::0;:::o;308:655:20:-;385:22;441:4;429:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;419:34;;468:9;463:494;483:15;;;463:494;;;520:12;;565:4;584;;589:1;584:7;;;;;;;;;;;;;;;;;;:::i;:::-;557:35;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;519:73;;;;612:7;607:306;;739:2;723:6;:13;:18;719:32;;;743:8;;;719:32;822:4;814:6;810:17;800:27;;880:6;869:28;;;;;;;;;;;;:::i;:::-;862:36;;-1:-1:-1;;;862:36:20;;;;;;;;:::i;607:306::-;940:6;927:7;935:1;927:10;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;500:3:20;;463:494;;;;308:655;;;;:::o;4732:194:19:-;1249:10;;-1:-1:-1;;;;;1249:10:19;1235;:24;1227:40;;;;-1:-1:-1;;;1227:40:19;;;;;;;:::i;:::-;-1:-1:-1;;;;;4833:20:19;::::1;;::::0;;;:13:::1;:20;::::0;;;;;;:33;;-1:-1:-1;;4833:33:19::1;::::0;::::1;;;::::0;;4881:38;::::1;::::0;::::1;::::0;4833:33;;4881:38:::1;:::i;:::-;;;;;;;;4732:194:::0;;:::o;5181:165::-;5268:4;1147;-1:-1:-1;;;;;1133:27:19;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1119:43:19;:10;-1:-1:-1;;;;;1119:43:19;;1111:59;;;;-1:-1:-1;;;1111:59:19;;;;;;;:::i;:::-;5291:48:::1;::::0;-1:-1:-1;;;5291:48:19;;-1:-1:-1;;;;;5291:38:19;::::1;::::0;::::1;::::0;:48:::1;::::0;5330:8;;5291:48:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5181:165:::0;;;:::o;3098:234::-;1249:10;;-1:-1:-1;;;;;1249:10:19;1235;:24;1227:40;;;;-1:-1:-1;;;1227:40:19;;;;;;;:::i;:::-;3211:3:::1;3196:11;:18;;;;3188:34;;;;-1:-1:-1::0;;;3188:34:19::1;;;;;;;:::i;:::-;3264:6;::::0;;-1:-1:-1;;;;3232:48:19;::::1;3264:6;-1:-1:-1::0;;;3264:6:19;;;::::1;3273;3264:15:::0;3257:2:::1;3242:17:::0;;;;;3241:39:::1;3232:48;::::0;;::::1;;::::0;;3295:30:::1;::::0;::::1;::::0;::::1;::::0;3242:17;;3295:30:::1;:::i;1926:117::-:0;1984:19;2021:6;-1:-1:-1;;;2021:6:19;;2030;2021:15;;1926:117::o;3583:399:35:-;3726:4;3743:9;3755:39;3775:4;3781:12;3755:19;:39::i;:::-;3743:51;;3804:12;3819:35;3835:4;3841:12;3819:15;:35::i;:::-;3804:50;;3874:7;3867:4;:14;3864:87;;;3901:43;3917:15;3901:43;;3934:4;3940:3;3901:15;:43::i;:::-;3891:7;:53;3883:68;;;;-1:-1:-1;;;3883:68:35;;;;;;;:::i;:::-;3968:7;-1:-1:-1;;3583:399:35;;;;;;:::o;1873:307:18:-;2032:58;;;-1:-1:-1;;;;;2032:58:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2032:58:18;;;2021:70;;;;1986:12;;;;2021:10;;;;2032:58;2021:70;;;2032:58;2021:70;;2032:58;2021:70;;;;;;;;;;-1:-1:-1;;2021:70:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1985:106;;;;2109:7;:57;;;;-1:-1:-1;2121:11:18;;:16;;:44;;;2152:4;2141:24;;;;;;;;;;;;;;;-1:-1:-1;2141:24:18;2121:44;2101:72;;;;;-1:-1:-1;;;2101:72:18;;;;;;;;;;;;-1:-1:-1;;;2101:72:18;;;;;;;;;;;;;;;1873:307;;;;;:::o;1392:314:16:-;1496:14;;;1596:17;:4;1496:14;1596;:17::i;:::-;1587:26;-1:-1:-1;1629:24:16;:4;304:2;1629:13;:24::i;:::-;1623:30;-1:-1:-1;1672:27:16;:4;507:20;1672:14;:27::i;:::-;1663:36;;1392:314;;;;;:::o;992:138::-;1083:11;;777:24;-1:-1:-1;1083:40:16;992:138;;;;:::o;2248:149::-;2364:11;;2309:12;;2340:50;;2364:4;;507:20;;-1:-1:-1;;2364:25:16;2340:10;:50::i;:::-;2333:57;2248:149;-1:-1:-1;;2248:149:16:o;2104:1255:35:-;2220:21;2274:1;2260:4;:11;:15;2252:31;;;;-1:-1:-1;;;2252:31:35;;;;;;;:::i;:::-;-1:-1:-1;2400:15:35;;;2413:1;2400:15;;;;;;;;-1:-1:-1;;;349:27:11;2339:22:35;;;;2400:15;;;;;;;;;;;;-1:-1:-1;2400:15:35;2371:44;;2441:1;2425:10;2436:1;2425:13;;;;;;;;;;;;;:17;;;;;;;;;;;2468:1;2452:10;2463:1;2452:13;;;;;;;;;;;;;:17;;;;;;;;;;;2479:874;2507:15;2524:16;2542:10;2556:22;:4;:20;:22::i;:::-;2506:72;;;;;;2592:19;2629:88;2656:12;2670:46;2693:7;2702:8;2712:3;2670:22;:46::i;:::-;2629:26;:88::i;:::-;2592:126;;2766:30;2801:4;-1:-1:-1;;;;;2801:12:35;;2814:10;2801:24;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2801:24:35;;;;;;;;;;;;:::i;:::-;2765:60;;;2859:75;2914:15;2930:1;2914:18;;;;;;;;;;;;;;2893:15;2909:1;2893:18;;;;;;;;;;;;;;:39;2859:27;:75::i;:::-;-1:-1:-1;;;;;2839:95:35;;;2977:8;-1:-1:-1;;;;;2967:18:35;:7;-1:-1:-1;;;;;2967:18:35;;:196;;3093:70;3109:16;3127:17;-1:-1:-1;;;3093:15:35;:70::i;:::-;2967:196;;;3004:70;3020:16;-1:-1:-1;;;3056:17:35;3004:15;:70::i;:::-;2948:215;;3237:23;:4;:21;:23::i;:::-;3233:109;;;3285:16;:4;:14;:16::i;:::-;3278:23;;3233:109;;;3337:5;;;;;;;3233:109;2479:874;;;;;;;;2104:1255;;;;;;:::o;810:1071::-;922:17;972:1;958:4;:11;:15;950:31;;;;-1:-1:-1;;;950:31:35;;;;;;;:::i;:::-;-1:-1:-1;1094:15:35;;;1107:1;1094:15;;;;;;;;-1:-1:-1;;;349:27:11;1033:22:35;;;;1094:15;;;;;;;;;;;;-1:-1:-1;1094:15:35;1065:44;;1135:1;1119:10;1130:1;1119:13;;;;;;;;;;;;;:17;;;;;;;;;;;1162:1;1146:10;1157:1;1146:13;;;;;;;;;;;;;:17;;;;;;;;;;;1173:702;1201:15;1218:16;1236:10;1250:22;:4;:20;:22::i;:::-;1200:72;;;;;;1286:19;1323:88;1350:12;1364:46;1387:7;1396:8;1406:3;1364:22;:46::i;1323:88::-;1286:126;;1455:4;-1:-1:-1;;;;;1455:10:35;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;1427:40:35;;;;-1:-1:-1;;;;1496:18:35;;;;;;;:188;;1618:66;1634:12;1648:17;-1:-1:-1;;;1618:15:35;:66::i;:::-;1496:188;;;1533:66;1549:12;-1:-1:-1;;;1581:17:35;1533:15;:66::i;:::-;1481:203;;1758:23;:4;:21;:23::i;:::-;1754:109;;;1806:16;:4;:14;:16::i;:::-;1799:23;;1754:109;;;1858:5;;;;;;1754:109;1173:702;;;;;;742:3776:12;854:14;;;-1:-1:-1;;1361:1:12;1358;1351:20;1393:9;;;;-1:-1:-1;1444:13:12;;;1428:14;;;;1424:34;;-1:-1:-1;1540:10:12;1536:179;;1588:1;1574:11;:15;1566:24;;;;;;-1:-1:-1;1641:23:12;;;;-1:-1:-1;1691:13:12;;1536:179;1842:5;1828:11;:19;1820:28;;;;;;2125:17;2201:11;2198:1;2195;2188:25;2553:12;2568;;;:26;;2688:22;;;;;3491:1;3472;:15;;3471:21;;3718:17;;;3714:21;;3707:28;3776:17;;;3772:21;;3765:28;3835:17;;;3831:21;;3824:28;3894:17;;;3890:21;;3883:28;3953:17;;;3949:21;;3942:28;4013:17;;;4009:21;;;4002:28;3060:12;;;;3056:23;;;3081:1;3052:31;2330:20;;;2319:32;;;3111:12;;;;2373:21;;;;2816:16;;;;3102:21;;;;4477:11;;;;;-1:-1:-1;;742:3776:12;;;;;:::o;3412:416:15:-;3491:7;3533:6;3518;3527:2;3518:11;:21;;3510:52;;;;;-1:-1:-1;;;3510:52:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;3597:6;3606:2;3597:11;3580:6;:13;:28;;3572:62;;;;;-1:-1:-1;;;3572:62:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3722:30:15;3738:4;3722:30;3716:37;-1:-1:-1;;;3712:71:15;;;3412:416::o;3834:365::-;3912:6;3952;3938;3947:1;3938:10;:20;;3930:50;;;;;-1:-1:-1;;;3930:50:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;4015:6;4024:1;4015:10;3998:6;:13;:27;;3990:60;;;;;-1:-1:-1;;;3990:60:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4127:29:15;4143:3;4127:29;4121:36;;3834:365::o;399:3007::-;521:12;569:7;553;563:2;553:12;:23;;545:50;;;;;-1:-1:-1;;;545:50:15;;;;;;;;;;;;-1:-1:-1;;;545:50:15;;;;;;;;;;;;;;;633:6;622:7;613:6;:16;:26;;605:53;;;;;-1:-1:-1;;;605:53:15;;;;;;;;;;;;-1:-1:-1;;;605:53:15;;;;;;;;;;;;;;;702:7;693:6;:16;676:6;:13;:33;;668:63;;;;;-1:-1:-1;;;668:63:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;742:22;805:15;;837:2099;;;;3089:4;3083:11;3070:24;;3287:1;3276:9;3269:20;3339:4;3328:9;3324:20;3318:4;3311:34;798:2565;;837:2099;1031:4;1025:11;1012:24;;1726:2;1717:7;1713:16;2128:9;2121:17;2115:4;2111:28;2099:9;2088;2084:25;2080:60;2180:7;2176:2;2172:16;2448:6;2434:9;2427:17;2421:4;2417:28;2405:9;2397:6;2393:22;2389:57;2385:70;2210:461;2485:3;2481:2;2478:11;2210:461;;;2639:9;;2628:21;;2530:4;2522:13;;;;2566;2210:461;;;-1:-1:-1;;2693:26:15;;;2913:2;2896:11;-1:-1:-1;;2892:25:15;2886:4;2879:39;-1:-1:-1;798:2565:15;-1:-1:-1;3390:9:15;399:3007;-1:-1:-1;;;;399:3007:15:o;784:274:17:-;901:14;;:::i;:::-;940:6;-1:-1:-1;;;;;931:15:17;:6;-1:-1:-1;;;;;931:15:17;;927:56;;;968:6;;976;927:56;-1:-1:-1;1000:51:17;;;;;;;;-1:-1:-1;;;;;1000:51:17;;;;;;;;;;;;;;;;;;;;;;;784:274::o;1305:512::-;1389:12;1434:3;:10;;;-1:-1:-1;;;;;1421:23:17;:3;:10;;;-1:-1:-1;;;;;1421:23:17;;1413:32;;;;;;-1:-1:-1;1668:10:17;;1680;;;;;1692:7;;;;;1657:43;;-1:-1:-1;;;;;1657:43:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1647:54;;;;;;1539:229;;;;;;;;-1:-1:-1;;1539:229:17;;;;;;;;;;;;241:66;1539:229;;;;;;;;;;;;;;;;;;;;;;;;;1508:278;;;;;;1305:512::o;1355:2580:13:-;1418:20;1450:15;1475:1;1468:4;:8;;;:57;;1519:4;1512:12;;1468:57;;;1495:4;1488:12;;1487:13;;1468:57;1450:75;-1:-1:-1;637:9:13;1543:28;;;1535:42;;;;;-1:-1:-1;;;1535:42:13;;;;;;;;;;;;-1:-1:-1;;;1535:42:13;;;;;;;;;;;;;;;1588:13;1614:3;1604:13;;:93;;1662:35;1604:93;;;1625:34;1604:93;1588:109;;;-1:-1:-1;1721:3:13;1711:13;;:18;1707:83;;1748:34;1740:42;1787:3;1739:51;1707:83;1814:3;1804:13;;:18;1800:83;;1841:34;1833:42;1880:3;1832:51;1800:83;1907:3;1897:13;;:18;1893:83;;1934:34;1926:42;1973:3;1925:51;1893:83;2000:4;1990:14;;:19;1986:84;;2028:34;2020:42;2067:3;2019:51;1986:84;2094:4;2084:14;;:19;2080:84;;2122:34;2114:42;2161:3;2113:51;2080:84;2188:4;2178:14;;:19;2174:84;;2216:34;2208:42;2255:3;2207:51;2174:84;2282:4;2272:14;;:19;2268:84;;2310:34;2302:42;2349:3;2301:51;2268:84;2376:5;2366:15;;:20;2362:85;;2405:34;2397:42;2444:3;2396:51;2362:85;2471:5;2461:15;;:20;2457:85;;2500:34;2492:42;2539:3;2491:51;2457:85;2566:5;2556:15;;:20;2552:85;;2595:34;2587:42;2634:3;2586:51;2552:85;2661:5;2651:15;;:20;2647:85;;2690:34;2682:42;2729:3;2681:51;2647:85;2756:6;2746:16;;:21;2742:86;;2786:34;2778:42;2825:3;2777:51;2742:86;2852:6;2842:16;;:21;2838:86;;2882:34;2874:42;2921:3;2873:51;2838:86;2948:6;2938:16;;:21;2934:86;;2978:34;2970:42;3017:3;2969:51;2934:86;3044:6;3034:16;;:21;3030:86;;3074:34;3066:42;3113:3;3065:51;3030:86;3140:7;3130:17;;:22;3126:86;;3171:33;3163:41;3209:3;3162:50;3126:86;3236:7;3226:17;;:22;3222:85;;3267:32;3259:40;3304:3;3258:49;3222:85;3331:7;3321:17;;:22;3317:83;;3362:30;3354:38;3397:3;3353:47;3317:83;3424:7;3414:17;;:22;3410:78;;3455:25;3447:33;3485:3;3446:42;3410:78;3510:1;3503:4;:8;;;3499:47;;;3541:5;-1:-1:-1;;3521:25:13;;;;;;3513:33;;3499:47;3905:7;3896:5;:17;:22;:30;;3925:1;3896:30;;;3921:1;3896:30;3879:48;;3889:2;3880:5;:11;;3879:48;3856:72;;1355:2580;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:777:36;;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:36;;;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:36;;95:696;-1:-1:-1;;;;;;;95:696:36:o;796:165::-;876:13;;929:6;918:18;;908:29;;898:2;;951:1;948;941:12;966:259;;1078:2;1066:9;1057:7;1053:23;1049:32;1046:2;;;1099:6;1091;1084:22;1046:2;1143:9;1130:23;1162:33;1189:5;1162:33;:::i;1230:263::-;;1353:2;1341:9;1332:7;1328:23;1324:32;1321:2;;;1374:6;1366;1359:22;1321:2;1411:9;1405:16;1430:33;1457:5;1430:33;:::i;1498:1144::-;;;;;;;;;1724:3;1712:9;1703:7;1699:23;1695:33;1692:2;;;1746:6;1738;1731:22;1692:2;1790:9;1777:23;1809:33;1836:5;1809:33;:::i;:::-;1861:5;-1:-1:-1;1918:2:36;1903:18;;1890:32;1931:35;1890:32;1931:35;:::i;:::-;1985:7;-1:-1:-1;2044:2:36;2029:18;;2016:32;2057:35;2016:32;2057:35;:::i;:::-;2111:7;-1:-1:-1;2170:2:36;2155:18;;2142:32;2218:8;2205:22;;2193:35;;2183:2;;2247:6;2239;2232:22;2183:2;2275:7;-1:-1:-1;2334:3:36;2319:19;;2306:33;2348;2306;2348;:::i;:::-;2400:7;-1:-1:-1;2459:3:36;2444:19;;2431:33;2473;2431;2473;:::i;:::-;1682:960;;;;-1:-1:-1;1682:960:36;;;;;;2525:7;;-1:-1:-1;;;2579:3:36;2564:19;;2551:33;;2631:3;2616:19;2603:33;;1682:960::o;2647:997::-;;;;2802:2;2790:9;2781:7;2777:23;2773:32;2770:2;;;2823:6;2815;2808:22;2770:2;2867:9;2854:23;2886:33;2913:5;2886:33;:::i;:::-;2938:5;-1:-1:-1;2995:2:36;2980:18;;2967:32;3008:35;2967:32;3008:35;:::i;:::-;3062:7;-1:-1:-1;3120:2:36;3105:18;;3092:32;3147:18;3136:30;;3133:2;;;3184:6;3176;3169:22;3133:2;3212:22;;3265:4;3257:13;;3253:27;-1:-1:-1;3243:2:36;;3299:6;3291;3284:22;3243:2;3340;3327:16;3365:49;3380:33;3410:2;3380:33;:::i;3365:49::-;3437:2;3430:5;3423:17;3477:7;3472:2;3467;3463;3459:11;3455:20;3452:33;3449:2;;;3503:6;3495;3488:22;3449:2;3563;3558;3554;3550:11;3545:2;3538:5;3534:14;3521:45;3607:6;3602:2;3597;3590:5;3586:14;3582:23;3575:39;3633:5;3623:15;;;;;2760:884;;;;;:::o;3649:396::-;;;3775:2;3763:9;3754:7;3750:23;3746:32;3743:2;;;3796:6;3788;3781:22;3743:2;3840:9;3827:23;3859:33;3886:5;3859:33;:::i;:::-;3911:5;-1:-1:-1;3968:2:36;3953:18;;3940:32;3981;3940;3981;:::i;:::-;4032:7;4022:17;;;3733:312;;;;;:::o;4050:778::-;;;;4198:2;4186:9;4177:7;4173:23;4169:32;4166:2;;;4219:6;4211;4204:22;4166:2;4263:9;4250:23;4282:33;4309:5;4282:33;:::i;:::-;4334:5;-1:-1:-1;4390:2:36;4375:18;;4362:32;4413:18;4443:14;;;4440:2;;;4475:6;4467;4460:22;4440:2;4518:6;4507:9;4503:22;4493:32;;4563:7;4556:4;4552:2;4548:13;4544:27;4534:2;;4590:6;4582;4575:22;4534:2;4635;4622:16;4661:2;4653:6;4650:14;4647:2;;;4682:6;4674;4667:22;4647:2;4732:7;4727:2;4718:6;4714:2;4710:15;4706:24;4703:37;4700:2;;;4758:6;4750;4743:22;4700:2;4794;4790;4786:11;4776:21;;4816:6;4806:16;;;;;4156:672;;;;;:::o;4833:327::-;;;4962:2;4950:9;4941:7;4937:23;4933:32;4930:2;;;4983:6;4975;4968:22;4930:2;5027:9;5014:23;5046:33;5073:5;5046:33;:::i;:::-;5098:5;5150:2;5135:18;;;;5122:32;;-1:-1:-1;;;4920:240:36:o;5165:671::-;;;;;;;5359:3;5347:9;5338:7;5334:23;5330:33;5327:2;;;5381:6;5373;5366:22;5327:2;5425:9;5412:23;5444:33;5471:5;5444:33;:::i;:::-;5496:5;-1:-1:-1;5548:2:36;5533:18;;5520:32;;-1:-1:-1;5599:2:36;5584:18;;5571:32;;-1:-1:-1;5650:2:36;5635:18;;5622:32;;-1:-1:-1;5706:3:36;5691:19;;5678:33;5720:32;5678:33;5720:32;:::i;:::-;5771:7;5761:17;;;5825:3;5814:9;5810:19;5797:33;5787:43;;5317:519;;;;;;;;:::o;5841:533::-;;;;;;6021:3;6009:9;6000:7;5996:23;5992:33;5989:2;;;6043:6;6035;6028:22;5989:2;6087:9;6074:23;6106:33;6133:5;6106:33;:::i;:::-;6158:5;6210:2;6195:18;;6182:32;;-1:-1:-1;6261:2:36;6246:18;;6233:32;;6312:2;6297:18;;6284:32;;-1:-1:-1;6363:3:36;6348:19;6335:33;;-1:-1:-1;5979:395:36;-1:-1:-1;;;5979:395:36:o;6379:602::-;;;;;;;6576:3;6564:9;6555:7;6551:23;6547:33;6544:2;;;6598:6;6590;6583:22;6544:2;6642:9;6629:23;6661:33;6688:5;6661:33;:::i;:::-;6713:5;6765:2;6750:18;;6737:32;;-1:-1:-1;6816:2:36;6801:18;;6788:32;;6867:2;6852:18;;6839:32;;-1:-1:-1;6918:3:36;6903:19;;6890:33;;-1:-1:-1;6970:3:36;6955:19;6942:33;;-1:-1:-1;6534:447:36;-1:-1:-1;;;6534:447:36:o;6986:677::-;;;7144:2;7132:9;7123:7;7119:23;7115:32;7112:2;;;7165:6;7157;7150:22;7112:2;7210:9;7197:23;7239:18;7280:2;7272:6;7269:14;7266:2;;;7301:6;7293;7286:22;7266:2;7344:6;7333:9;7329:22;7319:32;;7389:7;7382:4;7378:2;7374:13;7370:27;7360:2;;7416:6;7408;7401:22;7360:2;7461;7448:16;7487:2;7479:6;7476:14;7473:2;;;7508:6;7500;7493:22;7473:2;7567:7;7562:2;7556;7548:6;7544:15;7540:2;7536:24;7532:33;7529:46;7526:2;;;7593:6;7585;7578:22;7526:2;7629;7621:11;;;;;7651:6;;-1:-1:-1;7102:561:36;;-1:-1:-1;;;;7102:561:36:o;7668:1321::-;;;7856:2;7844:9;7835:7;7831:23;7827:32;7824:2;;;7877:6;7869;7862:22;7824:2;7915:9;7909:16;7944:18;7985:2;7977:6;7974:14;7971:2;;;8006:6;7998;7991:22;7971:2;8049:6;8038:9;8034:22;8024:32;;8094:7;8087:4;8083:2;8079:13;8075:27;8065:2;;8121:6;8113;8106:22;8065:2;8155;8149:9;8177:4;8201:63;8216:47;8260:2;8216:47;:::i;8201:63::-;8298:15;;;8329:12;;;;8361:11;;;8399;;;8391:20;;8387:29;;8384:42;-1:-1:-1;8381:2:36;;;8444:6;8436;8429:22;8381:2;8471:6;8462:15;;8486:269;8500:2;8497:1;8494:9;8486:269;;;8564:3;8558:10;8615:5;8612:1;8601:20;8594:5;8591:31;8581:2;;8641:6;8633;8626:22;8581:2;8663:18;;8518:1;8511:9;;;;;8701:12;;;;8733;;8486:269;;;-1:-1:-1;8810:18:36;;;8804:25;8774:5;;-1:-1:-1;8804:25:36;;-1:-1:-1;;;8841:16:36;;;8838:2;;;8875:6;8867;8860:22;8838:2;;8903:80;8975:7;8964:8;8953:9;8949:24;8903:80;:::i;:::-;8893:90;;;7814:1175;;;;;:::o;8994:257::-;;9114:2;9102:9;9093:7;9089:23;9085:32;9082:2;;;9135:6;9127;9120:22;9082:2;9172:9;9166:16;9191:30;9215:5;9191:30;:::i;9256:676::-;;9389:2;9377:9;9368:7;9364:23;9360:32;9357:2;;;9410:6;9402;9395:22;9357:2;9448:9;9442:16;9481:18;9473:6;9470:30;9467:2;;;9518:6;9510;9503:22;9467:2;9546:22;;9599:4;9591:13;;9587:27;-1:-1:-1;9577:2:36;;9633:6;9625;9618:22;9577:2;9667;9661:9;9692:49;9707:33;9737:2;9707:33;:::i;9692:49::-;9764:2;9757:5;9750:17;9804:7;9799:2;9794;9790;9786:11;9782:20;9779:33;9776:2;;;9830:6;9822;9815:22;9776:2;9848:54;9899:2;9894;9887:5;9883:14;9878:2;9874;9870:11;9848:54;:::i;:::-;9921:5;9347:585;-1:-1:-1;;;;;9347:585:36:o;9937:325::-;;10060:2;10048:9;10039:7;10035:23;10031:32;10028:2;;;10081:6;10073;10066:22;10028:2;10118:9;10112:16;10168:34;10161:5;10157:46;10150:5;10147:57;10137:2;;10223:6;10215;10208:22;10267:952;;;;;;;;10482:3;10470:9;10461:7;10457:23;10453:33;10450:2;;;10504:6;10496;10489:22;10450:2;10541:9;10535:16;10560:33;10587:5;10560:33;:::i;:::-;10662:2;10647:18;;10641:25;10612:5;;-1:-1:-1;10675:33:36;10641:25;10675:33;:::i;:::-;10727:7;-1:-1:-1;10753:50:36;10799:2;10784:18;;10753:50;:::i;:::-;10743:60;;10822:50;10868:2;10857:9;10853:18;10822:50;:::i;:::-;10812:60;;10891:51;10937:3;10926:9;10922:19;10891:51;:::i;:::-;10881:61;;10987:3;10976:9;10972:19;10966:26;11036:4;11027:7;11023:18;11014:7;11011:31;11001:2;;11061:6;11053;11046:22;11001:2;11141:3;11126:19;;11120:26;11089:7;;-1:-1:-1;11155:32:36;11120:26;11155:32;:::i;:::-;11206:7;11196:17;;;10440:779;;;;;;;;;;:::o;11224:194::-;;11347:2;11335:9;11326:7;11322:23;11318:32;11315:2;;;11368:6;11360;11353:22;11315:2;-1:-1:-1;11396:16:36;;11305:113;-1:-1:-1;11305:113:36:o;11423:296::-;;11534:2;11522:9;11513:7;11509:23;11505:32;11502:2;;;11555:6;11547;11540:22;11502:2;11599:9;11586:23;11649:10;11642:5;11638:22;11631:5;11628:33;11618:2;;11680:6;11672;11665:22;11724:259;;11805:5;11799:12;11832:6;11827:3;11820:19;11848:63;11904:6;11897:4;11892:3;11888:14;11881:4;11874:5;11870:16;11848:63;:::i;:::-;11965:2;11944:15;-1:-1:-1;;11940:29:36;11931:39;;;;11972:4;11927:50;;11775:208;-1:-1:-1;;11775:208:36:o;11988:431::-;12241:2;12237:15;;;-1:-1:-1;;12233:24:36;;;12221:37;;12314:3;12292:16;;;;12310:18;12288:41;12283:2;12274:12;;12267:63;12364:15;;12360:24;12355:2;12346:12;;12339:46;12410:2;12401:12;;12161:258::o;12424:493::-;;12662:26;12658:31;12649:6;12645:2;12641:15;12637:53;12632:3;12625:66;12752:8;12747:3;12743:18;12734:6;12729:3;12725:16;12721:41;12716:2;12711:3;12707:12;12700:63;12792:6;12786:13;12808:62;12863:6;12858:2;12853:3;12849:12;12842:4;12834:6;12830:17;12808:62;:::i;:::-;12890:16;;;;12908:2;12886:25;;12615:302;-1:-1:-1;;;;12615:302:36:o;12922:273::-;;13105:6;13097;13092:3;13079:33;13131:16;;13156:15;;;13131:16;13069:126;-1:-1:-1;13069:126:36:o;13200:226::-;-1:-1:-1;;;;;13364:55:36;;;;13346:74;;13334:2;13319:18;;13301:125::o;13431:411::-;-1:-1:-1;;;;;13710:15:36;;;13692:34;;13762:15;;;;13757:2;13742:18;;13735:43;13826:8;13814:21;;;13809:2;13794:18;;13787:49;13619:2;13604:18;;13586:256::o;13847:736::-;-1:-1:-1;;;;;14229:15:36;;;14211:34;;14281:15;;;;14276:2;14261:18;;14254:43;14345:8;14333:21;;;;14328:2;14313:18;;14306:49;14402:1;14391:21;;;14386:2;14371:18;;14364:49;14450:21;;14444:3;14429:19;;14422:50;14503:3;14488:19;;14481:35;14565:10;14553:23;;;14547:3;14532:19;;14525:52;14137:3;14122:19;;14104:479::o;14588:501::-;;-1:-1:-1;;;;;14813:6:36;14809:55;14798:9;14791:74;14901:2;14896;14885:9;14881:18;14874:30;14927:46;14969:2;14958:9;14954:18;14946:6;14927:46;:::i;:::-;15021:9;15013:6;15009:22;15004:2;14993:9;14989:18;14982:50;15049:34;15076:6;15068;15049:34;:::i;:::-;15041:42;14781:308;-1:-1:-1;;;;;;14781:308:36:o;15094:806::-;;15283:2;15323;15312:9;15308:18;15353:2;15342:9;15335:21;15376:6;15411;15405:13;15442:6;15434;15427:22;15480:2;15469:9;15465:18;15458:25;;15543:2;15537;15529:6;15525:15;15514:9;15510:31;15506:40;15492:54;;15581:2;15573:6;15569:15;15602:4;15615:256;15629:6;15626:1;15623:13;15615:256;;;15722:2;15718:7;15706:9;15698:6;15694:22;15690:36;15685:3;15678:49;15750:41;15784:6;15775;15769:13;15750:41;:::i;:::-;15740:51;-1:-1:-1;15849:12:36;;;;15814:15;;;;15651:1;15644:9;15615:256;;;-1:-1:-1;15888:6:36;;15263:637;-1:-1:-1;;;;;;;15263:637:36:o;15905:650::-;16074:2;16126:21;;;16196:13;;16099:18;;;16218:22;;;15905:650;;16074:2;16297:15;;;;16271:2;16256:18;;;15905:650;16343:186;16357:6;16354:1;16351:13;16343:186;;;16422:13;;16437:10;16418:30;16406:43;;16504:15;;;;16469:12;;;;16379:1;16372:9;16343:186;;;-1:-1:-1;16546:3:36;;16054:501;-1:-1:-1;;;;;;16054:501:36:o;16560:187::-;16725:14;;16718:22;16700:41;;16688:2;16673:18;;16655:92::o;16752:391::-;;16909:2;16898:9;16891:21;16948:6;16943:2;16932:9;16928:18;16921:34;17005:6;16997;16992:2;16981:9;16977:18;16964:48;17032:22;;;17056:2;17028:31;;;17021:45;;;;17127:2;17106:15;;;-1:-1:-1;;17102:29:36;17087:45;17083:54;;16881:262;-1:-1:-1;16881:262:36:o;17148:219::-;;17295:2;17284:9;17277:21;17315:46;17357:2;17346:9;17342:18;17334:6;17315:46;:::i;17598:326::-;17800:2;17782:21;;;17839:1;17819:18;;;17812:29;-1:-1:-1;;;17872:2:36;17857:18;;17850:33;17915:2;17900:18;;17772:152::o;17929:326::-;18131:2;18113:21;;;18170:1;18150:18;;;18143:29;-1:-1:-1;;;18203:2:36;18188:18;;18181:33;18246:2;18231:18;;18103:152::o;18260:326::-;18462:2;18444:21;;;18501:1;18481:18;;;18474:29;-1:-1:-1;;;18534:2:36;18519:18;;18512:33;18577:2;18562:18;;18434:152::o;18591:325::-;18793:2;18775:21;;;18832:1;18812:18;;;18805:29;-1:-1:-1;;;18865:2:36;18850:18;;18843:32;18907:2;18892:18;;18765:151::o;18921:326::-;19123:2;19105:21;;;19162:1;19142:18;;;19135:29;-1:-1:-1;;;19195:2:36;19180:18;;19173:33;19238:2;19223:18;;19095:152::o;19252:326::-;19454:2;19436:21;;;19493:1;19473:18;;;19466:29;-1:-1:-1;;;19526:2:36;19511:18;;19504:33;19569:2;19554:18;;19426:152::o;19583:325::-;19785:2;19767:21;;;19824:1;19804:18;;;19797:29;-1:-1:-1;;;19857:2:36;19842:18;;19835:32;19899:2;19884:18;;19757:151::o;19913:326::-;20115:2;20097:21;;;20154:1;20134:18;;;20127:29;-1:-1:-1;;;20187:2:36;20172:18;;20165:33;20230:2;20215:18;;20087:152::o;20244:326::-;20446:2;20428:21;;;20485:1;20465:18;;;20458:29;-1:-1:-1;;;20518:2:36;20503:18;;20496:33;20561:2;20546:18;;20418:152::o;20575:326::-;20777:2;20759:21;;;20816:1;20796:18;;;20789:29;-1:-1:-1;;;20849:2:36;20834:18;;20827:33;20892:2;20877:18;;20749:152::o;20906:326::-;21108:2;21090:21;;;21147:1;21127:18;;;21120:29;-1:-1:-1;;;21180:2:36;21165:18;;21158:33;21223:2;21208:18;;21080:152::o;21237:326::-;21439:2;21421:21;;;21478:1;21458:18;;;21451:29;-1:-1:-1;;;21511:2:36;21496:18;;21489:33;21554:2;21539:18;;21411:152::o;21568:326::-;21770:2;21752:21;;;21809:1;21789:18;;;21782:29;-1:-1:-1;;;21842:2:36;21827:18;;21820:33;21885:2;21870:18;;21742:152::o;21899:326::-;22101:2;22083:21;;;22140:1;22120:18;;;22113:29;-1:-1:-1;;;22173:2:36;22158:18;;22151:33;22216:2;22201:18;;22073:152::o;22230:677::-;;22427:2;22416:9;22409:21;22465:6;22459:13;22508:4;22503:2;22492:9;22488:18;22481:32;22536:53;22584:3;22573:9;22569:19;22555:12;22536:53;:::i;:::-;22522:67;;-1:-1:-1;;;;;22647:2:36;22639:6;22635:15;22629:22;22625:71;22620:2;22609:9;22605:18;22598:99;22751:2;22743:6;22739:15;22733:22;22728:2;22717:9;22713:18;22706:50;22811:2;22803:6;22799:15;22793:22;22787:3;22776:9;22772:19;22765:51;22872:3;22864:6;22860:16;22854:23;22847:4;22836:9;22832:20;22825:53;22895:6;22887:14;;;22399:508;;;;:::o;22912:218::-;23088:34;23076:47;;;;23058:66;;23046:2;23031:18;;23013:117::o;23135:177::-;23281:25;;;23269:2;23254:18;;23236:76::o;23317:248::-;23491:25;;;23547:2;23532:18;;23525:34;23479:2;23464:18;;23446:119::o;23570:488::-;23821:25;;;23877:2;23862:18;;23855:34;;;;23920:2;23905:18;;23898:34;;;;23975:14;23968:22;23963:2;23948:18;;23941:50;24040:10;24028:23;24022:3;24007:19;;24000:52;23808:3;23793:19;;23775:283::o;24063:478::-;24320:25;;;24376:2;24361:18;;24354:34;;;;24419:2;24404:18;;24397:34;;;;24462:2;24447:18;;24440:34;24523:10;24511:23;24505:3;24490:19;;24483:52;24307:3;24292:19;;24274:267::o;24546:406::-;24775:25;;;24831:2;24816:18;;24809:34;;;;24874:2;24859:18;;24852:34;24934:10;24922:23;24917:2;24902:18;;24895:51;24762:3;24747:19;;24729:223::o;24957:193::-;25132:10;25120:23;;;;25102:42;;25090:2;25075:18;;25057:93::o;25352:533::-;;;25495:11;25482:25;25589:2;25585:7;25574:8;25558:14;25554:29;25550:43;25530:18;25526:68;25516:2;;25611:4;25605;25598:18;25516:2;25641:33;;25693:20;;;-1:-1:-1;25736:18:36;25725:30;;25722:2;;;25771:4;25765;25758:18;25722:2;25807:4;25795:17;;-1:-1:-1;25838:14:36;25834:27;;;25824:38;;25821:2;;;25875:1;25872;25865:12;25821:2;25446:439;;;;;:::o;25890:242::-;25960:2;25954:9;25990:17;;;26037:18;26022:34;;26058:22;;;26019:62;26016:2;;;26084:9;26016:2;26111;26104:22;25934:198;;-1:-1:-1;25934:198:36:o;26137:181::-;;26234:18;26226:6;26223:30;26220:2;;;26256:9;26220:2;-1:-1:-1;26307:4:36;26288:17;;;26284:28;;26210:108::o;26323:181::-;;26406:18;26398:6;26395:30;26392:2;;;26428:9;26392:2;-1:-1:-1;26487:2:36;26464:17;-1:-1:-1;;26460:31:36;26493:4;26456:42;;26382:122::o;26509:258::-;26581:1;26591:113;26605:6;26602:1;26599:13;26591:113;;;26681:11;;;26675:18;26662:11;;;26655:39;26627:2;26620:10;26591:113;;;26722:6;26719:1;26716:13;26713:2;;;-1:-1:-1;;26757:1:36;26739:16;;26732:27;26562:205::o;26772:156::-;-1:-1:-1;;;;;26853:5:36;26849:54;26842:5;26839:65;26829:2;;26918:1;26915;26908:12;26829:2;26819:109;:::o;26933:120::-;27021:5;27014:13;27007:21;27000:5;26997:32;26987:2;;27043:1;27040;27033:12;27058:120;27147:5;27144:1;27133:20;27126:5;27123:31;27113:2;;27168:1;27165;27158:12

Swarm Source

ipfs://c298d96b43bb39c80d128c0458e12f15913c31841dab6e8b1e56a7c779405781

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.