S Price: $0.530114 (+3.24%)
    /

    Token

    ICHI Vault Liquidity (IV-SWAPX-24-ATOLL-atETH)

    Overview

    Max Total Supply

    717,643,391.693490783929603206 IV-SWAPX-24-ATOLL-atETH

    Holders

    3

    Market

    Price

    $0.00 @ 0.000000 S

    Onchain Market Cap

    $0.00

    Circulating Supply Market Cap

    -

    Other Info

    Token Contract (WITH 18 Decimals)

    Balance
    0 IV-SWAPX-24-ATOLL-atETH

    Value
    $0.00
    0x0000000000000000000000000000000000000000
    Loading...
    Loading
    Loading...
    Loading
    Loading...
    Loading

    Click here to update the token information / general information
    This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

    Similar Match Source Code
    This contract matches the deployed Bytecode of the Source Code for Contract 0xc263e421...4A6901D95
    The constructor portion of the code might be different and could alter the actual behaviour of the contract

    Contract Name:
    ICHIVault

    Compiler Version
    v0.8.20+commit.a1b79de6

    Optimization Enabled:
    Yes with 200 runs

    Other Settings:
    paris EvmVersion
    File 1 of 45 : ICHIVault.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: BUSL-1.1
    pragma solidity >=0.8.4;
    import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol";
    import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
    import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
    import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
    import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
    import { UV3Math } from "./lib/UV3Math.sol";
    import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
    import {
    IAlgebraSwapCallback
    } from "@cryptoalgebra/integral-core/contracts/interfaces/callback/IAlgebraSwapCallback.sol";
    import { IAlgebraPool } from "@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol";
    import {
    INonfungiblePositionManager
    } from "@cryptoalgebra/integral-periphery/contracts/interfaces/INonfungiblePositionManager.sol";
    import {
    IBasePluginV1Factory
    } from "@cryptoalgebra/integral-base-plugin/contracts/interfaces/IBasePluginV1Factory.sol";
    import { IICHIVault } from "../interfaces/IICHIVault.sol";
    import { IICHIVaultFactory } from "../interfaces/IICHIVaultFactory.sol";
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 45 : AlgebraFeeConfiguration.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @notice coefficients for sigmoids: α / (1 + e^( (β-x) / γ))
    /// @dev alpha1 + alpha2 + baseFee must be <= type(uint16).max
    struct AlgebraFeeConfiguration {
    uint16 alpha1; // max value of the first sigmoid
    uint16 alpha2; // max value of the second sigmoid
    uint32 beta1; // shift along the x-axis for the first sigmoid
    uint32 beta2; // shift along the x-axis for the second sigmoid
    uint16 gamma1; // horizontal stretch factor for the first sigmoid
    uint16 gamma2; // horizontal stretch factor for the second sigmoid
    uint16 baseFee; // minimum possible fee
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 45 : IBasePluginV1Factory.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    pragma abicoder v2;
    import '@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol';
    import '../base/AlgebraFeeConfiguration.sol';
    /// @title The interface for the BasePluginV1Factory
    /// @notice This contract creates Algebra default plugins for Algebra liquidity pools
    interface IBasePluginV1Factory is IAlgebraPluginFactory {
    /// @notice Emitted when the default fee configuration is changed
    /// @param newConfig The structure with dynamic fee parameters
    /// @dev See the AdaptiveFee library for more details
    event DefaultFeeConfiguration(AlgebraFeeConfiguration newConfig);
    /// @notice Emitted when the farming address is changed
    /// @param newFarmingAddress The farming address after the address was changed
    event FarmingAddress(address newFarmingAddress);
    /// @notice Emitted when the entrypoint address is changed
    /// @param newModifyLiquidityEntrypoint The entrypoint address after the address was changed
    event ModifyLiquidityEntrypoint(address newModifyLiquidityEntrypoint);
    /// @notice The hash of 'ALGEBRA_BASE_PLUGIN_FACTORY_ADMINISTRATOR' used as role
    /// @dev allows to change settings of BasePluginV1Factory
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 4 of 45 : IVolatilityOracle.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title The interface for the Algebra volatility oracle
    /// @dev This contract stores timepoints and calculates statistical averages
    interface IVolatilityOracle {
    /// @notice Returns data belonging to a certain timepoint
    /// @param index The index of timepoint in the array
    /// @dev There is more convenient function to fetch a timepoint: getTimepoints(). Which requires not an index but seconds
    /// @return initialized Whether the timepoint has been initialized and the values are safe to use
    /// @return blockTimestamp The timestamp of the timepoint
    /// @return tickCumulative The tick multiplied by seconds elapsed for the life of the pool as of the timepoint timestamp
    /// @return volatilityCumulative Cumulative standard deviation for the life of the pool as of the timepoint timestamp
    /// @return tick The tick at blockTimestamp
    /// @return averageTick Time-weighted average tick
    /// @return windowStartIndex Index of closest timepoint >= WINDOW seconds ago
    function timepoints(
    uint256 index
    )
    external
    view
    returns (
    bool initialized,
    uint32 blockTimestamp,
    int56 tickCumulative,
    uint88 volatilityCumulative,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 5 of 45 : IAlgebraSwapCallback.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Callback for IAlgebraPoolActions#swap
    /// @notice Any contract that calls IAlgebraPoolActions#swap must implement this interface
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces
    interface IAlgebraSwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via IAlgebraPool#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 AlgebraPool deployed by the canonical AlgebraFactory.
    /// 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 IAlgebraPoolActions#swap call
    function algebraSwapCallback(int256 amount0Delta, int256 amount1Delta, bytes calldata data) external;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 6 of 45 : IAlgebraPool.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.8.4;
    import './pool/IAlgebraPoolImmutables.sol';
    import './pool/IAlgebraPoolState.sol';
    import './pool/IAlgebraPoolActions.sol';
    import './pool/IAlgebraPoolPermissionedActions.sol';
    import './pool/IAlgebraPoolEvents.sol';
    import './pool/IAlgebraPoolErrors.sol';
    /// @title The interface for a Algebra Pool
    /// @dev The pool interface is broken up into many smaller pieces.
    /// This interface includes custom error definitions and cannot be used in older versions of Solidity.
    /// For older versions of Solidity use #IAlgebraPoolLegacy
    /// Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces
    interface IAlgebraPool is
    IAlgebraPoolImmutables,
    IAlgebraPoolState,
    IAlgebraPoolActions,
    IAlgebraPoolPermissionedActions,
    IAlgebraPoolEvents,
    IAlgebraPoolErrors
    {
    // used only for combining interfaces
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 7 of 45 : IAlgebraPluginFactory.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title An interface for a contract that is capable of deploying Algebra plugins
    /// @dev Such a factory is needed if the plugin should be automatically created and connected to each new pool
    interface IAlgebraPluginFactory {
    /// @notice Deploys new plugin contract for pool
    /// @param pool The address of the pool for which the new plugin will be created
    /// @param token0 First token of the pool
    /// @param token1 Second token of the pool
    /// @return New plugin address
    function createPlugin(address pool, address token0, address token1) external returns (address);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 8 of 45 : IAlgebraPoolActions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Permissionless pool actions
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces
    interface IAlgebraPoolActions {
    /// @notice Sets the initial price for the pool
    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
    /// @dev Initialization should be done in one transaction with pool creation to avoid front-running
    /// @param initialPrice The initial sqrt price of the pool as a Q64.96
    function initialize(uint160 initialPrice) external;
    /// @notice Adds liquidity for the given recipient/bottomTick/topTick position
    /// @dev The caller of this method receives a callback in the form of IAlgebraMintCallback#algebraMintCallback
    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends
    /// on bottomTick, topTick, the amount of liquidity, and the current price.
    /// @param leftoversRecipient The address which will receive potential surplus of paid tokens
    /// @param recipient The address for which the liquidity will be created
    /// @param bottomTick The lower tick of the position in which to add liquidity
    /// @param topTick The upper tick of the position in which to add liquidity
    /// @param liquidityDesired The desired 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
    /// @return liquidityActual The actual minted amount of liquidity
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 9 of 45 : IAlgebraPoolErrors.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.8.4;
    /// @title Errors emitted by a pool
    /// @notice Contains custom errors emitted by the pool
    /// @dev Custom errors are separated from the common pool interface for compatibility with older versions of Solidity
    interface IAlgebraPoolErrors {
    // #### pool errors ####
    /// @notice Emitted by the reentrancy guard
    error locked();
    /// @notice Emitted if arithmetic error occurred
    error arithmeticError();
    /// @notice Emitted if an attempt is made to initialize the pool twice
    error alreadyInitialized();
    /// @notice Emitted if an attempt is made to mint or swap in uninitialized pool
    error notInitialized();
    /// @notice Emitted if 0 is passed as amountRequired to swap function
    error zeroAmountRequired();
    /// @notice Emitted if invalid amount is passed as amountRequired to swap function
    error invalidAmountRequired();
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 10 of 45 : IAlgebraPoolEvents.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Events emitted by a pool
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces
    interface IAlgebraPoolEvents {
    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool
    /// @dev Mint/Burn/Swaps cannot be emitted by the pool before Initialize
    /// @param price 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 price, 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 bottomTick The lower tick of the position
    /// @param topTick The upper tick of the position
    /// @param liquidityAmount 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 bottomTick,
    int24 indexed topTick,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 11 of 45 : IAlgebraPoolImmutables.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Pool state that never changes
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces
    interface IAlgebraPoolImmutables {
    /// @notice The Algebra factory contract, which must adhere to the IAlgebraFactory 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 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);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 12 of 45 : IAlgebraPoolPermissionedActions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // 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 permissioned addresses
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces
    interface IAlgebraPoolPermissionedActions {
    /// @notice Set the community's % share of the fees. Only factory owner or POOLS_ADMINISTRATOR_ROLE role
    /// @param newCommunityFee The new community fee percent in thousandths (1e-3)
    function setCommunityFee(uint16 newCommunityFee) external;
    /// @notice Set the new tick spacing values. Only factory owner or POOLS_ADMINISTRATOR_ROLE role
    /// @param newTickSpacing The new tick spacing value
    function setTickSpacing(int24 newTickSpacing) external;
    /// @notice Set the new plugin address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role
    /// @param newPluginAddress The new plugin address
    function setPlugin(address newPluginAddress) external;
    /// @notice Set new plugin config. Only factory owner or POOLS_ADMINISTRATOR_ROLE role
    /// @param newConfig In the new configuration of the plugin,
    /// each bit of which is responsible for a particular hook.
    function setPluginConfig(uint8 newConfig) external;
    /// @notice Set new community fee vault address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 13 of 45 : IAlgebraPoolState.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Pool state that can change
    /// @dev Important security note: when using this data by external contracts, it is necessary to take into account the possibility
    /// of manipulation (including read-only reentrancy).
    /// This interface is based on the UniswapV3 interface, credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces
    interface IAlgebraPoolState {
    /// @notice Safely get most important state values of Algebra Integral AMM
    /// @dev Several values exposed as a single method to save gas when accessed externally.
    /// **Important security note: this method checks reentrancy lock and should be preferred in most cases**.
    /// @return sqrtPrice The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value
    /// @return tick The current global tick of the pool. May not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick
          boundary
    /// @return lastFee The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using
          dynamic fee plugin
    /// @return pluginConfig The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off
          dynamic fees logic
    /// @return activeLiquidity The currently in-range liquidity available to the pool
    /// @return nextTick The next initialized tick after current global tick
    /// @return previousTick The previous initialized tick before (or at) current global tick
    function safelyGetStateOfAMM()
    external
    view
    returns (uint160 sqrtPrice, int24 tick, uint16 lastFee, uint8 pluginConfig, uint128 activeLiquidity, int24 nextTick, int24 previousTick);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 14 of 45 : Constants.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0 <0.9.0;
    /// @title Contains common constants for Algebra contracts
    /// @dev Constants moved to the library, not the base contract, to further emphasize their constant nature
    library Constants {
    uint8 internal constant RESOLUTION = 96;
    uint256 internal constant Q96 = 1 << 96;
    uint256 internal constant Q128 = 1 << 128;
    uint24 internal constant FEE_DENOMINATOR = 1e6;
    uint16 internal constant FLASH_FEE = 0.01e4; // fee for flash loan in hundredths of a bip (0.01%)
    uint16 internal constant INIT_DEFAULT_FEE = 0.05e4; // init default fee value in hundredths of a bip (0.05%)
    uint16 internal constant MAX_DEFAULT_FEE = 5e4; // max default fee value in hundredths of a bip (5%)
    int24 internal constant INIT_DEFAULT_TICK_SPACING = 60;
    int24 internal constant MAX_TICK_SPACING = 500;
    int24 internal constant MIN_TICK_SPACING = 1;
    // the frequency with which the accumulated community fees are sent to the vault
    uint32 internal constant COMMUNITY_FEE_TRANSFER_FREQUENCY = 8 hours;
    // max(uint128) / (MAX_TICK - MIN_TICK)
    uint128 internal constant MAX_LIQUIDITY_PER_TICK = 191757638537527648490752896198553;
    uint16 internal constant MAX_COMMUNITY_FEE = 1e3; // 100%
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 15 of 45 : FullMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity ^0.8.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) {
    unchecked {
    // 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 = a * b; // Least significant 256 bits of the product
    uint256 prod1; // Most significant 256 bits of the product
    assembly {
    let mm := mulmod(a, b, not(0))
    prod1 := sub(sub(mm, prod0), lt(mm, prod0))
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 16 of 45 : Plugins.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.8.4 <0.9.0;
    import '../interfaces/pool/IAlgebraPoolErrors.sol';
    /// @title Contains logic and constants for interacting with the plugin through hooks
    /// @dev Allows pool to check which hooks are enabled, as well as control the return selector
    library Plugins {
    function hasFlag(uint8 pluginConfig, uint256 flag) internal pure returns (bool res) {
    assembly {
    res := gt(and(pluginConfig, flag), 0)
    }
    }
    function shouldReturn(bytes4 selector, bytes4 expectedSelector) internal pure {
    if (selector != expectedSelector) revert IAlgebraPoolErrors.invalidHookResponse(expectedSelector);
    }
    uint256 internal constant BEFORE_SWAP_FLAG = 1;
    uint256 internal constant AFTER_SWAP_FLAG = 1 << 1;
    uint256 internal constant BEFORE_POSITION_MODIFY_FLAG = 1 << 2;
    uint256 internal constant AFTER_POSITION_MODIFY_FLAG = 1 << 3;
    uint256 internal constant BEFORE_FLASH_FLAG = 1 << 4;
    uint256 internal constant AFTER_FLASH_FLAG = 1 << 5;
    uint256 internal constant AFTER_INIT_FLAG = 1 << 6;
    uint256 internal constant DYNAMIC_FEE = 1 << 7;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 17 of 45 : TickMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.8.4 <0.9.0;
    import '../interfaces/pool/IAlgebraPoolErrors.sol';
    /// @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
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-core/blob/main/contracts/libraries
    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 price A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)
    /// at the given tick
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 18 of 45 : IERC721Permit.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.7.5;
    import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
    /// @title ERC721 with permit
    /// @notice Extension to ERC721 that includes a permit function for signature based approvals
    interface IERC721Permit is IERC721 {
    /// @notice The permit typehash used in the permit signature
    /// @return The typehash for the permit
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    /// @notice The domain separator used in the permit signature
    /// @return The domain separator used in encoding of permit signature
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    /// @notice Approve of a specific token ID for spending by spender via signature
    /// @param spender The account that is being approved
    /// @param tokenId The ID of the token that is being approved for spending
    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work
    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`
    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`
    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`
    function permit(
    address spender,
    uint256 tokenId,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 19 of 45 : INonfungiblePositionManager.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.7.5;
    pragma abicoder v2;
    import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
    import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
    import './IPoolInitializer.sol';
    import './IERC721Permit.sol';
    import './IPeripheryPayments.sol';
    import './IPeripheryImmutableState.sol';
    /// @title Non-fungible token for positions
    /// @notice Wraps Algebra positions in a non-fungible token interface which allows for them to be transferred
    /// and authorized.
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-periphery
    interface INonfungiblePositionManager is
    IPoolInitializer,
    IPeripheryPayments,
    IPeripheryImmutableState,
    IERC721Metadata,
    IERC721Enumerable,
    IERC721Permit
    {
    /// @notice Emitted when liquidity is increased for a position NFT
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 20 of 45 : IPeripheryImmutableState.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Immutable state
    /// @notice Functions that return immutable state of the router
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-periphery
    interface IPeripheryImmutableState {
    /// @return Returns the address of the Algebra factory
    function factory() external view returns (address);
    /// @return Returns the address of the pool Deployer
    function poolDeployer() external view returns (address);
    /// @return Returns the address of WNativeToken
    function WNativeToken() external view returns (address);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 21 of 45 : IPeripheryPayments.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.7.5;
    /// @title Periphery Payments
    /// @notice Functions to ease deposits and withdrawals of NativeToken
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-periphery
    interface IPeripheryPayments {
    /// @notice Unwraps the contract's WNativeToken balance and sends it to recipient as NativeToken.
    /// @dev The amountMinimum parameter prevents malicious contracts from stealing WNativeToken from users.
    /// @param amountMinimum The minimum amount of WNativeToken to unwrap
    /// @param recipient The address receiving NativeToken
    function unwrapWNativeToken(uint256 amountMinimum, address recipient) external payable;
    /// @notice Refunds any NativeToken balance held by this contract to the `msg.sender`
    /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps
    /// that use ether for the input amount
    function refundNativeToken() external payable;
    /// @notice Transfers the full amount of a token held by this contract to recipient
    /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users
    /// @param token The contract address of the token which will be transferred to `recipient`
    /// @param amountMinimum The minimum amount of token required for a transfer
    /// @param recipient The destination address of the token
    function sweepToken(
    address token,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 22 of 45 : IPoolInitializer.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.7.5;
    pragma abicoder v2;
    /// @title Creates and initializes Algebra Pools
    /// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that
    /// require the pool to exist.
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-periphery
    interface IPoolInitializer {
    /// @notice Creates a new pool if it does not exist, then initializes if not initialized
    /// @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool
    /// @param token0 The contract address of token0 of the pool
    /// @param token1 The contract address of token1 of the pool
    /// @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value
    /// @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary
    function createAndInitializePoolIfNecessary(
    address token0,
    address token1,
    uint160 sqrtPriceX96
    ) external payable returns (address pool);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 23 of 45 : LiquidityAmounts.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    import '@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol';
    import '@cryptoalgebra/integral-core/contracts/libraries/Constants.sol';
    /// @title Liquidity amount functions
    /// @notice Provides functions for computing liquidity amounts from token amounts and prices
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-periphery
    library LiquidityAmounts {
    /// @notice Downcasts uint256 to uint128
    /// @param x The uint258 to be downcasted
    /// @return y The passed value, downcasted to uint128
    function toUint128(uint256 x) private pure returns (uint128 y) {
    require((y = uint128(x)) == x);
    }
    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range
    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))
    /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary
    /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary
    /// @param amount0 The amount0 being sent in
    /// @return liquidity The amount of returned liquidity
    function getLiquidityForAmount0(
    uint160 sqrtRatioAX96,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 24 of 45 : PoolAddress.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Provides functions for deriving a pool address from the poolDeployer and tokens
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-periphery
    library PoolAddress {
    bytes32 internal constant POOL_INIT_CODE_HASH = 0xf96d2474815c32e070cd63233f06af5413efc5dcb430aee4ff18cc29007c562d;
    /// @notice The identifying key of the pool
    struct PoolKey {
    address token0;
    address token1;
    }
    /// @notice Returns PoolKey: the ordered tokens
    /// @param tokenA The first token of a pool, unsorted
    /// @param tokenB The second token of a pool, unsorted
    /// @return Poolkey The pool details with ordered token0 and token1 assignments
    function getPoolKey(address tokenA, address tokenB) internal pure returns (PoolKey memory) {
    if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
    return PoolKey({token0: tokenA, token1: tokenB});
    }
    /// @notice Deterministically computes the pool address given the poolDeployer and PoolKey
    /// @param poolDeployer The Algebra poolDeployer contract address
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 25 of 45 : Ownable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
    pragma solidity ^0.8.0;
    import "../utils/Context.sol";
    /**
    * @dev Contract module which provides a basic access control mechanism, where
    * there is an account (an owner) that can be granted exclusive access to
    * specific functions.
    *
    * By default, the owner account will be the one that deploys the contract. This
    * can later be changed with {transferOwnership}.
    *
    * This module is used through inheritance. It will make available the modifier
    * `onlyOwner`, which can be applied to your functions to restrict their use to
    * the owner.
    */
    abstract contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    /**
    * @dev Initializes the contract setting the deployer as the initial owner.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 26 of 45 : ReentrancyGuard.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Contract module that helps prevent reentrant calls to a function.
    *
    * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
    * available, which can be applied to functions to make sure there are no nested
    * (reentrant) calls to them.
    *
    * Note that because there is a single `nonReentrant` guard, functions marked as
    * `nonReentrant` may not call one another. This can be worked around by making
    * those functions `private`, and then adding `external` `nonReentrant` entry
    * points to them.
    *
    * TIP: If you would like to learn more about reentrancy and alternative ways
    * to protect against it, check out our blog post
    * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
    */
    abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 27 of 45 : ERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
    pragma solidity ^0.8.0;
    import "./IERC20.sol";
    import "./extensions/IERC20Metadata.sol";
    import "../../utils/Context.sol";
    /**
    * @dev Implementation of the {IERC20} interface.
    *
    * This implementation is agnostic to the way tokens are created. This means
    * that a supply mechanism has to be added in a derived contract using {_mint}.
    * For a generic mechanism see {ERC20PresetMinterPauser}.
    *
    * TIP: For a detailed writeup see our guide
    * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
    * to implement supply mechanisms].
    *
    * The default value of {decimals} is 18. To change this, you should override
    * this function so it returns a different value.
    *
    * We have followed general OpenZeppelin Contracts guidelines: functions revert
    * instead returning `false` on failure. This behavior is nonetheless
    * conventional and does not conflict with the expectations of ERC20
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 28 of 45 : IERC20Metadata.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
    pragma solidity ^0.8.0;
    import "../IERC20.sol";
    /**
    * @dev Interface for the optional metadata functions from the ERC20 standard.
    *
    * _Available since v4.1._
    */
    interface IERC20Metadata is IERC20 {
    /**
    * @dev Returns the name of the token.
    */
    function name() external view returns (string memory);
    /**
    * @dev Returns the symbol of the token.
    */
    function symbol() external view returns (string memory);
    /**
    * @dev Returns the decimals places of the token.
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 29 of 45 : IERC20Permit.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
    * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
    *
    * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
    * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
    * need to send a transaction, and thus is not required to hold Ether at all.
    */
    interface IERC20Permit {
    /**
    * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
    * given ``owner``'s signed approval.
    *
    * IMPORTANT: The same issues {IERC20-approve} has related to transaction
    * ordering also apply here.
    *
    * Emits an {Approval} event.
    *
    * Requirements:
    *
    * - `spender` cannot be the zero address.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 30 of 45 : IERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Interface of the ERC20 standard as defined in the EIP.
    */
    interface IERC20 {
    /**
    * @dev Emitted when `value` tokens are moved from one account (`from`) to
    * another (`to`).
    *
    * Note that `value` may be zero.
    */
    event Transfer(address indexed from, address indexed to, uint256 value);
    /**
    * @dev Emitted when the allowance of a `spender` for an `owner` is set by
    * a call to {approve}. `value` is the new allowance.
    */
    event Approval(address indexed owner, address indexed spender, uint256 value);
    /**
    * @dev Returns the amount of tokens in existence.
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 31 of 45 : SafeERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)
    pragma solidity ^0.8.0;
    import "../IERC20.sol";
    import "../extensions/IERC20Permit.sol";
    import "../../../utils/Address.sol";
    /**
    * @title SafeERC20
    * @dev Wrappers around ERC20 operations that throw on failure (when the token
    * contract returns false). Tokens that return no value (and instead revert or
    * throw on failure) are also supported, non-reverting calls are assumed to be
    * successful.
    * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
    * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
    */
    library SafeERC20 {
    using Address for address;
    /**
    * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
    * non-reverting calls are assumed to be successful.
    */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 32 of 45 : IERC721Enumerable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
    pragma solidity ^0.8.0;
    import "../IERC721.sol";
    /**
    * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
    * @dev See https://eips.ethereum.org/EIPS/eip-721
    */
    interface IERC721Enumerable is IERC721 {
    /**
    * @dev Returns the total amount of tokens stored by the contract.
    */
    function totalSupply() external view returns (uint256);
    /**
    * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
    * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
    */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
    /**
    * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
    * Use along with {totalSupply} to enumerate all tokens.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 33 of 45 : IERC721Metadata.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
    pragma solidity ^0.8.0;
    import "../IERC721.sol";
    /**
    * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
    * @dev See https://eips.ethereum.org/EIPS/eip-721
    */
    interface IERC721Metadata is IERC721 {
    /**
    * @dev Returns the token collection name.
    */
    function name() external view returns (string memory);
    /**
    * @dev Returns the token collection symbol.
    */
    function symbol() external view returns (string memory);
    /**
    * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
    */
    function tokenURI(uint256 tokenId) external view returns (string memory);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 34 of 45 : IERC721.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)
    pragma solidity ^0.8.0;
    import "../../utils/introspection/IERC165.sol";
    /**
    * @dev Required interface of an ERC721 compliant contract.
    */
    interface IERC721 is IERC165 {
    /**
    * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
    */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    /**
    * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
    */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    /**
    * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
    */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 35 of 45 : Address.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
    pragma solidity ^0.8.1;
    /**
    * @dev Collection of functions related to the address type
    */
    library Address {
    /**
    * @dev Returns true if `account` is a contract.
    *
    * [IMPORTANT]
    * ====
    * It is unsafe to assume that an address for which this function returns
    * false is an externally-owned account (EOA) and not a contract.
    *
    * Among others, `isContract` will return false for the following
    * types of addresses:
    *
    * - an externally-owned account
    * - a contract in construction
    * - an address where a contract will be created
    * - an address where a contract lived, but was destroyed
    *
    * Furthermore, `isContract` will also return true if the target contract within
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 36 of 45 : Context.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Provides information about the current execution context, including the
    * sender of the transaction and its data. While these are generally available
    * via msg.sender and msg.data, they should not be accessed in such a direct
    * manner, since when dealing with meta-transactions the account sending and
    * paying for execution may not be the actual sender (as far as an application
    * is concerned).
    *
    * This contract is only required for intermediate, library-like contracts.
    */
    abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
    return msg.sender;
    }
    function _msgData() internal view virtual returns (bytes calldata) {
    return msg.data;
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 37 of 45 : IERC165.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Interface of the ERC165 standard, as defined in the
    * https://eips.ethereum.org/EIPS/eip-165[EIP].
    *
    * Implementers can declare support of contract interfaces, which can then be
    * queried by others ({ERC165Checker}).
    *
    * For an implementation, see {ERC165}.
    */
    interface IERC165 {
    /**
    * @dev Returns true if this contract implements the interface defined by
    * `interfaceId`. See the corresponding
    * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
    * to learn more about how these ids are created.
    *
    * This function call must use less than 30 000 gas.
    */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 38 of 45 : Math.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Standard math utilities missing in the Solidity language.
    */
    library Math {
    enum Rounding {
    Down, // Toward negative infinity
    Up, // Toward infinity
    Zero // Toward zero
    }
    /**
    * @dev Returns the largest of two numbers.
    */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
    return a > b ? a : b;
    }
    /**
    * @dev Returns the smallest of two numbers.
    */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 39 of 45 : SafeMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)
    pragma solidity ^0.8.0;
    // CAUTION
    // This version of SafeMath should only be used with Solidity 0.8 or later,
    // because it relies on the compiler's built in overflow checks.
    /**
    * @dev Wrappers over Solidity's arithmetic operations.
    *
    * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
    * now has built in overflow checking.
    */
    library SafeMath {
    /**
    * @dev Returns the addition of two unsigned integers, with an overflow flag.
    *
    * _Available since v3.4._
    */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
    uint256 c = a + b;
    if (c < a) return (false, 0);
    return (true, c);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 40 of 45 : SignedMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Standard signed math utilities missing in the Solidity language.
    */
    library SignedMath {
    /**
    * @dev Returns the largest of two signed numbers.
    */
    function max(int256 a, int256 b) internal pure returns (int256) {
    return a > b ? a : b;
    }
    /**
    * @dev Returns the smallest of two signed numbers.
    */
    function min(int256 a, int256 b) internal pure returns (int256) {
    return a < b ? a : b;
    }
    /**
    * @dev Returns the average of two signed numbers without overflow.
    * The result is rounded towards zero.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 41 of 45 : Strings.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)
    pragma solidity ^0.8.0;
    import "./math/Math.sol";
    import "./math/SignedMath.sol";
    /**
    * @dev String operations.
    */
    library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;
    /**
    * @dev Converts a `uint256` to its ASCII `string` decimal representation.
    */
    function toString(uint256 value) internal pure returns (string memory) {
    unchecked {
    uint256 length = Math.log10(value) + 1;
    string memory buffer = new string(length);
    uint256 ptr;
    /// @solidity memory-safe-assembly
    assembly {
    ptr := add(buffer, add(32, length))
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 42 of 45 : OracleLibrary.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.8.4;
    import "@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol";
    import "@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol";
    import "@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol";
    import "@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol";
    import "@cryptoalgebra/integral-periphery/contracts/libraries/PoolAddress.sol";
    import "@cryptoalgebra/integral-base-plugin/contracts/interfaces/plugins/IVolatilityOracle.sol";
    /// @title Oracle library
    /// @notice Provides functions to integrate with Algebra pool TWAP VolatilityOracle
    library OracleLibrary {
    /// @notice Fetches time-weighted average tick using Algebra VolatilityOracle
    /// @param oracleAddress The address of oracle
    /// @param period Number of seconds in the past to start calculating time-weighted average
    /// @return timeWeightedAverageTick The time-weighted average tick from (block.timestamp-period) to block.timestamp
    function consult(address oracleAddress, uint32 period) internal view returns (int24 timeWeightedAverageTick) {
    require(period != 0, "Period is zero");
    uint32[] memory secondAgos = new uint32[](2);
    secondAgos[0] = period;
    secondAgos[1] = 0;
    IVolatilityOracle oracle = IVolatilityOracle(oracleAddress);
    (int56[] memory tickCumulatives, ) = oracle.getTimepoints(secondAgos);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 43 of 45 : UV3Math.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: BUSL-1.1
    pragma solidity >=0.8.4;
    import { TickMath } from "@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol";
    import { LiquidityAmounts } from "@cryptoalgebra/integral-periphery/contracts/libraries/LiquidityAmounts.sol";
    import { IAlgebraPool } from "@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol";
    import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
    import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
    import { OracleLibrary } from "./OracleLibrary.sol";
    import { IICHIVaultFactory } from "../../interfaces/IICHIVaultFactory.sol";
    library UV3Math {
    /// @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;
    /*******************
    * Tick Math
    *******************/
    function getSqrtRatioAtTick(int24 currentTick) public pure returns (uint160 sqrtPriceX96) {
    sqrtPriceX96 = TickMath.getSqrtRatioAtTick(currentTick);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 44 of 45 : IICHIVault.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Unlicense
    pragma solidity >=0.8.4;
    interface IICHIVault {
    function ichiVaultFactory() external view returns (address);
    function pool() external view returns (address);
    function token0() external view returns (address);
    function allowToken0() external view returns (bool);
    function token1() external view returns (address);
    function allowToken1() external view returns (bool);
    function fee() external view returns (uint24);
    function tickSpacing() external view returns (int24);
    function ammFeeRecipient() external view returns(address);
    function affiliate() external view returns (address);
    function baseLower() external view returns (int24);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 45 of 45 : IICHIVaultFactory.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: BUSL-1.1
    pragma solidity >=0.8.4;
    interface IICHIVaultFactory {
    event FeeRecipient(address indexed sender, address feeRecipient);
    event AmmFee(address indexed sender, uint256 ammFee);
    event BaseFee(address indexed sender, uint256 baseFee);
    event BaseFeeSplit(address indexed sender, uint256 baseFeeSplit);
    event DeployICHIVaultFactory(address indexed sender, address algebraFactory);
    event ICHIVaultCreated(
    address indexed sender,
    address ichiVault,
    address tokenA,
    bool allowTokenA,
    address tokenB,
    bool allowTokenB,
    uint256 count
    );
    function getICHIVault(bytes32 vaultKey) external view returns(address);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Settings
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    {
    "metadata": {
    "bytecodeHash": "none",
    "useLiteralContent": true
    },
    "optimizer": {
    "enabled": true,
    "runs": 200
    },
    "evmVersion": "paris",
    "outputSelection": {
    "*": {
    "*": [
    "evm.bytecode",
    "evm.deployedBytecode",
    "devdoc",
    "userdoc",
    "metadata",
    "abi"
    ]
    }
    },
    "libraries": {
    "contracts/lib/UV3Math.sol": {
    "UV3Math": "0x6aad667f0f897f9f9a3e2a82618483f7fe53524e"
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Contract Security Audit

    Contract ABI

    [{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"bool","name":"_allowToken0","type":"bool"},{"internalType":"bool","name":"_allowToken1","type":"bool"},{"internalType":"address","name":"__owner","type":"address"},{"internalType":"uint32","name":"_twapPeriod","type":"uint32"},{"internalType":"uint256","name":"_vaultIndex","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"affiliate","type":"address"}],"name":"Affiliate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"ammFeeRecipient","type":"address"}],"name":"AmmFeeRecipient","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeAmount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount1","type":"uint256"}],"name":"CollectFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"bool","name":"allowToken0","type":"bool"},{"indexed":false,"internalType":"bool","name":"allowToken1","type":"bool"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"twapPeriod","type":"uint256"}],"name":"DeployICHIVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"deposit0Max","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"deposit1Max","type":"uint256"}],"name":"DepositMax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"hysteresis","type":"uint256"}],"name":"Hysteresis","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int24","name":"tick","type":"int24"},{"indexed":false,"internalType":"uint256","name":"totalAmount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalAmount1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"Rebalance","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint32","name":"newAuxTwapPeriod","type":"uint32"}],"name":"SetAuxTwapPeriod","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint32","name":"newTwapPeriod","type":"uint32"}],"name":"SetTwapPeriod","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"affiliate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"algebraSwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowToken0","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowToken1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ammFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"auxTwapPeriod","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseLower","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basePositionId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUpper","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectFees","outputs":[{"internalType":"uint256","name":"fees0","type":"uint256"},{"internalType":"uint256","name":"fees1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentTick","outputs":[{"internalType":"int24","name":"tick","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"deposit0","type":"uint256"},{"internalType":"uint256","name":"deposit1","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit0Max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit1Max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint24","name":"fee_","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBasePosition","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLimitPosition","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalAmounts","outputs":[{"internalType":"uint256","name":"total0","type":"uint256"},{"internalType":"uint256","name":"total1","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hysteresis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ichiVaultFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitLower","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitPositionId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitUpper","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"_baseLower","type":"int24"},{"internalType":"int24","name":"_baseUpper","type":"int24"},{"internalType":"int24","name":"_limitLower","type":"int24"},{"internalType":"int24","name":"_limitUpper","type":"int24"},{"internalType":"int256","name":"swapQuantity","type":"int256"}],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetAllowances","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_affiliate","type":"address"}],"name":"setAffiliate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ammFeeRecipient","type":"address"}],"name":"setAmmFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newAuxTwapPeriod","type":"uint32"}],"name":"setAuxTwapPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deposit0Max","type":"uint256"},{"internalType":"uint256","name":"_deposit1Max","type":"uint256"}],"name":"setDepositMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_hysteresis","type":"uint256"}],"name":"setHysteresis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newTwapPeriod","type":"uint32"}],"name":"setTwapPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"twapPeriod","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

    6101406040523480156200001257600080fd5b50604051620059f6380380620059f6833981016040819052620000359162000766565b604080518082018252601481527f49434849205661756c74204c697175696469747900000000000000000000000060208201529051633afd2b7960e11b8152600481018390526001600160a01b03881660248201528615156044820152736aad667f0f897f9f9a3e2a82618483f7fe53524e906375fa56f290606401600060405180830381865af4158015620000cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620000f9919081019062000800565b600362000107838262000964565b50600462000116828262000964565b50506001600555506200012933620005f4565b6001600160a01b038616620001855760405162461bcd60e51b815260206004820152601c60248201527f49562e636f6e7374727563746f723a207a65726f20616464726573730000000060448201526064015b60405180910390fd5b84801562000191575083155b80620001a45750838015620001a4575084155b620001fe5760405162461bcd60e51b8152602060048201526024808201527f49562e636f6e7374727563746f723a206d7573742062652073696e676c6520736044820152631a59195960e21b60648201526084016200017c565b336080526001600160a01b03861660a081905260408051630dfe168160e01b81529051630dfe1681916004808201926020929091908290030181865afa1580156200024d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000273919062000a30565b6001600160a01b031660c0816001600160a01b031681525050856001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002cb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002f1919062000a30565b6001600160a01b031660e0528415156101005283151561012052600e805463ffffffff191663ffffffff84161790556200032d60048362000a64565b600e805463ffffffff929092166401000000000263ffffffff60201b199092169190911790556200035e8362000646565b62000380600262000379670de0b6b3a76400006064620006c5565b90620006c5565b600d55600019600b819055600c55600780546001600160a01b031990811690915560088054909116905560c05160805160408051637445c8f560e11b815290516001600160a01b039384169363095ea7b393169163e88b91ea9160048281019260209291908290030181865afa158015620003ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000425919062000a30565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260001960248201526044016020604051808303816000875af115801562000474573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200049a919062000a8a565b5060e0516001600160a01b031663095ea7b36080516001600160a01b031663e88b91ea6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000513919062000a30565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260001960248201526044016020604051808303816000875af115801562000562573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000588919062000a8a565b5060408051861515815285151560208201526001600160a01b038581168284015263ffffffff8516606083015291519188169133917f3e708ccf7d0e6de8558e020ea36189511cb3435bbfec54e721a48ee4df0d4f8c919081900360800190a350505050505062000abf565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000650620006da565b6001600160a01b038116620006b75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200017c565b620006c281620005f4565b50565b6000620006d3828462000aa8565b9392505050565b6006546001600160a01b03163314620007365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200017c565b565b80516001600160a01b03811681146200075057600080fd5b919050565b805180151581146200075057600080fd5b60008060008060008060c087890312156200078057600080fd5b6200078b8762000738565b95506200079b6020880162000755565b9450620007ab6040880162000755565b9350620007bb6060880162000738565b9250608087015163ffffffff81168114620007d557600080fd5b8092505060a087015190509295509295509295565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200081457600080fd5b82516001600160401b03808211156200082c57600080fd5b818501915085601f8301126200084157600080fd5b815181811115620008565762000856620007ea565b604051601f8201601f19908116603f01168101908382118183101715620008815762000881620007ea565b8160405282815288868487010111156200089a57600080fd5b600093505b82841015620008be57848401860151818501870152928501926200089f565b600086848301015280965050505050505092915050565b600181811c90821680620008ea57607f821691505b6020821081036200090b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200095f57600081815260208120601f850160051c810160208610156200093a5750805b601f850160051c820191505b818110156200095b5782815560010162000946565b5050505b505050565b81516001600160401b03811115620009805762000980620007ea565b6200099881620009918454620008d5565b8462000911565b602080601f831160018114620009d05760008415620009b75750858301515b600019600386901b1c1916600185901b1785556200095b565b600085815260208120601f198616915b8281101562000a0157888601518255948401946001909101908401620009e0565b508582101562000a205787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000a4357600080fd5b620006d38262000738565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff8084168062000a7e5762000a7e62000a4e565b92169190910492915050565b60006020828403121562000a9d57600080fd5b620006d38262000755565b60008262000aba5762000aba62000a4e565b500490565b60805160a05160c05160e0516101005161012051614d8962000c6d6000396000818161047001526112a801526000818161054a01526112320152600081816106720152818161097b015281816109f901528181610e2801528181610f090152818161145b015281816114e30152818161157f0152818161169a0152818161196601528181611e6501528181611fee015281816139f001528181613ad301528181613d4201528181613d8001526142d7015260008181610395015281816108d4015281816109bf01528181610de601528181610e5f0152818161143a015281816114c10152818161155e0152818161165f015281816118ce01528181611dcf01528181611f6e0152818161395901528181613a7601528181613c8201528181613cc001526142a80152600081816103dc01528181610abd01528181610d7d0152818161149f0152818161153d015281816119d001528181611a7901528181611cbd015281816120ab0152818161332801528181613f110152613fb00152600081816106d0015281816129830152818161382d015281816138b301528181613b160152613bab0152614d896000f3fe608060405234801561001057600080fd5b506004361061030b5760003560e01c80637f7a1eec1161019d578063c8796572116100e9578063dd62ed3e116100a2578063f2fde38b1161007c578063f2fde38b1461070e578063f620732614610721578063f9c95d4614610731578063fa0827431461074457600080fd5b8063dd62ed3e146106b8578063dd81fa63146106cb578063ddca3f43146106f257600080fd5b8063c87965721461065d578063d0c93a7c14610665578063d21220a71461066d578063d2eabcfc14610694578063d87346aa1461069c578063d940d768146106af57600080fd5b806391563d3211610156578063a457c2d711610130578063a457c2d714610620578063a9059cbb14610633578063aaf5eb6814610646578063c4a7761e1461065557600080fd5b806391563d32146105be57806395d89b41146105eb578063a049de6b146105f357600080fd5b80637f7a1eec1461054557806381de128b1461056c578063888a91341461057f578063897f078c146105875780638da5cb5b1461059a5780638dbdbe6d146105ab57600080fd5b80633505b09f1161025c5780634d461fbb11610215578063648cab85116101ef578063648cab851461050257806370a082311461050b578063715018a6146105345780637aea53091461053c57600080fd5b80634d461fbb146104de57806351e87af7146104e75780635ffc1ff7146104ef57600080fd5b80633505b09f1461046357806337e41b401461046b57806339509351146104925780633e091ee9146104a5578063400f0ceb146104b857806345e05f43146104cb57600080fd5b806316f0115b116102c957806323b872dd116102a357806323b872dd146104195780632bbb56d91461042c5780632c8958f614610441578063313ce5671461045457600080fd5b806316f0115b146103d757806318160ddd146103fe57806322401d7c1461041057600080fd5b8062f714ce14610310578063065e53601461033d57806306fdde0314610358578063095ea7b31461036d5780630dfe1681146103905780630f35bcac146103cf575b600080fd5b61032361031e3660046144e8565b61074c565b604080519283526020830191909152015b60405180910390f35b610345610ab6565b60405160029190910b8152602001610334565b610360610ba3565b6040516103349190614568565b61038061037b36600461457b565b610c35565b6040519015158152602001610334565b6103b77f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610334565b610345610c4f565b6103b77f000000000000000000000000000000000000000000000000000000000000000081565b6002545b604051908152602001610334565b610402600a5481565b6103806104273660046145a7565b610ced565b61043f61043a3660046145e8565b610d13565b005b61043f61044f366004614605565b610d72565b60405160128152602001610334565b61043f610e55565b6103807f000000000000000000000000000000000000000000000000000000000000000081565b6103806104a036600461457b565b610fb3565b61043f6104b3366004614685565b610fd5565b61043f6104c63660046146b9565b611026565b6008546103b7906001600160a01b031681565b610402600c5481565b610345611092565b61043f6104fd3660046146d6565b611130565b610402600b5481565b6104026105193660046145e8565b6001600160a01b031660009081526020819052604090205490565b61043f61116f565b610402600d5481565b6103807f000000000000000000000000000000000000000000000000000000000000000081565b61043f61057a3660046145e8565b611183565b6103456111db565b6007546103b7906001600160a01b031681565b6006546001600160a01b03166103b7565b6104026105b93660046146ef565b611226565b600e546105d690640100000000900463ffffffff1681565b60405163ffffffff9091168152602001610334565b6103606117c3565b6105fb6117d2565b604080516001600160801b039094168452602084019290925290820152606001610334565b61038061062e36600461457b565b6117ed565b61038061064136600461457b565b611873565b610402670de0b6b3a764000081565b610323611881565b61032361199f565b6103456119cc565b6103b77f000000000000000000000000000000000000000000000000000000000000000081565b6105fb611a55565b61043f6106aa366004614737565b611a65565b61040260095481565b6104026106c636600461479b565b61207c565b6103b77f000000000000000000000000000000000000000000000000000000000000000081565b6106fa6120a7565b60405162ffffff9091168152602001610334565b61043f61071c3660046145e8565b612139565b600e546105d69063ffffffff1681565b61043f61073f3660046146b9565b6121af565b61034561225c565b6000806107576122a7565b600084116107a25760405162461bcd60e51b815260206004820152601360248201527249562e77697468647261773a2073686172657360681b60448201526064015b60405180910390fd5b6001600160a01b0383166107ea5760405162461bcd60e51b815260206004820152600f60248201526e49562e77697468647261773a20746f60881b6044820152606401610799565b60006107f560025490565b905080851480610810575061080c856103e8612300565b8110155b61085c5760405162461bcd60e51b815260206004820152601760248201527f49562e77697468647261773a206d696e207368617265730000000000000000006044820152606401610799565b610866600161230c565b505060008060008060095460001461088c576108866009548a878b6123e2565b90945092505b600a54156108a8576108a2600a548a878b6123e2565b90925090505b6040516370a0823160e01b815230600482015260009061094c908790610946908d906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906024015b602060405180830381865afa15801561091c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094091906147c9565b906126a9565b906126b5565b6040516370a0823160e01b81523060048201529091506000906109aa908890610946908e906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906024016108ff565b905081156109e6576109e66001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168b846126c1565b8015610a2057610a206001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168b836126c1565b610a3482610a2e8887612300565b90612300565b9850610a4481610a2e8786612300565b9750610a50338c612729565b604080518c8152602081018b90529081018990526001600160a01b038b169033907febff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f9060600160405180910390a350505050505050610aaf6001600555565b9250929050565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190614814565b955050505092505080610b9d5760405162461bcd60e51b815260206004820152602260248201527f49562e63757272656e745469636b3a2074686520706f6f6c206973206c6f636b604482015261195960f21b6064820152608401610799565b50919050565b606060038054610bb290614895565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde90614895565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b600033610c4381858561285b565b60019150505b92915050565b6000600a54600003610c615750600090565b6000610c6b61297f565b6001600160a01b03166399fbab88600a546040518263ffffffff1660e01b8152600401610c9a91815260200190565b61016060405180830381865afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc91906148eb565b50939b9a5050505050505050505050565b600033610cfb858285612a03565b610d06858585612a77565b60019150505b9392505050565b610d1b612c1b565b600880546001600160a01b0319166001600160a01b03831690811790915560405190815233907f3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523906020015b60405180910390a250565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610dd05760405162461bcd60e51b815260206004820152600360248201526231b11960e91b6044820152606401610799565b6000841315610e1257610e0d6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633866126c1565b610e4f565b6000831315610e4f57610e4f6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633856126c1565b50505050565b610e5d612c1b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b3610e9461297f565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260001960248201526044016020604051808303816000875af1158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0691906149c1565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b3610f3e61297f565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260001960248201526044016020604051808303816000875af1158015610f8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb091906149c1565b50565b600033610c43818585610fc6838361207c565b610fd091906149f2565b61285b565b610fdd612c1b565b600b829055600c819055604080518381526020810183905233917fafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a910160405180910390a25050565b61102e612c1b565b600e805467ffffffff00000000191664010000000063ffffffff8416908102919091179091556040805133815260208101929092527f39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c8591015b60405180910390a150565b6000600a546000036110a45750600090565b60006110ae61297f565b6001600160a01b03166399fbab88600a546040518263ffffffff1660e01b81526004016110dd91815260200190565b61016060405180830381865afa1580156110fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111f91906148eb565b50949b9a5050505050505050505050565b611138612c1b565b600d81905560405181815233907f529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b90602001610d67565b611177612c1b565b6111816000612c75565b565b61118b612c1b565b600780546001600160a01b0319166001600160a01b03831690811790915560405190815233907fbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f790602001610d67565b60006009546000036111ed5750600090565b60006111f761297f565b6001600160a01b03166399fbab886009546040518263ffffffff1660e01b8152600401610c9a91815260200190565b60006112306122a7565b7f00000000000000000000000000000000000000000000000000000000000000008061125a575083155b6112a65760405162461bcd60e51b815260206004820152601e60248201527f49562e6465706f7369743a20746f6b656e30206e6f7420616c6c6f77656400006044820152606401610799565b7f0000000000000000000000000000000000000000000000000000000000000000806112d0575082155b61131c5760405162461bcd60e51b815260206004820152601e60248201527f49562e6465706f7369743a20746f6b656e31206e6f7420616c6c6f77656400006044820152606401610799565b600084118061132b5750600083115b6113775760405162461bcd60e51b815260206004820181905260248201527f49562e6465706f7369743a206465706f73697473206d757374206265203e20306044820152606401610799565b600b54841080156113895750600c5483105b6113d55760405162461bcd60e51b815260206004820152601e60248201527f49562e6465706f7369743a206465706f7369747320746f6f206c6172676500006044820152606401610799565b6001600160a01b038216158015906113f657506001600160a01b0382163014155b6114335760405162461bcd60e51b815260206004820152600e60248201526d49562e6465706f7369743a20746f60901b6044820152606401610799565b60006114907f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611482610ab6565b670de0b6b3a7640000612cc7565b600e54909150600090611517907f0000000000000000000000000000000000000000000000000000000000000000907f0000000000000000000000000000000000000000000000000000000000000000907f00000000000000000000000000000000000000000000000000000000000000009063ffffffff16670de0b6b3a7640000612dcb565b600e54909150600090640100000000900463ffffffff1661153857816115bf565b6115bf7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000600e60049054906101000a900463ffffffff16670de0b6b3a7640000612dcb565b90506115cc838383612f6c565b6115d6600161230c565b50506000806115e3611881565b9150915060006115f260025490565b905060008311806116035750600082115b8061160c575080155b61164c5760405162461bcd60e51b815260206004820152601160248201527049562e6465706f7369743a20656d70747960781b6044820152606401610799565b8915611687576116876001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308d6130c9565b88156116c2576116c26001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308c6130c9565b60006116d18787876000613101565b905060006116eb670de0b6b3a76400006109468e856126a9565b90506116f78b82612300565b9850821561174a57600061170e8989896001613101565b90506000611728670de0b6b3a764000061094689856126a9565b90506117416117378288612300565b6109468d886126a9565b9a505050611759565b611756896103e86126a9565b98505b6117638a8a613176565b604080518a8152602081018e90529081018c90526001600160a01b038b169033907f4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f69060600160405180910390a35050505050505050610d0c6001600555565b606060048054610bb290614895565b60008060006117e2600a54613235565b925092509250909192565b600033816117fb828661207c565b90508381101561185b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610799565b611868828686840361285b565b506001949350505050565b600033610c43818585612a77565b60008060008061188f611a55565b925092505060008061189f6117d2565b6040516370a0823160e01b8152306004820152919450925061193a91508390610a2e9087906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906024015b602060405180830381865afa158015611916573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2e91906147c9565b6040516370a0823160e01b8152306004820152909650611995908290610a2e9086906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906024016118f9565b9450505050509091565b6000806119aa6122a7565b6000806119b7600161230c565b909450925050506119c86001600555565b9091565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0c93a7c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190614a05565b905090565b60008060006117e2600954613235565b611a6d6122a7565b611a75612c1b565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0c93a7c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af99190614a05565b90508460020b8660020b128015611b1a5750611b158187614a38565b60020b155b8015611b305750611b2b8186614a38565b60020b155b611b885760405162461bcd60e51b815260206004820152602360248201527f49562e726562616c616e63653a206261736520706f736974696f6e20696e76616044820152621b1a5960ea1b6064820152608401610799565b8260020b8460020b128015611ba75750611ba28185614a38565b60020b155b8015611bbd5750611bb88184614a38565b60020b155b611c155760405162461bcd60e51b8152602060048201526024808201527f49562e726562616c616e63653a206c696d697420706f736974696f6e20696e76604482015263185b1a5960e21b6064820152608401610799565b8360020b8660020b141580611c3057508260020b8560020b14155b611c865760405162461bcd60e51b815260206004820152602160248201527f49562e726562616c616e63653a206964656e746963616c20706f736974696f6e6044820152607360f81b6064820152608401610799565b600080611c93600061230c565b91509150611ca260095461356c565b611cad600a5461356c565b8315611db7576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663128acb08306000871380611cfa57611cf588614a5a565b611cfc565b875b60008913611d2857611d23600173fffd8963efd1fc6a506488495d951d5263988d26614a76565b611d38565b611d386401000276a36001614a9d565b60408051306020820152016040516020818303038152906040526040518663ffffffff1660e01b8152600401611d72959493929190614abd565b60408051808303816000875af1158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190614af8565b50505b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015611e1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4291906147c9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015611eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed091906147c9565b90507fbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d611efb610ab6565b83838787611f0860025490565b6040805160029790970b87526020870195909552938501929092526060840152608083015260a082015260c00160405180910390a1611f498a8a848461373f565b6040516370a0823160e01b815230600482015261206690899089906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015611fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd991906147c9565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561203d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206191906147c9565b613754565b50505050506120756001600555565b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015612107573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212b9190614814565b50505061ffff169392505050565b612141612c1b565b6001600160a01b0381166121a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610799565b610fb081612c75565b6121b7612c1b565b60008163ffffffff161161220d5760405162461bcd60e51b815260206004820181905260248201527f49562e73657454776170506572696f643a206d697373696e6720706572696f646044820152606401610799565b600e805463ffffffff191663ffffffff83169081179091556040805133815260208101929092527fe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef389101611087565b600060095460000361226e5750600090565b600061227861297f565b6001600160a01b03166399fbab886009546040518263ffffffff1660e01b81526004016110dd91815260200190565b6002600554036122f95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610799565b6002600555565b6000610d0c82846149f2565b60095460009081901561234757600080612327600954613769565b90925090506123368483612300565b93506123428382612300565b925050505b600a541561237d5760008061235d600a54613769565b909250905061236c8483612300565b93506123788382612300565b925050505b600082118061238c5750600081115b156123dd5761239b8282613829565b82156123dd57604080518381526020810183905233917fec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef910160405180910390a25b915091565b60008060008060006123f261297f565b6001600160a01b03166399fbab888a6040518263ffffffff1660e01b815260040161241f91815260200190565b61016060405180830381865afa15801561243d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246191906148eb565b9a509a5050509850505050505050816001600160801b0316600014801561248f57506001600160801b038116155b6124db5760405162461bcd60e51b815260206004820152601860248201527f49562e77697468647261773a20746f6b656e73206f77656400000000000000006044820152606401610799565b60006124e68a613db4565b90506000816001600160801b0316856001600160801b03161161250a576000612520565b6125206001600160801b03868116908416613e2c565b9050600061253b8a6109466001600160801b0385168e6126a9565b90506001600160801b0381161561269a5761255461297f565b6001600160a01b0316630c49ccbe6040518060a001604052808f8152602001846001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b81526004016125b09190614b1c565b60408051808303816000875af11580156125ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f29190614af8565b90985096506125ff61297f565b604080516080810182528e81526001600160a01b038c811660208301526001600160801b03808d16838501528b166060830152915163fc6f786560e01b8152929091169163fc6f78659161265591600401614b5f565b60408051808303816000875af1158015612673573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126979190614af8565b50505b50505050505094509492505050565b6000610d0c8284614ba2565b6000610d0c8284614bb9565b6040516001600160a01b03831660248201526044810182905261272490849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613e38565b505050565b6001600160a01b0382166127895760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610799565b6001600160a01b038216600090815260208190526040902054818110156127fd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610799565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b0383166128bd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610799565b6001600160a01b03821661291e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610799565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e88b91ea6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190614bcd565b6000612a0f848461207c565b90506000198114610e4f5781811015612a6a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610799565b610e4f848484840361285b565b6001600160a01b038316612adb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610799565b6001600160a01b038216612b3d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610799565b6001600160a01b03831660009081526020819052604090205481811015612bb55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610799565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610e4f565b6006546001600160a01b031633146111815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610799565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000736aad667f0f897f9f9a3e2a82618483f7fe53524e6343c57a2784736aad667f0f897f9f9a3e2a82618483f7fe53524e63809fdd33866040518263ffffffff1660e01b8152600401612d1d91815260200190565b602060405180830381865af4158015612d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d5e9190614bea565b88886040518563ffffffff1660e01b8152600401612d7f9493929190614c05565b602060405180830381865af4158015612d9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc091906147c9565b90505b949350505050565b600080612dd6613f0d565b604051638241348960e01b81526001600160a01b038216600482015263ffffffff86166024820152909150600090736aad667f0f897f9f9a3e2a82618483f7fe53524e90638241348990604401602060405180830381865af4158015612e40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e649190614a05565b60020b9050736aad667f0f897f9f9a3e2a82618483f7fe53524e6343c57a2782736aad667f0f897f9f9a3e2a82618483f7fe53524e63809fdd33886040518263ffffffff1660e01b8152600401612ebd91815260200190565b602060405180830381865af4158015612eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612efe9190614bea565b8a8a6040518563ffffffff1660e01b8152600401612f1f9493929190614c05565b602060405180830381865af4158015612f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6091906147c9565b98975050505050505050565b6000828411612f9457612f8f83610946670de0b6b3a76400006109408389613e2c565b612fae565b612fae84610946670de0b6b3a76400006109408388613e2c565b600e54909150640100000000900463ffffffff1615613073576000828511612fef57612fea83610946670de0b6b3a7640000610940838a613e2c565b613009565b61300985610946670de0b6b3a76400006109408388613e2c565b9050600d5482118061301c5750600d5481115b1561306d57613029614080565b61306d5760405162461bcd60e51b815260206004820152601560248201527424ab173232b837b9b4ba1d103a393c903630ba32b960591b6044820152606401610799565b50610e4f565b600d54811115610e4f57613085614080565b610e4f5760405162461bcd60e51b815260206004820152601560248201527424ab173232b837b9b4ba1d103a393c903630ba32b960591b6044820152606401610799565b6040516001600160a01b0380851660248301528316604482015260648101829052610e4f9085906323b872dd60e01b906084016126ed565b6000811561314357600e54640100000000900463ffffffff16156131395761313261312c868661411d565b8461411d565b9050612dc3565b613132858561411d565b600e54640100000000900463ffffffff161561316c57613132613166868661412c565b8461412c565b613132858561412c565b6001600160a01b0382166131cc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610799565b80600260008282546131de91906149f2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008060008360000361325057506000915081905080613565565b600080600080600061326061297f565b6001600160a01b03166399fbab888a6040518263ffffffff1660e01b815260040161328d91815260200190565b61016060405180830381865afa1580156132ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132cf91906148eb565b9a509a5050509850985098505050505060006132ea8a613db4565b9050806001600160801b0316846001600160801b03161161330c576000613322565b6133226001600160801b03858116908316613e2c565b985060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015613384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133a89190614814565b505060405163986cfba360e01b815260028c900b6004820152939450736aad667f0f897f9f9a3e2a82618483f7fe53524e9363c72e160b935085925084915063986cfba390602401602060405180830381865af415801561340d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134319190614bcd565b60405163986cfba360e01b815260028b900b6004820152736aad667f0f897f9f9a3e2a82618483f7fe53524e9063986cfba390602401602060405180830381865af4158015613484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a89190614bcd565b60405160e085901b6001600160e01b03191681526001600160a01b039384166004820152918316602483015290911660448201526001600160801b038d1660648201526084016040805180830381865af415801561350a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352e9190614af8565b9099509750613546896001600160801b038616612300565b985061355b886001600160801b038516612300565b9750505050505050505b9193909250565b8015610fb057600061357d82614142565b90506001600160801b038116156136375761359661297f565b6001600160a01b0316630c49ccbe6040518060a00160405280858152602001846001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b81526004016135f29190614b1c565b60408051808303816000875af1158015613610573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136349190614af8565b50505b61363f61297f565b604080516080810182528481523060208201526001600160801b038183018190526060820152905163fc6f786560e01b81526001600160a01b03929092169163fc6f78659161369091600401614b5f565b60408051808303816000875af11580156136ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d29190614af8565b50506136dc61297f565b6001600160a01b03166342966c68836040518263ffffffff1660e01b815260040161370991815260200190565b600060405180830381600087803b15801561372357600080fd5b505af1158015613737573d6000803e3d6000fd5b505050505050565b61374b848484846141df565b60095550505050565b613760848484846141df565b600a5550505050565b6000808260000361377f57506000928392509050565b60008061378a61297f565b604080516080810182528781523060208201526001600160801b038183018190526060820152905163fc6f786560e01b81526001600160a01b03929092169163fc6f7865916137db91600401614b5f565b60408051808303816000875af11580156137f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061381d9190614af8565b90969095509350505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663665a17c56040518163ffffffff1660e01b8152600401602060405180830381865afa158015613889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ad91906147c9565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636ef25c3a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561390f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061393391906147c9565b6040516370a0823160e01b81523060048201529091506139ca9085906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906024015b602060405180830381865afa1580156139a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c591906147c9565b61412c565b6040516370a0823160e01b8152306004820152909450613a1f9084906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401613984565b9250600082118015613a3b57506007546001600160a01b031615155b15613afa578315613a9d57600754613a9d906001600160a01b0316613a6c670de0b6b3a764000061094688876126a9565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906126c1565b8215613afa57600754613afa906001600160a01b0316613ac9670de0b6b3a764000061094687876126a9565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906126c1565b8015610e4f576008546000906001600160a01b031615613b9b577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663acc8247d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b9691906147c9565b613ba5565b670de0b6b3a76400005b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c2b9190614bcd565b90508515613ced576000613c4b670de0b6b3a764000061094689876126a9565b90506000613c65670de0b6b3a764000061094684876126a9565b90506000613c738383613e2c565b9050613ca96001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001685846126c1565b8015613ce957600854613ce9906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116836126c1565b5050505b8415613737576000613d0b670de0b6b3a764000061094688876126a9565b90506000613d25670de0b6b3a764000061094684876126a9565b90506000613d338383613e2c565b9050613d696001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001685846126c1565b8015613da957600854613da9906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116836126c1565b505050505050505050565b6000613dbe61297f565b6001600160a01b03166312e724ba836040518263ffffffff1660e01b8152600401613deb91815260200190565b602060405180830381865afa158015613e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c499190614bea565b6000610d0c8284614c3a565b6000613e8d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166143b09092919063ffffffff16565b9050805160001480613eae575080806020019051810190613eae91906149c1565b6127245760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610799565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ef01df4f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f919190614bcd565b6040516330ea6ca760e11b81526001600160a01b0380831660048301527f0000000000000000000000000000000000000000000000000000000000000000166024820152909150736aad667f0f897f9f9a3e2a82618483f7fe53524e906361d4d94e90604401602060405180830381865af4158015614014573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061403891906149c1565b61407d5760405162461bcd60e51b815260206004820152601660248201527524ab1d103234b1b7b73732b1ba32b21038363ab3b4b760511b6044820152606401610799565b90565b60008061408b613f0d565b604051634c3e6e1160e11b81526001600160a01b0382166004820152909150600090736aad667f0f897f9f9a3e2a82618483f7fe53524e9063987cdc22906024016040805180830381865af41580156140e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061410c9190614c4d565b63ffffffff16421415949350505050565b6000818310610b9d5782610d0c565b600081831061413b5781610d0c565b5090919050565b60008160000361415457506000919050565b600061415e61297f565b6001600160a01b03166399fbab88846040518263ffffffff1660e01b815260040161418b91815260200190565b61016060405180830381865afa1580156141a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141cd91906148eb565b50929c9b505050505050505050505050565b6000821580156141ed575081155b156141fa57506000612dc3565b6000614204610ab6565b90508560020b8160020b1215801561422157508460020b8160020b125b1561424557831580614231575082155b15614240576000915050612dc3565b614284565b8560020b8160020b12156142655783600003614240576000915050612dc3565b8460020b8160020b126142845782600003614284576000915050612dc3565b61428c61297f565b6001600160a01b0316639cc1a2836040518061014001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020018960020b81526020018860020b81526020018781526020018681526020016000815260200160008152602001306001600160a01b03168152602001428152506040518263ffffffff1660e01b815260040161435f9190614c79565b6080604051808303816000875af115801561437e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143a29190614d24565b509198975050505050505050565b6060612dc3848460008585600080866001600160a01b031685876040516143d79190614d60565b60006040518083038185875af1925050503d8060008114614414576040519150601f19603f3d011682016040523d82523d6000602084013e614419565b606091505b509150915061442a87838387614435565b979650505050505050565b606083156144a457825160000361449d576001600160a01b0385163b61449d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610799565b5081612dc3565b612dc383838151156144b95781518083602001fd5b8060405162461bcd60e51b81526004016107999190614568565b6001600160a01b0381168114610fb057600080fd5b600080604083850312156144fb57600080fd5b82359150602083013561450d816144d3565b809150509250929050565b60005b8381101561453357818101518382015260200161451b565b50506000910152565b60008151808452614554816020860160208601614518565b601f01601f19169290920160200192915050565b602081526000610d0c602083018461453c565b6000806040838503121561458e57600080fd5b8235614599816144d3565b946020939093013593505050565b6000806000606084860312156145bc57600080fd5b83356145c7816144d3565b925060208401356145d7816144d3565b929592945050506040919091013590565b6000602082840312156145fa57600080fd5b8135610d0c816144d3565b6000806000806060858703121561461b57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561464157600080fd5b818701915087601f83011261465557600080fd5b81358181111561466457600080fd5b88602082850101111561467657600080fd5b95989497505060200194505050565b6000806040838503121561469857600080fd5b50508035926020909101359150565b63ffffffff81168114610fb057600080fd5b6000602082840312156146cb57600080fd5b8135610d0c816146a7565b6000602082840312156146e857600080fd5b5035919050565b60008060006060848603121561470457600080fd5b8335925060208401359150604084013561471d816144d3565b809150509250925092565b8060020b8114610fb057600080fd5b600080600080600060a0868803121561474f57600080fd5b853561475a81614728565b9450602086013561476a81614728565b9350604086013561477a81614728565b9250606086013561478a81614728565b949793965091946080013592915050565b600080604083850312156147ae57600080fd5b82356147b9816144d3565b9150602083013561450d816144d3565b6000602082840312156147db57600080fd5b5051919050565b80516147ed81614728565b919050565b805161ffff811681146147ed57600080fd5b805180151581146147ed57600080fd5b60008060008060008060c0878903121561482d57600080fd5b8651614838816144d3565b602088015190965061484981614728565b9450614857604088016147f2565b9350606087015160ff8116811461486d57600080fd5b925061487b608088016147f2565b915061488960a08801614804565b90509295509295509295565b600181811c908216806148a957607f821691505b602082108103610b9d57634e487b7160e01b600052602260045260246000fd5b80516147ed816144d3565b80516001600160801b03811681146147ed57600080fd5b60008060008060008060008060008060006101608c8e03121561490d57600080fd5b8b516affffffffffffffffffffff8116811461492857600080fd5b60208d0151909b50614939816144d3565b60408d0151909a5061494a816144d3565b985061495860608d016148c9565b975061496660808d016147e2565b965061497460a08d016147e2565b955061498260c08d016148d4565b945060e08c015193506101008c015192506149a06101208d016148d4565b91506149af6101408d016148d4565b90509295989b509295989b9093969950565b6000602082840312156149d357600080fd5b610d0c82614804565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c4957610c496149dc565b600060208284031215614a1757600080fd5b8151610d0c81614728565b634e487b7160e01b600052601260045260246000fd5b60008260020b80614a4b57614a4b614a22565b808360020b0791505092915050565b6000600160ff1b8201614a6f57614a6f6149dc565b5060000390565b6001600160a01b03828116828216039080821115614a9657614a966149dc565b5092915050565b6001600160a01b03818116838216019080821115614a9657614a966149dc565b6001600160a01b0386811682528515156020830152604082018590528316606082015260a06080820181905260009061442a9083018461453c565b60008060408385031215614b0b57600080fd5b505080516020909101519092909150565b600060a082019050825182526001600160801b03602084015116602083015260408301516040830152606083015160608301526080830151608083015292915050565b815181526020808301516001600160a01b0316908201526040808301516001600160801b0390811691830191909152606092830151169181019190915260800190565b8082028115828204841417610c4957610c496149dc565b600082614bc857614bc8614a22565b500490565b600060208284031215614bdf57600080fd5b8151610d0c816144d3565b600060208284031215614bfc57600080fd5b610d0c826148d4565b60029490940b84526001600160801b039290921660208401526001600160a01b03908116604084015216606082015260800190565b81810381811115610c4957610c496149dc565b60008060408385031215614c6057600080fd5b614c69836147f2565b9150602083015161450d816146a7565b81516001600160a01b0316815261014081016020830151614ca560208401826001600160a01b03169052565b506040830151614cba604084018260020b9052565b506060830151614ccf606084018260020b9052565b506080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151614d13828501826001600160a01b03169052565b505061012092830151919092015290565b60008060008060808587031215614d3a57600080fd5b84519350614d4a602086016148d4565b6040860151606090960151949790965092505050565b60008251614d72818460208701614518565b919091019291505056fea164736f6c6343000814000a0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000b2a31d95b1a4c8b1e772599ffcb8875fb4e2d330000000000000000000000000000000000000000000000000000000000000e100000000000000000000000000000000000000000000000000000000000000000

    Deployed Bytecode

    0x608060405234801561001057600080fd5b506004361061030b5760003560e01c80637f7a1eec1161019d578063c8796572116100e9578063dd62ed3e116100a2578063f2fde38b1161007c578063f2fde38b1461070e578063f620732614610721578063f9c95d4614610731578063fa0827431461074457600080fd5b8063dd62ed3e146106b8578063dd81fa63146106cb578063ddca3f43146106f257600080fd5b8063c87965721461065d578063d0c93a7c14610665578063d21220a71461066d578063d2eabcfc14610694578063d87346aa1461069c578063d940d768146106af57600080fd5b806391563d3211610156578063a457c2d711610130578063a457c2d714610620578063a9059cbb14610633578063aaf5eb6814610646578063c4a7761e1461065557600080fd5b806391563d32146105be57806395d89b41146105eb578063a049de6b146105f357600080fd5b80637f7a1eec1461054557806381de128b1461056c578063888a91341461057f578063897f078c146105875780638da5cb5b1461059a5780638dbdbe6d146105ab57600080fd5b80633505b09f1161025c5780634d461fbb11610215578063648cab85116101ef578063648cab851461050257806370a082311461050b578063715018a6146105345780637aea53091461053c57600080fd5b80634d461fbb146104de57806351e87af7146104e75780635ffc1ff7146104ef57600080fd5b80633505b09f1461046357806337e41b401461046b57806339509351146104925780633e091ee9146104a5578063400f0ceb146104b857806345e05f43146104cb57600080fd5b806316f0115b116102c957806323b872dd116102a357806323b872dd146104195780632bbb56d91461042c5780632c8958f614610441578063313ce5671461045457600080fd5b806316f0115b146103d757806318160ddd146103fe57806322401d7c1461041057600080fd5b8062f714ce14610310578063065e53601461033d57806306fdde0314610358578063095ea7b31461036d5780630dfe1681146103905780630f35bcac146103cf575b600080fd5b61032361031e3660046144e8565b61074c565b604080519283526020830191909152015b60405180910390f35b610345610ab6565b60405160029190910b8152602001610334565b610360610ba3565b6040516103349190614568565b61038061037b36600461457b565b610c35565b6040519015158152602001610334565b6103b77f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b6040516001600160a01b039091168152602001610334565b610345610c4f565b6103b77f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea81565b6002545b604051908152602001610334565b610402600a5481565b6103806104273660046145a7565b610ced565b61043f61043a3660046145e8565b610d13565b005b61043f61044f366004614605565b610d72565b60405160128152602001610334565b61043f610e55565b6103807f000000000000000000000000000000000000000000000000000000000000000181565b6103806104a036600461457b565b610fb3565b61043f6104b3366004614685565b610fd5565b61043f6104c63660046146b9565b611026565b6008546103b7906001600160a01b031681565b610402600c5481565b610345611092565b61043f6104fd3660046146d6565b611130565b610402600b5481565b6104026105193660046145e8565b6001600160a01b031660009081526020819052604090205490565b61043f61116f565b610402600d5481565b6103807f000000000000000000000000000000000000000000000000000000000000000081565b61043f61057a3660046145e8565b611183565b6103456111db565b6007546103b7906001600160a01b031681565b6006546001600160a01b03166103b7565b6104026105b93660046146ef565b611226565b600e546105d690640100000000900463ffffffff1681565b60405163ffffffff9091168152602001610334565b6103606117c3565b6105fb6117d2565b604080516001600160801b039094168452602084019290925290820152606001610334565b61038061062e36600461457b565b6117ed565b61038061064136600461457b565b611873565b610402670de0b6b3a764000081565b610323611881565b61032361199f565b6103456119cc565b6103b77f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d403889481565b6105fb611a55565b61043f6106aa366004614737565b611a65565b61040260095481565b6104026106c636600461479b565b61207c565b6103b77f00000000000000000000000034513e8a327987bb44acf5a925a7f3b4092d8b5f81565b6106fa6120a7565b60405162ffffff9091168152602001610334565b61043f61071c3660046145e8565b612139565b600e546105d69063ffffffff1681565b61043f61073f3660046146b9565b6121af565b61034561225c565b6000806107576122a7565b600084116107a25760405162461bcd60e51b815260206004820152601360248201527249562e77697468647261773a2073686172657360681b60448201526064015b60405180910390fd5b6001600160a01b0383166107ea5760405162461bcd60e51b815260206004820152600f60248201526e49562e77697468647261773a20746f60881b6044820152606401610799565b60006107f560025490565b905080851480610810575061080c856103e8612300565b8110155b61085c5760405162461bcd60e51b815260206004820152601760248201527f49562e77697468647261773a206d696e207368617265730000000000000000006044820152606401610799565b610866600161230c565b505060008060008060095460001461088c576108866009548a878b6123e2565b90945092505b600a54156108a8576108a2600a548a878b6123e2565b90925090505b6040516370a0823160e01b815230600482015260009061094c908790610946908d906001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3816906370a08231906024015b602060405180830381865afa15801561091c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094091906147c9565b906126a9565b906126b5565b6040516370a0823160e01b81523060048201529091506000906109aa908890610946908e906001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d403889416906370a08231906024016108ff565b905081156109e6576109e66001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38168b846126c1565b8015610a2057610a206001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894168b836126c1565b610a3482610a2e8887612300565b90612300565b9850610a4481610a2e8786612300565b9750610a50338c612729565b604080518c8152602081018b90529081018990526001600160a01b038b169033907febff2602b3f468259e1e99f613fed6691f3a6526effe6ef3e768ba7ae7a36c4f9060600160405180910390a350505050505050610aaf6001600555565b9250929050565b60008060007f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea6001600160a01b031663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190614814565b955050505092505080610b9d5760405162461bcd60e51b815260206004820152602260248201527f49562e63757272656e745469636b3a2074686520706f6f6c206973206c6f636b604482015261195960f21b6064820152608401610799565b50919050565b606060038054610bb290614895565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde90614895565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b600033610c4381858561285b565b60019150505b92915050565b6000600a54600003610c615750600090565b6000610c6b61297f565b6001600160a01b03166399fbab88600a546040518263ffffffff1660e01b8152600401610c9a91815260200190565b61016060405180830381865afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc91906148eb565b50939b9a5050505050505050505050565b600033610cfb858285612a03565b610d06858585612a77565b60019150505b9392505050565b610d1b612c1b565b600880546001600160a01b0319166001600160a01b03831690811790915560405190815233907f3066ef5dd340e8b2ea28d62f5a8391eb7a82d3ee87532724a1ca4386d34f7523906020015b60405180910390a250565b336001600160a01b037f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea1614610dd05760405162461bcd60e51b815260206004820152600360248201526231b11960e91b6044820152606401610799565b6000841315610e1257610e0d6001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad381633866126c1565b610e4f565b6000831315610e4f57610e4f6001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388941633856126c1565b50505050565b610e5d612c1b565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031663095ea7b3610e9461297f565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260001960248201526044016020604051808303816000875af1158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0691906149c1565b507f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388946001600160a01b031663095ea7b3610f3e61297f565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260001960248201526044016020604051808303816000875af1158015610f8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb091906149c1565b50565b600033610c43818585610fc6838361207c565b610fd091906149f2565b61285b565b610fdd612c1b565b600b829055600c819055604080518381526020810183905233917fafd3b05a4086b378b6f291200a528d8aed8c5e0317af77436b001f1bec28821a910160405180910390a25050565b61102e612c1b565b600e805467ffffffff00000000191664010000000063ffffffff8416908102919091179091556040805133815260208101929092527f39da19f5960a3f182ced1ff1853b7be54f37150799b3003a40bf4e0d4c740c8591015b60405180910390a150565b6000600a546000036110a45750600090565b60006110ae61297f565b6001600160a01b03166399fbab88600a546040518263ffffffff1660e01b81526004016110dd91815260200190565b61016060405180830381865afa1580156110fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111f91906148eb565b50949b9a5050505050505050505050565b611138612c1b565b600d81905560405181815233907f529698f34660760dcb172def5c99d62e1b5b74b444df322e8f7da31f2bd0a86b90602001610d67565b611177612c1b565b6111816000612c75565b565b61118b612c1b565b600780546001600160a01b0319166001600160a01b03831690811790915560405190815233907fbb78b7c13893a913fa8c9ecb9fdaf97597aa412a39c778bf976790555f0942f790602001610d67565b60006009546000036111ed5750600090565b60006111f761297f565b6001600160a01b03166399fbab886009546040518263ffffffff1660e01b8152600401610c9a91815260200190565b60006112306122a7565b7f00000000000000000000000000000000000000000000000000000000000000008061125a575083155b6112a65760405162461bcd60e51b815260206004820152601e60248201527f49562e6465706f7369743a20746f6b656e30206e6f7420616c6c6f77656400006044820152606401610799565b7f0000000000000000000000000000000000000000000000000000000000000001806112d0575082155b61131c5760405162461bcd60e51b815260206004820152601e60248201527f49562e6465706f7369743a20746f6b656e31206e6f7420616c6c6f77656400006044820152606401610799565b600084118061132b5750600083115b6113775760405162461bcd60e51b815260206004820181905260248201527f49562e6465706f7369743a206465706f73697473206d757374206265203e20306044820152606401610799565b600b54841080156113895750600c5483105b6113d55760405162461bcd60e51b815260206004820152601e60248201527f49562e6465706f7369743a206465706f7369747320746f6f206c6172676500006044820152606401610799565b6001600160a01b038216158015906113f657506001600160a01b0382163014155b6114335760405162461bcd60e51b815260206004820152600e60248201526d49562e6465706f7369743a20746f60901b6044820152606401610799565b60006114907f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad387f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894611482610ab6565b670de0b6b3a7640000612cc7565b600e54909150600090611517907f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea907f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38907f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388949063ffffffff16670de0b6b3a7640000612dcb565b600e54909150600090640100000000900463ffffffff1661153857816115bf565b6115bf7f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad387f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894600e60049054906101000a900463ffffffff16670de0b6b3a7640000612dcb565b90506115cc838383612f6c565b6115d6600161230c565b50506000806115e3611881565b9150915060006115f260025490565b905060008311806116035750600082115b8061160c575080155b61164c5760405162461bcd60e51b815260206004820152601160248201527049562e6465706f7369743a20656d70747960781b6044820152606401610799565b8915611687576116876001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad381633308d6130c9565b88156116c2576116c26001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388941633308c6130c9565b60006116d18787876000613101565b905060006116eb670de0b6b3a76400006109468e856126a9565b90506116f78b82612300565b9850821561174a57600061170e8989896001613101565b90506000611728670de0b6b3a764000061094689856126a9565b90506117416117378288612300565b6109468d886126a9565b9a505050611759565b611756896103e86126a9565b98505b6117638a8a613176565b604080518a8152602081018e90529081018c90526001600160a01b038b169033907f4e2ca0515ed1aef1395f66b5303bb5d6f1bf9d61a353fa53f73f8ac9973fa9f69060600160405180910390a35050505050505050610d0c6001600555565b606060048054610bb290614895565b60008060006117e2600a54613235565b925092509250909192565b600033816117fb828661207c565b90508381101561185b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610799565b611868828686840361285b565b506001949350505050565b600033610c43818585612a77565b60008060008061188f611a55565b925092505060008061189f6117d2565b6040516370a0823160e01b8152306004820152919450925061193a91508390610a2e9087906001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3816906370a08231906024015b602060405180830381865afa158015611916573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2e91906147c9565b6040516370a0823160e01b8152306004820152909650611995908290610a2e9086906001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d403889416906370a08231906024016118f9565b9450505050509091565b6000806119aa6122a7565b6000806119b7600161230c565b909450925050506119c86001600555565b9091565b60007f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea6001600160a01b031663d0c93a7c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190614a05565b905090565b60008060006117e2600954613235565b611a6d6122a7565b611a75612c1b565b60007f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea6001600160a01b031663d0c93a7c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af99190614a05565b90508460020b8660020b128015611b1a5750611b158187614a38565b60020b155b8015611b305750611b2b8186614a38565b60020b155b611b885760405162461bcd60e51b815260206004820152602360248201527f49562e726562616c616e63653a206261736520706f736974696f6e20696e76616044820152621b1a5960ea1b6064820152608401610799565b8260020b8460020b128015611ba75750611ba28185614a38565b60020b155b8015611bbd5750611bb88184614a38565b60020b155b611c155760405162461bcd60e51b8152602060048201526024808201527f49562e726562616c616e63653a206c696d697420706f736974696f6e20696e76604482015263185b1a5960e21b6064820152608401610799565b8360020b8660020b141580611c3057508260020b8560020b14155b611c865760405162461bcd60e51b815260206004820152602160248201527f49562e726562616c616e63653a206964656e746963616c20706f736974696f6e6044820152607360f81b6064820152608401610799565b600080611c93600061230c565b91509150611ca260095461356c565b611cad600a5461356c565b8315611db7576001600160a01b037f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea1663128acb08306000871380611cfa57611cf588614a5a565b611cfc565b875b60008913611d2857611d23600173fffd8963efd1fc6a506488495d951d5263988d26614a76565b611d38565b611d386401000276a36001614a9d565b60408051306020820152016040516020818303038152906040526040518663ffffffff1660e01b8152600401611d72959493929190614abd565b60408051808303816000875af1158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190614af8565b50505b6040516370a0823160e01b81523060048201526000907f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b0316906370a0823190602401602060405180830381865afa158015611e1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4291906147c9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d403889416906370a0823190602401602060405180830381865afa158015611eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed091906147c9565b90507fbc4c20ad04f161d631d9ce94d27659391196415aa3c42f6a71c62e905ece782d611efb610ab6565b83838787611f0860025490565b6040805160029790970b87526020870195909552938501929092526060840152608083015260a082015260c00160405180910390a1611f498a8a848461373f565b6040516370a0823160e01b815230600482015261206690899089906001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3816906370a0823190602401602060405180830381865afa158015611fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd991906147c9565b6040516370a0823160e01b81523060048201527f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388946001600160a01b0316906370a0823190602401602060405180830381865afa15801561203d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206191906147c9565b613754565b50505050506120756001600555565b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea6001600160a01b031663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015612107573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212b9190614814565b50505061ffff169392505050565b612141612c1b565b6001600160a01b0381166121a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610799565b610fb081612c75565b6121b7612c1b565b60008163ffffffff161161220d5760405162461bcd60e51b815260206004820181905260248201527f49562e73657454776170506572696f643a206d697373696e6720706572696f646044820152606401610799565b600e805463ffffffff191663ffffffff83169081179091556040805133815260208101929092527fe4c60f4984caeb7f45b0cfe6d4233c115601ab11d141bc2cbf68b48346cdef389101611087565b600060095460000361226e5750600090565b600061227861297f565b6001600160a01b03166399fbab886009546040518263ffffffff1660e01b81526004016110dd91815260200190565b6002600554036122f95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610799565b6002600555565b6000610d0c82846149f2565b60095460009081901561234757600080612327600954613769565b90925090506123368483612300565b93506123428382612300565b925050505b600a541561237d5760008061235d600a54613769565b909250905061236c8483612300565b93506123788382612300565b925050505b600082118061238c5750600081115b156123dd5761239b8282613829565b82156123dd57604080518381526020810183905233917fec8208dd791fa8ffdc0d7427f3ba9c0ed06f1bce9a86254e6940c10cc1802fef910160405180910390a25b915091565b60008060008060006123f261297f565b6001600160a01b03166399fbab888a6040518263ffffffff1660e01b815260040161241f91815260200190565b61016060405180830381865afa15801561243d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246191906148eb565b9a509a5050509850505050505050816001600160801b0316600014801561248f57506001600160801b038116155b6124db5760405162461bcd60e51b815260206004820152601860248201527f49562e77697468647261773a20746f6b656e73206f77656400000000000000006044820152606401610799565b60006124e68a613db4565b90506000816001600160801b0316856001600160801b03161161250a576000612520565b6125206001600160801b03868116908416613e2c565b9050600061253b8a6109466001600160801b0385168e6126a9565b90506001600160801b0381161561269a5761255461297f565b6001600160a01b0316630c49ccbe6040518060a001604052808f8152602001846001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b81526004016125b09190614b1c565b60408051808303816000875af11580156125ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f29190614af8565b90985096506125ff61297f565b604080516080810182528e81526001600160a01b038c811660208301526001600160801b03808d16838501528b166060830152915163fc6f786560e01b8152929091169163fc6f78659161265591600401614b5f565b60408051808303816000875af1158015612673573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126979190614af8565b50505b50505050505094509492505050565b6000610d0c8284614ba2565b6000610d0c8284614bb9565b6040516001600160a01b03831660248201526044810182905261272490849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613e38565b505050565b6001600160a01b0382166127895760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610799565b6001600160a01b038216600090815260208190526040902054818110156127fd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610799565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b0383166128bd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610799565b6001600160a01b03821661291e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610799565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60007f00000000000000000000000034513e8a327987bb44acf5a925a7f3b4092d8b5f6001600160a01b031663e88b91ea6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190614bcd565b6000612a0f848461207c565b90506000198114610e4f5781811015612a6a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610799565b610e4f848484840361285b565b6001600160a01b038316612adb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610799565b6001600160a01b038216612b3d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610799565b6001600160a01b03831660009081526020819052604090205481811015612bb55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610799565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610e4f565b6006546001600160a01b031633146111815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610799565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000736aad667f0f897f9f9a3e2a82618483f7fe53524e6343c57a2784736aad667f0f897f9f9a3e2a82618483f7fe53524e63809fdd33866040518263ffffffff1660e01b8152600401612d1d91815260200190565b602060405180830381865af4158015612d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d5e9190614bea565b88886040518563ffffffff1660e01b8152600401612d7f9493929190614c05565b602060405180830381865af4158015612d9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc091906147c9565b90505b949350505050565b600080612dd6613f0d565b604051638241348960e01b81526001600160a01b038216600482015263ffffffff86166024820152909150600090736aad667f0f897f9f9a3e2a82618483f7fe53524e90638241348990604401602060405180830381865af4158015612e40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e649190614a05565b60020b9050736aad667f0f897f9f9a3e2a82618483f7fe53524e6343c57a2782736aad667f0f897f9f9a3e2a82618483f7fe53524e63809fdd33886040518263ffffffff1660e01b8152600401612ebd91815260200190565b602060405180830381865af4158015612eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612efe9190614bea565b8a8a6040518563ffffffff1660e01b8152600401612f1f9493929190614c05565b602060405180830381865af4158015612f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6091906147c9565b98975050505050505050565b6000828411612f9457612f8f83610946670de0b6b3a76400006109408389613e2c565b612fae565b612fae84610946670de0b6b3a76400006109408388613e2c565b600e54909150640100000000900463ffffffff1615613073576000828511612fef57612fea83610946670de0b6b3a7640000610940838a613e2c565b613009565b61300985610946670de0b6b3a76400006109408388613e2c565b9050600d5482118061301c5750600d5481115b1561306d57613029614080565b61306d5760405162461bcd60e51b815260206004820152601560248201527424ab173232b837b9b4ba1d103a393c903630ba32b960591b6044820152606401610799565b50610e4f565b600d54811115610e4f57613085614080565b610e4f5760405162461bcd60e51b815260206004820152601560248201527424ab173232b837b9b4ba1d103a393c903630ba32b960591b6044820152606401610799565b6040516001600160a01b0380851660248301528316604482015260648101829052610e4f9085906323b872dd60e01b906084016126ed565b6000811561314357600e54640100000000900463ffffffff16156131395761313261312c868661411d565b8461411d565b9050612dc3565b613132858561411d565b600e54640100000000900463ffffffff161561316c57613132613166868661412c565b8461412c565b613132858561412c565b6001600160a01b0382166131cc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610799565b80600260008282546131de91906149f2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008060008360000361325057506000915081905080613565565b600080600080600061326061297f565b6001600160a01b03166399fbab888a6040518263ffffffff1660e01b815260040161328d91815260200190565b61016060405180830381865afa1580156132ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132cf91906148eb565b9a509a5050509850985098505050505060006132ea8a613db4565b9050806001600160801b0316846001600160801b03161161330c576000613322565b6133226001600160801b03858116908316613e2c565b985060007f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea6001600160a01b031663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015613384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133a89190614814565b505060405163986cfba360e01b815260028c900b6004820152939450736aad667f0f897f9f9a3e2a82618483f7fe53524e9363c72e160b935085925084915063986cfba390602401602060405180830381865af415801561340d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134319190614bcd565b60405163986cfba360e01b815260028b900b6004820152736aad667f0f897f9f9a3e2a82618483f7fe53524e9063986cfba390602401602060405180830381865af4158015613484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a89190614bcd565b60405160e085901b6001600160e01b03191681526001600160a01b039384166004820152918316602483015290911660448201526001600160801b038d1660648201526084016040805180830381865af415801561350a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061352e9190614af8565b9099509750613546896001600160801b038616612300565b985061355b886001600160801b038516612300565b9750505050505050505b9193909250565b8015610fb057600061357d82614142565b90506001600160801b038116156136375761359661297f565b6001600160a01b0316630c49ccbe6040518060a00160405280858152602001846001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b81526004016135f29190614b1c565b60408051808303816000875af1158015613610573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136349190614af8565b50505b61363f61297f565b604080516080810182528481523060208201526001600160801b038183018190526060820152905163fc6f786560e01b81526001600160a01b03929092169163fc6f78659161369091600401614b5f565b60408051808303816000875af11580156136ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d29190614af8565b50506136dc61297f565b6001600160a01b03166342966c68836040518263ffffffff1660e01b815260040161370991815260200190565b600060405180830381600087803b15801561372357600080fd5b505af1158015613737573d6000803e3d6000fd5b505050505050565b61374b848484846141df565b60095550505050565b613760848484846141df565b600a5550505050565b6000808260000361377f57506000928392509050565b60008061378a61297f565b604080516080810182528781523060208201526001600160801b038183018190526060820152905163fc6f786560e01b81526001600160a01b03929092169163fc6f7865916137db91600401614b5f565b60408051808303816000875af11580156137f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061381d9190614af8565b90969095509350505050565b60007f00000000000000000000000034513e8a327987bb44acf5a925a7f3b4092d8b5f6001600160a01b031663665a17c56040518163ffffffff1660e01b8152600401602060405180830381865afa158015613889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ad91906147c9565b905060007f00000000000000000000000034513e8a327987bb44acf5a925a7f3b4092d8b5f6001600160a01b0316636ef25c3a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561390f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061393391906147c9565b6040516370a0823160e01b81523060048201529091506139ca9085906001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3816906370a08231906024015b602060405180830381865afa1580156139a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c591906147c9565b61412c565b6040516370a0823160e01b8152306004820152909450613a1f9084906001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d403889416906370a0823190602401613984565b9250600082118015613a3b57506007546001600160a01b031615155b15613afa578315613a9d57600754613a9d906001600160a01b0316613a6c670de0b6b3a764000061094688876126a9565b6001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad381691906126c1565b8215613afa57600754613afa906001600160a01b0316613ac9670de0b6b3a764000061094687876126a9565b6001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388941691906126c1565b8015610e4f576008546000906001600160a01b031615613b9b577f00000000000000000000000034513e8a327987bb44acf5a925a7f3b4092d8b5f6001600160a01b031663acc8247d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b9691906147c9565b613ba5565b670de0b6b3a76400005b905060007f00000000000000000000000034513e8a327987bb44acf5a925a7f3b4092d8b5f6001600160a01b031663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c2b9190614bcd565b90508515613ced576000613c4b670de0b6b3a764000061094689876126a9565b90506000613c65670de0b6b3a764000061094684876126a9565b90506000613c738383613e2c565b9050613ca96001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad381685846126c1565b8015613ce957600854613ce9906001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3881169116836126c1565b5050505b8415613737576000613d0b670de0b6b3a764000061094688876126a9565b90506000613d25670de0b6b3a764000061094684876126a9565b90506000613d338383613e2c565b9050613d696001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388941685846126c1565b8015613da957600854613da9906001600160a01b037f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d403889481169116836126c1565b505050505050505050565b6000613dbe61297f565b6001600160a01b03166312e724ba836040518263ffffffff1660e01b8152600401613deb91815260200190565b602060405180830381865afa158015613e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c499190614bea565b6000610d0c8284614c3a565b6000613e8d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166143b09092919063ffffffff16565b9050805160001480613eae575080806020019051810190613eae91906149c1565b6127245760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610799565b60007f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea6001600160a01b031663ef01df4f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f919190614bcd565b6040516330ea6ca760e11b81526001600160a01b0380831660048301527f0000000000000000000000005c4b7d607aaf7b5cde9f09b5f03cf3b5c923aeea166024820152909150736aad667f0f897f9f9a3e2a82618483f7fe53524e906361d4d94e90604401602060405180830381865af4158015614014573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061403891906149c1565b61407d5760405162461bcd60e51b815260206004820152601660248201527524ab1d103234b1b7b73732b1ba32b21038363ab3b4b760511b6044820152606401610799565b90565b60008061408b613f0d565b604051634c3e6e1160e11b81526001600160a01b0382166004820152909150600090736aad667f0f897f9f9a3e2a82618483f7fe53524e9063987cdc22906024016040805180830381865af41580156140e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061410c9190614c4d565b63ffffffff16421415949350505050565b6000818310610b9d5782610d0c565b600081831061413b5781610d0c565b5090919050565b60008160000361415457506000919050565b600061415e61297f565b6001600160a01b03166399fbab88846040518263ffffffff1660e01b815260040161418b91815260200190565b61016060405180830381865afa1580156141a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141cd91906148eb565b50929c9b505050505050505050505050565b6000821580156141ed575081155b156141fa57506000612dc3565b6000614204610ab6565b90508560020b8160020b1215801561422157508460020b8160020b125b1561424557831580614231575082155b15614240576000915050612dc3565b614284565b8560020b8160020b12156142655783600003614240576000915050612dc3565b8460020b8160020b126142845782600003614284576000915050612dc3565b61428c61297f565b6001600160a01b0316639cc1a2836040518061014001604052807f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b031681526020017f00000000000000000000000029219dd400f2bf60e5a23d13be72b486d40388946001600160a01b031681526020018960020b81526020018860020b81526020018781526020018681526020016000815260200160008152602001306001600160a01b03168152602001428152506040518263ffffffff1660e01b815260040161435f9190614c79565b6080604051808303816000875af115801561437e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143a29190614d24565b509198975050505050505050565b6060612dc3848460008585600080866001600160a01b031685876040516143d79190614d60565b60006040518083038185875af1925050503d8060008114614414576040519150601f19603f3d011682016040523d82523d6000602084013e614419565b606091505b509150915061442a87838387614435565b979650505050505050565b606083156144a457825160000361449d576001600160a01b0385163b61449d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610799565b5081612dc3565b612dc383838151156144b95781518083602001fd5b8060405162461bcd60e51b81526004016107999190614568565b6001600160a01b0381168114610fb057600080fd5b600080604083850312156144fb57600080fd5b82359150602083013561450d816144d3565b809150509250929050565b60005b8381101561453357818101518382015260200161451b565b50506000910152565b60008151808452614554816020860160208601614518565b601f01601f19169290920160200192915050565b602081526000610d0c602083018461453c565b6000806040838503121561458e57600080fd5b8235614599816144d3565b946020939093013593505050565b6000806000606084860312156145bc57600080fd5b83356145c7816144d3565b925060208401356145d7816144d3565b929592945050506040919091013590565b6000602082840312156145fa57600080fd5b8135610d0c816144d3565b6000806000806060858703121561461b57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561464157600080fd5b818701915087601f83011261465557600080fd5b81358181111561466457600080fd5b88602082850101111561467657600080fd5b95989497505060200194505050565b6000806040838503121561469857600080fd5b50508035926020909101359150565b63ffffffff81168114610fb057600080fd5b6000602082840312156146cb57600080fd5b8135610d0c816146a7565b6000602082840312156146e857600080fd5b5035919050565b60008060006060848603121561470457600080fd5b8335925060208401359150604084013561471d816144d3565b809150509250925092565b8060020b8114610fb057600080fd5b600080600080600060a0868803121561474f57600080fd5b853561475a81614728565b9450602086013561476a81614728565b9350604086013561477a81614728565b9250606086013561478a81614728565b949793965091946080013592915050565b600080604083850312156147ae57600080fd5b82356147b9816144d3565b9150602083013561450d816144d3565b6000602082840312156147db57600080fd5b5051919050565b80516147ed81614728565b919050565b805161ffff811681146147ed57600080fd5b805180151581146147ed57600080fd5b60008060008060008060c0878903121561482d57600080fd5b8651614838816144d3565b602088015190965061484981614728565b9450614857604088016147f2565b9350606087015160ff8116811461486d57600080fd5b925061487b608088016147f2565b915061488960a08801614804565b90509295509295509295565b600181811c908216806148a957607f821691505b602082108103610b9d57634e487b7160e01b600052602260045260246000fd5b80516147ed816144d3565b80516001600160801b03811681146147ed57600080fd5b60008060008060008060008060008060006101608c8e03121561490d57600080fd5b8b516affffffffffffffffffffff8116811461492857600080fd5b60208d0151909b50614939816144d3565b60408d0151909a5061494a816144d3565b985061495860608d016148c9565b975061496660808d016147e2565b965061497460a08d016147e2565b955061498260c08d016148d4565b945060e08c015193506101008c015192506149a06101208d016148d4565b91506149af6101408d016148d4565b90509295989b509295989b9093969950565b6000602082840312156149d357600080fd5b610d0c82614804565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c4957610c496149dc565b600060208284031215614a1757600080fd5b8151610d0c81614728565b634e487b7160e01b600052601260045260246000fd5b60008260020b80614a4b57614a4b614a22565b808360020b0791505092915050565b6000600160ff1b8201614a6f57614a6f6149dc565b5060000390565b6001600160a01b03828116828216039080821115614a9657614a966149dc565b5092915050565b6001600160a01b03818116838216019080821115614a9657614a966149dc565b6001600160a01b0386811682528515156020830152604082018590528316606082015260a06080820181905260009061442a9083018461453c565b60008060408385031215614b0b57600080fd5b505080516020909101519092909150565b600060a082019050825182526001600160801b03602084015116602083015260408301516040830152606083015160608301526080830151608083015292915050565b815181526020808301516001600160a01b0316908201526040808301516001600160801b0390811691830191909152606092830151169181019190915260800190565b8082028115828204841417610c4957610c496149dc565b600082614bc857614bc8614a22565b500490565b600060208284031215614bdf57600080fd5b8151610d0c816144d3565b600060208284031215614bfc57600080fd5b610d0c826148d4565b60029490940b84526001600160801b039290921660208401526001600160a01b03908116604084015216606082015260800190565b81810381811115610c4957610c496149dc565b60008060408385031215614c6057600080fd5b614c69836147f2565b9150602083015161450d816146a7565b81516001600160a01b0316815261014081016020830151614ca560208401826001600160a01b03169052565b506040830151614cba604084018260020b9052565b506060830151614ccf606084018260020b9052565b506080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151614d13828501826001600160a01b03169052565b505061012092830151919092015290565b60008060008060808587031215614d3a57600080fd5b84519350614d4a602086016148d4565b6040860151606090960151949790965092505050565b60008251614d72818460208701614518565b919091019291505056fea164736f6c6343000814000a

    [ Download: CSV Export  ]
    [ Download: CSV Export  ]

    A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.