Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
0.186006902441607401 ERC20 ***
Holders
36
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.002234934197470286 ERC20 ***Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SorbettoFragola
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-06-27 */ // SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } pragma solidity 0.7.6; interface ISorbettoFragola { /// @notice The first of the two tokens of the pool, sorted by address /// @return The token contract address function token0() external view returns (address); /// @notice The second of the two tokens of the pool, sorted by address /// @return The token contract address function token1() external view returns (address); /// @notice The pool tick spacing /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... /// This value is an int24 to avoid casting even though it is always positive. /// @return The tick spacing function tickSpacing() external view returns (int24); /// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform /// to the ERC20 specification /// @return The address of the Uniswap V3 Pool function pool() external view returns (IUniswapV3Pool); /// @notice The lower tick of the range function tickLower() external view returns (int24); /// @notice The upper tick of the range function tickUpper() external view returns (int24); /** * @notice Deposits tokens in proportion to the Sorbetto's current ticks. * @param amount0Desired Max amount of token0 to deposit * @param amount1Desired Max amount of token1 to deposit * @return shares minted * @return amount0 Amount of token0 deposited * @return amount1 Amount of token1 deposited */ function deposit(uint256 amount0Desired, uint256 amount1Desired) external payable returns (uint256 shares, uint256 amount0,uint256 amount1); /** * @notice Withdraws tokens in proportion to the Sorbetto's holdings. * @dev Removes proportional amount of liquidity from Uniswap. * @param shares burned by sender * @return amount0 Amount of token0 sent to recipient * @return amount1 Amount of token1 sent to recipient */ function withdraw(uint256 shares) external returns (uint256 amount0, uint256 amount1); /** * @notice Updates sorbetto's positions. * @dev Finds base position and limit position for imbalanced token * mints all amounts to this position(including earned fees) */ function rerange() external; /** * @notice Updates sorbetto's positions. Can only be called by the governance. * @dev Swaps imbalanced token. Finds base position and limit position for imbalanced token if * we don't have balance during swap because of price impact. * mints all amounts to this position(including earned fees) */ function rebalance() external; } pragma solidity 0.7.6; interface ISorbettoStrategy { /// @notice Period of time that we observe for price slippage /// @return time in seconds function twapDuration() external view returns (uint32); /// @notice Maximum deviation of time waited avarage price in ticks function maxTwapDeviation() external view returns (int24); /// @notice Tick multuplier for base range calculation function tickRangeMultiplier() external view returns (int24); /// @notice The protocol's fee denominated in hundredths of a bip, i.e. 1e-6 /// @return The fee function protocolFee() external view returns (uint24); /// @notice The price impact percentage during swap denominated in hundredths of a bip, i.e. 1e-6 /// @return The max price impact percentage function priceImpactPercentage() external view returns (uint24); } pragma solidity >=0.5.0; library PositionKey { /// @dev Returns the key of the position in the core library function compute( address owner, int24 tickLower, int24 tickUpper ) internal pure returns (bytes32) { return keccak256(abi.encodePacked(owner, tickLower, tickUpper)); } } pragma solidity >=0.5.0; /// @title Math library for computing sqrt prices from ticks and vice versa /// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports /// prices between 2**-128 and 2**128 library TickMath { /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128 int24 internal constant MIN_TICK = -887272; /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128 int24 internal constant MAX_TICK = -MIN_TICK; /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK) uint160 internal constant MIN_SQRT_RATIO = 4295128739; /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK) uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342; /// @notice Calculates sqrt(1.0001^tick) * 2^96 /// @dev Throws if |tick| > max tick /// @param tick The input tick for the above formula /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0) /// at the given tick function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) { uint256 absTick = tick < 0 ? uint256(-int256(tick)) : uint256(int256(tick)); require(absTick <= uint256(MAX_TICK), 'T'); uint256 ratio = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000; if (absTick & 0x2 != 0) ratio = (ratio * 0xfff97272373d413259a46990580e213a) >> 128; if (absTick & 0x4 != 0) ratio = (ratio * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128; if (absTick & 0x8 != 0) ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128; if (absTick & 0x10 != 0) ratio = (ratio * 0xffcb9843d60f6159c9db58835c926644) >> 128; if (absTick & 0x20 != 0) ratio = (ratio * 0xff973b41fa98c081472e6896dfb254c0) >> 128; if (absTick & 0x40 != 0) ratio = (ratio * 0xff2ea16466c96a3843ec78b326b52861) >> 128; if (absTick & 0x80 != 0) ratio = (ratio * 0xfe5dee046a99a2a811c461f1969c3053) >> 128; if (absTick & 0x100 != 0) ratio = (ratio * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128; if (absTick & 0x200 != 0) ratio = (ratio * 0xf987a7253ac413176f2b074cf7815e54) >> 128; if (absTick & 0x400 != 0) ratio = (ratio * 0xf3392b0822b70005940c7a398e4b70f3) >> 128; if (absTick & 0x800 != 0) ratio = (ratio * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128; if (absTick & 0x1000 != 0) ratio = (ratio * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128; if (absTick & 0x2000 != 0) ratio = (ratio * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128; if (absTick & 0x4000 != 0) ratio = (ratio * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128; if (absTick & 0x8000 != 0) ratio = (ratio * 0x31be135f97d08fd981231505542fcfa6) >> 128; if (absTick & 0x10000 != 0) ratio = (ratio * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128; if (absTick & 0x20000 != 0) ratio = (ratio * 0x5d6af8dedb81196699c329225ee604) >> 128; if (absTick & 0x40000 != 0) ratio = (ratio * 0x2216e584f5fa1ea926041bedfe98) >> 128; if (absTick & 0x80000 != 0) ratio = (ratio * 0x48a170391f7dc42444e8fa2) >> 128; if (tick > 0) ratio = type(uint256).max / ratio; // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96. // we then downcast because we know the result always fits within 160 bits due to our tick input constraint // we round up in the division so getTickAtSqrtRatio of the output price is always consistent sqrtPriceX96 = uint160((ratio >> 32) + (ratio % (1 << 32) == 0 ? 0 : 1)); } /// @notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may /// ever return. /// @param sqrtPriceX96 The sqrt ratio for which to compute the tick as a Q64.96 /// @return tick The greatest tick for which the ratio is less than or equal to the input ratio function getTickAtSqrtRatio(uint160 sqrtPriceX96) internal pure returns (int24 tick) { // second inequality must be < because the price can never reach the price at the max tick require(sqrtPriceX96 >= MIN_SQRT_RATIO && sqrtPriceX96 < MAX_SQRT_RATIO, 'R'); uint256 ratio = uint256(sqrtPriceX96) << 32; uint256 r = ratio; uint256 msb = 0; assembly { let f := shl(7, gt(r, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)) msb := or(msb, f) r := shr(f, r) } assembly { let f := shl(6, gt(r, 0xFFFFFFFFFFFFFFFF)) msb := or(msb, f) r := shr(f, r) } assembly { let f := shl(5, gt(r, 0xFFFFFFFF)) msb := or(msb, f) r := shr(f, r) } assembly { let f := shl(4, gt(r, 0xFFFF)) msb := or(msb, f) r := shr(f, r) } assembly { let f := shl(3, gt(r, 0xFF)) msb := or(msb, f) r := shr(f, r) } assembly { let f := shl(2, gt(r, 0xF)) msb := or(msb, f) r := shr(f, r) } assembly { let f := shl(1, gt(r, 0x3)) msb := or(msb, f) r := shr(f, r) } assembly { let f := gt(r, 0x1) msb := or(msb, f) } if (msb >= 128) r = ratio >> (msb - 127); else r = ratio << (127 - msb); int256 log_2 = (int256(msb) - 128) << 64; assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(63, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(62, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(61, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(60, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(59, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(58, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(57, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(56, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(55, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(54, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(53, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(52, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(51, f)) r := shr(f, r) } assembly { r := shr(127, mul(r, r)) let f := shr(128, r) log_2 := or(log_2, shl(50, f)) } int256 log_sqrt10001 = log_2 * 255738958999603826347141; // 128.128 number int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128); int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128); tick = tickLow == tickHi ? tickLow : getSqrtRatioAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow; } } pragma solidity >=0.5.0; /// @title Liquidity amount functions /// @notice Provides functions for computing liquidity amounts from token amounts and prices library LiquidityAmounts { /// @notice Downcasts uint256 to uint128 /// @param x The uint258 to be downcasted /// @return y The passed value, downcasted to uint128 function toUint128(uint256 x) private pure returns (uint128 y) { require((y = uint128(x)) == x); } /// @notice Computes the amount of liquidity received for a given amount of token0 and price range /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower)) /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary /// @param amount0 The amount0 being sent in /// @return liquidity The amount of returned liquidity function getLiquidityForAmount0( uint160 sqrtRatioAX96, uint160 sqrtRatioBX96, uint256 amount0 ) internal pure returns (uint128 liquidity) { if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96); uint256 intermediate = FullMath.mulDiv(sqrtRatioAX96, sqrtRatioBX96, FixedPoint96.Q96); return toUint128(FullMath.mulDiv(amount0, intermediate, sqrtRatioBX96 - sqrtRatioAX96)); } /// @notice Computes the amount of liquidity received for a given amount of token1 and price range /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)). /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary /// @param amount1 The amount1 being sent in /// @return liquidity The amount of returned liquidity function getLiquidityForAmount1( uint160 sqrtRatioAX96, uint160 sqrtRatioBX96, uint256 amount1 ) internal pure returns (uint128 liquidity) { if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96); return toUint128(FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtRatioBX96 - sqrtRatioAX96)); } /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current /// pool prices and the prices at the tick boundaries /// @param sqrtRatioX96 A sqrt price representing the current pool prices /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary /// @param amount0 The amount of token0 being sent in /// @param amount1 The amount of token1 being sent in /// @return liquidity The maximum amount of liquidity received function getLiquidityForAmounts( uint160 sqrtRatioX96, uint160 sqrtRatioAX96, uint160 sqrtRatioBX96, uint256 amount0, uint256 amount1 ) internal pure returns (uint128 liquidity) { if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96); if (sqrtRatioX96 <= sqrtRatioAX96) { liquidity = getLiquidityForAmount0(sqrtRatioAX96, sqrtRatioBX96, amount0); } else if (sqrtRatioX96 < sqrtRatioBX96) { uint128 liquidity0 = getLiquidityForAmount0(sqrtRatioX96, sqrtRatioBX96, amount0); uint128 liquidity1 = getLiquidityForAmount1(sqrtRatioAX96, sqrtRatioX96, amount1); liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1; } else { liquidity = getLiquidityForAmount1(sqrtRatioAX96, sqrtRatioBX96, amount1); } } /// @notice Computes the amount of token0 for a given amount of liquidity and a price range /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary /// @param liquidity The liquidity being valued /// @return amount0 The amount of token0 function getAmount0ForLiquidity( uint160 sqrtRatioAX96, uint160 sqrtRatioBX96, uint128 liquidity ) internal pure returns (uint256 amount0) { if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96); return FullMath.mulDiv( uint256(liquidity) << FixedPoint96.RESOLUTION, sqrtRatioBX96 - sqrtRatioAX96, sqrtRatioBX96 ) / sqrtRatioAX96; } /// @notice Computes the amount of token1 for a given amount of liquidity and a price range /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary /// @param liquidity The liquidity being valued /// @return amount1 The amount of token1 function getAmount1ForLiquidity( uint160 sqrtRatioAX96, uint160 sqrtRatioBX96, uint128 liquidity ) internal pure returns (uint256 amount1) { if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96); return FullMath.mulDiv(liquidity, sqrtRatioBX96 - sqrtRatioAX96, FixedPoint96.Q96); } /// @notice Computes the token0 and token1 value for a given amount of liquidity, the current /// pool prices and the prices at the tick boundaries /// @param sqrtRatioX96 A sqrt price representing the current pool prices /// @param sqrtRatioAX96 A sqrt price representing the first tick boundary /// @param sqrtRatioBX96 A sqrt price representing the second tick boundary /// @param liquidity The liquidity being valued /// @return amount0 The amount of token0 /// @return amount1 The amount of token1 function getAmountsForLiquidity( uint160 sqrtRatioX96, uint160 sqrtRatioAX96, uint160 sqrtRatioBX96, uint128 liquidity ) internal pure returns (uint256 amount0, uint256 amount1) { if (sqrtRatioAX96 > sqrtRatioBX96) (sqrtRatioAX96, sqrtRatioBX96) = (sqrtRatioBX96, sqrtRatioAX96); if (sqrtRatioX96 <= sqrtRatioAX96) { amount0 = getAmount0ForLiquidity(sqrtRatioAX96, sqrtRatioBX96, liquidity); } else if (sqrtRatioX96 < sqrtRatioBX96) { amount0 = getAmount0ForLiquidity(sqrtRatioX96, sqrtRatioBX96, liquidity); amount1 = getAmount1ForLiquidity(sqrtRatioAX96, sqrtRatioX96, liquidity); } else { amount1 = getAmount1ForLiquidity(sqrtRatioAX96, sqrtRatioBX96, liquidity); } } } pragma solidity >=0.5.0; /// @title Liquidity and ticks functions /// @notice Provides functions for computing liquidity and ticks for token amounts and prices library PoolVariables { using LowGasSafeMath for uint256; // Cache struct for calculations struct Info { uint256 amount0Desired; uint256 amount1Desired; uint256 amount0; uint256 amount1; uint128 liquidity; int24 tickLower; int24 tickUpper; } /// @dev Wrapper around `LiquidityAmounts.getAmountsForLiquidity()`. /// @param pool Uniswap V3 pool /// @param liquidity The liquidity being valued /// @param _tickLower The lower tick of the range /// @param _tickUpper The upper tick of the range /// @return amounts of token0 and token1 that corresponds to liquidity function amountsForLiquidity( IUniswapV3Pool pool, uint128 liquidity, int24 _tickLower, int24 _tickUpper ) internal view returns (uint256, uint256) { //Get current price from the pool (uint160 sqrtRatioX96, , , , , , ) = pool.slot0(); return LiquidityAmounts.getAmountsForLiquidity( sqrtRatioX96, TickMath.getSqrtRatioAtTick(_tickLower), TickMath.getSqrtRatioAtTick(_tickUpper), liquidity ); } /// @dev Wrapper around `LiquidityAmounts.getLiquidityForAmounts()`. /// @param pool Uniswap V3 pool /// @param amount0 The amount of token0 /// @param amount1 The amount of token1 /// @param _tickLower The lower tick of the range /// @param _tickUpper The upper tick of the range /// @return The maximum amount of liquidity that can be held amount0 and amount1 function liquidityForAmounts( IUniswapV3Pool pool, uint256 amount0, uint256 amount1, int24 _tickLower, int24 _tickUpper ) internal view returns (uint128) { //Get current price from the pool (uint160 sqrtRatioX96, , , , , , ) = pool.slot0(); return LiquidityAmounts.getLiquidityForAmounts( sqrtRatioX96, TickMath.getSqrtRatioAtTick(_tickLower), TickMath.getSqrtRatioAtTick(_tickUpper), amount0, amount1 ); } /// @dev Amounts of token0 and token1 held in contract position. /// @param pool Uniswap V3 pool /// @param _tickLower The lower tick of the range /// @param _tickUpper The upper tick of the range /// @return amount0 The amount of token0 held in position /// @return amount1 The amount of token1 held in position function positionAmounts(IUniswapV3Pool pool, int24 _tickLower, int24 _tickUpper) internal view returns (uint256 amount0, uint256 amount1) { //Compute position key bytes32 positionKey = PositionKey.compute(address(this), _tickLower, _tickUpper); //Get Position.Info for specified ticks (uint128 liquidity, , , uint128 tokensOwed0, uint128 tokensOwed1) = pool.positions(positionKey); // Calc amounts of token0 and token1 including fees (amount0, amount1) = amountsForLiquidity(pool, liquidity, _tickLower, _tickUpper); amount0 = amount0.add(uint256(tokensOwed0)); amount1 = amount1.add(uint256(tokensOwed1)); } /// @dev Amount of liquidity in contract position. /// @param pool Uniswap V3 pool /// @param _tickLower The lower tick of the range /// @param _tickUpper The upper tick of the range /// @return liquidity stored in position function positionLiquidity(IUniswapV3Pool pool, int24 _tickLower, int24 _tickUpper) internal view returns (uint128 liquidity) { //Compute position key bytes32 positionKey = PositionKey.compute(address(this), _tickLower, _tickUpper); //Get liquidity stored in position (liquidity, , , , ) = pool.positions(positionKey); } /// @dev Common checks for valid tick inputs. /// @param tickLower The lower tick of the range /// @param tickUpper The upper tick of the range function checkRange(int24 tickLower, int24 tickUpper) internal pure { require(tickLower < tickUpper, "TLU"); require(tickLower >= TickMath.MIN_TICK, "TLM"); require(tickUpper <= TickMath.MAX_TICK, "TUM"); } /// @dev Rounds tick down towards negative infinity so that it's a multiple /// of `tickSpacing`. function floor(int24 tick, int24 tickSpacing) internal pure returns (int24) { int24 compressed = tick / tickSpacing; if (tick < 0 && tick % tickSpacing != 0) compressed--; return compressed * tickSpacing; } /// @dev Gets ticks with proportion equivalent to desired amount /// @param pool Uniswap V3 pool /// @param amount0Desired The desired amount of token0 /// @param amount1Desired The desired amount of token1 /// @param baseThreshold The range for upper and lower ticks /// @param tickSpacing The pool tick spacing /// @return tickLower The lower tick of the range /// @return tickUpper The upper tick of the range function getPositionTicks(IUniswapV3Pool pool, uint256 amount0Desired, uint256 amount1Desired, int24 baseThreshold, int24 tickSpacing) internal view returns(int24 tickLower, int24 tickUpper) { Info memory cache = Info(amount0Desired, amount1Desired, 0, 0, 0, 0, 0); // Get current price and tick from the pool ( uint160 sqrtPriceX96, int24 currentTick, , , , , ) = pool.slot0(); //Calc base ticks (cache.tickLower, cache.tickUpper) = baseTicks(currentTick, baseThreshold, tickSpacing); //Calc amounts of token0 and token1 that can be stored in base range (cache.amount0, cache.amount1) = amountsForTicks(pool, cache.amount0Desired, cache.amount1Desired, cache.tickLower, cache.tickUpper); //Liquidity that can be stored in base range cache.liquidity = liquidityForAmounts(pool, cache.amount0, cache.amount1, cache.tickLower, cache.tickUpper); //Get imbalanced token bool zeroGreaterOne = amountsDirection(cache.amount0Desired, cache.amount1Desired, cache.amount0, cache.amount1); //Calc new tick(upper or lower) for imbalanced token if ( zeroGreaterOne) { uint160 nextSqrtPrice0 = SqrtPriceMath.getNextSqrtPriceFromAmount0RoundingUp(sqrtPriceX96, cache.liquidity, cache.amount0Desired, false); cache.tickUpper = PoolVariables.floor(TickMath.getTickAtSqrtRatio(nextSqrtPrice0), tickSpacing); } else{ uint160 nextSqrtPrice1 = SqrtPriceMath.getNextSqrtPriceFromAmount1RoundingDown(sqrtPriceX96, cache.liquidity, cache.amount1Desired, false); cache.tickLower = PoolVariables.floor(TickMath.getTickAtSqrtRatio(nextSqrtPrice1), tickSpacing); } checkRange(cache.tickLower, cache.tickUpper); tickLower = cache.tickLower; tickUpper = cache.tickUpper; } /// @dev Gets amounts of token0 and token1 that can be stored in range of upper and lower ticks /// @param pool Uniswap V3 pool /// @param amount0Desired The desired amount of token0 /// @param amount1Desired The desired amount of token1 /// @param _tickLower The lower tick of the range /// @param _tickUpper The upper tick of the range /// @return amount0 amounts of token0 that can be stored in range /// @return amount1 amounts of token1 that can be stored in range function amountsForTicks(IUniswapV3Pool pool, uint256 amount0Desired, uint256 amount1Desired, int24 _tickLower, int24 _tickUpper) internal view returns(uint256 amount0, uint256 amount1) { uint128 liquidity = liquidityForAmounts(pool, amount0Desired, amount1Desired, _tickLower, _tickUpper); (amount0, amount1) = amountsForLiquidity(pool, liquidity, _tickLower, _tickUpper); } /// @dev Calc base ticks depending on base threshold and tickspacing function baseTicks(int24 currentTick, int24 baseThreshold, int24 tickSpacing) internal pure returns(int24 tickLower, int24 tickUpper) { int24 tickFloor = floor(currentTick, tickSpacing); tickLower = tickFloor - baseThreshold; tickUpper = tickFloor + baseThreshold; } /// @dev Get imbalanced token /// @param amount0Desired The desired amount of token0 /// @param amount1Desired The desired amount of token1 /// @param amount0 Amounts of token0 that can be stored in base range /// @param amount1 Amounts of token1 that can be stored in base range /// @return zeroGreaterOne true if token0 is imbalanced. False if token1 is imbalanced function amountsDirection(uint256 amount0Desired, uint256 amount1Desired, uint256 amount0, uint256 amount1) internal pure returns (bool zeroGreaterOne) { zeroGreaterOne = amount0Desired.sub(amount0).mul(amount1Desired) > amount1Desired.sub(amount1).mul(amount0Desired) ? true : false; } // Check price has not moved a lot recently. This mitigates price // manipulation during rebalance and also prevents placing orders // when it's too volatile. function checkDeviation(IUniswapV3Pool pool, int24 maxTwapDeviation, uint32 twapDuration) internal view { (, int24 currentTick, , , , , ) = pool.slot0(); int24 twap = getTwap(pool, twapDuration); int24 deviation = currentTick > twap ? currentTick - twap : twap - currentTick; require(deviation <= maxTwapDeviation, "PSC"); } /// @dev Fetches time-weighted average price in ticks from Uniswap pool for specified duration function getTwap(IUniswapV3Pool pool, uint32 twapDuration) internal view returns (int24) { uint32 _twapDuration = twapDuration; uint32[] memory secondsAgo = new uint32[](2); secondsAgo[0] = _twapDuration; secondsAgo[1] = 0; (int56[] memory tickCumulatives, ) = pool.observe(secondsAgo); return int24((tickCumulatives[1] - tickCumulatives[0]) / _twapDuration); } } pragma solidity >=0.5.0; /// @title Permissionless pool actions /// @notice Contains pool methods that can be called by anyone interface IUniswapV3PoolActions { /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends /// on tickLower, tickUpper, the amount of liquidity, and the current price. /// @param recipient The address for which the liquidity will be created /// @param tickLower The lower tick of the position in which to add liquidity /// @param tickUpper The upper tick of the position in which to add liquidity /// @param amount The amount of liquidity to mint /// @param data Any data that should be passed through to the callback /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback function mint( address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes calldata data ) external returns (uint256 amount0, uint256 amount1); /// @notice Collects tokens owed to a position /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity. /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity. /// @param recipient The address which should receive the fees collected /// @param tickLower The lower tick of the position for which to collect fees /// @param tickUpper The upper tick of the position for which to collect fees /// @param amount0Requested How much token0 should be withdrawn from the fees owed /// @param amount1Requested How much token1 should be withdrawn from the fees owed /// @return amount0 The amount of fees collected in token0 /// @return amount1 The amount of fees collected in token1 function collect( address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested ) external returns (uint128 amount0, uint128 amount1); /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0 /// @dev Fees must be collected separately via a call to #collect /// @param tickLower The lower tick of the position for which to burn liquidity /// @param tickUpper The upper tick of the position for which to burn liquidity /// @param amount How much liquidity to burn /// @return amount0 The amount of token0 sent to the recipient /// @return amount1 The amount of token1 sent to the recipient function burn( int24 tickLower, int24 tickUpper, uint128 amount ) external returns (uint256 amount0, uint256 amount1); /// @notice Swap token0 for token1, or token1 for token0 /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback /// @param recipient The address to receive the output of the swap /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0 /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative) /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this /// value after the swap. If one for zero, the price cannot be greater than this value after the swap /// @param data Any data to be passed through to the callback /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive function swap( address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes calldata data ) external returns (int256 amount0, int256 amount1); } pragma solidity >=0.5.0; /// @title Pool state that is not stored /// @notice Contains view functions to provide information about the pool that is computed rather than stored on the /// blockchain. The functions here may have variable gas costs. interface IUniswapV3PoolDerivedState { /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick, /// you must call it with secondsAgos = [3600, 0]. /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio. /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block /// timestamp function observe(uint32[] calldata secondsAgos) external view returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s); } pragma solidity >=0.5.0; /// @title Pool state that can change /// @notice These methods compose the pool's state, and can change with any frequency including multiple times /// per transaction interface IUniswapV3PoolState { /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas /// when accessed externally. /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value /// tick The current tick of the pool, i.e. according to the last tick transition that was run. /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick /// boundary. /// observationIndex The index of the last oracle observation that was written, /// observationCardinality The current maximum number of observations stored in the pool, /// observationCardinalityNext The next maximum number of observations, to be updated when the observation. /// feeProtocol The protocol fee for both tokens of the pool. /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0 /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee. /// unlocked Whether the pool is currently locked to reentrancy function slot0() external view returns ( uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked ); /// @notice Returns the information about a position by the position's key /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper /// @return _liquidity The amount of liquidity in the position, /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke, /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke, /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke, /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke function positions(bytes32 key) external view returns ( uint128 _liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1 ); } pragma solidity >=0.5.0; /// @title Pool state that never changes /// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values interface IUniswapV3PoolImmutables { /// @notice The first of the two tokens of the pool, sorted by address /// @return The token contract address function token0() external view returns (address); /// @notice The second of the two tokens of the pool, sorted by address /// @return The token contract address function token1() external view returns (address); /// @notice The pool tick spacing /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... /// This value is an int24 to avoid casting even though it is always positive. /// @return The tick spacing function tickSpacing() external view returns (int24); } pragma solidity >=0.5.0; /// @title The interface for a Uniswap V3 Pool /// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform /// to the ERC20 specification /// @dev The pool interface is broken up into many smaller pieces interface IUniswapV3Pool is IUniswapV3PoolImmutables, IUniswapV3PoolState, IUniswapV3PoolDerivedState, IUniswapV3PoolActions { } pragma solidity 0.7.6; pragma abicoder v2; /// @title This library is created to conduct a variety of burn liquidity methods library PoolActions { using PoolVariables for IUniswapV3Pool; using LowGasSafeMath for uint256; using SafeCast for uint256; /** * @notice Withdraws liquidity in share proportion to the Sorbetto's totalSupply. * @param pool Uniswap V3 pool * @param tickLower The lower tick of the range * @param tickUpper The upper tick of the range * @param totalSupply The amount of total shares in existence * @param share to burn * @param to Recipient of amounts * @return amount0 Amount of token0 withdrawed * @return amount1 Amount of token1 withdrawed */ function burnLiquidityShare( IUniswapV3Pool pool, int24 tickLower, int24 tickUpper, uint256 totalSupply, uint256 share, address to ) internal returns (uint256 amount0, uint256 amount1) { require(totalSupply > 0, "TS"); uint128 liquidityInPool = pool.positionLiquidity(tickLower, tickUpper); uint256 liquidity = uint256(liquidityInPool).mul(share) / totalSupply; if (liquidity > 0) { (amount0, amount1) = pool.burn(tickLower, tickUpper, liquidity.toUint128()); if (amount0 > 0 || amount1 > 0) { // collect liquidity share (amount0, amount1) = pool.collect( to, tickLower, tickUpper, amount0.toUint128(), amount1.toUint128() ); } } } /** * @notice Withdraws exact amount of liquidity * @param pool Uniswap V3 pool * @param tickLower The lower tick of the range * @param tickUpper The upper tick of the range * @param liquidity to burn * @param to Recipient of amounts * @return amount0 Amount of token0 withdrawed * @return amount1 Amount of token1 withdrawed */ function burnExactLiquidity( IUniswapV3Pool pool, int24 tickLower, int24 tickUpper, uint128 liquidity, address to ) internal returns (uint256 amount0, uint256 amount1) { uint128 liquidityInPool = pool.positionLiquidity(tickLower, tickUpper); require(liquidityInPool >= liquidity, "TML"); (amount0, amount1) = pool.burn(tickLower, tickUpper, liquidity); if (amount0 > 0 || amount1 > 0) { // collect liquidity share including earned fees (amount0, amount0) = pool.collect( to, tickLower, tickUpper, amount0.toUint128(), amount1.toUint128() ); } } /** * @notice Withdraws all liquidity in a range from Uniswap pool * @param pool Uniswap V3 pool * @param tickLower The lower tick of the range * @param tickUpper The upper tick of the range */ function burnAllLiquidity( IUniswapV3Pool pool, int24 tickLower, int24 tickUpper ) internal { // Burn all liquidity in this range uint128 liquidity = pool.positionLiquidity(tickLower, tickUpper); if (liquidity > 0) { pool.burn(tickLower, tickUpper, liquidity); } // Collect all owed tokens pool.collect( address(this), tickLower, tickUpper, type(uint128).max, type(uint128).max ); } } pragma solidity >=0.4.0; // computes square roots using the babylonian method // https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method library Babylonian { // credit for this implementation goes to // https://github.com/abdk-consulting/abdk-libraries-solidity/blob/master/ABDKMath64x64.sol#L687 function sqrt(uint256 x) internal pure returns (uint256) { if (x == 0) return 0; // this block is equivalent to r = uint256(1) << (BitMath.mostSignificantBit(x) / 2); // however that code costs significantly more gas uint256 xx = x; uint256 r = 1; if (xx >= 0x100000000000000000000000000000000) { xx >>= 128; r <<= 64; } if (xx >= 0x10000000000000000) { xx >>= 64; r <<= 32; } if (xx >= 0x100000000) { xx >>= 32; r <<= 16; } if (xx >= 0x10000) { xx >>= 16; r <<= 8; } if (xx >= 0x100) { xx >>= 8; r <<= 4; } if (xx >= 0x10) { xx >>= 4; r <<= 2; } if (xx >= 0x8) { r <<= 1; } r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; r = (r + x / r) >> 1; // Seven iterations should be enough uint256 r1 = x / r; return (r < r1 ? r : r1); } } pragma solidity ^0.7.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {LowGasSafeMAth} * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using LowGasSafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {LowGasSafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } } pragma solidity >=0.7.0; /// @title Function for getting the current chain ID library ChainId { /// @dev Gets the current chain ID /// @return chainId The current chain ID function get() internal pure returns (uint256 chainId) { assembly { chainId := chainid() } } } pragma solidity =0.7.6; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ISS"); require(v == 27 || v == 28, "ISV"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "IS"); return signer; } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } pragma solidity =0.7.6; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = ChainId.get(); _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (ChainId.get() == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256( abi.encode( typeHash, name, version, ChainId.get(), address(this) ) ); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over `owner`'s tokens, * given `owner`'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for `permit`, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } pragma solidity ^0.7.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using LowGasSafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "TEA")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "DEB")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "FZA"); require(recipient != address(0), "TZA"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "TEB"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "MZA"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "BZA"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "BEB"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "AFZA"); require(spender != address(0), "ATZA"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } pragma solidity =0.7.6; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping (address => Counters.Counter) private _nonces; //keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 private immutable _PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") { } /** * @dev See {IERC20Permit-permit}. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override { // solhint-disable-next-line not-rely-on-time require(block.timestamp <= deadline, "ED"); bytes32 structHash = keccak256( abi.encode( _PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline ) ); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "IS"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } } pragma solidity >=0.4.0; /// @title FixedPoint96 /// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format) /// @dev Used in SqrtPriceMath.sol library FixedPoint96 { uint8 internal constant RESOLUTION = 96; uint256 internal constant Q96 = 0x1000000000000000000000000; } pragma solidity >=0.5.0; /// @title Math functions that do not check inputs or outputs /// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks library UnsafeMath { /// @notice Returns ceil(x / y) /// @dev division by 0 has unspecified behavior, and must be checked externally /// @param x The dividend /// @param y The divisor /// @return z The quotient, ceil(x / y) function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) { assembly { z := add(div(x, y), gt(mod(x, y), 0)) } } /// @notice Returns floor(x / y) /// @dev division by 0 has unspecified behavior, and must be checked externally /// @param x The dividend /// @param y The divisor /// @return z The quotient, floor(x / y) function unsafeDiv(uint256 x, uint256 y) internal pure returns (uint256 z) { assembly { z := div(x, y) } } } pragma solidity >=0.4.0; /// @title Contains 512-bit math functions /// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision /// @dev Handles "phantom overflow" i.e., allows multiplication and division where an intermediate value overflows 256 bits library FullMath { /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 /// @param a The multiplicand /// @param b The multiplier /// @param denominator The divisor /// @return result The 256-bit result /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv function mulDiv( uint256 a, uint256 b, uint256 denominator ) internal pure returns (uint256 result) { // 512-bit multiply [prod1 prod0] = a * b // Compute the product mod 2**256 and mod 2**256 - 1 // then use the Chinese Remainder Theorem to reconstruct // the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2**256 + prod0 uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(a, b, not(0)) prod0 := mul(a, b) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division if (prod1 == 0) { require(denominator > 0); assembly { result := div(prod0, denominator) } return result; } // Make sure the result is less than 2**256. // Also prevents denominator == 0 require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0] // Compute remainder using mulmod uint256 remainder; assembly { remainder := mulmod(a, b, denominator) } // Subtract 256 bit number from 512 bit number assembly { prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator // Compute largest power of two divisor of denominator. // Always >= 1. uint256 twos = -denominator & denominator; // Divide denominator by power of two assembly { denominator := div(denominator, twos) } // Divide [prod1 prod0] by the factors of two assembly { prod0 := div(prod0, twos) } // Shift in bits from prod1 into prod0. For this we need // to flip `twos` such that it is 2**256 / twos. // If twos is zero, then it becomes one assembly { twos := add(div(sub(0, twos), twos), 1) } prod0 |= prod1 * twos; // Invert denominator mod 2**256 // Now that denominator is an odd number, it has an inverse // modulo 2**256 such that denominator * inv = 1 mod 2**256. // Compute the inverse by starting with a seed that is correct // correct for four bits. That is, denominator * inv = 1 mod 2**4 uint256 inv = (3 * denominator) ^ 2; // Now use Newton-Raphson iteration to improve the precision. // Thanks to Hensel's lifting lemma, this also works in modular // arithmetic, doubling the correct bits in each step. inv *= 2 - denominator * inv; // inverse mod 2**8 inv *= 2 - denominator * inv; // inverse mod 2**16 inv *= 2 - denominator * inv; // inverse mod 2**32 inv *= 2 - denominator * inv; // inverse mod 2**64 inv *= 2 - denominator * inv; // inverse mod 2**128 inv *= 2 - denominator * inv; // inverse mod 2**256 // Because the division is now exact we can divide by multiplying // with the modular inverse of denominator. This will give us the // correct result modulo 2**256. Since the precoditions guarantee // that the outcome is less than 2**256, this is the final result. // We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inv; return result; } /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 /// @param a The multiplicand /// @param b The multiplier /// @param denominator The divisor /// @return result The 256-bit result function mulDivRoundingUp( uint256 a, uint256 b, uint256 denominator ) internal pure returns (uint256 result) { result = mulDiv(a, b, denominator); if (mulmod(a, b, denominator) > 0) { require(result < type(uint256).max); result++; } } } pragma solidity >=0.5.0; /// @title Safe casting methods /// @notice Contains methods for safely casting between types library SafeCast { /// @notice Cast a uint256 to a uint160, revert on overflow /// @param y The uint256 to be downcasted /// @return z The downcasted integer, now type uint160 function toUint160(uint256 y) internal pure returns (uint160 z) { require((z = uint160(y)) == y); } /// @notice Cast a uint256 to a uint128, revert on overflow /// @param y The uint256 to be downcasted /// @return z The downcasted integer, now type uint128 function toUint128(uint256 y) internal pure returns (uint128 z) { require((z = uint128(y)) == y); } /// @notice Cast a int256 to a int128, revert on overflow or underflow /// @param y The int256 to be downcasted /// @return z The downcasted integer, now type int128 function toInt128(int256 y) internal pure returns (int128 z) { require((z = int128(y)) == y); } /// @notice Cast a uint256 to a int256, revert on overflow /// @param y The uint256 to be casted /// @return z The casted integer, now type int256 function toInt256(uint256 y) internal pure returns (int256 z) { require(y < 2**255); z = int256(y); } } pragma solidity >=0.7.0; /// @title Optimized overflow and underflow safe math operations /// @notice Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost library LowGasSafeMath { /// @notice Returns x + y, reverts if sum overflows uint256 /// @param x The augend /// @param y The addend /// @return z The sum of x and y function add(uint256 x, uint256 y) internal pure returns (uint256 z) { require((z = x + y) >= x); } /// @notice Returns x - y, reverts if underflows /// @param x The minuend /// @param y The subtrahend /// @return z The difference of x and y function sub(uint256 x, uint256 y) internal pure returns (uint256 z) { require((z = x - y) <= x); } /// @notice Returns x * y, reverts if overflows /// @param x The multiplicand /// @param y The multiplier /// @return z The product of x and y function mul(uint256 x, uint256 y) internal pure returns (uint256 z) { require(x == 0 || (z = x * y) / x == y); } /// @notice Returns x - y, reverts if underflows /// @param x The minuend /// @param y The subtrahend /// @return z The difference of x and y function sub(uint256 x, uint256 y, string memory errorMessage) internal pure returns (uint256 z) { require((z = x - y) <= x, errorMessage); } /// @notice Returns x + y, reverts if overflows or underflows /// @param x The augend /// @param y The addend /// @return z The sum of x and y function add(int256 x, int256 y) internal pure returns (int256 z) { require((z = x + y) >= x == (y >= 0)); } /// @notice Returns x - y, reverts if overflows or underflows /// @param x The minuend /// @param y The subtrahend /// @return z The difference of x and y function sub(int256 x, int256 y) internal pure returns (int256 z) { require((z = x - y) <= x == (y >= 0)); } /// @notice Returns x + y, reverts if sum overflows uint128 /// @param x The augend /// @param y The addend /// @return z The sum of x and y function add128(uint128 x, uint128 y) internal pure returns (uint128 z) { require((z = x + y) >= x); } /// @notice Returns x - y, reverts if underflows /// @param x The minuend /// @param y The subtrahend /// @return z The difference of x and y function sub128(uint128 x, uint128 y) internal pure returns (uint128 z) { require((z = x - y) <= x); } /// @notice Returns x * y, reverts if overflows /// @param x The multiplicand /// @param y The multiplier /// @return z The product of x and y function mul128(uint128 x, uint128 y) internal pure returns (uint128 z) { require(x == 0 || (z = x * y) / x == y); } /// @notice Returns x + y, reverts if sum overflows uint128 /// @param x The augend /// @param y The addend /// @return z The sum of x and y function add160(uint160 x, uint160 y) internal pure returns (uint160 z) { require((z = x + y) >= x); } /// @notice Returns x - y, reverts if underflows /// @param x The minuend /// @param y The subtrahend /// @return z The difference of x and y function sub160(uint160 x, uint160 y) internal pure returns (uint160 z) { require((z = x - y) <= x); } /// @notice Returns x * y, reverts if overflows /// @param x The multiplicand /// @param y The multiplier /// @return z The product of x and y function mul160(uint160 x, uint160 y) internal pure returns (uint160 z) { require(x == 0 || (z = x * y) / x == y); } } pragma solidity >=0.5.0; /// @title Functions based on Q64.96 sqrt price and liquidity /// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas library SqrtPriceMath { using LowGasSafeMath for uint256; using SafeCast for uint256; /// @notice Gets the next sqrt price given a delta of token0 /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the /// price less in order to not send too much output. /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96), /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount). /// @param sqrtPX96 The starting price, i.e. before accounting for the token0 delta /// @param liquidity The amount of usable liquidity /// @param amount How much of token0 to add or remove from virtual reserves /// @param add Whether to add or remove the amount of token0 /// @return The price after adding or removing amount, depending on add function getNextSqrtPriceFromAmount0RoundingUp( uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add ) internal pure returns (uint160) { // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price if (amount == 0) return sqrtPX96; uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION; if (add) { uint256 product; if ((product = amount * sqrtPX96) / amount == sqrtPX96) { uint256 denominator = numerator1 + product; if (denominator >= numerator1) // always fits in 160 bits return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator)); } return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96).add(amount))); } else { uint256 product; // if the product overflows, we know the denominator underflows // in addition, we must check that the denominator does not underflow require((product = amount * sqrtPX96) / amount == sqrtPX96 && numerator1 > product); uint256 denominator = numerator1 - product; return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160(); } } /// @notice Gets the next sqrt price given a delta of token1 /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the /// price less in order to not send too much output. /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity /// @param sqrtPX96 The starting price, i.e., before accounting for the token1 delta /// @param liquidity The amount of usable liquidity /// @param amount How much of token1 to add, or remove, from virtual reserves /// @param add Whether to add, or remove, the amount of token1 /// @return The price after adding or removing `amount` function getNextSqrtPriceFromAmount1RoundingDown( uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add ) internal pure returns (uint160) { // if we're adding (subtracting), rounding down requires rounding the quotient down (up) // in both cases, avoid a mulDiv for most inputs if (add) { uint256 quotient = ( amount <= type(uint160).max ? (amount << FixedPoint96.RESOLUTION) / liquidity : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity) ); return uint256(sqrtPX96).add(quotient).toUint160(); } else { uint256 quotient = ( amount <= type(uint160).max ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity) : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity) ); require(sqrtPX96 > quotient); // always fits 160 bits return uint160(sqrtPX96 - quotient); } } } pragma solidity >=0.6.0; library TransferHelper { /// @notice Transfers tokens from the targeted address to the given destination /// @notice Errors with 'STF' if transfer fails /// @param token The contract address of the token to be transferred /// @param from The originating address from which the tokens will be transferred /// @param to The destination address of the transfer /// @param value The amount to be transferred function safeTransferFrom( address token, address from, address to, uint256 value ) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'STF'); } /// @notice Transfers tokens from msg.sender to a recipient /// @dev Errors with ST if transfer fails /// @param token The contract address of the token which will be transferred /// @param to The recipient of the transfer /// @param value The value of the transfer function safeTransfer( address token, address to, uint256 value ) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'ST'); } /// @notice Transfers ETH to the recipient address /// @dev Fails with `STE` /// @param to The destination of the transfer /// @param value The value to be transferred function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, 'STE'); } } pragma solidity ^0.7.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 // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "RC"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } pragma solidity =0.7.6; /// @title Interface for WETH9 interface IWETH9 is IERC20 { /// @notice Deposit ether to get wrapped ether function deposit() external payable; } pragma solidity 0.7.6; /// @title Sorbetto Fragola is a yield enchancement v3 contract /// @dev Sorbetto fragola is a Uniswap V3 yield enchancement contract which acts as /// intermediary between the user who wants to provide liquidity to specific pools /// and earn fees from such actions. The contract ensures that user position is in /// range and earns maximum amount of fees available at current liquidity utilization /// rate. contract SorbettoFragola is ERC20Permit, ReentrancyGuard, ISorbettoFragola { using LowGasSafeMath for uint256; using LowGasSafeMath for uint160; using LowGasSafeMath for uint128; using UnsafeMath for uint256; using SafeCast for uint256; using PoolVariables for IUniswapV3Pool; using PoolActions for IUniswapV3Pool; //Any data passed through by the caller via the IUniswapV3PoolActions#mint call struct MintCallbackData { address payer; } //Any data passed through by the caller via the IUniswapV3PoolActions#swap call struct SwapCallbackData { bool zeroForOne; } // Info of each user struct UserInfo { uint256 token0Rewards; // The amount of fees in token 0 uint256 token1Rewards; // The amount of fees in token 1 uint256 token0PerSharePaid; // Token 0 reward debt uint256 token1PerSharePaid; // Token 1 reward debt } /// @notice Emitted when user adds liquidity /// @param sender The address that minted the liquidity /// @param liquidity The amount of liquidity added by the user to position /// @param amount0 How much token0 was required for the added liquidity /// @param amount1 How much token1 was required for the added liquidity event Deposit( address indexed sender, uint256 liquidity, uint256 amount0, uint256 amount1 ); /// @notice Emitted when user withdraws liquidity /// @param sender The address that minted the liquidity /// @param shares of liquidity withdrawn by the user from the position /// @param amount0 How much token0 was required for the added liquidity /// @param amount1 How much token1 was required for the added liquidity event Withdraw( address indexed sender, uint256 shares, uint256 amount0, uint256 amount1 ); /// @notice Emitted when fees was collected from the pool /// @param feesFromPool0 Total amount of fees collected in terms of token 0 /// @param feesFromPool1 Total amount of fees collected in terms of token 1 /// @param usersFees0 Total amount of fees collected by users in terms of token 0 /// @param usersFees1 Total amount of fees collected by users in terms of token 1 event CollectFees( uint256 feesFromPool0, uint256 feesFromPool1, uint256 usersFees0, uint256 usersFees1 ); /// @notice Emitted when sorbetto fragola changes the position in the pool /// @param tickLower Lower price tick of the positon /// @param tickUpper Upper price tick of the position /// @param amount0 Amount of token 0 deposited to the position /// @param amount1 Amount of token 1 deposited to the position event Rerange( int24 tickLower, int24 tickUpper, uint256 amount0, uint256 amount1 ); /// @notice Emitted when user collects his fee share /// @param sender User address /// @param fees0 Exact amount of fees claimed by the users in terms of token 0 /// @param fees1 Exact amount of fees claimed by the users in terms of token 1 event RewardPaid( address indexed sender, uint256 fees0, uint256 fees1 ); /// @notice Shows current Sorbetto's balances /// @param totalAmount0 Current token0 Sorbetto's balance /// @param totalAmount1 Current token1 Sorbetto's balance event Snapshot(uint256 totalAmount0, uint256 totalAmount1); event TransferGovernance(address indexed previousGovernance, address indexed newGovernance); /// @notice Prevents calls from users modifier onlyGovernance { require(msg.sender == governance, "OG"); _; } mapping(address => UserInfo) public userInfo; // Info of each user that provides liquidity tokens. /// @inheritdoc ISorbettoFragola address public immutable override token0; /// @inheritdoc ISorbettoFragola address public immutable override token1; // WETH address address public immutable weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // @inheritdoc ISorbettoFragola int24 public immutable override tickSpacing; uint24 immutable GLOBAL_DIVISIONER = 1e6; // for basis point (0.0001%) // @inheritdoc ISorbettoFragola IUniswapV3Pool public override pool; // Accrued protocol fees in terms of token0 uint256 public accruedProtocolFees0; // Accrued protocol fees in terms of token1 uint256 public accruedProtocolFees1; // Total lifetime accrued users fees in terms of token0 uint256 public usersFees0; // Total lifetime accrued users fees in terms of token1 uint256 public usersFees1; // intermediate variable for user fee token0 calculation uint256 public token0PerShareStored; // intermediate variable for user fee token1 calculation uint256 public token1PerShareStored; // Address of the Sorbetto's owner address public governance; // Pending to claim ownership address address public pendingGovernance; //Sorbetto fragola settings address address public strategy; // Current tick lower of sorbetto pool position int24 public override tickLower; // Current tick higher of sorbetto pool position int24 public override tickUpper; // Checks if sorbetto is initialized bool public finalized; /** * @dev After deploying, strategy can be set via `setStrategy()` * @param _pool Underlying Uniswap V3 pool with fee = 3000 * @param _strategy Underlying Sorbetto Strategy for Sorbetto settings */ constructor( address _pool, address _strategy ) ERC20("Popsicle LP V3 USDC/WETH", "PLP") ERC20Permit("Popsicle LP V3 USDC/WETH") { pool = IUniswapV3Pool(_pool); strategy = _strategy; token0 = pool.token0(); token1 = pool.token1(); tickSpacing = pool.tickSpacing(); governance = msg.sender; } //initialize strategy function init() external onlyGovernance { require(!finalized, "F"); finalized = true; int24 baseThreshold = tickSpacing * ISorbettoStrategy(strategy).tickRangeMultiplier(); ( , int24 currentTick, , , , , ) = pool.slot0(); int24 tickFloor = PoolVariables.floor(currentTick, tickSpacing); tickLower = tickFloor - baseThreshold; tickUpper = tickFloor + baseThreshold; PoolVariables.checkRange(tickLower, tickUpper); //check ticks also for overflow/underflow } /// @inheritdoc ISorbettoFragola function deposit( uint256 amount0Desired, uint256 amount1Desired ) external payable override nonReentrant checkDeviation updateVault(msg.sender) returns ( uint256 shares, uint256 amount0, uint256 amount1 ) { require(amount0Desired > 0 && amount1Desired > 0, "ANV"); uint128 liquidityLast = pool.positionLiquidity(tickLower, tickUpper); // compute the liquidity amount uint128 liquidity = pool.liquidityForAmounts(amount0Desired, amount1Desired, tickLower, tickUpper); (amount0, amount1) = pool.mint( address(this), tickLower, tickUpper, liquidity, abi.encode(MintCallbackData({payer: msg.sender}))); shares = _calcShare(liquidity, liquidityLast); _mint(msg.sender, shares); refundETH(); emit Deposit(msg.sender, shares, amount0, amount1); } /// @inheritdoc ISorbettoFragola function withdraw( uint256 shares ) external override nonReentrant checkDeviation updateVault(msg.sender) returns ( uint256 amount0, uint256 amount1 ) { require(shares > 0, "S"); (amount0, amount1) = pool.burnLiquidityShare(tickLower, tickUpper, totalSupply(), shares, msg.sender); // Burn shares _burn(msg.sender, shares); emit Withdraw(msg.sender, shares, amount0, amount1); } /// @inheritdoc ISorbettoFragola function rerange() external override nonReentrant checkDeviation updateVault(address(0)) { //Burn all liquidity from pool to rerange for Sorbetto's balances. pool.burnAllLiquidity(tickLower, tickUpper); // Emit snapshot to record balances uint256 balance0 = _balance0(); uint256 balance1 = _balance1(); emit Snapshot(balance0, balance1); int24 baseThreshold = tickSpacing * ISorbettoStrategy(strategy).tickRangeMultiplier(); //Get exact ticks depending on Sorbetto's balances (tickLower, tickUpper) = pool.getPositionTicks(balance0, balance1, baseThreshold, tickSpacing); //Get Liquidity for Sorbetto's balances uint128 liquidity = pool.liquidityForAmounts(balance0, balance1, tickLower, tickUpper); // Add liquidity to the pool (uint256 amount0, uint256 amount1) = pool.mint( address(this), tickLower, tickUpper, liquidity, abi.encode(MintCallbackData({payer: address(this)}))); emit Rerange(tickLower, tickUpper, amount0, amount1); } /// @inheritdoc ISorbettoFragola function rebalance() external override onlyGovernance nonReentrant checkDeviation updateVault(address(0)) { //Burn all liquidity from pool to rerange for Sorbetto's balances. pool.burnAllLiquidity(tickLower, tickUpper); //Calc base ticks (uint160 sqrtPriceX96, int24 currentTick, , , , , ) = pool.slot0(); PoolVariables.Info memory cache = PoolVariables.Info(0, 0, 0, 0, 0, 0, 0); int24 baseThreshold = tickSpacing * ISorbettoStrategy(strategy).tickRangeMultiplier(); (cache.tickLower, cache.tickUpper) = PoolVariables.baseTicks(currentTick, baseThreshold, tickSpacing); cache.amount0Desired = _balance0(); cache.amount1Desired = _balance1(); emit Snapshot(cache.amount0Desired, cache.amount1Desired); // Calc liquidity for base ticks cache.liquidity = pool.liquidityForAmounts(cache.amount0Desired, cache.amount1Desired, cache.tickLower, cache.tickUpper); // Get exact amounts for base ticks (cache.amount0, cache.amount1) = pool.amountsForLiquidity(cache.liquidity, cache.tickLower, cache.tickUpper); // Get imbalanced token bool zeroForOne = PoolVariables.amountsDirection(cache.amount0Desired, cache.amount1Desired, cache.amount0, cache.amount1); // Calculate the amount of imbalanced token that should be swapped. Calculations strive to achieve one to one ratio int256 amountSpecified = zeroForOne ? int256(cache.amount0Desired.sub(cache.amount0).unsafeDiv(2)) : int256(cache.amount1Desired.sub(cache.amount1).unsafeDiv(2)); // always positive. "overflow" safe convertion cuz we are dividing by 2 // Calculate Price limit depending on price impact uint160 exactSqrtPriceImpact = sqrtPriceX96.mul160(ISorbettoStrategy(strategy).priceImpactPercentage() / 2) / GLOBAL_DIVISIONER; uint160 sqrtPriceLimitX96 = zeroForOne ? sqrtPriceX96.sub160(exactSqrtPriceImpact) : sqrtPriceX96.add160(exactSqrtPriceImpact); //Swap imbalanced token as long as we haven't used the entire amountSpecified and haven't reached the price limit pool.swap( address(this), zeroForOne, amountSpecified, sqrtPriceLimitX96, abi.encode(SwapCallbackData({zeroForOne: zeroForOne})) ); (sqrtPriceX96, currentTick, , , , , ) = pool.slot0(); // Emit snapshot to record balances cache.amount0Desired = _balance0(); cache.amount1Desired = _balance1(); emit Snapshot(cache.amount0Desired, cache.amount1Desired); //Get exact ticks depending on Sorbetto's new balances (tickLower, tickUpper) = pool.getPositionTicks(cache.amount0Desired, cache.amount1Desired, baseThreshold, tickSpacing); cache.liquidity = pool.liquidityForAmounts(cache.amount0Desired, cache.amount1Desired, tickLower, tickUpper); // Add liquidity to the pool (cache.amount0, cache.amount1) = pool.mint( address(this), tickLower, tickUpper, cache.liquidity, abi.encode(MintCallbackData({payer: address(this)}))); emit Rerange(tickLower, tickUpper, cache.amount0, cache.amount1); } // Calcs user share depending on deposited amounts function _calcShare(uint128 liquidity, uint128 liquidityLast) internal view returns ( uint256 shares ) { shares = totalSupply() == 0 ? uint256(liquidity) : uint256(liquidity).mul(totalSupply()).unsafeDiv(uint256(liquidityLast)); } /// @dev Amount of token0 held as unused balance. function _balance0() internal view returns (uint256) { return IERC20(token0).balanceOf(address(this)); } /// @dev Amount of token1 held as unused balance. function _balance1() internal view returns (uint256) { return IERC20(token1).balanceOf(address(this)); } /// @dev collects fees from the pool function _earnFees() internal returns (uint256 userCollect0, uint256 userCollect1) { // Do zero-burns to poke the Uniswap pools so earned fees are updated pool.burn(tickLower, tickUpper, 0); (uint256 collect0, uint256 collect1) = pool.collect( address(this), tickLower, tickUpper, type(uint128).max, type(uint128).max ); // Calculate protocol's and users share of fees uint256 feeToProtocol0 = collect0.mul(ISorbettoStrategy(strategy).protocolFee()).unsafeDiv(GLOBAL_DIVISIONER); uint256 feeToProtocol1 = collect1.mul(ISorbettoStrategy(strategy).protocolFee()).unsafeDiv(GLOBAL_DIVISIONER); accruedProtocolFees0 = accruedProtocolFees0.add(feeToProtocol0); accruedProtocolFees1 = accruedProtocolFees1.add(feeToProtocol1); userCollect0 = collect0.sub(feeToProtocol0); userCollect1 = collect1.sub(feeToProtocol1); usersFees0 = usersFees0.add(userCollect0); usersFees1 = usersFees1.add(userCollect1); emit CollectFees(collect0, collect1, usersFees0, usersFees1); } /// @notice Returns current Sorbetto's position in pool function position() external view returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1) { bytes32 positionKey = PositionKey.compute(address(this), tickLower, tickUpper); (liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128, tokensOwed0, tokensOwed1) = pool.positions(positionKey); } /// @notice Pull in tokens from sender. Called to `msg.sender` after minting liquidity to a position from IUniswapV3Pool#mint. /// @dev In the implementation you must pay to the pool for the minted liquidity. /// @param amount0 The amount of token0 due to the pool for the minted liquidity /// @param amount1 The amount of token1 due to the pool for the minted liquidity /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#mint call function uniswapV3MintCallback( uint256 amount0, uint256 amount1, bytes calldata data ) external { require(msg.sender == address(pool), "FP"); MintCallbackData memory decoded = abi.decode(data, (MintCallbackData)); if (amount0 > 0) pay(token0, decoded.payer, msg.sender, amount0); if (amount1 > 0) pay(token1, decoded.payer, msg.sender, amount1); } /// @notice Called to `msg.sender` after minting swaping from IUniswapV3Pool#swap. /// @dev In the implementation you must pay to the pool for swap. /// @param amount0 The amount of token0 due to the pool for the swap /// @param amount1 The amount of token1 due to the pool for the swap /// @param _data Any data passed through by the caller via the IUniswapV3PoolActions#swap call function uniswapV3SwapCallback( int256 amount0, int256 amount1, bytes calldata _data ) external { require(msg.sender == address(pool), "FP"); require(amount0 > 0 || amount1 > 0); // swaps entirely within 0-liquidity regions are not supported SwapCallbackData memory data = abi.decode(_data, (SwapCallbackData)); bool zeroForOne = data.zeroForOne; if (zeroForOne) pay(token0, address(this), msg.sender, uint256(amount0)); else pay(token1, address(this), msg.sender, uint256(amount1)); } /// @param token The token to pay /// @param payer The entity that must pay /// @param recipient The entity that will receive payment /// @param value The amount to pay function pay( address token, address payer, address recipient, uint256 value ) internal { if (token == weth && address(this).balance >= value) { // pay with WETH9 IWETH9(weth).deposit{value: value}(); // wrap only what is needed to pay IWETH9(weth).transfer(recipient, value); } else if (payer == address(this)) { // pay with tokens already in the contract (for the exact input multihop case) TransferHelper.safeTransfer(token, recipient, value); } else { // pull payment TransferHelper.safeTransferFrom(token, payer, recipient, value); } } /** * @notice Used to withdraw accumulated protocol fees. */ function collectProtocolFees( uint256 amount0, uint256 amount1 ) external nonReentrant onlyGovernance updateVault(address(0)) { require(accruedProtocolFees0 >= amount0, "A0F"); require(accruedProtocolFees1 >= amount1, "A1F"); uint256 balance0 = _balance0(); uint256 balance1 = _balance1(); if (balance0 >= amount0 && balance1 >= amount1) { if (amount0 > 0) pay(token0, address(this), msg.sender, amount0); if (amount1 > 0) pay(token1, address(this), msg.sender, amount1); } else { uint128 liquidity = pool.liquidityForAmounts(amount0, amount1, tickLower, tickUpper); pool.burnExactLiquidity(tickLower, tickUpper, liquidity, msg.sender); } accruedProtocolFees0 = accruedProtocolFees0.sub(amount0); accruedProtocolFees1 = accruedProtocolFees1.sub(amount1); emit RewardPaid(msg.sender, amount0, amount1); } /** * @notice Used to withdraw accumulated user's fees. */ function collectFees(uint256 amount0, uint256 amount1) external nonReentrant updateVault(msg.sender) { UserInfo storage user = userInfo[msg.sender]; require(user.token0Rewards >= amount0, "A0R"); require(user.token1Rewards >= amount1, "A1R"); uint256 balance0 = _balance0(); uint256 balance1 = _balance1(); if (balance0 >= amount0 && balance1 >= amount1) { if (amount0 > 0) pay(token0, address(this), msg.sender, amount0); if (amount1 > 0) pay(token1, address(this), msg.sender, amount1); } else { uint128 liquidity = pool.liquidityForAmounts(amount0, amount1, tickLower, tickUpper); (amount0, amount1) = pool.burnExactLiquidity(tickLower, tickUpper, liquidity, msg.sender); } user.token0Rewards = user.token0Rewards.sub(amount0); user.token1Rewards = user.token1Rewards.sub(amount1); emit RewardPaid(msg.sender, amount0, amount1); } // Function modifier that calls update fees reward function modifier updateVault(address account) { _updateFeesReward(account); _; } // Function modifier that checks if price has not moved a lot recently. // This mitigates price manipulation during rebalance and also prevents placing orders // when it's too volatile. modifier checkDeviation() { pool.checkDeviation(ISorbettoStrategy(strategy).maxTwapDeviation(), ISorbettoStrategy(strategy).twapDuration()); _; } // Updates user's fees reward function _updateFeesReward(address account) internal { uint liquidity = pool.positionLiquidity(tickLower, tickUpper); if (liquidity == 0) return; // we can't poke when liquidity is zero (uint256 collect0, uint256 collect1) = _earnFees(); token0PerShareStored = _tokenPerShare(collect0, token0PerShareStored); token1PerShareStored = _tokenPerShare(collect1, token1PerShareStored); if (account != address(0)) { UserInfo storage user = userInfo[msg.sender]; user.token0Rewards = _fee0Earned(account, token0PerShareStored); user.token0PerSharePaid = token0PerShareStored; user.token1Rewards = _fee1Earned(account, token1PerShareStored); user.token1PerSharePaid = token1PerShareStored; } } // Calculates how much token0 is entitled for a particular user function _fee0Earned(address account, uint256 fee0PerShare_) internal view returns (uint256) { UserInfo memory user = userInfo[account]; return balanceOf(account) .mul(fee0PerShare_.sub(user.token0PerSharePaid)) .unsafeDiv(1e18) .add(user.token0Rewards); } // Calculates how much token1 is entitled for a particular user function _fee1Earned(address account, uint256 fee1PerShare_) internal view returns (uint256) { UserInfo memory user = userInfo[account]; return balanceOf(account) .mul(fee1PerShare_.sub(user.token1PerSharePaid)) .unsafeDiv(1e18) .add(user.token1Rewards); } // Calculates how much token is provided per LP token function _tokenPerShare(uint256 collected, uint256 tokenPerShareStored) internal view returns (uint256) { uint _totalSupply = totalSupply(); if (_totalSupply > 0) { return tokenPerShareStored .add( collected .mul(1e18) .unsafeDiv(_totalSupply) ); } return tokenPerShareStored; } /// @notice Refunds any ETH 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 refundETH() internal { if (address(this).balance > 0) TransferHelper.safeTransferETH(msg.sender, address(this).balance); } /** * @notice `setGovernance()` should be called by the existing governance * address prior to calling this function. */ function setGovernance(address _governance) external onlyGovernance { pendingGovernance = _governance; } /** * @notice Governance address is not updated until the new governance * address has called `acceptGovernance()` to accept this responsibility. */ function acceptGovernance() external { require(msg.sender == pendingGovernance, "PG"); emit TransferGovernance(governance, pendingGovernance); pendingGovernance = address(0); governance = msg.sender; } // Sets new strategy contract address for new settings function setStrategy(address _strategy) external onlyGovernance { require(_strategy != address(0), "NA"); strategy = _strategy; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"address","name":"_strategy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feesFromPool0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feesFromPool1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usersFees0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usersFees1","type":"uint256"}],"name":"CollectFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":false,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Rerange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"fees0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fees1","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalAmount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalAmount1","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousGovernance","type":"address"},{"indexed":true,"internalType":"address","name":"newGovernance","type":"address"}],"name":"TransferGovernance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"accruedProtocolFees0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accruedProtocolFees1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"collectFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"collectProtocolFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0Desired","type":"uint256"},{"internalType":"uint256","name":"amount1Desired","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"finalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"contract IUniswapV3Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"position","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"feeGrowthInside0LastX128","type":"uint256"},{"internalType":"uint256","name":"feeGrowthInside1LastX128","type":"uint256"},{"internalType":"uint128","name":"tokensOwed0","type":"uint128"},{"internalType":"uint128","name":"tokensOwed1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rerange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"setStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickLower","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickUpper","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0PerShareStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1PerShareStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3MintCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"token0Rewards","type":"uint256"},{"internalType":"uint256","name":"token1Rewards","type":"uint256"},{"internalType":"uint256","name":"token0PerSharePaid","type":"uint256"},{"internalType":"uint256","name":"token1PerSharePaid","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usersFees0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usersFees1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101e06040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120527fc02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000061018052613d0960ee1b6101c0523480156200006657600080fd5b506040516200654938038062006549833981016040819052620000899162000511565b6040518060400160405280601881526020017f506f707369636c65204c5020563320555344432f57455448000000000000000081525080604051806040016040528060018152602001603160f81b8152506040518060400160405280601881526020017f506f707369636c65204c5020563320555344432f574554480000000000000000815250604051806040016040528060038152602001620504c560ec1b81525081600390805190602001906200014492919062000424565b5080516200015a90600490602084019062000424565b50506005805460ff1916601217905550815160208084019190912082518383012060c082905260e081905290917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90620001bd9062002763620003d0821b17901c565b60a052620001cd818484620003d4565b60805261010052505060016007555050600980546001600160a01b038086166001600160a01b031992831617928390556012805486831693169290921790915560408051630dfe168160e01b81529051929091169250630dfe1681916004808301926020929190829003018186803b1580156200024957600080fd5b505afa1580156200025e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002849190620004ed565b60601b6001600160601b031916610140526009546040805163d21220a760e01b815290516001600160a01b039092169163d21220a791600480820192602092909190829003018186803b158015620002db57600080fd5b505afa158015620002f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003169190620004ed565b60601b6001600160601b03191661016052600954604080516334324e9f60e21b815290516001600160a01b039092169163d0c93a7c91600480820192602092909190829003018186803b1580156200036d57600080fd5b505afa15801562000382573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a8919062000548565b600290810b900b60e81b6101a0525050601080546001600160a01b0319163317905562000597565b4690565b6000838383620003ee620003d060201b620027631760201c565b30604051602001620004059594939291906200056b565b6040516020818303038152906040528051906020012090509392505050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200045c5760008555620004a7565b82601f106200047757805160ff1916838001178555620004a7565b82800160010185558215620004a7579182015b82811115620004a75782518255916020019190600101906200048a565b50620004b5929150620004b9565b5090565b5b80821115620004b55760008155600101620004ba565b80516001600160a01b0381168114620004e857600080fd5b919050565b600060208284031215620004ff578081fd5b6200050a82620004d0565b9392505050565b6000806040838503121562000524578081fd5b6200052f83620004d0565b91506200053f60208401620004d0565b90509250929050565b6000602082840312156200055a578081fd5b81518060020b81146200050a578182fd5b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b60805160a05160c05160e05161010051610120516101405160601c6101605160601c6101805160601c6101a05160e81c6101c05160e81c615ebe6200068b6000398061163f5280613d4f5280613e115250806114b752806114e052806119165280611c855280611f85528061203f52806124ab52508061100c5280612a165280612a5c5280612ae2525080610aaa52806111535280611ca95280611d46528061273452806129df5250806109745280610a7852806111215280611d1052806127035280612940525080611d9c5250806132f15250806133335250806133125250806132985250806132c85250615ebe6000f3fe6080604052600436106102f25760003560e01c806370a082311161018f578063ce81c6bc116100e1578063e1c7392a1161008a578063eb3221b411610064578063eb3221b4146107ae578063f39c38a0146107c3578063fa461e33146107d8576102f2565b8063e1c7392a14610762578063e2bbb15814610777578063eae989a214610799576102f2565b8063d3487997116100bb578063d348799714610702578063d505accf14610722578063dd62ed3e14610742576102f2565b8063ce81c6bc146106c3578063d0c93a7c146106d8578063d21220a7146106ed576102f2565b8063a457c2d711610143578063ab033ea91161011d578063ab033ea914610679578063b3f05b9714610699578063c5892c02146106ae576102f2565b8063a457c2d714610624578063a8c62e7614610644578063a9059cbb14610659576102f2565b80637ecebe00116101745780637ecebe00146105da57806395d89b41146105fa578063a00fa77f1461060f576102f2565b806370a08231146105a55780637d7c2a1c146105c5576102f2565b80632e1a7d4d116102485780633fc8cef3116101fc5780635aa6e675116101d65780635aa6e6751461055b5780636c751a10146105705780636cae7bf714610585576102f2565b80633fc8cef31461050f57806355b812a81461052457806359c4f90514610546576102f2565b806333a100ca1161022d57806333a100ca146104ba5780633644e515146104da57806339509351146104ef576102f2565b80632e1a7d4d1461046a578063313ce56714610498576102f2565b806316f0115b116102aa5780631959a002116102845780631959a00214610405578063238efcbc1461043557806323b872dd1461044a576102f2565b806316f0115b146103b957806318160ddd146103ce57806318db7c38146103f0576102f2565b8063095ea7b3116102db578063095ea7b3146103485780630dfe16811461037557806314c04c4f14610397576102f2565b806306fdde03146102f757806309218e9114610322575b600080fd5b34801561030357600080fd5b5061030c6107f8565b6040516103199190615989565b60405180910390f35b34801561032e57600080fd5b5061033761088f565b604051610319959493929190615d69565b34801561035457600080fd5b506103686103633660046152dc565b610954565b60405161031991906158a0565b34801561038157600080fd5b5061038a610972565b6040516103199190615740565b3480156103a357600080fd5b506103b76103b2366004615663565b610996565b005b3480156103c557600080fd5b5061038a610bac565b3480156103da57600080fd5b506103e3610bbb565b60405161031991906158ab565b3480156103fc57600080fd5b506103e3610bc1565b34801561041157600080fd5b506104256104203660046151d8565b610bc7565b6040516103199493929190615dbf565b34801561044157600080fd5b506103b7610bee565b34801561045657600080fd5b5061036861046536600461522c565b610c84565b34801561047657600080fd5b5061048a610485366004615633565b610d1d565b604051610319929190615d9b565b3480156104a457600080fd5b506104ad610f25565b6040516103199190615dda565b3480156104c657600080fd5b506103b76104d53660046151d8565b610f2e565b3480156104e657600080fd5b506103e3610fad565b3480156104fb57600080fd5b5061036861050a3660046152dc565b610fbc565b34801561051b57600080fd5b5061038a61100a565b34801561053057600080fd5b5061053961102e565b6040516103199190615932565b34801561055257600080fd5b5061053961103e565b34801561056757600080fd5b5061038a61104e565b34801561057c57600080fd5b506103e361105d565b34801561059157600080fd5b506103b76105a0366004615663565b611063565b3480156105b157600080fd5b506103e36105c03660046151d8565b61125b565b3480156105d157600080fd5b506103b761127a565b3480156105e657600080fd5b506103e36105f53660046151d8565b611af8565b34801561060657600080fd5b5061030c611b19565b34801561061b57600080fd5b506103e3611b7a565b34801561063057600080fd5b5061036861063f3660046152dc565b611b80565b34801561065057600080fd5b5061038a611beb565b34801561066557600080fd5b506103686106743660046152dc565b611bfa565b34801561068557600080fd5b506103b76106943660046151d8565b611c0e565b3480156106a557600080fd5b50610368611c67565b3480156106ba57600080fd5b506103e3611c77565b3480156106cf57600080fd5b506103e3611c7d565b3480156106e457600080fd5b50610539611c83565b3480156106f957600080fd5b5061038a611ca7565b34801561070e57600080fd5b506103b761071d366004615428565b611ccb565b34801561072e57600080fd5b506103b761073d36600461526c565b611d78565b34801561074e57600080fd5b506103e361075d3660046151f4565b611e5a565b34801561076e57600080fd5b506103b7611e85565b61078a610785366004615663565b6120c5565b60405161031993929190615da9565b3480156107a557600080fd5b506103e3612328565b3480156107ba57600080fd5b506103b761232e565b3480156107cf57600080fd5b5061038a612694565b3480156107e457600080fd5b506103b76107f3366004615428565b6126a3565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108845780601f1061085957610100808354040283529160200191610884565b820191906000526020600020905b81548152906001019060200180831161086757829003601f168201915b505050505090505b90565b6000806000806000806108c130601260149054906101000a900460020b601260179054906101000a900460020b612767565b60095460405163514ea4bf60e01b81529192506001600160a01b03169063514ea4bf906108f29084906004016158ab565b60a06040518083038186803b15801561090a57600080fd5b505afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610942919061552c565b939a9299509097509550909350915050565b600061096861096161279d565b84846127a1565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600260075414156109c25760405162461bcd60e51b81526004016109b990615d11565b60405180910390fd5b60026007556010546001600160a01b031633146109f15760405162461bcd60e51b81526004016109b990615cd7565b60006109fc81612855565b82600a541015610a1e5760405162461bcd60e51b81526004016109b990615d2d565b81600b541015610a405760405162461bcd60e51b81526004016109b990615af5565b6000610a4a612926565b90506000610a566129c5565b9050848210158015610a685750838110155b15610ad6578415610a9f57610a9f7f0000000000000000000000000000000000000000000000000000000000000000303388612a14565b8315610ad157610ad17f0000000000000000000000000000000000000000000000000000000000000000303387612a14565b610b44565b601254600954600091610b0c916001600160a01b03169088908890600160a01b8104600290810b91600160b81b9004900b612ba1565b601254600954919250610b40916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b8433612c47565b5050505b600a54610b519086612dd9565b600a55600b54610b619085612dd9565b600b5560405133907fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f5190610b989088908890615d9b565b60405180910390a250506001600755505050565b6009546001600160a01b031681565b60025490565b600d5481565b60086020526000908152604090208054600182015460028301546003909301549192909184565b6011546001600160a01b03163314610c185760405162461bcd60e51b81526004016109b990615a65565b6011546010546040516001600160a01b0392831692909116907f2276211a3f2c7bc1943fe83cc63f8f970204ff6a4b83c690df2bc54d8f2792ad90600090a36011805473ffffffffffffffffffffffffffffffffffffffff199081169091556010805490911633179055565b6000610c91848484612de9565b610d1284610c9d61279d565b610d0d856040518060400160405280600381526020016254454160e81b815250600160008b6001600160a01b03166001600160a01b031681526020019081526020016000206000610cec61279d565b6001600160a01b031681526020810191909152604001600020549190612f01565b6127a1565b5060015b9392505050565b60008060026007541415610d435760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b81529051610e5f926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b505afa158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc691906153eb565b601260009054906101000a90046001600160a01b03166001600160a01b03166326d895456040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1457600080fd5b505afa158015610e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4c9190615684565b6009546001600160a01b03169190612f2e565b33610e6981612855565b60008411610e895760405162461bcd60e51b81526004016109b990615c30565b601254610ec490600160a01b8104600290810b91600160b81b9004900b610eae610bbb565b6009546001600160a01b03169291908833612ffa565b9093509150610ed333856131af565b336001600160a01b03167f02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94858585604051610f1093929190615da9565b60405180910390a25060016007559092909150565b60055460ff1690565b6010546001600160a01b03163314610f585760405162461bcd60e51b81526004016109b990615cd7565b6001600160a01b038116610f7e5760405162461bcd60e51b81526004016109b990615c68565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000610fb7613294565b905090565b6000610968610fc961279d565b84610d0d8560016000610fda61279d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061335e565b7f000000000000000000000000000000000000000000000000000000000000000081565b601254600160b81b900460020b81565b601254600160a01b900460020b81565b6010546001600160a01b031681565b600e5481565b600260075414156110865760405162461bcd60e51b81526004016109b990615d11565b60026007553361109581612855565b33600090815260086020526040902080548411156110c55760405162461bcd60e51b81526004016109b990615abb565b82816001015410156110e95760405162461bcd60e51b81526004016109b990615c84565b60006110f3612926565b905060006110ff6129c5565b90508582101580156111115750848110155b1561117f578515611148576111487f0000000000000000000000000000000000000000000000000000000000000000303389612a14565b841561117a5761117a7f0000000000000000000000000000000000000000000000000000000000000000303388612a14565b6111f0565b6012546009546000916111b5916001600160a01b03169089908990600160a01b8104600290810b91600160b81b9004900b612ba1565b6012546009549192506111e9916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b8433612c47565b9097509550505b82546111fc9087612dd9565b8355600183015461120d9086612dd9565b600184015560405133907fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f51906112469089908990615d9b565b60405180910390a25050600160075550505050565b6001600160a01b0381166000908152602081905260409020545b919050565b6010546001600160a01b031633146112a45760405162461bcd60e51b81526004016109b990615cd7565b600260075414156112c75760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b81529051611312926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b600061131d81612855565b60125460095461134e916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b61336e565b600080600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561139f57600080fd5b505afa1580156113b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d79190615582565b50505050509150915060006040518060e001604052806000815260200160008152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b81525090506000601260009054906101000a90046001600160a01b03166001600160a01b03166328a90bc26040518163ffffffff1660e01b815260040160206040518083038186803b15801561147d57600080fd5b505afa158015611491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b591906153eb565b7f000000000000000000000000000000000000000000000000000000000000000002905061150483827f00000000000000000000000000000000000000000000000000000000000000006134a5565b600290810b810b60c085015290810b900b60a0830152611522612926565b825261152c6129c5565b6020830181905282516040517f492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b198926115649291615d9b565b60405180910390a18151602083015160a084015160c0850151600954611599946001600160a01b039091169390929091612ba1565b6001600160801b03166080830181905260a083015160c08401516009546115cd936001600160a01b039091169290916134c2565b6060840181905260408401829052835160208501516000936115ee9361356b565b90506000816116225761161d600261161786606001518760200151612dd990919063ffffffff16565b906135a6565b611639565b604084015184516116399160029161161791612dd9565b905060007f000000000000000000000000000000000000000000000000000000000000000062ffffff166117116002601260009054906101000a90046001600160a01b03166001600160a01b0316630a7013236040518163ffffffff1660e01b815260040160206040518083038186803b1580156116b657600080fd5b505afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190615610565b62ffffff16816116fa57fe5b6001600160a01b038b169162ffffff9104166135ab565b6001600160a01b03168161172157fe5b0490506000836117435761173e6001600160a01b038916836135fd565b611756565b6117566001600160a01b03891683613619565b6009546040805160208082018352881515825291519394506001600160a01b039092169263128acb089230928992899288926117929201615d5d565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016117c1959493929190615778565b6040805180830381600087803b1580156117da57600080fd5b505af11580156117ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118129190615405565b5050600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561186257600080fd5b505afa158015611876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189a9190615582565b50949c50929a506118af935061292692505050565b86526118b96129c5565b6020870181905286516040517f492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b198926118f19291615d9b565b60405180910390a18551602087015160095461193a926001600160a01b0390911691887f0000000000000000000000000000000000000000000000000000000000000000613635565b6012805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b9290921685029190911791829055895160208b01516009546119aa966001600160a01b039091169592949193908204830b929104900b612ba1565b6001600160801b03166080870181905260095460125460408051602080820183523080835292516001600160a01b0390951695633c8a7d8d959394600160a01b8104600290810b95600160b81b909204900b939192611a0a929101615d4a565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611a399594939291906157bd565b6040805180830381600087803b158015611a5257600080fd5b505af1158015611a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8a9190615405565b60608801819052604080890183905260125490517fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f93611ae093600160a01b8404600290810b94600160b81b9004900b92615966565b60405180910390a15050600160075550505050505050565b6001600160a01b038116600090815260066020526040812061096c90613834565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108845780601f1061085957610100808354040283529160200191610884565b600b5481565b6000610968611b8d61279d565b84610d0d85604051806040016040528060038152602001622222a160e91b81525060016000611bba61279d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612f01565b6012546001600160a01b031681565b6000610968611c0761279d565b8484612de9565b6010546001600160a01b03163314611c385760405162461bcd60e51b81526004016109b990615cd7565b6011805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b601254600160d01b900460ff1681565b600f5481565b600c5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6009546001600160a01b03163314611cf55760405162461bcd60e51b81526004016109b990615a0e565b6000611d0382840184615479565b90508415611d3b57611d3b7f000000000000000000000000000000000000000000000000000000000000000082600001513388612a14565b8315611d7157611d717f000000000000000000000000000000000000000000000000000000000000000082600001513387612a14565b5050505050565b83421115611d985760405162461bcd60e51b81526004016109b9906159f2565b60007f0000000000000000000000000000000000000000000000000000000000000000888888611dc78c613838565b89604051602001611ddd969594939291906158b4565b6040516020818303038152906040528051906020012090506000611e008261386a565b90506000611e108287878761387d565b9050896001600160a01b0316816001600160a01b031614611e435760405162461bcd60e51b81526004016109b990615bda565b611e4e8a8a8a6127a1565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6010546001600160a01b03163314611eaf5760405162461bcd60e51b81526004016109b990615cd7565b601254600160d01b900460ff1615611ed95760405162461bcd60e51b81526004016109b990615ca1565b601280547fffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffff16600160d01b17908190556040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b158015611f4b57600080fd5b505afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8391906153eb565b7f00000000000000000000000000000000000000000000000000000000000000000290506000600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015611ff757600080fd5b505afa15801561200b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202f9190615582565b50505050509150506000612063827f0000000000000000000000000000000000000000000000000000000000000000613975565b6012805462ffffff60a01b1916600160a01b868403600290810b62ffffff90811683029390931762ffffff60b81b1916600160b81b868a01830b94909416840217938490559394506120c093908304810b9291909104900b6139c1565b505050565b6000806000600260075414156120ed5760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b81529051612138926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b3361214281612855565b6000861180156121525750600085115b61216e5760405162461bcd60e51b81526004016109b990615a9e565b6012546009546000916121a0916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613a39565b6012546009549192506000916121db916001600160a01b03909116908a908a90600160a01b8104600290810b91600160b81b9004900b612ba1565b600954601254604080516020808201835233825291519495506001600160a01b0390931693633c8a7d8d933093600160a01b8104600290810b94600160b81b909204900b92889261222e92909101615d4a565b6040516020818303038152906040526040518663ffffffff1660e01b815260040161225d9594939291906157bd565b6040805180830381600087803b15801561227657600080fd5b505af115801561228a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ae9190615405565b90955093506122bd8183613ad4565b95506122c93387613b1e565b6122d1613bd2565b336001600160a01b03167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e87878760405161230e93929190615da9565b60405180910390a250505060016007819055509250925092565b600a5481565b600260075414156123515760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b8152905161239c926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b60006123a781612855565b6012546009546123d8916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b61336e565b60006123e2612926565b905060006123ee6129c5565b90507f492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b1988282604051612421929190615d9b565b60405180910390a16012546040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b15801561246e57600080fd5b505afa158015612482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a691906153eb565b6009547f000000000000000000000000000000000000000000000000000000000000000091820292506124ea916001600160a01b0390911690859085908590613635565b6012805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b9290921685029190911791829055600954600094612556946001600160a01b039092169389938993928204830b929104900b612ba1565b600954601254604080516020808201835230808352925195965060009586956001600160a01b031694633c8a7d8d9493600160a01b8204600290810b94600160b81b909304900b928a926125ab929101615d4a565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016125da9594939291906157bd565b6040805180830381600087803b1580156125f357600080fd5b505af1158015612607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262b9190615405565b6012546040519294509092507fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f9161267e91600160a01b8104600290810b92600160b81b909204900b9086908690615966565b60405180910390a1505060016007555050505050565b6011546001600160a01b031681565b6009546001600160a01b031633146126cd5760405162461bcd60e51b81526004016109b990615a0e565b60008413806126dc5750600083135b6126e557600080fd5b60006126f3828401846154be565b8051909150801561272f5761272a7f0000000000000000000000000000000000000000000000000000000000000000303389612a14565b61275b565b61275b7f0000000000000000000000000000000000000000000000000000000000000000303388612a14565b505050505050565b4690565b600083838360405160200161277e939291906156d4565b6040516020818303038152906040528051906020012090509392505050565b3390565b6001600160a01b0383166127c75760405162461bcd60e51b81526004016109b990615a2a565b6001600160a01b0382166127ed5760405162461bcd60e51b81526004016109b990615cf3565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906128489085906158ab565b60405180910390a3505050565b601254600954600091612887916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613a39565b6001600160801b031690508061289d5750612923565b6000806128a8613be4565b915091506128b882600e54613f2a565b600e55600f546128c9908290613f2a565b600f556001600160a01b0384161561291f57336000908152600860205260409020600e546128f8908690613f6d565b8155600e546002820155600f54612910908690613fe8565b6001820155600f546003909101555b5050505b50565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190612975903090600401615740565b60206040518083038186803b15801561298d57600080fd5b505afa1580156129a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb7919061564b565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190612975903090600401615740565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316148015612a555750804710155b15612b74577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ab557600080fd5b505af1158015612ac9573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb9250612b1c91508590859060040161583d565b602060405180830381600087803b158015612b3657600080fd5b505af1158015612b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b6e91906153cf565b5061291f565b6001600160a01b038316301415612b9557612b90848383614054565b61291f565b61291f8484848461416f565b600080866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015612bdd57600080fd5b505afa158015612bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c159190615582565b5050505050509050612c3a81612c2a8661428c565b612c338661428c565b89896145b2565b9150505b95945050505050565b60008080612c5f6001600160a01b0389168888613a39565b9050846001600160801b0316816001600160801b03161015612c935760405162461bcd60e51b81526004016109b990615ba0565b60405163a34123a760e01b81526001600160a01b0389169063a34123a790612cc3908a908a908a90600401615940565b6040805180830381600087803b158015612cdc57600080fd5b505af1158015612cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d149190615405565b909350915082151580612d275750600082115b15612dce57876001600160a01b0316634f1eb3d8858989612d4788614674565b612d5088614674565b6040518663ffffffff1660e01b8152600401612d70959493929190615800565b6040805180830381600087803b158015612d8957600080fd5b505af1158015612d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc191906154fa565b506001600160801b031692505b509550959350505050565b8082038281111561096c57600080fd5b6001600160a01b038316612e0f5760405162461bcd60e51b81526004016109b990615ad8565b6001600160a01b038216612e355760405162461bcd60e51b81526004016109b990615a81565b612e408383836120c0565b60408051808201825260038152622a22a160e91b6020808301919091526001600160a01b0386166000908152908190529190912054612e80918390612f01565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612eaf908261335e565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906128489085906158ab565b8183038184821115612f265760405162461bcd60e51b81526004016109b99190615989565b509392505050565b6000836001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015612f6957600080fd5b505afa158015612f7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa19190615582565b50505050509150506000612fb5858461468a565b905060008160020b8360020b13612fce57828203612fd2565b8183035b90508460020b8160020b131561275b5760405162461bcd60e51b81526004016109b990615c13565b6000806000851161301d5760405162461bcd60e51b81526004016109b9906159d6565b60006130336001600160a01b038a168989613a39565b905060008661304b6001600160801b038416886147ca565b8161305257fe5b04905080156131a257896001600160a01b031663a34123a78a8a61307585614674565b6040518463ffffffff1660e01b815260040161309393929190615940565b6040805180830381600087803b1580156130ac57600080fd5b505af11580156130c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130e49190615405565b9094509250831515806130f75750600083115b156131a257896001600160a01b0316634f1eb3d8868b8b61311789614674565b61312089614674565b6040518663ffffffff1660e01b8152600401613140959493929190615800565b6040805180830381600087803b15801561315957600080fd5b505af115801561316d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061319191906154fa565b6001600160801b0391821695501692505b5050965096945050505050565b6001600160a01b0382166131d55760405162461bcd60e51b81526004016109b990615a48565b6131e1826000836120c0565b60408051808201825260038152622122a160e91b6020808301919091526001600160a01b0385166000908152908190529190912054613221918390612f01565b6001600160a01b0383166000908152602081905260409020556002546132479082612dd9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906132889085906158ab565b60405180910390a35050565b60007f00000000000000000000000000000000000000000000000000000000000000006132bf612763565b14156132ec57507f000000000000000000000000000000000000000000000000000000000000000061088c565b6133577f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006147ed565b905061088c565b8082018281101561096c57600080fd5b60006133846001600160a01b0385168484613a39565b90506001600160801b038116156134195760405163a34123a760e01b81526001600160a01b0385169063a34123a7906133c590869086908690600401615940565b6040805180830381600087803b1580156133de57600080fd5b505af11580156133f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134169190615405565b50505b6040516309e3d67b60e31b81526001600160a01b03851690634f1eb3d890613454903090879087906001600160801b03908190600401615800565b6040805180830381600087803b15801561346d57600080fd5b505af1158015613481573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275b91906154fa565b60008060006134b48685613975565b858103979501955050505050565b6000806000866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561350057600080fd5b505afa158015613514573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135389190615582565b505050505050905061355c8161354d8761428c565b6135568761428c565b8961480f565b92509250505b94509492505050565b60006135818561357b8685612dd9565b906147ca565b61358f8561357b8887612dd9565b1161359b576000612c3e565b600195945050505050565b900490565b60006001600160a01b03831615806135f45750816001600160a01b0316836001600160a01b03168385029250826001600160a01b0316816135e857fe5b046001600160a01b0316145b61096c57600080fd5b8082016001600160a01b03808416908216101561096c57600080fd5b8082036001600160a01b03808416908216111561096c57600080fd5b60008060006040518060e00160405280888152602001878152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b8152509050600080896001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156136bf57600080fd5b505afa1580156136d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136f79190615582565b50505050509150915061370b8188886134a5565b600290810b810b60c0860181905291810b900b60a0850181905284516020860151613738938e93906148aa565b606085018190526040850182905260a085015160c086015161375f938e9390929091612ba1565b6001600160801b03166080840152825160208401516040850151606086015160009361378e939092909161356b565b905080156137d35760006137ad848660800151876000015160006148d9565b90506137c16137bb826149d3565b89613975565b600290810b900b60c086015250613806565b60006137ea84866080015187602001516000614ce6565b90506137f86137bb826149d3565b600290810b900b60a0860152505b6138188460a001518560c001516139c1565b8360a0015195508360c001519450505050509550959350505050565b5490565b6001600160a01b038116600090815260066020526040812061385981613834565b915061386481614dc2565b50919050565b600061096c613877613294565b83614dcb565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156138bf5760405162461bcd60e51b81526004016109b99061599c565b8360ff16601b14806138d457508360ff16601c145b6138f05760405162461bcd60e51b81526004016109b990615b2f565b6000600186868686604051600081526020016040526040516139159493929190615914565b6020604051602081039080840390855afa158015613937573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661396a5760405162461bcd60e51b81526004016109b990615bda565b90505b949350505050565b6000808260020b8460020b8161398757fe5b05905060008460020b1280156139ae57508260020b8460020b816139a757fe5b0760020b15155b156139b857600019015b90910292915050565b8060020b8260020b126139e65760405162461bcd60e51b81526004016109b9906159b9565b620d89e719600283900b1215613a0e5760405162461bcd60e51b81526004016109b990615bbd565b620d89e8600282900b1315613a355760405162461bcd60e51b81526004016109b990615b83565b5050565b600080613a47308585612767565b60405163514ea4bf60e01b81529091506001600160a01b0386169063514ea4bf90613a769084906004016158ab565b60a06040518083038186803b158015613a8e57600080fd5b505afa158015613aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ac6919061552c565b509298975050505050505050565b6000613ade610bbb565b15613b1057613b0b826001600160801b0316611617613afb610bbb565b6001600160801b038716906147ca565b610d16565b50506001600160801b031690565b6001600160a01b038216613b445760405162461bcd60e51b81526004016109b990615c4b565b613b50600083836120c0565b600254613b5d908261335e565b6002556001600160a01b038216600090815260208190526040902054613b83908261335e565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906132889085906158ab565b4715613be257613be23347614dfe565b565b60095460125460405163a34123a760e01b815260009283926001600160a01b039091169163a34123a791613c3391600160a01b8204600290810b92600160b81b9004900b908690600401615940565b6040805180830381600087803b158015613c4c57600080fd5b505af1158015613c60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c849190615405565b50506009546012546040516309e3d67b60e31b815260009283926001600160a01b0390911691634f1eb3d891613ce1913091600160a01b8104600290810b92600160b81b909204900b906001600160801b03908190600401615800565b6040805180830381600087803b158015613cfa57600080fd5b505af1158015613d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d3291906154fa565b6001600160801b031691506001600160801b031691506000613e087f000000000000000000000000000000000000000000000000000000000000000062ffffff16611617601260009054906101000a90046001600160a01b03166001600160a01b031663b0e21e8a6040518163ffffffff1660e01b815260040160206040518083038186803b158015613dc457600080fd5b505afa158015613dd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfc9190615610565b869062ffffff166147ca565b90506000613e867f000000000000000000000000000000000000000000000000000000000000000062ffffff16611617601260009054906101000a90046001600160a01b03166001600160a01b031663b0e21e8a6040518163ffffffff1660e01b815260040160206040518083038186803b158015613dc457600080fd5b600a54909150613e96908361335e565b600a55600b54613ea6908261335e565b600b55613eb38483612dd9565b9550613ebf8382612dd9565b600c54909550613ecf908761335e565b600c55600d54613edf908661335e565b600d819055600c546040517f1ac56d7e866e3f5ea9aa92aa11758ead39a0a5f013f3fefb0f47cb9d008edd2792613f1a928892889290615dbf565b60405180910390a1505050509091565b600080613f35610bbb565b90508015613f6557613f5d613f568261161787670de0b6b3a76400006147ca565b849061335e565b91505061096c565b509092915050565b6001600160a01b038216600090815260086020908152604080832081516080810183528154808252600183015494820194909452600282015492810183905260039091015460608201529161396d91613fe290670de0b6b3a76400009061161790613fd9908990612dd9565b61357b8a61125b565b9061335e565b6001600160a01b038216600090815260086020908152604080832081516080810183528154815260018201549381018490526002820154928101929092526003015460608201819052909161396d91613fe290670de0b6b3a76400009061161790613fd9908990612dd9565b600080846001600160a01b031663a9059cbb60e01b858560405160240161407c92919061583d565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516140e79190615709565b6000604051808303816000865af19150503d8060008114614124576040519150601f19603f3d011682016040523d82523d6000602084013e614129565b606091505b509150915081801561415357508051158061415357508080602001905181019061415391906153cf565b611d715760405162461bcd60e51b81526004016109b990615b67565b600080856001600160a01b03166323b872dd60e01b86868660405160240161419993929190615754565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516142049190615709565b6000604051808303816000865af19150503d8060008114614241576040519150601f19603f3d011682016040523d82523d6000602084013e614246565b606091505b509150915081801561427057508051158061427057508080602001905181019061427091906153cf565b61275b5760405162461bcd60e51b81526004016109b990615bf6565b60008060008360020b126142a3578260020b6142ab565b8260020b6000035b9050620d89e88111156142d05760405162461bcd60e51b81526004016109b990615b4c565b6000600182166142f157700100000000000000000000000000000000614303565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff1690506002821615614337576ffff97272373d413259a46990580e213a0260801c5b6004821615614356576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b6008821615614375576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b6010821615614394576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156143b3576fff973b41fa98c081472e6896dfb254c00260801c5b60408216156143d2576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156143f1576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615614411576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615614431576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615614451576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615614471576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615614491576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156144b1576fa9f746462d870fdf8a65dc1f90e061e50260801c5b6140008216156144d1576f70d869a156d2a1b890bb3df62baf32f70260801c5b6180008216156144f1576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615614512576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615614532576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615614551576d2216e584f5fa1ea926041bedfe980260801c5b6208000082161561456e576b048a170391f7dc42444e8fa20260801c5b60008460020b131561458957806000198161458557fe5b0490505b64010000000081061561459d5760016145a0565b60005b60ff16602082901c0192505050919050565b6000836001600160a01b0316856001600160a01b031611156145d2579293925b846001600160a01b0316866001600160a01b0316116145fd576145f6858585614e8b565b9050612c3e565b836001600160a01b0316866001600160a01b0316101561465f576000614624878686614e8b565b90506000614633878986614eee565b9050806001600160801b0316826001600160801b0316106146545780614656565b815b92505050612c3e565b61466a858584614eee565b9695505050505050565b806001600160801b038116811461127557600080fd5b60408051600280825260608201835260009284928492909160208301908036833701905050905081816000815181106146bf57fe5b602002602001019063ffffffff16908163ffffffff16815250506000816001815181106146e857fe5b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0387169063883bdbfd9061472c908590600401615856565b60006040518083038186803b15801561474457600080fd5b505afa158015614758573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526147809190810190615307565b5090508263ffffffff168160008151811061479757fe5b6020026020010151826001815181106147ac57fe5b60200260200101510360060b816147bf57fe5b059695505050505050565b60008215806135f4575050818102818382816147e257fe5b041461096c57600080fd5b60008383836147fa612763565b3060405160200161277e9594939291906158e8565b600080836001600160a01b0316856001600160a01b03161115614830579293925b846001600160a01b0316866001600160a01b03161161485b57614854858585614f2b565b9150613562565b836001600160a01b0316866001600160a01b0316101561489457614880868585614f2b565b915061488d858785614f94565b9050613562565b61489f858585614f94565b905094509492505050565b60008060006148bc8888888888612ba1565b90506148ca888287876134c2565b90999098509650505050505050565b6000826148e757508361396d565b7bffffffffffffffffffffffffffffffff000000000000000000000000606085901b168215614987576001600160a01b0386168481029085828161492757fe5b041415614958578181018281106149565761494c83896001600160a01b031683614fd7565b935050505061396d565b505b61497e82614979878a6001600160a01b0316868161497257fe5b049061335e565b615011565b9250505061396d565b6001600160a01b0386168481029085828161499e57fe5b041480156149ab57508082115b6149b457600080fd5b80820361494c6149ce846001600160a01b038b1684614fd7565b61501c565b60006401000276a36001600160a01b03831610801590614a0f575073fffd8963efd1fc6a506488495d951d5263988d266001600160a01b038316105b614a2b5760405162461bcd60e51b81526004016109b990615cbc565b77ffffffffffffffffffffffffffffffffffffffff00000000602083901b166001600160801b03811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c97908811961790941790921717909117171760808110614acc57607f810383901c9150614ad6565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d607f198f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581026f028f6481ab7f045a5af012a19d003aa9198101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b14614cd757886001600160a01b0316614cbb8261428c565b6001600160a01b03161115614cd05781614cd2565b805b614cd9565b815b9998505050505050505050565b60008115614d545760006001600160a01b03841115614d1c57614d1784600160601b876001600160801b0316615032565b614d34565b6001600160801b038516606085901b81614d3257fe5b045b9050614d4c6149ce6001600160a01b0388168361335e565b91505061396d565b60006001600160a01b03841115614d8257614d7d84600160601b876001600160801b0316614fd7565b614d99565b614d99606085901b6001600160801b038716615011565b905080866001600160a01b031611614db057600080fd5b6001600160a01b03861603905061396d565b80546001019055565b60008282604051602001614de0929190615725565b60405160208183030381529060405280519060200120905092915050565b604080516000808252602082019092526001600160a01b038416908390604051614e289190615709565b60006040518083038185875af1925050503d8060008114614e65576040519150601f19603f3d011682016040523d82523d6000602084013e614e6a565b606091505b50509050806120c05760405162461bcd60e51b81526004016109b990615b12565b6000826001600160a01b0316846001600160a01b03161115614eab579192915b6000614ece856001600160a01b0316856001600160a01b0316600160601b615032565b9050612c3e614ee984838888036001600160a01b0316615032565b614674565b6000826001600160a01b0316846001600160a01b03161115614f0e579192915b61396d614ee983600160601b8787036001600160a01b0316615032565b6000826001600160a01b0316846001600160a01b03161115614f4b579192915b836001600160a01b0316614f84606060ff16846001600160801b0316901b8686036001600160a01b0316866001600160a01b0316615032565b81614f8b57fe5b04949350505050565b6000826001600160a01b0316846001600160a01b03161115614fb4579192915b61396d826001600160801b03168585036001600160a01b0316600160601b615032565b6000614fe4848484615032565b905060008280614ff057fe5b8486091115610d1657600019811061500757600080fd5b6001019392505050565b808204910615150190565b806001600160a01b038116811461127557600080fd5b6000808060001985870986860292508281109083900303905080615068576000841161505d57600080fd5b508290049050610d16565b80841161507457600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b600082601f8301126150f1578081fd5b8151602061510661510183615e0c565b615de8565b8281528181019085830183850287018401881015615122578586fd5b855b8581101561514957815161513781615e56565b84529284019290840190600101615124565b5090979650505050505050565b60008083601f840112615167578182fd5b50813567ffffffffffffffff81111561517e578182fd5b60208301915083602082850101111561519657600080fd5b9250929050565b8051600281900b811461127557600080fd5b80516001600160801b038116811461127557600080fd5b805161ffff8116811461127557600080fd5b6000602082840312156151e9578081fd5b8135610d1681615e56565b60008060408385031215615206578081fd5b823561521181615e56565b9150602083013561522181615e56565b809150509250929050565b600080600060608486031215615240578081fd5b833561524b81615e56565b9250602084013561525b81615e56565b929592945050506040919091013590565b600080600080600080600060e0888a031215615286578283fd5b873561529181615e56565b965060208801356152a181615e56565b9550604088013594506060880135935060808801356152bf81615e79565b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156152ee578182fd5b82356152f981615e56565b946020939093013593505050565b60008060408385031215615319578182fd5b825167ffffffffffffffff80821115615330578384fd5b818501915085601f830112615343578384fd5b8151602061535361510183615e0c565b82815281810190858301838502870184018b101561536f578889fd5b8896505b8487101561539f5780518060060b811461538b57898afd5b835260019690960195918301918301615373565b50918801519196509093505050808211156153b8578283fd5b506153c5858286016150e1565b9150509250929050565b6000602082840312156153e0578081fd5b8151610d1681615e6b565b6000602082840312156153fc578081fd5b610d168261519d565b60008060408385031215615417578182fd5b505080516020909101519092909150565b6000806000806060858703121561543d578182fd5b8435935060208501359250604085013567ffffffffffffffff811115615461578283fd5b61546d87828801615156565b95989497509550505050565b60006020828403121561548a578081fd5b6040516020810181811067ffffffffffffffff821117156154a757fe5b60405282356154b581615e56565b81529392505050565b6000602082840312156154cf578081fd5b6040516020810181811067ffffffffffffffff821117156154ec57fe5b60405282356154b581615e6b565b6000806040838503121561550c578182fd5b615515836151af565b9150615523602084016151af565b90509250929050565b600080600080600060a08688031215615543578283fd5b61554c866151af565b94506020860151935060408601519250615568606087016151af565b9150615576608087016151af565b90509295509295909350565b600080600080600080600060e0888a03121561559c578081fd5b87516155a781615e56565b96506155b56020890161519d565b95506155c3604089016151c6565b94506155d1606089016151c6565b93506155df608089016151c6565b925060a08801516155ef81615e79565b60c089015190925061560081615e6b565b8091505092959891949750929550565b600060208284031215615621578081fd5b815162ffffff81168114610d16578182fd5b600060208284031215615644578081fd5b5035919050565b60006020828403121561565c578081fd5b5051919050565b60008060408385031215615675578182fd5b50508035926020909101359150565b600060208284031215615695578081fd5b815163ffffffff81168114610d16578182fd5b600081518084526156c0816020860160208601615e2a565b601f01601f19169290920160200192915050565b60609390931b6bffffffffffffffffffffffff19168352600291820b60e890811b6014850152910b901b6017820152601a0190565b6000825161571b818460208701615e2a565b9190910192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006001600160a01b038088168352861515602084015285604084015280851660608401525060a060808301526157b260a08301846156a8565b979650505050505050565b60006001600160a01b03871682528560020b60208301528460020b60408301526001600160801b038416606083015260a060808301526157b260a08301846156a8565b6001600160a01b03959095168552600293840b60208601529190920b60408401526001600160801b03918216606084015216608082015260a00190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561589457835163ffffffff1683529284019291840191600101615872565b50909695505050505050565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b60029190910b815260200190565b600293840b81529190920b60208201526001600160801b03909116604082015260600190565b600294850b81529290930b60208301526040820152606081019190915260800190565b600060208252610d1660208301846156a8565b60208082526003908201526249535360e81b604082015260600190565b602080825260039082015262544c5560e81b604082015260600190565b602080825260029082015261545360f01b604082015260600190565b602080825260029082015261115160f21b604082015260600190565b602080825260029082015261046560f41b604082015260600190565b60208082526004908201526341465a4160e01b604082015260600190565b602080825260039082015262425a4160e81b604082015260600190565b602080825260029082015261504760f01b604082015260600190565b602080825260039082015262545a4160e81b604082015260600190565b60208082526003908201526220a72b60e91b604082015260600190565b60208082526003908201526220982960e91b604082015260600190565b602080825260039082015262465a4160e81b604082015260600190565b6020808252600390820152622098a360e91b604082015260600190565b60208082526003908201526253544560e81b604082015260600190565b60208082526003908201526224a9ab60e91b604082015260600190565b6020808252600190820152601560fa1b604082015260600190565b60208082526002908201526114d560f21b604082015260600190565b60208082526003908201526254554d60e81b604082015260600190565b60208082526003908201526215135360ea1b604082015260600190565b602080825260039082015262544c4d60e81b604082015260600190565b602080825260029082015261495360f01b604082015260600190565b60208082526003908201526229aa2360e91b604082015260600190565b60208082526003908201526250534360e81b604082015260600190565b6020808252600190820152605360f81b604082015260600190565b6020808252600390820152624d5a4160e81b604082015260600190565b6020808252600290820152614e4160f01b604082015260600190565b6020808252600390820152622098a960e91b604082015260600190565b6020808252600190820152602360f91b604082015260600190565b6020808252600190820152602960f91b604082015260600190565b6020808252600290820152614f4760f01b604082015260600190565b60208082526004908201526341545a4160e01b604082015260600190565b602080825260029082015261524360f01b604082015260600190565b60208082526003908201526220982360e91b604082015260600190565b90516001600160a01b0316815260200190565b90511515815260200190565b6001600160801b0395861681526020810194909452604084019290925283166060830152909116608082015260a00190565b918252602082015260400190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60405181810167ffffffffffffffff81118282101715615e0457fe5b604052919050565b600067ffffffffffffffff821115615e2057fe5b5060209081020190565b60005b83811015615e45578181015183820152602001615e2d565b8381111561291f5750506000910152565b6001600160a01b038116811461292357600080fd5b801515811461292357600080fd5b60ff8116811461292357600080fdfea26469706673582212203ca14bcb5106b46acd07d618d2e769fbd9614c18c237340a6b73256cf843d1f964736f6c6343000706003300000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f564000000000000000000000000027642f0eebb38f8d8285aeb86ddf14adba940c4f
Deployed Bytecode
0x6080604052600436106102f25760003560e01c806370a082311161018f578063ce81c6bc116100e1578063e1c7392a1161008a578063eb3221b411610064578063eb3221b4146107ae578063f39c38a0146107c3578063fa461e33146107d8576102f2565b8063e1c7392a14610762578063e2bbb15814610777578063eae989a214610799576102f2565b8063d3487997116100bb578063d348799714610702578063d505accf14610722578063dd62ed3e14610742576102f2565b8063ce81c6bc146106c3578063d0c93a7c146106d8578063d21220a7146106ed576102f2565b8063a457c2d711610143578063ab033ea91161011d578063ab033ea914610679578063b3f05b9714610699578063c5892c02146106ae576102f2565b8063a457c2d714610624578063a8c62e7614610644578063a9059cbb14610659576102f2565b80637ecebe00116101745780637ecebe00146105da57806395d89b41146105fa578063a00fa77f1461060f576102f2565b806370a08231146105a55780637d7c2a1c146105c5576102f2565b80632e1a7d4d116102485780633fc8cef3116101fc5780635aa6e675116101d65780635aa6e6751461055b5780636c751a10146105705780636cae7bf714610585576102f2565b80633fc8cef31461050f57806355b812a81461052457806359c4f90514610546576102f2565b806333a100ca1161022d57806333a100ca146104ba5780633644e515146104da57806339509351146104ef576102f2565b80632e1a7d4d1461046a578063313ce56714610498576102f2565b806316f0115b116102aa5780631959a002116102845780631959a00214610405578063238efcbc1461043557806323b872dd1461044a576102f2565b806316f0115b146103b957806318160ddd146103ce57806318db7c38146103f0576102f2565b8063095ea7b3116102db578063095ea7b3146103485780630dfe16811461037557806314c04c4f14610397576102f2565b806306fdde03146102f757806309218e9114610322575b600080fd5b34801561030357600080fd5b5061030c6107f8565b6040516103199190615989565b60405180910390f35b34801561032e57600080fd5b5061033761088f565b604051610319959493929190615d69565b34801561035457600080fd5b506103686103633660046152dc565b610954565b60405161031991906158a0565b34801561038157600080fd5b5061038a610972565b6040516103199190615740565b3480156103a357600080fd5b506103b76103b2366004615663565b610996565b005b3480156103c557600080fd5b5061038a610bac565b3480156103da57600080fd5b506103e3610bbb565b60405161031991906158ab565b3480156103fc57600080fd5b506103e3610bc1565b34801561041157600080fd5b506104256104203660046151d8565b610bc7565b6040516103199493929190615dbf565b34801561044157600080fd5b506103b7610bee565b34801561045657600080fd5b5061036861046536600461522c565b610c84565b34801561047657600080fd5b5061048a610485366004615633565b610d1d565b604051610319929190615d9b565b3480156104a457600080fd5b506104ad610f25565b6040516103199190615dda565b3480156104c657600080fd5b506103b76104d53660046151d8565b610f2e565b3480156104e657600080fd5b506103e3610fad565b3480156104fb57600080fd5b5061036861050a3660046152dc565b610fbc565b34801561051b57600080fd5b5061038a61100a565b34801561053057600080fd5b5061053961102e565b6040516103199190615932565b34801561055257600080fd5b5061053961103e565b34801561056757600080fd5b5061038a61104e565b34801561057c57600080fd5b506103e361105d565b34801561059157600080fd5b506103b76105a0366004615663565b611063565b3480156105b157600080fd5b506103e36105c03660046151d8565b61125b565b3480156105d157600080fd5b506103b761127a565b3480156105e657600080fd5b506103e36105f53660046151d8565b611af8565b34801561060657600080fd5b5061030c611b19565b34801561061b57600080fd5b506103e3611b7a565b34801561063057600080fd5b5061036861063f3660046152dc565b611b80565b34801561065057600080fd5b5061038a611beb565b34801561066557600080fd5b506103686106743660046152dc565b611bfa565b34801561068557600080fd5b506103b76106943660046151d8565b611c0e565b3480156106a557600080fd5b50610368611c67565b3480156106ba57600080fd5b506103e3611c77565b3480156106cf57600080fd5b506103e3611c7d565b3480156106e457600080fd5b50610539611c83565b3480156106f957600080fd5b5061038a611ca7565b34801561070e57600080fd5b506103b761071d366004615428565b611ccb565b34801561072e57600080fd5b506103b761073d36600461526c565b611d78565b34801561074e57600080fd5b506103e361075d3660046151f4565b611e5a565b34801561076e57600080fd5b506103b7611e85565b61078a610785366004615663565b6120c5565b60405161031993929190615da9565b3480156107a557600080fd5b506103e3612328565b3480156107ba57600080fd5b506103b761232e565b3480156107cf57600080fd5b5061038a612694565b3480156107e457600080fd5b506103b76107f3366004615428565b6126a3565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108845780601f1061085957610100808354040283529160200191610884565b820191906000526020600020905b81548152906001019060200180831161086757829003601f168201915b505050505090505b90565b6000806000806000806108c130601260149054906101000a900460020b601260179054906101000a900460020b612767565b60095460405163514ea4bf60e01b81529192506001600160a01b03169063514ea4bf906108f29084906004016158ab565b60a06040518083038186803b15801561090a57600080fd5b505afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610942919061552c565b939a9299509097509550909350915050565b600061096861096161279d565b84846127a1565b5060015b92915050565b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b600260075414156109c25760405162461bcd60e51b81526004016109b990615d11565b60405180910390fd5b60026007556010546001600160a01b031633146109f15760405162461bcd60e51b81526004016109b990615cd7565b60006109fc81612855565b82600a541015610a1e5760405162461bcd60e51b81526004016109b990615d2d565b81600b541015610a405760405162461bcd60e51b81526004016109b990615af5565b6000610a4a612926565b90506000610a566129c5565b9050848210158015610a685750838110155b15610ad6578415610a9f57610a9f7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48303388612a14565b8315610ad157610ad17f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2303387612a14565b610b44565b601254600954600091610b0c916001600160a01b03169088908890600160a01b8104600290810b91600160b81b9004900b612ba1565b601254600954919250610b40916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b8433612c47565b5050505b600a54610b519086612dd9565b600a55600b54610b619085612dd9565b600b5560405133907fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f5190610b989088908890615d9b565b60405180910390a250506001600755505050565b6009546001600160a01b031681565b60025490565b600d5481565b60086020526000908152604090208054600182015460028301546003909301549192909184565b6011546001600160a01b03163314610c185760405162461bcd60e51b81526004016109b990615a65565b6011546010546040516001600160a01b0392831692909116907f2276211a3f2c7bc1943fe83cc63f8f970204ff6a4b83c690df2bc54d8f2792ad90600090a36011805473ffffffffffffffffffffffffffffffffffffffff199081169091556010805490911633179055565b6000610c91848484612de9565b610d1284610c9d61279d565b610d0d856040518060400160405280600381526020016254454160e81b815250600160008b6001600160a01b03166001600160a01b031681526020019081526020016000206000610cec61279d565b6001600160a01b031681526020810191909152604001600020549190612f01565b6127a1565b5060015b9392505050565b60008060026007541415610d435760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b81529051610e5f926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b505afa158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc691906153eb565b601260009054906101000a90046001600160a01b03166001600160a01b03166326d895456040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1457600080fd5b505afa158015610e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4c9190615684565b6009546001600160a01b03169190612f2e565b33610e6981612855565b60008411610e895760405162461bcd60e51b81526004016109b990615c30565b601254610ec490600160a01b8104600290810b91600160b81b9004900b610eae610bbb565b6009546001600160a01b03169291908833612ffa565b9093509150610ed333856131af565b336001600160a01b03167f02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94858585604051610f1093929190615da9565b60405180910390a25060016007559092909150565b60055460ff1690565b6010546001600160a01b03163314610f585760405162461bcd60e51b81526004016109b990615cd7565b6001600160a01b038116610f7e5760405162461bcd60e51b81526004016109b990615c68565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000610fb7613294565b905090565b6000610968610fc961279d565b84610d0d8560016000610fda61279d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061335e565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b601254600160b81b900460020b81565b601254600160a01b900460020b81565b6010546001600160a01b031681565b600e5481565b600260075414156110865760405162461bcd60e51b81526004016109b990615d11565b60026007553361109581612855565b33600090815260086020526040902080548411156110c55760405162461bcd60e51b81526004016109b990615abb565b82816001015410156110e95760405162461bcd60e51b81526004016109b990615c84565b60006110f3612926565b905060006110ff6129c5565b90508582101580156111115750848110155b1561117f578515611148576111487f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48303389612a14565b841561117a5761117a7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2303388612a14565b6111f0565b6012546009546000916111b5916001600160a01b03169089908990600160a01b8104600290810b91600160b81b9004900b612ba1565b6012546009549192506111e9916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b8433612c47565b9097509550505b82546111fc9087612dd9565b8355600183015461120d9086612dd9565b600184015560405133907fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f51906112469089908990615d9b565b60405180910390a25050600160075550505050565b6001600160a01b0381166000908152602081905260409020545b919050565b6010546001600160a01b031633146112a45760405162461bcd60e51b81526004016109b990615cd7565b600260075414156112c75760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b81529051611312926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b600061131d81612855565b60125460095461134e916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b61336e565b600080600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561139f57600080fd5b505afa1580156113b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d79190615582565b50505050509150915060006040518060e001604052806000815260200160008152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b81525090506000601260009054906101000a90046001600160a01b03166001600160a01b03166328a90bc26040518163ffffffff1660e01b815260040160206040518083038186803b15801561147d57600080fd5b505afa158015611491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b591906153eb565b7f000000000000000000000000000000000000000000000000000000000000000a02905061150483827f000000000000000000000000000000000000000000000000000000000000000a6134a5565b600290810b810b60c085015290810b900b60a0830152611522612926565b825261152c6129c5565b6020830181905282516040517f492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b198926115649291615d9b565b60405180910390a18151602083015160a084015160c0850151600954611599946001600160a01b039091169390929091612ba1565b6001600160801b03166080830181905260a083015160c08401516009546115cd936001600160a01b039091169290916134c2565b6060840181905260408401829052835160208501516000936115ee9361356b565b90506000816116225761161d600261161786606001518760200151612dd990919063ffffffff16565b906135a6565b611639565b604084015184516116399160029161161791612dd9565b905060007f00000000000000000000000000000000000000000000000000000000000f424062ffffff166117116002601260009054906101000a90046001600160a01b03166001600160a01b0316630a7013236040518163ffffffff1660e01b815260040160206040518083038186803b1580156116b657600080fd5b505afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190615610565b62ffffff16816116fa57fe5b6001600160a01b038b169162ffffff9104166135ab565b6001600160a01b03168161172157fe5b0490506000836117435761173e6001600160a01b038916836135fd565b611756565b6117566001600160a01b03891683613619565b6009546040805160208082018352881515825291519394506001600160a01b039092169263128acb089230928992899288926117929201615d5d565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016117c1959493929190615778565b6040805180830381600087803b1580156117da57600080fd5b505af11580156117ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118129190615405565b5050600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561186257600080fd5b505afa158015611876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189a9190615582565b50949c50929a506118af935061292692505050565b86526118b96129c5565b6020870181905286516040517f492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b198926118f19291615d9b565b60405180910390a18551602087015160095461193a926001600160a01b0390911691887f000000000000000000000000000000000000000000000000000000000000000a613635565b6012805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b9290921685029190911791829055895160208b01516009546119aa966001600160a01b039091169592949193908204830b929104900b612ba1565b6001600160801b03166080870181905260095460125460408051602080820183523080835292516001600160a01b0390951695633c8a7d8d959394600160a01b8104600290810b95600160b81b909204900b939192611a0a929101615d4a565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611a399594939291906157bd565b6040805180830381600087803b158015611a5257600080fd5b505af1158015611a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8a9190615405565b60608801819052604080890183905260125490517fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f93611ae093600160a01b8404600290810b94600160b81b9004900b92615966565b60405180910390a15050600160075550505050505050565b6001600160a01b038116600090815260066020526040812061096c90613834565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108845780601f1061085957610100808354040283529160200191610884565b600b5481565b6000610968611b8d61279d565b84610d0d85604051806040016040528060038152602001622222a160e91b81525060016000611bba61279d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612f01565b6012546001600160a01b031681565b6000610968611c0761279d565b8484612de9565b6010546001600160a01b03163314611c385760405162461bcd60e51b81526004016109b990615cd7565b6011805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b601254600160d01b900460ff1681565b600f5481565b600c5481565b7f000000000000000000000000000000000000000000000000000000000000000a81565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6009546001600160a01b03163314611cf55760405162461bcd60e51b81526004016109b990615a0e565b6000611d0382840184615479565b90508415611d3b57611d3b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4882600001513388612a14565b8315611d7157611d717f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc282600001513387612a14565b5050505050565b83421115611d985760405162461bcd60e51b81526004016109b9906159f2565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611dc78c613838565b89604051602001611ddd969594939291906158b4565b6040516020818303038152906040528051906020012090506000611e008261386a565b90506000611e108287878761387d565b9050896001600160a01b0316816001600160a01b031614611e435760405162461bcd60e51b81526004016109b990615bda565b611e4e8a8a8a6127a1565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6010546001600160a01b03163314611eaf5760405162461bcd60e51b81526004016109b990615cd7565b601254600160d01b900460ff1615611ed95760405162461bcd60e51b81526004016109b990615ca1565b601280547fffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffff16600160d01b17908190556040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b158015611f4b57600080fd5b505afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8391906153eb565b7f000000000000000000000000000000000000000000000000000000000000000a0290506000600960009054906101000a90046001600160a01b03166001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015611ff757600080fd5b505afa15801561200b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202f9190615582565b50505050509150506000612063827f000000000000000000000000000000000000000000000000000000000000000a613975565b6012805462ffffff60a01b1916600160a01b868403600290810b62ffffff90811683029390931762ffffff60b81b1916600160b81b868a01830b94909416840217938490559394506120c093908304810b9291909104900b6139c1565b505050565b6000806000600260075414156120ed5760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b81529051612138926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b3361214281612855565b6000861180156121525750600085115b61216e5760405162461bcd60e51b81526004016109b990615a9e565b6012546009546000916121a0916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613a39565b6012546009549192506000916121db916001600160a01b03909116908a908a90600160a01b8104600290810b91600160b81b9004900b612ba1565b600954601254604080516020808201835233825291519495506001600160a01b0390931693633c8a7d8d933093600160a01b8104600290810b94600160b81b909204900b92889261222e92909101615d4a565b6040516020818303038152906040526040518663ffffffff1660e01b815260040161225d9594939291906157bd565b6040805180830381600087803b15801561227657600080fd5b505af115801561228a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ae9190615405565b90955093506122bd8183613ad4565b95506122c93387613b1e565b6122d1613bd2565b336001600160a01b03167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e87878760405161230e93929190615da9565b60405180910390a250505060016007819055509250925092565b600a5481565b600260075414156123515760405162461bcd60e51b81526004016109b990615d11565b60026007556012546040805163e7c7cb9160e01b8152905161239c926001600160a01b03169163e7c7cb91916004808301926020929190829003018186803b158015610d8e57600080fd5b60006123a781612855565b6012546009546123d8916001600160a01b0390911690600160a01b8104600290810b91600160b81b9004900b61336e565b60006123e2612926565b905060006123ee6129c5565b90507f492fbd8cfdd942203e99f6bc74253a1e1f5791b0644612279e778349f353b1988282604051612421929190615d9b565b60405180910390a16012546040805163145485e160e11b815290516000926001600160a01b0316916328a90bc2916004808301926020929190829003018186803b15801561246e57600080fd5b505afa158015612482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a691906153eb565b6009547f000000000000000000000000000000000000000000000000000000000000000a91820292506124ea916001600160a01b0390911690859085908590613635565b6012805462ffffff60b81b1916600160b81b600293840b62ffffff90811682029290921762ffffff60a01b1916600160a01b95850b9290921685029190911791829055600954600094612556946001600160a01b039092169389938993928204830b929104900b612ba1565b600954601254604080516020808201835230808352925195965060009586956001600160a01b031694633c8a7d8d9493600160a01b8204600290810b94600160b81b909304900b928a926125ab929101615d4a565b6040516020818303038152906040526040518663ffffffff1660e01b81526004016125da9594939291906157bd565b6040805180830381600087803b1580156125f357600080fd5b505af1158015612607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262b9190615405565b6012546040519294509092507fe8cca0c7750fd7d917d80f8fdf0471f461983adb519dab0c25dc7ebfe828e05f9161267e91600160a01b8104600290810b92600160b81b909204900b9086908690615966565b60405180910390a1505060016007555050505050565b6011546001600160a01b031681565b6009546001600160a01b031633146126cd5760405162461bcd60e51b81526004016109b990615a0e565b60008413806126dc5750600083135b6126e557600080fd5b60006126f3828401846154be565b8051909150801561272f5761272a7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48303389612a14565b61275b565b61275b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2303388612a14565b505050505050565b4690565b600083838360405160200161277e939291906156d4565b6040516020818303038152906040528051906020012090509392505050565b3390565b6001600160a01b0383166127c75760405162461bcd60e51b81526004016109b990615a2a565b6001600160a01b0382166127ed5760405162461bcd60e51b81526004016109b990615cf3565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906128489085906158ab565b60405180910390a3505050565b601254600954600091612887916001600160a01b031690600160a01b8104600290810b91600160b81b9004900b613a39565b6001600160801b031690508061289d5750612923565b6000806128a8613be4565b915091506128b882600e54613f2a565b600e55600f546128c9908290613f2a565b600f556001600160a01b0384161561291f57336000908152600860205260409020600e546128f8908690613f6d565b8155600e546002820155600f54612910908690613fe8565b6001820155600f546003909101555b5050505b50565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4816906370a0823190612975903090600401615740565b60206040518083038186803b15801561298d57600080fd5b505afa1580156129a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb7919061564b565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216906370a0823190612975903090600401615740565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316846001600160a01b0316148015612a555750804710155b15612b74577f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ab557600080fd5b505af1158015612ac9573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216935063a9059cbb9250612b1c91508590859060040161583d565b602060405180830381600087803b158015612b3657600080fd5b505af1158015612b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b6e91906153cf565b5061291f565b6001600160a01b038316301415612b9557612b90848383614054565b61291f565b61291f8484848461416f565b600080866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015612bdd57600080fd5b505afa158015612bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c159190615582565b5050505050509050612c3a81612c2a8661428c565b612c338661428c565b89896145b2565b9150505b95945050505050565b60008080612c5f6001600160a01b0389168888613a39565b9050846001600160801b0316816001600160801b03161015612c935760405162461bcd60e51b81526004016109b990615ba0565b60405163a34123a760e01b81526001600160a01b0389169063a34123a790612cc3908a908a908a90600401615940565b6040805180830381600087803b158015612cdc57600080fd5b505af1158015612cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d149190615405565b909350915082151580612d275750600082115b15612dce57876001600160a01b0316634f1eb3d8858989612d4788614674565b612d5088614674565b6040518663ffffffff1660e01b8152600401612d70959493929190615800565b6040805180830381600087803b158015612d8957600080fd5b505af1158015612d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc191906154fa565b506001600160801b031692505b509550959350505050565b8082038281111561096c57600080fd5b6001600160a01b038316612e0f5760405162461bcd60e51b81526004016109b990615ad8565b6001600160a01b038216612e355760405162461bcd60e51b81526004016109b990615a81565b612e408383836120c0565b60408051808201825260038152622a22a160e91b6020808301919091526001600160a01b0386166000908152908190529190912054612e80918390612f01565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612eaf908261335e565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906128489085906158ab565b8183038184821115612f265760405162461bcd60e51b81526004016109b99190615989565b509392505050565b6000836001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b158015612f6957600080fd5b505afa158015612f7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa19190615582565b50505050509150506000612fb5858461468a565b905060008160020b8360020b13612fce57828203612fd2565b8183035b90508460020b8160020b131561275b5760405162461bcd60e51b81526004016109b990615c13565b6000806000851161301d5760405162461bcd60e51b81526004016109b9906159d6565b60006130336001600160a01b038a168989613a39565b905060008661304b6001600160801b038416886147ca565b8161305257fe5b04905080156131a257896001600160a01b031663a34123a78a8a61307585614674565b6040518463ffffffff1660e01b815260040161309393929190615940565b6040805180830381600087803b1580156130ac57600080fd5b505af11580156130c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130e49190615405565b9094509250831515806130f75750600083115b156131a257896001600160a01b0316634f1eb3d8868b8b61311789614674565b61312089614674565b6040518663ffffffff1660e01b8152600401613140959493929190615800565b6040805180830381600087803b15801561315957600080fd5b505af115801561316d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061319191906154fa565b6001600160801b0391821695501692505b5050965096945050505050565b6001600160a01b0382166131d55760405162461bcd60e51b81526004016109b990615a48565b6131e1826000836120c0565b60408051808201825260038152622122a160e91b6020808301919091526001600160a01b0385166000908152908190529190912054613221918390612f01565b6001600160a01b0383166000908152602081905260409020556002546132479082612dd9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906132889085906158ab565b60405180910390a35050565b60007f00000000000000000000000000000000000000000000000000000000000000016132bf612763565b14156132ec57507f16609fb63144b9962da7f618e702c32ed86b636c0af749f33280bb459f98e41461088c565b6133577f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f7dc7f2f45349380afa999ca490f3fcb864cbae5d9b5fed28654ea9945cf261a17fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66147ed565b905061088c565b8082018281101561096c57600080fd5b60006133846001600160a01b0385168484613a39565b90506001600160801b038116156134195760405163a34123a760e01b81526001600160a01b0385169063a34123a7906133c590869086908690600401615940565b6040805180830381600087803b1580156133de57600080fd5b505af11580156133f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134169190615405565b50505b6040516309e3d67b60e31b81526001600160a01b03851690634f1eb3d890613454903090879087906001600160801b03908190600401615800565b6040805180830381600087803b15801561346d57600080fd5b505af1158015613481573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275b91906154fa565b60008060006134b48685613975565b858103979501955050505050565b6000806000866001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561350057600080fd5b505afa158015613514573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135389190615582565b505050505050905061355c8161354d8761428c565b6135568761428c565b8961480f565b92509250505b94509492505050565b60006135818561357b8685612dd9565b906147ca565b61358f8561357b8887612dd9565b1161359b576000612c3e565b600195945050505050565b900490565b60006001600160a01b03831615806135f45750816001600160a01b0316836001600160a01b03168385029250826001600160a01b0316816135e857fe5b046001600160a01b0316145b61096c57600080fd5b8082016001600160a01b03808416908216101561096c57600080fd5b8082036001600160a01b03808416908216111561096c57600080fd5b60008060006040518060e00160405280888152602001878152602001600081526020016000815260200160006001600160801b03168152602001600060020b8152602001600060020b8152509050600080896001600160a01b0316633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b1580156136bf57600080fd5b505afa1580156136d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136f79190615582565b50505050509150915061370b8188886134a5565b600290810b810b60c0860181905291810b900b60a0850181905284516020860151613738938e93906148aa565b606085018190526040850182905260a085015160c086015161375f938e9390929091612ba1565b6001600160801b03166080840152825160208401516040850151606086015160009361378e939092909161356b565b905080156137d35760006137ad848660800151876000015160006148d9565b90506137c16137bb826149d3565b89613975565b600290810b900b60c086015250613806565b60006137ea84866080015187602001516000614ce6565b90506137f86137bb826149d3565b600290810b900b60a0860152505b6138188460a001518560c001516139c1565b8360a0015195508360c001519450505050509550959350505050565b5490565b6001600160a01b038116600090815260066020526040812061385981613834565b915061386481614dc2565b50919050565b600061096c613877613294565b83614dcb565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156138bf5760405162461bcd60e51b81526004016109b99061599c565b8360ff16601b14806138d457508360ff16601c145b6138f05760405162461bcd60e51b81526004016109b990615b2f565b6000600186868686604051600081526020016040526040516139159493929190615914565b6020604051602081039080840390855afa158015613937573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661396a5760405162461bcd60e51b81526004016109b990615bda565b90505b949350505050565b6000808260020b8460020b8161398757fe5b05905060008460020b1280156139ae57508260020b8460020b816139a757fe5b0760020b15155b156139b857600019015b90910292915050565b8060020b8260020b126139e65760405162461bcd60e51b81526004016109b9906159b9565b620d89e719600283900b1215613a0e5760405162461bcd60e51b81526004016109b990615bbd565b620d89e8600282900b1315613a355760405162461bcd60e51b81526004016109b990615b83565b5050565b600080613a47308585612767565b60405163514ea4bf60e01b81529091506001600160a01b0386169063514ea4bf90613a769084906004016158ab565b60a06040518083038186803b158015613a8e57600080fd5b505afa158015613aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ac6919061552c565b509298975050505050505050565b6000613ade610bbb565b15613b1057613b0b826001600160801b0316611617613afb610bbb565b6001600160801b038716906147ca565b610d16565b50506001600160801b031690565b6001600160a01b038216613b445760405162461bcd60e51b81526004016109b990615c4b565b613b50600083836120c0565b600254613b5d908261335e565b6002556001600160a01b038216600090815260208190526040902054613b83908261335e565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906132889085906158ab565b4715613be257613be23347614dfe565b565b60095460125460405163a34123a760e01b815260009283926001600160a01b039091169163a34123a791613c3391600160a01b8204600290810b92600160b81b9004900b908690600401615940565b6040805180830381600087803b158015613c4c57600080fd5b505af1158015613c60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c849190615405565b50506009546012546040516309e3d67b60e31b815260009283926001600160a01b0390911691634f1eb3d891613ce1913091600160a01b8104600290810b92600160b81b909204900b906001600160801b03908190600401615800565b6040805180830381600087803b158015613cfa57600080fd5b505af1158015613d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d3291906154fa565b6001600160801b031691506001600160801b031691506000613e087f00000000000000000000000000000000000000000000000000000000000f424062ffffff16611617601260009054906101000a90046001600160a01b03166001600160a01b031663b0e21e8a6040518163ffffffff1660e01b815260040160206040518083038186803b158015613dc457600080fd5b505afa158015613dd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfc9190615610565b869062ffffff166147ca565b90506000613e867f00000000000000000000000000000000000000000000000000000000000f424062ffffff16611617601260009054906101000a90046001600160a01b03166001600160a01b031663b0e21e8a6040518163ffffffff1660e01b815260040160206040518083038186803b158015613dc457600080fd5b600a54909150613e96908361335e565b600a55600b54613ea6908261335e565b600b55613eb38483612dd9565b9550613ebf8382612dd9565b600c54909550613ecf908761335e565b600c55600d54613edf908661335e565b600d819055600c546040517f1ac56d7e866e3f5ea9aa92aa11758ead39a0a5f013f3fefb0f47cb9d008edd2792613f1a928892889290615dbf565b60405180910390a1505050509091565b600080613f35610bbb565b90508015613f6557613f5d613f568261161787670de0b6b3a76400006147ca565b849061335e565b91505061096c565b509092915050565b6001600160a01b038216600090815260086020908152604080832081516080810183528154808252600183015494820194909452600282015492810183905260039091015460608201529161396d91613fe290670de0b6b3a76400009061161790613fd9908990612dd9565b61357b8a61125b565b9061335e565b6001600160a01b038216600090815260086020908152604080832081516080810183528154815260018201549381018490526002820154928101929092526003015460608201819052909161396d91613fe290670de0b6b3a76400009061161790613fd9908990612dd9565b600080846001600160a01b031663a9059cbb60e01b858560405160240161407c92919061583d565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516140e79190615709565b6000604051808303816000865af19150503d8060008114614124576040519150601f19603f3d011682016040523d82523d6000602084013e614129565b606091505b509150915081801561415357508051158061415357508080602001905181019061415391906153cf565b611d715760405162461bcd60e51b81526004016109b990615b67565b600080856001600160a01b03166323b872dd60e01b86868660405160240161419993929190615754565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516142049190615709565b6000604051808303816000865af19150503d8060008114614241576040519150601f19603f3d011682016040523d82523d6000602084013e614246565b606091505b509150915081801561427057508051158061427057508080602001905181019061427091906153cf565b61275b5760405162461bcd60e51b81526004016109b990615bf6565b60008060008360020b126142a3578260020b6142ab565b8260020b6000035b9050620d89e88111156142d05760405162461bcd60e51b81526004016109b990615b4c565b6000600182166142f157700100000000000000000000000000000000614303565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff1690506002821615614337576ffff97272373d413259a46990580e213a0260801c5b6004821615614356576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b6008821615614375576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b6010821615614394576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156143b3576fff973b41fa98c081472e6896dfb254c00260801c5b60408216156143d2576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156143f1576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615614411576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615614431576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615614451576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615614471576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615614491576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156144b1576fa9f746462d870fdf8a65dc1f90e061e50260801c5b6140008216156144d1576f70d869a156d2a1b890bb3df62baf32f70260801c5b6180008216156144f1576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615614512576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615614532576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615614551576d2216e584f5fa1ea926041bedfe980260801c5b6208000082161561456e576b048a170391f7dc42444e8fa20260801c5b60008460020b131561458957806000198161458557fe5b0490505b64010000000081061561459d5760016145a0565b60005b60ff16602082901c0192505050919050565b6000836001600160a01b0316856001600160a01b031611156145d2579293925b846001600160a01b0316866001600160a01b0316116145fd576145f6858585614e8b565b9050612c3e565b836001600160a01b0316866001600160a01b0316101561465f576000614624878686614e8b565b90506000614633878986614eee565b9050806001600160801b0316826001600160801b0316106146545780614656565b815b92505050612c3e565b61466a858584614eee565b9695505050505050565b806001600160801b038116811461127557600080fd5b60408051600280825260608201835260009284928492909160208301908036833701905050905081816000815181106146bf57fe5b602002602001019063ffffffff16908163ffffffff16815250506000816001815181106146e857fe5b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0387169063883bdbfd9061472c908590600401615856565b60006040518083038186803b15801561474457600080fd5b505afa158015614758573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526147809190810190615307565b5090508263ffffffff168160008151811061479757fe5b6020026020010151826001815181106147ac57fe5b60200260200101510360060b816147bf57fe5b059695505050505050565b60008215806135f4575050818102818382816147e257fe5b041461096c57600080fd5b60008383836147fa612763565b3060405160200161277e9594939291906158e8565b600080836001600160a01b0316856001600160a01b03161115614830579293925b846001600160a01b0316866001600160a01b03161161485b57614854858585614f2b565b9150613562565b836001600160a01b0316866001600160a01b0316101561489457614880868585614f2b565b915061488d858785614f94565b9050613562565b61489f858585614f94565b905094509492505050565b60008060006148bc8888888888612ba1565b90506148ca888287876134c2565b90999098509650505050505050565b6000826148e757508361396d565b7bffffffffffffffffffffffffffffffff000000000000000000000000606085901b168215614987576001600160a01b0386168481029085828161492757fe5b041415614958578181018281106149565761494c83896001600160a01b031683614fd7565b935050505061396d565b505b61497e82614979878a6001600160a01b0316868161497257fe5b049061335e565b615011565b9250505061396d565b6001600160a01b0386168481029085828161499e57fe5b041480156149ab57508082115b6149b457600080fd5b80820361494c6149ce846001600160a01b038b1684614fd7565b61501c565b60006401000276a36001600160a01b03831610801590614a0f575073fffd8963efd1fc6a506488495d951d5263988d266001600160a01b038316105b614a2b5760405162461bcd60e51b81526004016109b990615cbc565b77ffffffffffffffffffffffffffffffffffffffff00000000602083901b166001600160801b03811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c97908811961790941790921717909117171760808110614acc57607f810383901c9150614ad6565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d607f198f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581026f028f6481ab7f045a5af012a19d003aa9198101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b14614cd757886001600160a01b0316614cbb8261428c565b6001600160a01b03161115614cd05781614cd2565b805b614cd9565b815b9998505050505050505050565b60008115614d545760006001600160a01b03841115614d1c57614d1784600160601b876001600160801b0316615032565b614d34565b6001600160801b038516606085901b81614d3257fe5b045b9050614d4c6149ce6001600160a01b0388168361335e565b91505061396d565b60006001600160a01b03841115614d8257614d7d84600160601b876001600160801b0316614fd7565b614d99565b614d99606085901b6001600160801b038716615011565b905080866001600160a01b031611614db057600080fd5b6001600160a01b03861603905061396d565b80546001019055565b60008282604051602001614de0929190615725565b60405160208183030381529060405280519060200120905092915050565b604080516000808252602082019092526001600160a01b038416908390604051614e289190615709565b60006040518083038185875af1925050503d8060008114614e65576040519150601f19603f3d011682016040523d82523d6000602084013e614e6a565b606091505b50509050806120c05760405162461bcd60e51b81526004016109b990615b12565b6000826001600160a01b0316846001600160a01b03161115614eab579192915b6000614ece856001600160a01b0316856001600160a01b0316600160601b615032565b9050612c3e614ee984838888036001600160a01b0316615032565b614674565b6000826001600160a01b0316846001600160a01b03161115614f0e579192915b61396d614ee983600160601b8787036001600160a01b0316615032565b6000826001600160a01b0316846001600160a01b03161115614f4b579192915b836001600160a01b0316614f84606060ff16846001600160801b0316901b8686036001600160a01b0316866001600160a01b0316615032565b81614f8b57fe5b04949350505050565b6000826001600160a01b0316846001600160a01b03161115614fb4579192915b61396d826001600160801b03168585036001600160a01b0316600160601b615032565b6000614fe4848484615032565b905060008280614ff057fe5b8486091115610d1657600019811061500757600080fd5b6001019392505050565b808204910615150190565b806001600160a01b038116811461127557600080fd5b6000808060001985870986860292508281109083900303905080615068576000841161505d57600080fd5b508290049050610d16565b80841161507457600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b600082601f8301126150f1578081fd5b8151602061510661510183615e0c565b615de8565b8281528181019085830183850287018401881015615122578586fd5b855b8581101561514957815161513781615e56565b84529284019290840190600101615124565b5090979650505050505050565b60008083601f840112615167578182fd5b50813567ffffffffffffffff81111561517e578182fd5b60208301915083602082850101111561519657600080fd5b9250929050565b8051600281900b811461127557600080fd5b80516001600160801b038116811461127557600080fd5b805161ffff8116811461127557600080fd5b6000602082840312156151e9578081fd5b8135610d1681615e56565b60008060408385031215615206578081fd5b823561521181615e56565b9150602083013561522181615e56565b809150509250929050565b600080600060608486031215615240578081fd5b833561524b81615e56565b9250602084013561525b81615e56565b929592945050506040919091013590565b600080600080600080600060e0888a031215615286578283fd5b873561529181615e56565b965060208801356152a181615e56565b9550604088013594506060880135935060808801356152bf81615e79565b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156152ee578182fd5b82356152f981615e56565b946020939093013593505050565b60008060408385031215615319578182fd5b825167ffffffffffffffff80821115615330578384fd5b818501915085601f830112615343578384fd5b8151602061535361510183615e0c565b82815281810190858301838502870184018b101561536f578889fd5b8896505b8487101561539f5780518060060b811461538b57898afd5b835260019690960195918301918301615373565b50918801519196509093505050808211156153b8578283fd5b506153c5858286016150e1565b9150509250929050565b6000602082840312156153e0578081fd5b8151610d1681615e6b565b6000602082840312156153fc578081fd5b610d168261519d565b60008060408385031215615417578182fd5b505080516020909101519092909150565b6000806000806060858703121561543d578182fd5b8435935060208501359250604085013567ffffffffffffffff811115615461578283fd5b61546d87828801615156565b95989497509550505050565b60006020828403121561548a578081fd5b6040516020810181811067ffffffffffffffff821117156154a757fe5b60405282356154b581615e56565b81529392505050565b6000602082840312156154cf578081fd5b6040516020810181811067ffffffffffffffff821117156154ec57fe5b60405282356154b581615e6b565b6000806040838503121561550c578182fd5b615515836151af565b9150615523602084016151af565b90509250929050565b600080600080600060a08688031215615543578283fd5b61554c866151af565b94506020860151935060408601519250615568606087016151af565b9150615576608087016151af565b90509295509295909350565b600080600080600080600060e0888a03121561559c578081fd5b87516155a781615e56565b96506155b56020890161519d565b95506155c3604089016151c6565b94506155d1606089016151c6565b93506155df608089016151c6565b925060a08801516155ef81615e79565b60c089015190925061560081615e6b565b8091505092959891949750929550565b600060208284031215615621578081fd5b815162ffffff81168114610d16578182fd5b600060208284031215615644578081fd5b5035919050565b60006020828403121561565c578081fd5b5051919050565b60008060408385031215615675578182fd5b50508035926020909101359150565b600060208284031215615695578081fd5b815163ffffffff81168114610d16578182fd5b600081518084526156c0816020860160208601615e2a565b601f01601f19169290920160200192915050565b60609390931b6bffffffffffffffffffffffff19168352600291820b60e890811b6014850152910b901b6017820152601a0190565b6000825161571b818460208701615e2a565b9190910192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006001600160a01b038088168352861515602084015285604084015280851660608401525060a060808301526157b260a08301846156a8565b979650505050505050565b60006001600160a01b03871682528560020b60208301528460020b60408301526001600160801b038416606083015260a060808301526157b260a08301846156a8565b6001600160a01b03959095168552600293840b60208601529190920b60408401526001600160801b03918216606084015216608082015260a00190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561589457835163ffffffff1683529284019291840191600101615872565b50909695505050505050565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b60029190910b815260200190565b600293840b81529190920b60208201526001600160801b03909116604082015260600190565b600294850b81529290930b60208301526040820152606081019190915260800190565b600060208252610d1660208301846156a8565b60208082526003908201526249535360e81b604082015260600190565b602080825260039082015262544c5560e81b604082015260600190565b602080825260029082015261545360f01b604082015260600190565b602080825260029082015261115160f21b604082015260600190565b602080825260029082015261046560f41b604082015260600190565b60208082526004908201526341465a4160e01b604082015260600190565b602080825260039082015262425a4160e81b604082015260600190565b602080825260029082015261504760f01b604082015260600190565b602080825260039082015262545a4160e81b604082015260600190565b60208082526003908201526220a72b60e91b604082015260600190565b60208082526003908201526220982960e91b604082015260600190565b602080825260039082015262465a4160e81b604082015260600190565b6020808252600390820152622098a360e91b604082015260600190565b60208082526003908201526253544560e81b604082015260600190565b60208082526003908201526224a9ab60e91b604082015260600190565b6020808252600190820152601560fa1b604082015260600190565b60208082526002908201526114d560f21b604082015260600190565b60208082526003908201526254554d60e81b604082015260600190565b60208082526003908201526215135360ea1b604082015260600190565b602080825260039082015262544c4d60e81b604082015260600190565b602080825260029082015261495360f01b604082015260600190565b60208082526003908201526229aa2360e91b604082015260600190565b60208082526003908201526250534360e81b604082015260600190565b6020808252600190820152605360f81b604082015260600190565b6020808252600390820152624d5a4160e81b604082015260600190565b6020808252600290820152614e4160f01b604082015260600190565b6020808252600390820152622098a960e91b604082015260600190565b6020808252600190820152602360f91b604082015260600190565b6020808252600190820152602960f91b604082015260600190565b6020808252600290820152614f4760f01b604082015260600190565b60208082526004908201526341545a4160e01b604082015260600190565b602080825260029082015261524360f01b604082015260600190565b60208082526003908201526220982360e91b604082015260600190565b90516001600160a01b0316815260200190565b90511515815260200190565b6001600160801b0395861681526020810194909452604084019290925283166060830152909116608082015260a00190565b918252602082015260400190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b60ff91909116815260200190565b60405181810167ffffffffffffffff81118282101715615e0457fe5b604052919050565b600067ffffffffffffffff821115615e2057fe5b5060209081020190565b60005b83811015615e45578181015183820152602001615e2d565b8381111561291f5750506000910152565b6001600160a01b038116811461292357600080fd5b801515811461292357600080fd5b60ff8116811461292357600080fdfea26469706673582212203ca14bcb5106b46acd07d618d2e769fbd9614c18c237340a6b73256cf843d1f964736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f564000000000000000000000000027642f0eebb38f8d8285aeb86ddf14adba940c4f
-----Decoded View---------------
Arg [0] : _pool (address): 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640
Arg [1] : _strategy (address): 0x27642f0EEbb38f8D8285aEB86ddF14ADba940C4F
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000088e6a0c2ddd26feeb64f039a2c41296fcb3f5640
Arg [1] : 00000000000000000000000027642f0eebb38f8d8285aeb86ddf14adba940c4f
Deployed Bytecode Sourcemap
94966:24627:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62247:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110064:399;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;64393:169::-;;;;;;;;;;-1:-1:-1;64393:169:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;98956:40::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;113386:1040::-;;;;;;;;;;-1:-1:-1;113386:1040:0;;;;;:::i;:::-;;:::i;:::-;;99392:35;;;;;;;;;;;;;:::i;63346:108::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;99770:25::-;;;;;;;;;;;;;:::i;98814:44::-;;;;;;;;;;-1:-1:-1;98814:44:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;119128:242::-;;;;;;;;;;;;;:::i;65044:284::-;;;;;;;;;;-1:-1:-1;65044:284:0;;;;;:::i;:::-;;:::i;102823:552::-;;;;;;;;;;-1:-1:-1;102823:552:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;63190:91::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;119438:152::-;;;;;;;;;;-1:-1:-1;119438:152:0;;;;;:::i;:::-;;:::i;73145:115::-;;;;;;;;;;;;;:::i;65737:218::-;;;;;;;;;;-1:-1:-1;65737:218:0;;;;;:::i;:::-;;:::i;99109:74::-;;;;;;;;;;;;;:::i;100386:31::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;100294:::-;;;;;;;;;;;;;:::i;100056:25::-;;;;;;;;;;;;;:::i;99864:35::-;;;;;;;;;;;;;:::i;114514:1020::-;;;;;;;;;;-1:-1:-1;114514:1020:0;;;;;:::i;:::-;;:::i;63517:127::-;;;;;;;;;;-1:-1:-1;63517:127:0;;;;;:::i;:::-;;:::i;104642:3365::-;;;;;;;;;;;;;:::i;72887:128::-;;;;;;;;;;-1:-1:-1;72887:128:0;;;;;:::i;:::-;;:::i;62457:95::-;;;;;;;;;;;;;:::i;99574:35::-;;;;;;;;;;;;;:::i;66458:235::-;;;;;;;;;;-1:-1:-1;66458:235:0;;;;;:::i;:::-;;:::i;100211:23::-;;;;;;;;;;;;;:::i;63857:175::-;;;;;;;;;;-1:-1:-1;63857:175:0;;;;;:::i;:::-;;:::i;118830:118::-;;;;;;;;;;-1:-1:-1;118830:118:0;;;;;:::i;:::-;;:::i;100466:21::-;;;;;;;;;;;;;:::i;99968:35::-;;;;;;;;;;;;;:::i;99677:25::-;;;;;;;;;;;;;:::i;99227:43::-;;;;;;;;;;;;;:::i;99041:40::-;;;;;;;;;;;;;:::i;110965:421::-;;;;;;;;;;-1:-1:-1;110965:421:0;;;;;:::i;:::-;;:::i;72105:716::-;;;;;;;;;;-1:-1:-1;72105:716:0;;;;;:::i;:::-;;:::i;64095:151::-;;;;;;;;;;-1:-1:-1;64095:151:0;;;;;:::i;:::-;;:::i;101135:543::-;;;;;;;;;;;;;:::i;101729:1044::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;99483:35::-;;;;;;;;;;;;;:::i;103425:1171::-;;;;;;;;;;;;;:::i;100131:32::-;;;;;;;;;;;;;:::i;111801:579::-;;;;;;;;;;-1:-1:-1;111801:579:0;;;;;:::i;:::-;;:::i;62247:91::-;62325:5;62318:12;;;;;;;;-1:-1:-1;;62318:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62292:13;;62318:12;;62325:5;;62318:12;;62325:5;62318:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62247:91;;:::o;110064:399::-;110107:17;110126:32;110160;110194:19;110215;110247;110269:56;110297:4;110304:9;;;;;;;;;;;110315;;;;;;;;;;;110269:19;:56::i;:::-;110428:4;;:27;;-1:-1:-1;;;110428:27:0;;110247:78;;-1:-1:-1;;;;;;110428:4:0;;:14;;:27;;110247:78;;110428:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;110336:119;;;;-1:-1:-1;110336:119:0;;-1:-1:-1;110336:119:0;-1:-1:-1;110336:119:0;;-1:-1:-1;110064:399:0;-1:-1:-1;;110064:399:0:o;64393:169::-;64476:4;64493:39;64502:12;:10;:12::i;:::-;64516:7;64525:6;64493:8;:39::i;:::-;-1:-1:-1;64550:4:0;64393:169;;;;;:::o;98956:40::-;;;:::o;113386:1040::-;93415:1;94012:7;;:19;;94004:34;;;;-1:-1:-1;;;94004:34:0;;;;;;;:::i;:::-;;;;;;;;;93415:1;94116:7;:18;98765:10:::1;::::0;-1:-1:-1;;;;;98765:10:0::1;98751;:24;98743:39;;;;-1:-1:-1::0;;;98743:39:0::1;;;;;;;:::i;:::-;113531:1:::2;115660:26;115678:7;115660:17;:26::i;:::-;113578:7:::3;113554:20;;:31;;113546:47;;;;-1:-1:-1::0;;;113546:47:0::3;;;;;;;:::i;:::-;113636:7;113612:20;;:31;;113604:47;;;;-1:-1:-1::0;;;113604:47:0::3;;;;;;;:::i;:::-;113672:16;113691:11;:9;:11::i;:::-;113672:30;;113713:16;113732:11;:9;:11::i;:::-;113713:30;;113780:7;113768:8;:19;;:42;;;;;113803:7;113791:8;:19;;113768:42;113764:455;;;113840:11:::0;;113836:64:::3;;113853:47;113857:6;113873:4;113880:10;113892:7;113853:3;:47::i;:::-;113919:11:::0;;113915:64:::3;;113932:47;113936:6;113952:4;113959:10;113971:7;113932:3;:47::i;:::-;113764:455;;;114093:9;::::0;114050:4:::3;::::0;114030:17:::3;::::0;114050:64:::3;::::0;-1:-1:-1;;;;;114050:4:0::3;::::0;114075:7;;114084;;-1:-1:-1;;;114093:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;114104:9:0;::::3;::::0;::::3;114050:24;:64::i;:::-;114153:9;::::0;114129:4:::3;::::0;114030:84;;-1:-1:-1;114129:68:0::3;::::0;-1:-1:-1;;;;;114129:4:0::3;::::0;-1:-1:-1;;;114153:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;114164:9:0;::::3;::::0;::::3;114030:84:::0;114186:10:::3;114129:23;:68::i;:::-;;;113764:455;;114262:20;::::0;:33:::3;::::0;114287:7;114262:24:::3;:33::i;:::-;114239:20;:56:::0;114329:20:::3;::::0;:33:::3;::::0;114354:7;114329:24:::3;:33::i;:::-;114306:20;:56:::0;114378:40:::3;::::0;114389:10:::3;::::0;114378:40:::3;::::0;::::3;::::0;114401:7;;114410;;114378:40:::3;:::i;:::-;;;;;;;;-1:-1:-1::0;;93371:1:0;94295:7;:22;-1:-1:-1;;;113386:1040:0:o;99392:35::-;;;-1:-1:-1;;;;;99392:35:0;;:::o;63346:108::-;63434:12;;63346:108;:::o;99770:25::-;;;;:::o;98814:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;119128:242::-;119198:17;;-1:-1:-1;;;;;119198:17:0;119184:10;:31;119176:46;;;;-1:-1:-1;;;119176:46:0;;;;;;;:::i;:::-;119269:17;;119257:10;;119238:49;;-1:-1:-1;;;;;119269:17:0;;;;119257:10;;;;119238:49;;119269:17;;119238:49;119298:17;:30;;-1:-1:-1;;119298:30:0;;;;;;119339:10;:23;;;;;119352:10;119339:23;;;119128:242::o;65044:284::-;65150:4;65167:36;65177:6;65185:9;65196:6;65167:9;:36::i;:::-;65214:84;65223:6;65231:12;:10;:12::i;:::-;65245:52;65283:6;65245:52;;;;;;;;;;;;;-1:-1:-1;;;65245:52:0;;;:11;:19;65257:6;-1:-1:-1;;;;;65245:19:0;-1:-1:-1;;;;;65245:19:0;;;;;;;;;;;;:33;65265:12;:10;:12::i;:::-;-1:-1:-1;;;;;65245:33:0;;;;;;;;;;;;-1:-1:-1;65245:33:0;;;:52;:37;:52::i;:::-;65214:8;:84::i;:::-;-1:-1:-1;65316:4:0;65044:284;;;;;;:::o;102823:552::-;103021:15;103051;93415:1;94012:7;;:19;;94004:34;;;;-1:-1:-1;;;94004:34:0;;;;;;;:::i;:::-;93415:1;94116:7;:18;115990:8:::1;::::0;115972:46:::1;::::0;;-1:-1:-1;;;115972:46:0;;;;115952:111:::1;::::0;-1:-1:-1;;;;;115990:8:0::1;::::0;115972:44:::1;::::0;:46:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;115990:8;115972:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;116038:8;;;;;;;;;-1:-1:-1::0;;;;;116038:8:0::1;-1:-1:-1::0;;;;;116020:40:0::1;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;115952:4;::::0;-1:-1:-1;;;;;115952:4:0::1;::::0;:111;:19:::1;:111::i;:::-;102977:10:::2;115660:26;115678:7;115660:17;:26::i;:::-;103111:1:::3;103102:6;:10;103094:24;;;;-1:-1:-1::0;;;103094:24:0::3;;;;;;;:::i;:::-;103178:9;::::0;103154:81:::3;::::0;-1:-1:-1;;;103178:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;103189:9:0;::::3;::::0;::::3;103200:13;:11;:13::i;:::-;103154:4;::::0;-1:-1:-1;;;;;103154:4:0::3;::::0;:81;;103215:6;103224:10:::3;103154:23;:81::i;:::-;103133:102:::0;;-1:-1:-1;103133:102:0;-1:-1:-1;103280:25:0::3;103286:10;103298:6:::0;103280:5:::3;:25::i;:::-;103330:10;-1:-1:-1::0;;;;;103321:46:0::3;;103342:6;103350:7;103359;103321:46;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;93371:1:0;94295:7;:22;102823:552;;;;-1:-1:-1;102823:552:0:o;63190:91::-;63264:9;;;;63190:91;:::o;119438:152::-;98765:10;;-1:-1:-1;;;;;98765:10:0;98751;:24;98743:39;;;;-1:-1:-1;;;98743:39:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;119521:23:0;::::1;119513:38;;;;-1:-1:-1::0;;;119513:38:0::1;;;;;;;:::i;:::-;119562:8;:20:::0;;-1:-1:-1;;119562:20:0::1;-1:-1:-1::0;;;;;119562:20:0;;;::::1;::::0;;;::::1;::::0;;119438:152::o;73145:115::-;73205:7;73232:20;:18;:20::i;:::-;73225:27;;73145:115;:::o;65737:218::-;65825:4;65842:83;65851:12;:10;:12::i;:::-;65865:7;65874:50;65913:10;65874:11;:25;65886:12;:10;:12::i;:::-;-1:-1:-1;;;;;65874:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;65874:25:0;;;:34;;;;;;;;;;;:38;:50::i;99109:74::-;;;:::o;100386:31::-;;;-1:-1:-1;;;100386:31:0;;;;;:::o;100294:::-;;;-1:-1:-1;;;100294:31:0;;;;;:::o;100056:25::-;;;-1:-1:-1;;;;;100056:25:0;;:::o;99864:35::-;;;;:::o;114514:1020::-;93415:1;94012:7;;:19;;94004:34;;;;-1:-1:-1;;;94004:34:0;;;;;;;:::i;:::-;93415:1;94116:7;:18;114603:10:::1;115660:26;114603:10:::0;115660:17:::1;:26::i;:::-;114659:10:::2;114626:21;114650:20:::0;;;:8:::2;:20;::::0;;;;114691:18;;:29;-1:-1:-1;114691:29:0::2;114683:45;;;;-1:-1:-1::0;;;114683:45:0::2;;;;;;;:::i;:::-;114769:7;114747:4;:18;;;:29;;114739:45;;;;-1:-1:-1::0;;;114739:45:0::2;;;;;;;:::i;:::-;114797:16;114816:11;:9;:11::i;:::-;114797:30;;114838:16;114857:11;:9;:11::i;:::-;114838:30;;114897:7;114885:8;:19;;:42;;;;;114920:7;114908:8;:19;;114885:42;114881:464;;;114950:11:::0;;114946:64:::2;;114963:47;114967:6;114983:4;114990:10;115002:7;114963:3;:47::i;:::-;115029:11:::0;;115025:64:::2;;115042:47;115046:6;115062:4;115069:10;115081:7;115042:3;:47::i;:::-;114881:464;;;115208:9;::::0;115165:4:::2;::::0;115145:17:::2;::::0;115165:64:::2;::::0;-1:-1:-1;;;;;115165:4:0::2;::::0;115190:7;;115199;;-1:-1:-1;;;115208:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;115219:9:0;::::2;::::0;::::2;115165:24;:64::i;:::-;115289:9;::::0;115265:4:::2;::::0;115145:84;;-1:-1:-1;115265:68:0::2;::::0;-1:-1:-1;;;;;115265:4:0::2;::::0;-1:-1:-1;;;115289:9:0;::::2;;::::0;;::::2;::::0;-1:-1:-1;;;115300:9:0;::::2;::::0;::::2;115145:84:::0;115322:10:::2;115265:23;:68::i;:::-;115244:89:::0;;-1:-1:-1;115244:89:0;-1:-1:-1;;114881:464:0::2;115376:18:::0;;:31:::2;::::0;115399:7;115376:22:::2;:31::i;:::-;115355:52:::0;;115439:18:::2;::::0;::::2;::::0;:31:::2;::::0;115462:7;115439:22:::2;:31::i;:::-;115418:18;::::0;::::2;:52:::0;115486:40:::2;::::0;115497:10:::2;::::0;115486:40:::2;::::0;::::2;::::0;115509:7;;115518;;115486:40:::2;:::i;:::-;;;;;;;;-1:-1:-1::0;;93371:1:0;94295:7;:22;-1:-1:-1;;;;114514:1020:0:o;63517:127::-;-1:-1:-1;;;;;63618:18:0;;63591:7;63618:18;;;;;;;;;;;63517:127;;;;:::o;104642:3365::-;98765:10;;-1:-1:-1;;;;;98765:10:0;98751;:24;98743:39;;;;-1:-1:-1;;;98743:39:0;;;;;;;:::i;:::-;93415:1:::1;94012:7;;:19;;94004:34;;;;-1:-1:-1::0;;;94004:34:0::1;;;;;;;:::i;:::-;93415:1;94116:7;:18:::0;115990:8:::2;::::0;115972:46:::2;::::0;;-1:-1:-1;;;115972:46:0;;;;115952:111:::2;::::0;-1:-1:-1;;;;;115990:8:0::2;::::0;115972:44:::2;::::0;:46:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;115990:8;115972:46;::::2;;::::0;::::2;;;;::::0;::::2;115952:111;104744:1:::3;115660:26;115678:7;115660:17;:26::i;:::-;104860:9:::4;::::0;104838:4:::4;::::0;:43:::4;::::0;-1:-1:-1;;;;;104838:4:0;;::::4;::::0;-1:-1:-1;;;104860:9:0;::::4;;::::0;;::::4;::::0;-1:-1:-1;;;104871:9:0;::::4;::::0;::::4;104838:21;:43::i;:::-;104930:20;104952:17:::0;104983:4:::4;;;;;;;;;-1:-1:-1::0;;;;;104983:4:0::4;-1:-1:-1::0;;;;;104983:10:0::4;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104929:66;;;;;;;;;105006:31;105054:39;;;;;;;;105073:1;105054:39;;;;105076:1;105054:39;;;;105079:1;105054:39;;;;105082:1;105054:39;;;;105085:1;-1:-1:-1::0;;;;;105054:39:0::4;;;;;105088:1;105054:39;;;;;;105091:1;105054:39;;;;::::0;105006:87:::4;;105104:19;105158:8;;;;;;;;;-1:-1:-1::0;;;;;105158:8:0::4;-1:-1:-1::0;;;;;105140:47:0::4;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;105126:11;:63;105104:85;;105237:64;105261:11;105274:13;105289:11;105237:23;:64::i;:::-;105200:101;::::0;;::::4;::::0;::::4;105218:15;::::0;::::4;105200:101:::0;;;::::4;::::0;::::4;105201:15;::::0;::::4;105200:101:::0;105345:11:::4;:9;:11::i;:::-;105322:34:::0;;105390:11:::4;:9;:11::i;:::-;105367:20;::::0;::::4;:34:::0;;;105426:20;;105417:52:::4;::::0;::::4;::::0;::::4;::::0;105426:20;105417:52:::4;:::i;:::-;;;;;;;;105565:20:::0;;105587::::4;::::0;::::4;::::0;105609:15:::4;::::0;::::4;::::0;105626::::4;::::0;::::4;::::0;105540:4:::4;::::0;:102:::4;::::0;-1:-1:-1;;;;;105540:4:0;;::::4;::::0;105565:20;;105587;;105540:24:::4;:102::i;:::-;-1:-1:-1::0;;;;;105522:120:0::4;:15;::::0;::::4;:120:::0;;;105775:15:::4;::::0;::::4;::::0;105792::::4;::::0;::::4;::::0;105733:4:::4;::::0;:75:::4;::::0;-1:-1:-1;;;;;105733:4:0;;::::4;::::0;105522:120;;105733:24:::4;:75::i;:::-;105716:13;::::0;::::4;105700:108:::0;;;105701:13:::4;::::0;::::4;105700:108:::0;;;105903:20;;-1:-1:-1;105925:20:0;::::4;::::0;-1:-1:-1;;105872:104:0::4;::::0;:30:::4;:104::i;:::-;105854:122;;106112:22;106151:10;:170;;106268:52;106318:1;106268:39;106293:5;:13;;;106268:5;:20;;;:24;;:39;;;;:::i;:::-;:49:::0;::::4;:52::i;:::-;106151:170;;;106213:13;::::0;::::4;::::0;106188:20;;:52:::4;::::0;106238:1:::4;::::0;106188:39:::4;::::0;:24:::4;:39::i;:52::-;106112:209;;106466:28;106576:17;106497:96;;:76;106571:1;106535:8;;;;;;;;;-1:-1:-1::0;;;;;106535:8:0::4;-1:-1:-1::0;;;;;106517:49:0::4;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:55;;;;;;;-1:-1:-1::0;;;;;106497:19:0;::::4;::::0;:76:::4;106517:55:::0;::::4;106497:76;:19;:76::i;:::-;-1:-1:-1::0;;;;;106497:96:0::4;;;;;;;106466:127;;106604:25;106632:10;:99;;106690:41;-1:-1:-1::0;;;;;106690:19:0;::::4;106710:20:::0;106690:19:::4;:41::i;:::-;106632:99;;;106646:41;-1:-1:-1::0;;;;;106646:19:0;::::4;106666:20:::0;106646:19:::4;:41::i;:::-;106867:4;::::0;107017:42:::4;::::0;;::::4;::::0;;::::4;::::0;;;::::4;;::::0;;107006:54;;106604:127;;-1:-1:-1;;;;;;106867:4:0;;::::4;::::0;:9:::4;::::0;106899:4:::4;::::0;106919:10;;106944:15;;106604:127;;107006:54:::4;::::0;::::4;;:::i;:::-;;;;;;;;;;;;;106867:204;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::4;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;107126:4;;;;;;;;;-1:-1:-1::0;;;;;107126:4:0::4;-1:-1:-1::0;;;;;107126:10:0::4;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;107086:52:0;;-1:-1:-1;107086:52:0;;-1:-1:-1;107219:11:0::4;::::0;-1:-1:-1;107219:9:0::4;::::0;-1:-1:-1;;;107219:11:0:i:4;:::-;107196:34:::0;;107264:11:::4;:9;:11::i;:::-;107241:20;::::0;::::4;:34:::0;;;107300:20;;107291:52:::4;::::0;::::4;::::0;::::4;::::0;107300:20;107291:52:::4;:::i;:::-;;;;;;;;107465:20:::0;;107487::::4;::::0;::::4;::::0;107443:4:::4;::::0;:93:::4;::::0;-1:-1:-1;;;;;107443:4:0;;::::4;::::0;107509:13;107524:11:::4;107443:21;:93::i;:::-;107419:9;107418:118:::0;;-1:-1:-1;;;;107418:118:0::4;-1:-1:-1::0;;;107418:118:0::4;::::0;;::::4;;::::0;;::::4;::::0;::::4;::::0;;;::::4;-1:-1:-1::0;;;;107418:118:0::4;-1:-1:-1::0;;;107418:118:0;;::::4;::::0;;;::::4;::::0;::::4;::::0;;;::::4;::::0;;;;107592:20;;107614::::4;::::0;::::4;::::0;107567:4:::4;::::0;:90:::4;::::0;-1:-1:-1;;;;;107567:4:0;;::::4;::::0;107592:20;;107614;;107636:9;;::::4;::::0;::::4;::::0;107647;::::4;::::0;::::4;107567:24;:90::i;:::-;-1:-1:-1::0;;;;;107549:108:0::4;:15;::::0;::::4;:108:::0;;;107741:4:::4;::::0;107793:9:::4;::::0;107882:40:::4;::::0;;::::4;::::0;;::::4;::::0;;107773:4:::4;107882:40:::0;;;107871:52;;-1:-1:-1;;;;;107741:4:0;;::::4;::::0;:9:::4;::::0;107773:4;;-1:-1:-1;;;107793:9:0;::::4;;::::0;;::::4;::::0;-1:-1:-1;;;107817:9:0;;::::4;::::0;::::4;::::0;107549:108;;107871:52:::4;::::0;107882:40;107871:52:::4;;:::i;:::-;;;;;;;;;;;;;107741:183;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::4;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;107724:13;::::0;::::4;107708:216:::0;;;107709:13:::4;::::0;;::::4;107708:216:::0;;;107948:9:::4;::::0;107940:59;;::::4;::::0;::::4;::::0;-1:-1:-1;;;107948:9:0;::::4;;::::0;;::::4;::::0;-1:-1:-1;;;107959:9:0;::::4;::::0;::::4;::::0;107940:59:::4;:::i;:::-;;;;;;;;-1:-1:-1::0;;93371:1:0::1;94295:7;:22:::0;-1:-1:-1;;;;;;;104642:3365:0:o;72887:128::-;-1:-1:-1;;;;;72983:14:0;;72956:7;72983:14;;;:7;:14;;;;;:24;;:22;:24::i;62457:95::-;62537:7;62530:14;;;;;;;;-1:-1:-1;;62530:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62504:13;;62530:14;;62537:7;;62530:14;;62537:7;62530:14;;;;;;;;;;;;;;;;;;;;;;;;99574:35;;;;:::o;66458:235::-;66551:4;66568:95;66577:12;:10;:12::i;:::-;66591:7;66600:62;66639:15;66600:62;;;;;;;;;;;;;-1:-1:-1;;;66600:62:0;;;:11;:25;66612:12;:10;:12::i;:::-;-1:-1:-1;;;;;66600:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;66600:25:0;;;:34;;;;;;;;;;;:62;:38;:62::i;100211:23::-;;;-1:-1:-1;;;;;100211:23:0;;:::o;63857:175::-;63943:4;63960:42;63970:12;:10;:12::i;:::-;63984:9;63995:6;63960:9;:42::i;118830:118::-;98765:10;;-1:-1:-1;;;;;98765:10:0;98751;:24;98743:39;;;;-1:-1:-1;;;98743:39:0;;;;;;;:::i;:::-;118909:17:::1;:31:::0;;-1:-1:-1;;118909:31:0::1;-1:-1:-1::0;;;;;118909:31:0;;;::::1;::::0;;;::::1;::::0;;118830:118::o;100466:21::-;;;-1:-1:-1;;;100466:21:0;;;;;:::o;99968:35::-;;;;:::o;99677:25::-;;;;:::o;99227:43::-;;;:::o;99041:40::-;;;:::o;110965:421::-;111135:4;;-1:-1:-1;;;;;111135:4:0;111113:10;:27;111105:42;;;;-1:-1:-1;;;111105:42:0;;;;;;;:::i;:::-;111158:31;111192:36;;;;111203:4;111192:36;:::i;:::-;111158:70;-1:-1:-1;111243:11:0;;111239:64;;111256:47;111260:6;111268:7;:13;;;111283:10;111295:7;111256:3;:47::i;:::-;111318:11;;111314:64;;111331:47;111335:6;111343:7;:13;;;111358:10;111370:7;111331:3;:47::i;:::-;110965:421;;;;;:::o;72105:716::-;72334:8;72315:15;:27;;72307:42;;;;-1:-1:-1;;;72307:42:0;;;;;;;:::i;:::-;72362:18;72436:16;72471:5;72495:7;72521:5;72545:16;72555:5;72545:9;:16::i;:::-;72580:8;72407:196;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72383:231;;;;;;72362:252;;72627:12;72642:28;72659:10;72642:16;:28::i;:::-;72627:43;;72683:14;72700:28;72714:4;72720:1;72723;72726;72700:13;:28::i;:::-;72683:45;;72757:5;-1:-1:-1;;;;;72747:15:0;:6;-1:-1:-1;;;;;72747:15:0;;72739:30;;;;-1:-1:-1;;;72739:30:0;;;;;;;:::i;:::-;72782:31;72791:5;72798:7;72807:5;72782:8;:31::i;:::-;72105:716;;;;;;;;;;:::o;64095:151::-;-1:-1:-1;;;;;64211:18:0;;;64184:7;64211:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;64095:151::o;101135:543::-;98765:10;;-1:-1:-1;;;;;98765:10:0;98751;:24;98743:39;;;;-1:-1:-1;;;98743:39:0;;;;;;;:::i;:::-;101195:9:::1;::::0;-1:-1:-1;;;101195:9:0;::::1;;;101194:10;101186:24;;;;-1:-1:-1::0;;;101186:24:0::1;;;;;;;:::i;:::-;101221:9;:16:::0;;;::::1;-1:-1:-1::0;;;101221:16:0::1;::::0;;;;101284:49:::1;::::0;;-1:-1:-1;;;101284:49:0;;;;101221:16;;-1:-1:-1;;;;;101302:8:0::1;::::0;101284:47:::1;::::0;:49:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;101302:8;101284:49;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101270:11;:63;101248:85;;101348:17;101379:4;;;;;;;;;-1:-1:-1::0;;;;;101379:4:0::1;-1:-1:-1::0;;;;;101379:10:0::1;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101344:47;;;;;;;;101402:15;101420:45;101440:11;101453;101420:19;:45::i;:::-;101486:9;:37:::0;;-1:-1:-1;;;;101486:37:0::1;-1:-1:-1::0;;;101498:25:0;;::::1;101486:37;::::0;;::::1;;::::0;;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;;;101534:37:0::1;-1:-1:-1::0;;;101546:25:0;;::::1;101534:37:::0;::::1;::::0;;;::::1;::::0;::::1;;::::0;;;;101546:25;;-1:-1:-1;101582:46:0::1;::::0;101607:9;;::::1;::::0;::::1;::::0;101618;;;::::1;::::0;::::1;101582:24;:46::i;:::-;98793:1;;;101135:543::o:0;101729:1044::-;101983:14;102012:15;102042;93415:1;94012:7;;:19;;94004:34;;;;-1:-1:-1;;;94004:34:0;;;;;;;:::i;:::-;93415:1;94116:7;:18;115990:8:::1;::::0;115972:46:::1;::::0;;-1:-1:-1;;;115972:46:0;;;;115952:111:::1;::::0;-1:-1:-1;;;;;115990:8:0::1;::::0;115972:44:::1;::::0;:46:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;115990:8;115972:46;::::1;;::::0;::::1;;;;::::0;::::1;115952:111;101939:10:::2;115660:26;115678:7;115660:17;:26::i;:::-;102110:1:::3;102093:14;:18;:40;;;;;102132:1;102115:14;:18;102093:40;102085:56;;;;-1:-1:-1::0;;;102085:56:0::3;;;;;;;:::i;:::-;102199:9;::::0;102176:4:::3;::::0;102152:21:::3;::::0;102176:44:::3;::::0;-1:-1:-1;;;;;102176:4:0::3;::::0;-1:-1:-1;;;102199:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;102210:9:0;::::3;::::0;::::3;102176:22;:44::i;:::-;102349:9;::::0;102292:4:::3;::::0;102152:68;;-1:-1:-1;102272:17:0::3;::::0;102292:78:::3;::::0;-1:-1:-1;;;;;102292:4:0;;::::3;::::0;102317:14;;102333;;-1:-1:-1;;;102349:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;102360:9:0;::::3;::::0;::::3;102292:24;:78::i;:::-;102412:4;::::0;102464:9:::3;::::0;102547:37:::3;::::0;;::::3;::::0;;::::3;::::0;;102572:10:::3;102547:37:::0;;102536:49;;102272:98;;-1:-1:-1;;;;;;102412:4:0;;::::3;::::0;:9:::3;::::0;102444:4:::3;::::0;-1:-1:-1;;;102464:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;102488:9:0;;::::3;::::0;::::3;::::0;102272:98;;102536:49:::3;::::0;102547:37;;102536:49:::3;;:::i;:::-;;;;;;;;;;;;;102412:174;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::3;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;102391:195:::0;;-1:-1:-1;102391:195:0;-1:-1:-1;102608:36:0::3;102619:9:::0;102630:13;102608:10:::3;:36::i;:::-;102599:45;;102657:25;102663:10;102675:6;102657:5;:25::i;:::-;102693:11;:9;:11::i;:::-;102728:10;-1:-1:-1::0;;;;;102720:45:0::3;;102740:6;102748:7;102757;102720:45;;;;;;;;:::i;:::-;;;;;;;;115697:1;;116074::::2;93371::::0;94295:7;:22;;;;101729:1044;;;;;:::o;99483:35::-;;;;:::o;103425:1171::-;93415:1;94012:7;;:19;;94004:34;;;;-1:-1:-1;;;94004:34:0;;;;;;;:::i;:::-;93415:1;94116:7;:18;115990:8:::1;::::0;115972:46:::1;::::0;;-1:-1:-1;;;115972:46:0;;;;115952:111:::1;::::0;-1:-1:-1;;;;;115990:8:0::1;::::0;115972:44:::1;::::0;:46:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;115990:8;115972:46;::::1;;::::0;::::1;;;;::::0;::::1;115952:111;103510:1:::2;115660:26;115678:7;115660:17;:26::i;:::-;103625:9:::3;::::0;103603:4:::3;::::0;:43:::3;::::0;-1:-1:-1;;;;;103603:4:0;;::::3;::::0;-1:-1:-1;;;103625:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;103636:9:0;::::3;::::0;::::3;103603:21;:43::i;:::-;103714:16;103733:11;:9;:11::i;:::-;103714:30;;103755:16;103774:11;:9;:11::i;:::-;103755:30;;103801:28;103810:8;103820;103801:28;;;;;;;:::i;:::-;;;;;;;;103896:8;::::0;103878:49:::3;::::0;;-1:-1:-1;;;103878:49:0;;;;103842:19:::3;::::0;-1:-1:-1;;;;;103896:8:0::3;::::0;103878:47:::3;::::0;:49:::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;103896:8;103878:49;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104025:4;::::0;103864:11:::3;:63:::0;;::::3;::::0;-1:-1:-1;104025:69:0::3;::::0;-1:-1:-1;;;;;104025:4:0;;::::3;::::0;104047:8;;104057;;103864:63;;104025:21:::3;:69::i;:::-;104001:9;104000:94:::0;;-1:-1:-1;;;;104000:94:0::3;-1:-1:-1::0;;;104000:94:0::3;::::0;;::::3;;::::0;;::::3;::::0;::::3;::::0;;;::::3;-1:-1:-1::0;;;;104000:94:0::3;-1:-1:-1::0;;;104000:94:0;;::::3;::::0;;;::::3;::::0;::::3;::::0;;;::::3;::::0;;;;104176:4:::3;::::0;-1:-1:-1;;104176:66:0::3;::::0;-1:-1:-1;;;;;104176:4:0;;::::3;::::0;104201:8;;104211;;104221:9;;::::3;::::0;::::3;::::0;104232;::::3;::::0;::::3;104176:24;:66::i;:::-;104338:4;::::0;104390:9:::3;::::0;104473:40:::3;::::0;;::::3;::::0;;::::3;::::0;;104370:4:::3;104473:40:::0;;;104462:52;;104156:86;;-1:-1:-1;104302:15:0::3;::::0;;;-1:-1:-1;;;;;104338:4:0::3;::::0;:9:::3;::::0;104370:4;-1:-1:-1;;;104390:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;104414:9:0;;::::3;::::0;::::3;::::0;104156:86;;104462:52:::3;::::0;104473:40;104462:52:::3;;:::i;:::-;;;;;;;;;;;;;104338:177;;;;;;;;;;;;;;;;;;;:::i;:::-;;::::0;::::3;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104549:9;::::0;104541:47:::3;::::0;104301:214;;-1:-1:-1;104301:214:0;;-1:-1:-1;104541:47:0::3;::::0;::::3;::::0;-1:-1:-1;;;104549:9:0;::::3;;::::0;;::::3;::::0;-1:-1:-1;;;104560:9:0;;::::3;::::0;::::3;::::0;104301:214;;;;104541:47:::3;:::i;:::-;;;;;;;;-1:-1:-1::0;;93371:1:0;94295:7;:22;-1:-1:-1;;;;;103425:1171:0:o;100131:32::-;;;-1:-1:-1;;;;;100131:32:0;;:::o;111801:579::-;111970:4;;-1:-1:-1;;;;;111970:4:0;111948:10;:27;111940:42;;;;-1:-1:-1;;;111940:42:0;;;;;;;:::i;:::-;112011:1;112001:7;:11;:26;;;;112026:1;112016:7;:11;112001:26;111993:35;;;;;;112102:28;112133:37;;;;112144:5;112133:37;:::i;:::-;112199:15;;112102:68;;-1:-1:-1;112227:145:0;;;;112243:56;112247:6;112263:4;112270:10;112290:7;112243:3;:56::i;:::-;112227:145;;;112316:56;112320:6;112336:4;112343:10;112363:7;112316:3;:56::i;:::-;111801:579;;;;;;:::o;50242:128::-;50343:9;;50317:46::o;6641:214::-;6764:7;6818:5;6825:9;6836;6801:45;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6791:56;;;;;;6784:63;;6641:214;;;;;:::o;59796:106::-;59884:10;59796:106;:::o;69381:284::-;-1:-1:-1;;;;;69483:19:0;;69475:36;;;;-1:-1:-1;;;69475:36:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;69530:21:0;;69522:38;;;;-1:-1:-1;;;69522:38:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;69573:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;69625:32;;;;;69603:6;;69625:32;:::i;:::-;;;;;;;;69381:284;;;:::o;116130:853::-;116234:9;;116211:4;;116194:14;;116211:44;;-1:-1:-1;;;;;116211:4:0;;-1:-1:-1;;;116234:9:0;;;;;;;-1:-1:-1;;;116245:9:0;;;;116211:22;:44::i;:::-;-1:-1:-1;;;;;116194:61:0;;-1:-1:-1;116270:14:0;116266:27;;116286:7;;;116266:27;116344:16;116362;116382:11;:9;:11::i;:::-;116343:50;;;;116447:46;116462:8;116472:20;;116447:14;:46::i;:::-;116424:20;:69;116552:20;;116527:46;;116542:8;;116527:14;:46::i;:::-;116504:20;:69;-1:-1:-1;;;;;116590:21:0;;;116586:390;;116661:10;116628:21;116652:20;;;:8;:20;;;;;116729;;116708:42;;116720:7;;116708:11;:42::i;:::-;116687:63;;116791:20;;116765:23;;;:46;116882:20;;116861:42;;116873:7;;116861:11;:42::i;:::-;116840:18;;;:63;116944:20;;116918:23;;;;:46;116586:390;116130:853;;;;;:::o;108436:118::-;108507:39;;-1:-1:-1;;;108507:39:0;;108480:7;;-1:-1:-1;;;;;108514:6:0;108507:24;;;;:39;;108540:4;;108507:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;108617:118::-;108688:39;;-1:-1:-1;;;108688:39:0;;108661:7;;-1:-1:-1;;;;;108695:6:0;108688:24;;;;:39;;108721:4;;108688:39;;;:::i;112577:713::-;112730:4;-1:-1:-1;;;;;112721:13:0;:5;-1:-1:-1;;;;;112721:13:0;;:47;;;;;112763:5;112738:21;:30;;112721:47;112717:566;;;112823:4;-1:-1:-1;;;;;112816:20:0;;112844:5;112816:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;112902:39:0;;-1:-1:-1;;;112902:39:0;;-1:-1:-1;;;;;112909:4:0;112902:21;;-1:-1:-1;112902:21:0;;-1:-1:-1;112902:39:0;;-1:-1:-1;112924:9:0;;112935:5;;112902:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;112717:566;;;-1:-1:-1;;;;;112963:22:0;;112980:4;112963:22;112959:324;;;113094:52;113122:5;113129:9;113140:5;113094:27;:52::i;:::-;112959:324;;;113208:63;113240:5;113247;113254:9;113265:5;113208:31;:63::i;24270:601::-;24465:7;24529:20;24565:4;-1:-1:-1;;;;;24565:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;24528:49;;;;;;;;24610:253;24668:12;24699:39;24727:10;24699:27;:39::i;:::-;24757;24785:10;24757:27;:39::i;:::-;24815:7;24841;24610:39;:253::i;:::-;24590:273;;;24270:601;;;;;;;;:::o;45481:770::-;45665:15;;;45736:44;-1:-1:-1;;;;;45736:22:0;;45759:9;45770;45736:22;:44::i;:::-;45710:70;;45818:9;-1:-1:-1;;;;;45799:28:0;:15;-1:-1:-1;;;;;45799:28:0;;;45791:44;;;;-1:-1:-1;;;45791:44:0;;;;;;;:::i;:::-;45867:42;;-1:-1:-1;;;45867:42:0;;-1:-1:-1;;;;;45867:9:0;;;;;:42;;45877:9;;45888;;45899;;45867:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45846:63;;-1:-1:-1;45846:63:0;-1:-1:-1;45926:11:0;;;;:26;;;45951:1;45941:7;:11;45926:26;45922:322;;;46052:4;-1:-1:-1;;;;;46052:12:0;;46083:2;46104:9;46132;46160:19;:7;:17;:19::i;:::-;46198;:7;:17;:19::i;:::-;46052:180;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;46031:201:0;;-1:-1:-1;45922:322:0;45481:770;;;;;;;;;:::o;82149:113::-;82242:5;;;82237:16;;;;82229:25;;;;;67183:438;-1:-1:-1;;;;;67289:20:0;;67281:36;;;;-1:-1:-1;;;67281:36:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;67336:23:0;;67328:39;;;;-1:-1:-1;;;67328:39:0;;;;;;;:::i;:::-;67380:47;67401:6;67409:9;67420:6;67380:20;:47::i;:::-;67460:36;;;;;;;;;;;-1:-1:-1;;;67460:36:0;;;;;;;;-1:-1:-1;;;;;67460:17:0;;-1:-1:-1;67460:17:0;;;;;;;;;;;;:36;;67482:6;;67460:21;:36::i;:::-;-1:-1:-1;;;;;67440:17:0;;;:9;:17;;;;;;;;;;;:56;;;;67530:20;;;;;;;:32;;67555:6;67530:24;:32::i;:::-;-1:-1:-1;;;;;67507:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;67578:35;;;;;;;;;;67606:6;;67578:35;:::i;82730:155::-;82851:5;;;82864:12;82846:16;;;;82838:39;;;;-1:-1:-1;;;82838:39:0;;;;;;;;:::i;:::-;;82730:155;;;;;:::o;31921:365::-;32039:17;32070:4;-1:-1:-1;;;;;32070:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32036:46;;;;;;;;32093:10;32106:27;32114:4;32120:12;32106:7;:27::i;:::-;32093:40;;32144:15;32176:4;32162:18;;:11;:18;;;:60;;32211:11;32204:4;:18;32162:60;;;32197:4;32183:11;:18;32162:60;32144:78;;32254:16;32241:29;;:9;:29;;;;32233:45;;;;-1:-1:-1;;;32233:45:0;;;;;;;:::i;44140:945::-;44350:15;44367;44417:1;44403:11;:15;44395:30;;;;-1:-1:-1;;;44395:30:0;;;;;;;:::i;:::-;44436:23;44462:44;-1:-1:-1;;;;;44462:22:0;;44485:9;44496;44462:22;:44::i;:::-;44436:70;-1:-1:-1;44517:17:0;44575:11;44537:35;-1:-1:-1;;;;;44537:24:0;;44566:5;44537:28;:35::i;:::-;:49;;;;;;;-1:-1:-1;44613:13:0;;44609:469;;44664:4;-1:-1:-1;;;;;44664:9:0;;44674;44685;44696:21;:9;:19;:21::i;:::-;44664:54;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44643:75;;-1:-1:-1;44643:75:0;-1:-1:-1;44739:11:0;;;;:26;;;44764:1;44754:7;:11;44739:26;44735:332;;;44847:4;-1:-1:-1;;;;;44847:12:0;;44882:2;44907:9;44939;44971:19;:7;:17;:19::i;:::-;45013;:7;:17;:19::i;:::-;44847:204;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;44826:225:0;;;;-1:-1:-1;44826:225:0;;-1:-1:-1;44735:332:0;44140:945;;;;;;;;;;;:::o;68586:357::-;-1:-1:-1;;;;;68670:21:0;;68662:37;;;;-1:-1:-1;;;68662:37:0;;;;;;;:::i;:::-;68712:49;68733:7;68750:1;68754:6;68712:20;:49::i;:::-;68795:37;;;;;;;;;;;-1:-1:-1;;;68795:37:0;;;;;;;;-1:-1:-1;;;;;68795:18:0;;-1:-1:-1;68795:18:0;;;;;;;;;;;;:37;;68818:6;;68795:22;:37::i;:::-;-1:-1:-1;;;;;68774:18:0;;:9;:18;;;;;;;;;;:58;68858:12;;:24;;68875:6;68858:16;:24::i;:::-;68843:12;:39;68898:37;;68924:1;;-1:-1:-1;;;;;68898:37:0;;;;;;;68928:6;;68898:37;:::i;:::-;;;;;;;;68586:357;;:::o;55643:281::-;55696:7;55737:16;55720:13;:11;:13::i;:::-;:33;55716:201;;;-1:-1:-1;55777:24:0;55770:31;;55716:201;55841:64;55863:10;55875:12;55889:15;55841:21;:64::i;:::-;55834:71;;;;81866:113;81959:5;;;81954:16;;;;81946:25;;;;;46488:581;46678:17;46698:44;-1:-1:-1;;;;;46698:22:0;;46721:9;46732;46698:22;:44::i;:::-;46678:64;-1:-1:-1;;;;;;46757:13:0;;;46753:88;;46787:42;;-1:-1:-1;;;46787:42:0;;-1:-1:-1;;;;;46787:9:0;;;;;:42;;46797:9;;46808;;46819;;46787:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;46753:88;46898:163;;-1:-1:-1;;;46898:163:0;;-1:-1:-1;;;;;46898:12:0;;;;;:163;;46933:4;;46953:9;;46977;;-1:-1:-1;;;;;47001:17:0;;;46898:163;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30722:310::-;30822:15;30839;30877;30895:31;30901:11;30914;30895:5;:31::i;:::-;30951:25;;;;30999;;;-1:-1:-1;;;;;30722:310:0:o;23305:560::-;23476:7;23485;23549:20;23585:4;-1:-1:-1;;;;;23585:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23548:49;;;;;;;;23628:229;23686:12;23717:39;23745:10;23717:27;:39::i;:::-;23775;23803:10;23775:27;:39::i;:::-;23833:9;23628:39;:229::i;:::-;23608:249;;;;;23305:560;;;;;;;;:::o;31437:302::-;31568:19;31668:47;31700:14;31668:27;:14;31687:7;31668:18;:27::i;:::-;:31;;:47::i;:::-;31618;31650:14;31618:27;:14;31637:7;31618:18;:27::i;:47::-;:97;:113;;31726:5;31618:113;;;31719:4;31600:131;31437:302;-1:-1:-1;;;;;31437:302:0:o;74782:142::-;74897:9;;;74877:40::o;85097:130::-;85158:9;-1:-1:-1;;;;;85188:6:0;;;;:30;;;85217:1;-1:-1:-1;;;;;85198:20:0;85212:1;-1:-1:-1;;;;;85198:15:0;85207:1;85203;:5;85199:9;;;-1:-1:-1;;;;;85198:15:0;;;;;;;-1:-1:-1;;;;;85198:20:0;;85188:30;85180:39;;;;;84524:116;84620:5;;;-1:-1:-1;;;;;84615:16:0;;;;;;;;84607:25;;;;;84810:116;84906:5;;;-1:-1:-1;;;;;84901:16:0;;;;;;;;84893:25;;;;;27826:1896;27983:15;28000;28028:17;28062:51;;;;;;;;28067:14;28062:51;;;;28083:14;28062:51;;;;28099:1;28062:51;;;;28102:1;28062:51;;;;28105:1;-1:-1:-1;;;;;28062:51:0;;;;;28108:1;28062:51;;;;;;28111:1;28062:51;;;;;28028:85;;28179:20;28201:17;28232:4;-1:-1:-1;;;;;28232:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28177:67;;;;;;;;;28320:50;28330:11;28343:13;28358:11;28320:9;:50::i;:::-;28283:87;;;;;;28301:15;;;28283:87;;;;;;;;28284:15;;;28283:87;;;28514:20;;-1:-1:-1;28536:20:0;;;28492:99;;28508:4;;28283:87;28492:15;:99::i;:::-;28475:13;;;28459:132;;;28460:13;;;28459:132;;;28730:15;;;;28747;;;;28674:89;;28694:4;;28459:132;;;;28674:19;:89::i;:::-;-1:-1:-1;;;;;28656:107:0;:15;;;:107;28845:20;;28867;;;;28889:13;;;;28904;;;;28806:19;;28828:90;;28845:20;;28867;;28828:16;:90::i;:::-;28806:112;;28996:14;28991:583;;;29027:22;29052:111;29104:12;29118:5;:15;;;29135:5;:20;;;29157:5;29052:51;:111::i;:::-;29027:136;;29196:77;29216:43;29244:14;29216:27;:43::i;:::-;29261:11;29196:19;:77::i;:::-;29178:95;;;;;;:15;;;:95;-1:-1:-1;28991:583:0;;;29314:22;29339:113;29393:12;29407:5;:15;;;29424:5;:20;;;29446:5;29339:53;:113::i;:::-;29314:138;;29485:77;29505:43;29533:14;29505:27;:43::i;29485:77::-;29467:95;;;;;;:15;;;:95;-1:-1:-1;28991:583:0;29584:44;29595:5;:15;;;29612:5;:15;;;29584:10;:44::i;:::-;29661:5;:15;;;29649:27;;29699:5;:15;;;29687:27;;27826:1896;;;;;;;;;;;;:::o;49735:114::-;49827:14;;49735:114::o;73358:207::-;-1:-1:-1;;;;;73479:14:0;;73418:15;73479:14;;;:7;:14;;;;;73514:15;73479:14;73514:13;:15::i;:::-;73504:25;;73540:17;:5;:15;:17::i;:::-;73358:207;;;;:::o;56911:167::-;56988:7;57015:55;57037:20;:18;:20::i;:::-;57059:10;57015:21;:55::i;50768:1348::-;50853:7;51778:66;51764:80;;;51756:96;;;;-1:-1:-1;;;51756:96:0;;;;;;;:::i;:::-;51871:1;:7;;51876:2;51871:7;:18;;;;51882:1;:7;;51887:2;51882:7;51871:18;51863:34;;;;-1:-1:-1;;;51863:34:0;;;;;;;:::i;:::-;51995:14;52012:24;52022:4;52028:1;52031;52034;52012:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52012:24:0;;-1:-1:-1;;52012:24:0;;;-1:-1:-1;;;;;;;52055:20:0;;52047:35;;;;-1:-1:-1;;;52047:35:0;;;;;;;:::i;:::-;52102:6;-1:-1:-1;50768:1348:0;;;;;;;:::o;27127:238::-;27196:5;27214:16;27240:11;27233:18;;:4;:18;;;;;;;;27214:37;;27273:1;27266:4;:8;;;:35;;;;;27285:11;27278:18;;:4;:18;;;;;;;;:23;;;;27266:35;27262:53;;;-1:-1:-1;;27303:12:0;27262:53;27333:24;;;;27127:238;-1:-1:-1;;27127:238:0:o;26773:::-;26872:9;26860:21;;:9;:21;;;26852:37;;;;-1:-1:-1;;;26852:37:0;;;;;;;:::i;:::-;-1:-1:-1;;26908:30:0;;;;;;26900:46;;;;-1:-1:-1;;;26900:46:0;;;;;;;:::i;:::-;7463:9;26965:30;;;;;;26957:46;;;;-1:-1:-1;;;26957:46:0;;;;;;;:::i;:::-;26773:238;;:::o;26213:393::-;26347:17;26414:19;26436:58;26464:4;26471:10;26483;26436:19;:58::i;:::-;26571:27;;-1:-1:-1;;;26571:27:0;;26414:80;;-1:-1:-1;;;;;;26571:14:0;;;;;:27;;26414:80;;26571:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;26549:49:0;;26213:393;-1:-1:-1;;;;;;;;26213:393:0:o;108071:298::-;108197:14;108248:13;:11;:13::i;:::-;:18;:113;;108290:71;108346:13;-1:-1:-1;;;;;108338:22:0;108290:37;108313:13;:11;:13::i;:::-;-1:-1:-1;;;;;108290:18:0;;;:22;:37::i;:71::-;108248:113;;;-1:-1:-1;;;;;;;108269:18:0;;108071:298::o;67903:350::-;-1:-1:-1;;;;;67987:21:0;;67979:37;;;;-1:-1:-1;;;67979:37:0;;;;;;;:::i;:::-;68029:49;68058:1;68062:7;68071:6;68029:20;:49::i;:::-;68106:12;;:24;;68123:6;68106:16;:24::i;:::-;68091:12;:39;-1:-1:-1;;;;;68162:18:0;;:9;:18;;;;;;;;;;;:30;;68185:6;68162:22;:30::i;:::-;-1:-1:-1;;;;;68141:18:0;;:9;:18;;;;;;;;;;;:51;;;;68208:37;;68141:18;;:9;68208:37;;;;68238:6;;68208:37;:::i;118533:145::-;118578:21;:25;118574:96;;118605:65;118636:10;118648:21;118605:30;:65::i;:::-;118533:145::o;108789:1206::-;108963:4;;108973:9;;108963:34;;-1:-1:-1;;;108963:34:0;;108828:20;;;;-1:-1:-1;;;;;108963:4:0;;;;:9;;:34;;-1:-1:-1;;;108973:9:0;;;;;;;-1:-1:-1;;;108984:9:0;;;;;108828:20;;108963:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;109070:4:0;;109133:9;;109070:187;;-1:-1:-1;;;109070:187:0;;109019:16;;;;-1:-1:-1;;;;;109070:4:0;;;;:12;;:187;;109109:4;;-1:-1:-1;;;109133:9:0;;;;;;;-1:-1:-1;;;109161:9:0;;;;;;-1:-1:-1;;;;;109189:17:0;;;109070:187;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;109018:239:0;;;-1:-1:-1;;;;;109018:239:0;;;109327:22;109352:84;109418:17;109352:84;;:55;109383:8;;;;;;;;;-1:-1:-1;;;;;109383:8:0;-1:-1:-1;;;;;109365:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;109352:8;;:55;;:12;:55::i;:84::-;109327:109;;109447:22;109472:84;109538:17;109472:84;;:55;109503:8;;;;;;;;;-1:-1:-1;;;;;109503:8:0;-1:-1:-1;;;;;109485:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109472:84;109590:20;;109447:109;;-1:-1:-1;109590:40:0;;109615:14;109590:24;:40::i;:::-;109567:20;:63;109664:20;;:40;;109689:14;109664:24;:40::i;:::-;109641:20;:63;109730:28;:8;109743:14;109730:12;:28::i;:::-;109715:43;-1:-1:-1;109784:28:0;:8;109797:14;109784:12;:28::i;:::-;109836:10;;109769:43;;-1:-1:-1;109836:28:0;;109851:12;109836:14;:28::i;:::-;109823:10;:41;109888:10;;:28;;109903:12;109888:14;:28::i;:::-;109875:10;:41;;;109964:10;;109932:55;;;;;;109944:8;;109954;;109875:41;109932:55;:::i;:::-;;;;;;;;108789:1206;;;;;;:::o;117879:409::-;117974:7;117994:17;118014:13;:11;:13::i;:::-;117994:33;-1:-1:-1;118042:16:0;;118038:206;;118082:150;118138:79;118204:12;118138:37;:9;118170:4;118138:31;:37::i;:79::-;118082:19;;:37;:150::i;:::-;118075:157;;;;;118038:206;-1:-1:-1;118261:19:0;;117879:409;-1:-1:-1;;117879:409:0:o;117064:331::-;-1:-1:-1;;;;;117191:17:0;;117148:7;117191:17;;;:8;:17;;;;;;;;117168:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;117239:148;;:110;;117344:4;;117239:80;;117276:42;;:13;;:17;:42::i;:::-;117239:18;117249:7;117239:9;:18::i;:110::-;:128;;:148::i;117476:331::-;-1:-1:-1;;;;;117603:17:0;;117560:7;117603:17;;;:8;:17;;;;;;;;117580:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;117651:148;;:110;;117756:4;;117651:80;;117688:42;;:13;;:17;:42::i;91048:316::-;91167:12;91181:17;91202:5;-1:-1:-1;;;;;91202:10:0;91236:24;;;91262:2;91266:5;91213:59;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;91213:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;91202:71;;;;91213:59;91202:71;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91166:107;;;;91292:7;:57;;;;-1:-1:-1;91304:11:0;;:16;;:44;;;91335:4;91324:24;;;;;;;;;;;;:::i;:::-;91284:72;;;;-1:-1:-1;;;91284:72:0;;;;;;;:::i;90382:367::-;90528:12;90542:17;90576:5;-1:-1:-1;;;;;90576:10:0;90610:28;;;90640:4;90646:2;90650:5;90587:69;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;90587:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;90576:81;;;;90587:69;90576:81;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90527:130;;;;90676:7;:57;;;;-1:-1:-1;90688:11:0;;:16;;:44;;;90719:4;90708:24;;;;;;;;;;;;:::i;:::-;90668:73;;;;-1:-1:-1;;;90668:73:0;;;;;;;:::i;8193:2611::-;8256:20;8289:15;8314:1;8307:4;:8;;;:57;;8358:4;8351:12;;8307:57;;;8334:4;8327:12;;8326:13;;8307:57;8289:75;-1:-1:-1;7463:9:0;8383:28;;;8375:42;;;;-1:-1:-1;;;8375:42:0;;;;;;;:::i;:::-;8430:13;8456:3;8446:13;;:93;;8504:35;8446:93;;;8467:34;8446:93;8430:109;;;-1:-1:-1;8564:3:0;8554:13;;:18;8550:83;;8591:34;8583:42;8630:3;8582:51;8550:83;8658:3;8648:13;;:18;8644:83;;8685:34;8677:42;8724:3;8676:51;8644:83;8752:3;8742:13;;:18;8738:83;;8779:34;8771:42;8818:3;8770:51;8738:83;8846:4;8836:14;;:19;8832:84;;8874:34;8866:42;8913:3;8865:51;8832:84;8941:4;8931:14;;:19;8927:84;;8969:34;8961:42;9008:3;8960:51;8927:84;9036:4;9026:14;;:19;9022:84;;9064:34;9056:42;9103:3;9055:51;9022:84;9131:4;9121:14;;:19;9117:84;;9159:34;9151:42;9198:3;9150:51;9117:84;9226:5;9216:15;;:20;9212:85;;9255:34;9247:42;9294:3;9246:51;9212:85;9322:5;9312:15;;:20;9308:85;;9351:34;9343:42;9390:3;9342:51;9308:85;9418:5;9408:15;;:20;9404:85;;9447:34;9439:42;9486:3;9438:51;9404:85;9514:5;9504:15;;:20;9500:85;;9543:34;9535:42;9582:3;9534:51;9500:85;9610:6;9600:16;;:21;9596:86;;9640:34;9632:42;9679:3;9631:51;9596:86;9707:6;9697:16;;:21;9693:86;;9737:34;9729:42;9776:3;9728:51;9693:86;9804:6;9794:16;;:21;9790:86;;9834:34;9826:42;9873:3;9825:51;9790:86;9901:6;9891:16;;:21;9887:86;;9931:34;9923:42;9970:3;9922:51;9887:86;9998:7;9988:17;;:22;9984:86;;10029:33;10021:41;10067:3;10020:50;9984:86;10095:7;10085:17;;:22;10081:85;;10126:32;10118:40;10163:3;10117:49;10081:85;10191:7;10181:17;;:22;10177:83;;10222:30;10214:38;10257:3;10213:47;10177:83;10285:7;10275:17;;:22;10271:78;;10316:25;10308:33;10346:3;10307:42;10271:78;10373:1;10366:4;:8;;;10362:47;;;10404:5;-1:-1:-1;;10384:25:0;;;;;;10376:33;;10362:47;10773:7;10764:5;:17;:22;:30;;10793:1;10764:30;;;10789:1;10764:30;10747:48;;10757:2;10748:5;:11;;10747:48;10724:72;;8193:2611;;;;;:::o;18528:920::-;18737:17;18787:13;-1:-1:-1;;;;;18771:29:0;:13;-1:-1:-1;;;;;18771:29:0;;18767:98;;;18836:13;;18851;18767:98;18898:13;-1:-1:-1;;;;;18882:29:0;:12;-1:-1:-1;;;;;18882:29:0;;18878:563;;18940:61;18963:13;18978;18993:7;18940:22;:61::i;:::-;18928:73;;18878:563;;;19038:13;-1:-1:-1;;;;;19023:28:0;:12;-1:-1:-1;;;;;19023:28:0;;19019:422;;;19068:18;19089:60;19112:12;19126:13;19141:7;19089:22;:60::i;:::-;19068:81;;19164:18;19185:60;19208:13;19223:12;19237:7;19185:22;:60::i;:::-;19164:81;;19287:10;-1:-1:-1;;;;;19274:23:0;:10;-1:-1:-1;;;;;19274:23:0;;:49;;19313:10;19274:49;;;19300:10;19274:49;19262:61;;19019:422;;;;;19368:61;19391:13;19406;19421:7;19368:22;:61::i;:::-;19356:73;18528:920;-1:-1:-1;;;;;;18528:920:0:o;80755:113::-;80858:1;-1:-1:-1;;;;;80838:21:0;;;;80830:30;;;;;32394:422;32569:15;;;32582:1;32569:15;;;;;;;;32476:5;;32517:12;;32476:5;;32569:15;;;;;;;;;;;;-1:-1:-1;32569:15:0;32540:44;;32611:13;32595:10;32606:1;32595:13;;;;;;;;;;;;;:29;;;;;;;;;;;32651:1;32635:10;32646:1;32635:13;;;;;;;;:17;;;;:13;;;;;;;;;;;:17;32702:24;;-1:-1:-1;;;32702:24:0;;32666:30;;-1:-1:-1;;;;;32702:12:0;;;;;:24;;32715:10;;32702:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32702:24:0;;;;;;;;;;;;:::i;:::-;32665:61;;;32794:13;32750:57;;32772:15;32788:1;32772:18;;;;;;;;;;;;;;32751:15;32767:1;32751:18;;;;;;;;;;;;;;:39;32750:57;;;;;;;;;32394:422;-1:-1:-1;;;;;;32394:422:0:o;82433:127::-;82491:9;82521:6;;;:30;;-1:-1:-1;;82536:5:0;;;82550:1;82545;82536:5;82545:1;82531:15;;;;;:20;82513:39;;;;;55932:337;56034:7;56114:8;56141:4;56164:7;56190:13;:11;:13::i;:::-;56230:4;56085:165;;;;;;;;;;;;:::i;21623:815::-;21808:15;21825;21873:13;-1:-1:-1;;;;;21857:29:0;:13;-1:-1:-1;;;;;21857:29:0;;21853:98;;;21922:13;;21937;21853:98;21984:13;-1:-1:-1;;;;;21968:29:0;:12;-1:-1:-1;;;;;21968:29:0;;21964:467;;22024:63;22047:13;22062;22077:9;22024:22;:63::i;:::-;22014:73;;21964:467;;;22124:13;-1:-1:-1;;;;;22109:28:0;:12;-1:-1:-1;;;;;22109:28:0;;22105:326;;;22164:62;22187:12;22201:13;22216:9;22164:22;:62::i;:::-;22154:72;;22251:62;22274:13;22289:12;22303:9;22251:22;:62::i;:::-;22241:72;;22105:326;;;22356:63;22379:13;22394;22409:9;22356:22;:63::i;:::-;22346:73;;21623:815;;;;;;;:::o;30240:400::-;30392:15;30409;30437:17;30457:81;30477:4;30483:14;30499;30515:10;30527;30457:19;:81::i;:::-;30437:101;;30572:60;30592:4;30598:9;30609:10;30621;30572:19;:60::i;:::-;30551:81;;;;-1:-1:-1;30240:400:0;-1:-1:-1;;;;;;;30240:400:0:o;86492:1394::-;86668:7;86805:11;86801:32;;-1:-1:-1;86825:8:0;86818:15;;86801:32;86865:45;73842:2;86865:45;;;;86923:956;;;;-1:-1:-1;;;;;86981:50:0;;86992:17;;;;87013:6;86992:17;87013:6;86981:38;;;;;:50;86977:328;;;87074:20;;;87117:25;;;87113:176;;87228:60;87254:10;87266:8;-1:-1:-1;;;;;87228:60:0;87276:11;87228:25;:60::i;:::-;87213:76;;;;;;;87113:176;86977:328;;87336:73;87361:10;87373:35;87401:6;87387:8;-1:-1:-1;;;;;87374:21:0;:10;:21;;;;;;;87373:27;:35::i;:::-;87336:24;:73::i;:::-;87321:89;;;;;;86923:956;-1:-1:-1;;;;;87641:50:0;;87652:17;;;;87673:6;87652:17;87673:6;87641:38;;;;;:50;:74;;;;;87708:7;87695:10;:20;87641:74;87633:83;;;;;;87753:20;;;87795:72;:60;87753:10;-1:-1:-1;;;;;87795:60:0;;87753:20;87795:25;:60::i;:::-;:70;:72::i;11230:4424::-;11303:10;7646;-1:-1:-1;;;;;11434:30:0;;;;;;:63;;-1:-1:-1;7828:49:0;-1:-1:-1;;;;;11468:29:0;;;11434:63;11426:77;;;;-1:-1:-1;;;11426:77:0;;;;;;;:::i;:::-;11530:27;11555:2;11530:27;;;;-1:-1:-1;;;;;11666:41:0;;11663:1;11659:49;11758:9;;;11834:18;11828:25;;11825:1;11821:33;11904:9;;;11980:10;11974:17;;11971:1;11967:25;12042:9;;;12118:6;12112:13;;12109:1;12105:21;12176:9;;;12252:4;12246:11;;12243:1;12239:19;;;12308:9;;;12384:3;12378:10;;12375:1;12371:18;12439:9;;;12509:10;;;12506:1;12502:18;;;12570:9;;;;12633:10;;;11875;;12013;;;12147;;;12279;12410;;;12541;12664;12708:3;12701:10;;12697:80;;12733:3;12727;:9;12717:5;:20;;12713:24;;12697:80;;;12773:3;12767;:9;12757:5;:20;;12753:24;;12697:80;12881:9;;;12876:3;12872:19;;;12914:11;;;;12988:9;;;;13056;;13047:19;;;13089:11;;;13163:9;13231;;13222:19;;;13264:11;;;13338:9;13406;;13397:19;;;13439:11;;;13513:9;13581;;13572:19;;;13614:11;;;13688:9;13756;;13747:19;;;13789:11;;;13863:9;13931;;13922:19;;;13964:11;;;14038:9;14106;;14097:19;;;14139:11;;;14213:9;14281;;14272:19;;;14314:11;;;14388:9;14456;;14447:19;;;14489:11;;;14563:9;14631;;14622:19;;;14664:11;;;14738:9;14806;;14797:19;;;14839:11;;;14913:9;14981;;14972:19;;;15014:11;;;;15088:9;;;;15156;;15147:19;;;;;12881:9;-1:-1:-1;;12806:17:0;;12828:2;12805:25;12958:10;;;;;;;12948:21;13133:10;;;;;;;13123:21;;;;13308:10;;;;;;;13298:21;;;;13483:10;;;;;;;13473:21;;;;13658:10;;;;;;;13648:21;;;;13833:10;;;;;;;13823:21;;;;14008:10;;;;;;;13998:21;14183:10;;;;;;;14173:21;14358:10;;;;;;;14348:21;14533:10;;;;;;;14523:21;14708:10;;;;;;;14698:21;14883:10;;;;;;;14873:21;15058:10;;;;;;;15048:21;15233:10;;;;;;;15223:21;15298:24;15290:32;;-1:-1:-1;;15376:53:0;;12820:3;15375:62;;;;15487:39;15471:55;;15470:64;;15555:17;;;;;;;;;:91;;15615:12;-1:-1:-1;;;;;15585:42:0;:26;15604:6;15585:18;:26::i;:::-;-1:-1:-1;;;;;15585:42:0;;;:61;;15639:7;15585:61;;;15630:6;15585:61;15555:91;;;15575:7;15555:91;15548:98;11230:4424;-1:-1:-1;;;;;;;;;11230:4424:0:o;88724:1182::-;88902:7;89082:3;89078:821;;;89102:16;-1:-1:-1;;;;;89161:27:0;;;:182;;89291:52;89307:6;-1:-1:-1;;;89333:9:0;-1:-1:-1;;;;;89291:52:0;:15;:52::i;:::-;89161:182;;;-1:-1:-1;;;;;89216:47:0;;73842:2;89217:33;;;89216:47;;;;;;89161:182;89102:260;-1:-1:-1;89386:43:0;:31;-1:-1:-1;;;;;89386:17:0;;89102:260;89386:21;:31::i;:43::-;89379:50;;;;;89078:821;89462:16;-1:-1:-1;;;;;89521:27:0;;;:215;;89674:62;89700:6;-1:-1:-1;;;89726:9:0;-1:-1:-1;;;;;89674:62:0;:25;:62::i;:::-;89521:215;;;89576:70;73842:2;89601:33;;;-1:-1:-1;;;;;89576:70:0;;:24;:70::i;:::-;89462:293;;89791:8;89780;-1:-1:-1;;;;;89780:19:0;;89772:28;;;;;;-1:-1:-1;;;;;89867:19:0;;;;-1:-1:-1;89852:35:0;;49857:187;50017:19;;50035:1;50017:19;;;49857:187::o;52466:196::-;52559:7;52625:15;52642:10;52596:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52586:68;;;;;;52579:75;;52466:196;;;;:::o;91560:168::-;91673:12;;;91633;91673;;;;;;;;;-1:-1:-1;;;;;91651:7:0;;;91666:5;;91651:35;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91632:54;;;91705:7;91697:23;;;;-1:-1:-1;;;91697:23:0;;;;;;;:::i;16598:483::-;16750:17;16800:13;-1:-1:-1;;;;;16784:29:0;:13;-1:-1:-1;;;;;16784:29:0;;16780:98;;;16849:13;;16864;16780:98;16889:20;16912:63;16928:13;-1:-1:-1;;;;;16912:63:0;16943:13;-1:-1:-1;;;;;16912:63:0;-1:-1:-1;;;16912:15:0;:63::i;:::-;16889:86;;16993:80;17003:69;17019:7;17028:12;17058:13;17042;:29;-1:-1:-1;;;;;17003:69:0;:15;:69::i;:::-;16993:9;:80::i;17528:390::-;17680:17;17730:13;-1:-1:-1;;;;;17714:29:0;:13;-1:-1:-1;;;;;17714:29:0;;17710:98;;;17779:13;;17794;17710:98;17826:84;17836:73;17852:7;-1:-1:-1;;;17895:13:0;17879;:29;-1:-1:-1;;;;;17836:73:0;:15;:73::i;19813:511::-;19967:15;20015:13;-1:-1:-1;;;;;19999:29:0;:13;-1:-1:-1;;;;;19999:29:0;;19995:98;;;20064:13;;20079;19995:98;20303:13;-1:-1:-1;;;;;20126:190:0;:174;73842:2;20160:45;;20168:9;-1:-1:-1;;;;;20160:18:0;:45;;20240:13;20224;:29;-1:-1:-1;;;;;20126:174:0;20272:13;-1:-1:-1;;;;;20126:174:0;:15;:174::i;:::-;:190;;;;;;;19813:511;-1:-1:-1;;;;19813:511:0:o;20689:383::-;20843:15;20891:13;-1:-1:-1;;;;;20875:29:0;:13;-1:-1:-1;;;;;20875:29:0;;20871:98;;;20940:13;;20955;20871:98;20989:75;21005:9;-1:-1:-1;;;;;20989:75:0;21032:13;21016;:29;-1:-1:-1;;;;;20989:75:0;-1:-1:-1;;;20989:15:0;:75::i;79810:325::-;79936:14;79972:25;79979:1;79982;79985:11;79972:6;:25::i;:::-;79963:34;;80040:1;80025:11;80012:25;;;;;80022:1;80019;80012:25;:29;80008:120;;;-1:-1:-1;;80066:6:0;:26;80058:35;;;;;;80108:8;;79810:325;;;;;:::o;74375:169::-;74498:9;;;74512;;74509:16;;74494:32;;74474:63::o;80462:113::-;80565:1;-1:-1:-1;;;;;80545:21:0;;;;80537:30;;;;;75653:3868;75769:14;;;-1:-1:-1;;76285:1:0;76282;76275:20;76318:9;;;;-1:-1:-1;76370:13:0;;;76354:14;;;;76350:34;;-1:-1:-1;76470:10:0;76466:185;;76519:1;76505:11;:15;76497:24;;;;;;-1:-1:-1;76574:23:0;;;;-1:-1:-1;76626:13:0;;76466:185;76782:5;76768:11;:19;76760:28;;;;;;77073:17;77151:11;77148:1;77145;77138:25;77514:12;77529;;;:26;;77652:22;;;;;78475:1;78456;:15;;78455:21;;78706:17;;;78702:21;;78695:28;78765:17;;;78761:21;;78754:28;78825:17;;;78821:21;;78814:28;78885:17;;;78881:21;;78874:28;78945:17;;;78941:21;;78934:28;79006:17;;;79002:21;;;78995:28;78035:12;;;;78031:23;;;78056:1;78027:31;77284:20;;;77273:32;;;78088:12;;;;77328:21;;;;77785:16;;;;78079:21;;;;79478:11;;;;;-1:-1:-1;;75653:3868:0;;;;;:::o;14:777:1:-;;138:3;131:4;123:6;119:17;115:27;105:2;;160:5;153;146:20;105:2;193:6;187:13;219:4;243:63;258:47;302:2;258:47;:::i;:::-;243:63;:::i;:::-;340:15;;;371:12;;;;403:15;;;449:11;;;437:24;;433:33;;430:42;-1:-1:-1;427:2:1;;;489:5;482;475:20;427:2;515:5;529:233;543:2;540:1;537:9;529:233;;;607:3;601:10;624:33;651:5;624:33;:::i;:::-;670:18;;708:12;;;;740;;;;561:1;554:9;529:233;;;-1:-1:-1;780:5:1;;95:696;-1:-1:-1;;;;;;;95:696:1:o;796:377::-;;;913:3;906:4;898:6;894:17;890:27;880:2;;938:8;928;921:26;880:2;-1:-1:-1;968:20:1;;1011:18;1000:30;;997:2;;;1050:8;1040;1033:26;997:2;1094:4;1086:6;1082:17;1070:29;;1146:3;1139:4;1130:6;1122;1118:19;1114:30;1111:39;1108:2;;;1163:1;1160;1153:12;1108:2;870:303;;;;;:::o;1178:166::-;1257:13;;1310:1;1299:20;;;1289:31;;1279:2;;1334:1;1331;1324:12;1349:194;1430:13;;-1:-1:-1;;;;;1472:46:1;;1462:57;;1452:2;;1533:1;1530;1523:12;1548:165;1628:13;;1681:6;1670:18;;1660:29;;1650:2;;1703:1;1700;1693:12;1718:259;;1830:2;1818:9;1809:7;1805:23;1801:32;1798:2;;;1851:6;1843;1836:22;1798:2;1895:9;1882:23;1914:33;1941:5;1914:33;:::i;1982:402::-;;;2111:2;2099:9;2090:7;2086:23;2082:32;2079:2;;;2132:6;2124;2117:22;2079:2;2176:9;2163:23;2195:33;2222:5;2195:33;:::i;:::-;2247:5;-1:-1:-1;2304:2:1;2289:18;;2276:32;2317:35;2276:32;2317:35;:::i;:::-;2371:7;2361:17;;;2069:315;;;;;:::o;2389:470::-;;;;2535:2;2523:9;2514:7;2510:23;2506:32;2503:2;;;2556:6;2548;2541:22;2503:2;2600:9;2587:23;2619:33;2646:5;2619:33;:::i;:::-;2671:5;-1:-1:-1;2728:2:1;2713:18;;2700:32;2741:35;2700:32;2741:35;:::i;:::-;2493:366;;2795:7;;-1:-1:-1;;;2849:2:1;2834:18;;;;2821:32;;2493:366::o;2864:817::-;;;;;;;;3076:3;3064:9;3055:7;3051:23;3047:33;3044:2;;;3098:6;3090;3083:22;3044:2;3142:9;3129:23;3161:33;3188:5;3161:33;:::i;:::-;3213:5;-1:-1:-1;3270:2:1;3255:18;;3242:32;3283:35;3242:32;3283:35;:::i;:::-;3337:7;-1:-1:-1;3391:2:1;3376:18;;3363:32;;-1:-1:-1;3442:2:1;3427:18;;3414:32;;-1:-1:-1;3498:3:1;3483:19;;3470:33;3512;3470;3512;:::i;:::-;3034:647;;;;-1:-1:-1;3034:647:1;;;;3564:7;3618:3;3603:19;;3590:33;;-1:-1:-1;3670:3:1;3655:19;;;3642:33;;3034:647;-1:-1:-1;;3034:647:1:o;3686:327::-;;;3815:2;3803:9;3794:7;3790:23;3786:32;3783:2;;;3836:6;3828;3821:22;3783:2;3880:9;3867:23;3899:33;3926:5;3899:33;:::i;:::-;3951:5;4003:2;3988:18;;;;3975:32;;-1:-1:-1;;;3773:240:1:o;4018:1321::-;;;4206:2;4194:9;4185:7;4181:23;4177:32;4174:2;;;4227:6;4219;4212:22;4174:2;4265:9;4259:16;4294:18;4335:2;4327:6;4324:14;4321:2;;;4356:6;4348;4341:22;4321:2;4399:6;4388:9;4384:22;4374:32;;4444:7;4437:4;4433:2;4429:13;4425:27;4415:2;;4471:6;4463;4456:22;4415:2;4505;4499:9;4527:4;4551:63;4566:47;4610:2;4566:47;:::i;4551:63::-;4648:15;;;4679:12;;;;4711:11;;;4749;;;4741:20;;4737:29;;4734:42;-1:-1:-1;4731:2:1;;;4794:6;4786;4779:22;4731:2;4821:6;4812:15;;4836:269;4850:2;4847:1;4844:9;4836:269;;;4914:3;4908:10;4965:5;4962:1;4951:20;4944:5;4941:31;4931:2;;4991:6;4983;4976:22;4931:2;5013:18;;4868:1;4861:9;;;;;5051:12;;;;5083;;4836:269;;;-1:-1:-1;5160:18:1;;;5154:25;5124:5;;-1:-1:-1;5154:25:1;;-1:-1:-1;;;5191:16:1;;;5188:2;;;5225:6;5217;5210:22;5188:2;;5253:80;5325:7;5314:8;5303:9;5299:24;5253:80;:::i;:::-;5243:90;;;4164:1175;;;;;:::o;5344:257::-;;5464:2;5452:9;5443:7;5439:23;5435:32;5432:2;;;5485:6;5477;5470:22;5432:2;5522:9;5516:16;5541:30;5565:5;5541:30;:::i;5606:216::-;;5727:2;5715:9;5706:7;5702:23;5698:32;5695:2;;;5748:6;5740;5733:22;5695:2;5776:40;5806:9;5776:40;:::i;5827:253::-;;;5965:2;5953:9;5944:7;5940:23;5936:32;5933:2;;;5986:6;5978;5971:22;5933:2;-1:-1:-1;;6014:16:1;;6070:2;6055:18;;;6049:25;6014:16;;6049:25;;-1:-1:-1;5923:157:1:o;6085:565::-;;;;;6248:2;6236:9;6227:7;6223:23;6219:32;6216:2;;;6269:6;6261;6254:22;6216:2;6310:9;6297:23;6287:33;;6367:2;6356:9;6352:18;6339:32;6329:42;;6422:2;6411:9;6407:18;6394:32;6449:18;6441:6;6438:30;6435:2;;;6486:6;6478;6471:22;6435:2;6530:60;6582:7;6573:6;6562:9;6558:22;6530:60;:::i;:::-;6206:444;;;;-1:-1:-1;6609:8:1;-1:-1:-1;;;;6206:444:1:o;6655:517::-;;6801:2;6789:9;6780:7;6776:23;6772:32;6769:2;;;6822:6;6814;6807:22;6769:2;6860;6854:9;6902:2;6894:6;6890:15;6971:6;6959:10;6956:22;6935:18;6923:10;6920:34;6917:62;6914:2;;;6982:9;6914:2;7009;7002:22;7046:23;;7078:33;7046:23;7078:33;:::i;:::-;7120:21;;7127:6;6759:413;-1:-1:-1;;;6759:413:1:o;7177:514::-;;7323:2;7311:9;7302:7;7298:23;7294:32;7291:2;;;7344:6;7336;7329:22;7291:2;7382;7376:9;7424:2;7416:6;7412:15;7493:6;7481:10;7478:22;7457:18;7445:10;7442:34;7439:62;7436:2;;;7504:9;7436:2;7531;7524:22;7568:23;;7600:30;7568:23;7600:30;:::i;7696:307::-;;;7836:2;7824:9;7815:7;7811:23;7807:32;7804:2;;;7857:6;7849;7842:22;7804:2;7885:42;7917:9;7885:42;:::i;:::-;7875:52;;7946:51;7993:2;7982:9;7978:18;7946:51;:::i;:::-;7936:61;;7794:209;;;;;:::o;8008:518::-;;;;;;8199:3;8187:9;8178:7;8174:23;8170:33;8167:2;;;8221:6;8213;8206:22;8167:2;8249:42;8281:9;8249:42;:::i;:::-;8239:52;;8331:2;8320:9;8316:18;8310:25;8300:35;;8375:2;8364:9;8360:18;8354:25;8344:35;;8398:51;8445:2;8434:9;8430:18;8398:51;:::i;:::-;8388:61;;8468:52;8515:3;8504:9;8500:19;8468:52;:::i;:::-;8458:62;;8157:369;;;;;;;;:::o;8531:867::-;;;;;;;;8746:3;8734:9;8725:7;8721:23;8717:33;8714:2;;;8768:6;8760;8753:22;8714:2;8805:9;8799:16;8824:33;8851:5;8824:33;:::i;:::-;8876:5;-1:-1:-1;8900:49:1;8945:2;8930:18;;8900:49;:::i;:::-;8890:59;;8968:50;9014:2;9003:9;8999:18;8968:50;:::i;:::-;8958:60;;9037:50;9083:2;9072:9;9068:18;9037:50;:::i;:::-;9027:60;;9106:51;9152:3;9141:9;9137:19;9106:51;:::i;:::-;9096:61;;9202:3;9191:9;9187:19;9181:26;9216:33;9241:7;9216:33;:::i;:::-;9320:3;9305:19;;9299:26;9268:7;;-1:-1:-1;9334:32:1;9299:26;9334:32;:::i;:::-;9385:7;9375:17;;;8704:694;;;;;;;;;;:::o;9403:298::-;;9525:2;9513:9;9504:7;9500:23;9496:32;9493:2;;;9546:6;9538;9531:22;9493:2;9583:9;9577:16;9633:8;9626:5;9622:20;9615:5;9612:31;9602:2;;9662:6;9654;9647:22;9706:190;;9818:2;9806:9;9797:7;9793:23;9789:32;9786:2;;;9839:6;9831;9824:22;9786:2;-1:-1:-1;9867:23:1;;9776:120;-1:-1:-1;9776:120:1:o;9901:194::-;;10024:2;10012:9;10003:7;9999:23;9995:32;9992:2;;;10045:6;10037;10030:22;9992:2;-1:-1:-1;10073:16:1;;9982:113;-1:-1:-1;9982:113:1:o;10100:258::-;;;10229:2;10217:9;10208:7;10204:23;10200:32;10197:2;;;10250:6;10242;10235:22;10197:2;-1:-1:-1;;10278:23:1;;;10348:2;10333:18;;;10320:32;;-1:-1:-1;10187:171:1:o;11195:300::-;;11317:2;11305:9;11296:7;11292:23;11288:32;11285:2;;;11338:6;11330;11323:22;11285:2;11375:9;11369:16;11425:10;11418:5;11414:22;11407:5;11404:33;11394:2;;11456:6;11448;11441:22;11500:259;;11581:5;11575:12;11608:6;11603:3;11596:19;11624:63;11680:6;11673:4;11668:3;11664:14;11657:4;11650:5;11646:16;11624:63;:::i;:::-;11741:2;11720:15;-1:-1:-1;;11716:29:1;11707:39;;;;11748:4;11703:50;;11551:208;-1:-1:-1;;11551:208:1:o;11764:401::-;11961:2;11957:15;;;;-1:-1:-1;;11953:53:1;11941:66;;12057:1;12046:21;;;12041:3;12037:31;;;12032:2;12023:12;;12016:53;12108:21;;12099:31;;12094:2;12085:12;;12078:53;12156:2;12147:12;;11931:234::o;12170:274::-;;12337:6;12331:13;12353:53;12399:6;12394:3;12387:4;12379:6;12375:17;12353:53;:::i;:::-;12422:16;;;;;12307:137;-1:-1:-1;;12307:137:1:o;12449:392::-;-1:-1:-1;;;12707:27:1;;12759:1;12750:11;;12743:27;;;;12795:2;12786:12;;12779:28;12832:2;12823:12;;12697:144::o;12846:226::-;-1:-1:-1;;;;;13010:55:1;;;;12992:74;;12980:2;12965:18;;12947:125::o;13077:398::-;-1:-1:-1;;;;;13358:15:1;;;13340:34;;13410:15;;;;13405:2;13390:18;;13383:43;13457:2;13442:18;;13435:34;;;;13267:2;13252:18;;13234:241::o;13480:593::-;;-1:-1:-1;;;;;13804:2:1;13796:6;13792:15;13781:9;13774:34;13858:6;13851:14;13844:22;13839:2;13828:9;13824:18;13817:50;13903:6;13898:2;13887:9;13883:18;13876:34;13958:2;13950:6;13946:15;13941:2;13930:9;13926:18;13919:43;;13999:3;13993;13982:9;13978:19;13971:32;14020:47;14062:3;14051:9;14047:19;14039:6;14020:47;:::i;:::-;14012:55;13703:370;-1:-1:-1;;;;;;;13703:370:1:o;14078:618::-;;-1:-1:-1;;;;;14333:6:1;14329:55;14318:9;14311:74;14435:6;14432:1;14421:21;14416:2;14405:9;14401:18;14394:49;14493:6;14490:1;14479:21;14474:2;14463:9;14459:18;14452:49;-1:-1:-1;;;;;14541:6:1;14537:47;14532:2;14521:9;14517:18;14510:75;14622:3;14616;14605:9;14601:19;14594:32;14643:47;14685:3;14674:9;14670:19;14662:6;14643:47;:::i;14701:605::-;-1:-1:-1;;;;;14970:55:1;;;;14952:74;;15073:1;15062:21;;;15057:2;15042:18;;15035:49;15120:21;;;;15115:2;15100:18;;15093:49;-1:-1:-1;;;;;15231:15:1;;;15226:2;15211:18;;15204:43;15284:15;15278:3;15263:19;;15256:44;14939:3;14924:19;;14906:400::o;15311:297::-;-1:-1:-1;;;;;15503:55:1;;;;15485:74;;15590:2;15575:18;;15568:34;15473:2;15458:18;;15440:168::o;15613:650::-;15782:2;15834:21;;;15904:13;;15807:18;;;15926:22;;;15613:650;;15782:2;16005:15;;;;15979:2;15964:18;;;15613:650;16051:186;16065:6;16062:1;16059:13;16051:186;;;16130:13;;16145:10;16126:30;16114:43;;16212:15;;;;16177:12;;;;16087:1;16080:9;16051:186;;;-1:-1:-1;16254:3:1;;15762:501;-1:-1:-1;;;;;;15762:501:1:o;16268:187::-;16433:14;;16426:22;16408:41;;16396:2;16381:18;;16363:92::o;16460:177::-;16606:25;;;16594:2;16579:18;;16561:76::o;16642:614::-;16929:25;;;-1:-1:-1;;;;;17051:15:1;;;17046:2;17031:18;;17024:43;17103:15;;;;17098:2;17083:18;;17076:43;17150:2;17135:18;;17128:34;17193:3;17178:19;;17171:35;;;;17237:3;17222:19;;17215:35;16916:3;16901:19;;16883:373::o;17261:512::-;17520:25;;;17576:2;17561:18;;17554:34;;;;17619:2;17604:18;;17597:34;;;;17662:2;17647:18;;17640:34;-1:-1:-1;;;;;17711:55:1;17705:3;17690:19;;17683:84;17507:3;17492:19;;17474:299::o;17778:398::-;18005:25;;;18078:4;18066:17;;;;18061:2;18046:18;;18039:45;18115:2;18100:18;;18093:34;18158:2;18143:18;;18136:34;17992:3;17977:19;;17959:217::o;18435:188::-;18606:1;18595:21;;;;18577:40;;18565:2;18550:18;;18532:91::o;18628:390::-;18859:1;18848:21;;;18830:40;;18906:21;;;;18901:2;18886:18;;18879:49;-1:-1:-1;;;;;18964:47:1;;;18959:2;18944:18;;18937:75;18818:2;18803:18;;18785:233::o;19410:413::-;19662:1;19651:21;;;19633:40;;19709:21;;;;19704:2;19689:18;;19682:49;19762:2;19747:18;;19740:34;19805:2;19790:18;;19783:34;;;;19620:3;19605:19;;19587:236::o;19828:221::-;;19977:2;19966:9;19959:21;19997:46;20039:2;20028:9;20024:18;20016:6;19997:46;:::i;20054:326::-;20256:2;20238:21;;;20295:1;20275:18;;;20268:29;-1:-1:-1;;;20328:2:1;20313:18;;20306:33;20371:2;20356:18;;20228:152::o;20385:326::-;20587:2;20569:21;;;20626:1;20606:18;;;20599:29;-1:-1:-1;;;20659:2:1;20644:18;;20637:33;20702:2;20687:18;;20559:152::o;20716:325::-;20918:2;20900:21;;;20957:1;20937:18;;;20930:29;-1:-1:-1;;;20990:2:1;20975:18;;20968:32;21032:2;21017:18;;20890:151::o;21046:325::-;21248:2;21230:21;;;21287:1;21267:18;;;21260:29;-1:-1:-1;;;21320:2:1;21305:18;;21298:32;21362:2;21347:18;;21220:151::o;21376:325::-;21578:2;21560:21;;;21617:1;21597:18;;;21590:29;-1:-1:-1;;;21650:2:1;21635:18;;21628:32;21692:2;21677:18;;21550:151::o;21706:327::-;21908:2;21890:21;;;21947:1;21927:18;;;21920:29;-1:-1:-1;;;21980:2:1;21965:18;;21958:34;22024:2;22009:18;;21880:153::o;22038:326::-;22240:2;22222:21;;;22279:1;22259:18;;;22252:29;-1:-1:-1;;;22312:2:1;22297:18;;22290:33;22355:2;22340:18;;22212:152::o;22369:325::-;22571:2;22553:21;;;22610:1;22590:18;;;22583:29;-1:-1:-1;;;22643:2:1;22628:18;;22621:32;22685:2;22670:18;;22543:151::o;22699:326::-;22901:2;22883:21;;;22940:1;22920:18;;;22913:29;-1:-1:-1;;;22973:2:1;22958:18;;22951:33;23016:2;23001:18;;22873:152::o;23030:326::-;23232:2;23214:21;;;23271:1;23251:18;;;23244:29;-1:-1:-1;;;23304:2:1;23289:18;;23282:33;23347:2;23332:18;;23204:152::o;23361:326::-;23563:2;23545:21;;;23602:1;23582:18;;;23575:29;-1:-1:-1;;;23635:2:1;23620:18;;23613:33;23678:2;23663:18;;23535:152::o;23692:326::-;23894:2;23876:21;;;23933:1;23913:18;;;23906:29;-1:-1:-1;;;23966:2:1;23951:18;;23944:33;24009:2;23994:18;;23866:152::o;24023:326::-;24225:2;24207:21;;;24264:1;24244:18;;;24237:29;-1:-1:-1;;;24297:2:1;24282:18;;24275:33;24340:2;24325:18;;24197:152::o;24354:326::-;24556:2;24538:21;;;24595:1;24575:18;;;24568:29;-1:-1:-1;;;24628:2:1;24613:18;;24606:33;24671:2;24656:18;;24528:152::o;24685:326::-;24887:2;24869:21;;;24926:1;24906:18;;;24899:29;-1:-1:-1;;;24959:2:1;24944:18;;24937:33;25002:2;24987:18;;24859:152::o;25016:324::-;25218:2;25200:21;;;25257:1;25237:18;;;25230:29;-1:-1:-1;;;25290:2:1;25275:18;;25268:31;25331:2;25316:18;;25190:150::o;25345:325::-;25547:2;25529:21;;;25586:1;25566:18;;;25559:29;-1:-1:-1;;;25619:2:1;25604:18;;25597:32;25661:2;25646:18;;25519:151::o;25675:326::-;25877:2;25859:21;;;25916:1;25896:18;;;25889:29;-1:-1:-1;;;25949:2:1;25934:18;;25927:33;25992:2;25977:18;;25849:152::o;26006:326::-;26208:2;26190:21;;;26247:1;26227:18;;;26220:29;-1:-1:-1;;;26280:2:1;26265:18;;26258:33;26323:2;26308:18;;26180:152::o;26337:326::-;26539:2;26521:21;;;26578:1;26558:18;;;26551:29;-1:-1:-1;;;26611:2:1;26596:18;;26589:33;26654:2;26639:18;;26511:152::o;26668:325::-;26870:2;26852:21;;;26909:1;26889:18;;;26882:29;-1:-1:-1;;;26942:2:1;26927:18;;26920:32;26984:2;26969:18;;26842:151::o;26998:326::-;27200:2;27182:21;;;27239:1;27219:18;;;27212:29;-1:-1:-1;;;27272:2:1;27257:18;;27250:33;27315:2;27300:18;;27172:152::o;27329:326::-;27531:2;27513:21;;;27570:1;27550:18;;;27543:29;-1:-1:-1;;;27603:2:1;27588:18;;27581:33;27646:2;27631:18;;27503:152::o;27660:324::-;27862:2;27844:21;;;27901:1;27881:18;;;27874:29;-1:-1:-1;;;27934:2:1;27919:18;;27912:31;27975:2;27960:18;;27834:150::o;27989:326::-;28191:2;28173:21;;;28230:1;28210:18;;;28203:29;-1:-1:-1;;;28263:2:1;28248:18;;28241:33;28306:2;28291:18;;28163:152::o;28320:325::-;28522:2;28504:21;;;28561:1;28541:18;;;28534:29;-1:-1:-1;;;28594:2:1;28579:18;;28572:32;28636:2;28621:18;;28494:151::o;28650:326::-;28852:2;28834:21;;;28891:1;28871:18;;;28864:29;-1:-1:-1;;;28924:2:1;28909:18;;28902:33;28967:2;28952:18;;28824:152::o;28981:324::-;29183:2;29165:21;;;29222:1;29202:18;;;29195:29;-1:-1:-1;;;29255:2:1;29240:18;;29233:31;29296:2;29281:18;;29155:150::o;29310:324::-;29512:2;29494:21;;;29551:1;29531:18;;;29524:29;-1:-1:-1;;;29584:2:1;29569:18;;29562:31;29625:2;29610:18;;29484:150::o;29639:325::-;29841:2;29823:21;;;29880:1;29860:18;;;29853:29;-1:-1:-1;;;29913:2:1;29898:18;;29891:32;29955:2;29940:18;;29813:151::o;29969:327::-;30171:2;30153:21;;;30210:1;30190:18;;;30183:29;-1:-1:-1;;;30243:2:1;30228:18;;30221:34;30287:2;30272:18;;30143:153::o;30301:325::-;30503:2;30485:21;;;30542:1;30522:18;;;30515:29;-1:-1:-1;;;30575:2:1;30560:18;;30553:32;30617:2;30602:18;;30475:151::o;30631:326::-;30833:2;30815:21;;;30872:1;30852:18;;;30845:29;-1:-1:-1;;;30905:2:1;30890:18;;30883:33;30948:2;30933:18;;30805:152::o;30962:301::-;31198:13;;-1:-1:-1;;;;;31194:62:1;31176:81;;31164:2;31149:18;;31131:132::o;31268:268::-;31514:13;;31507:21;31500:29;31482:48;;31470:2;31455:18;;31437:99::o;31541:543::-;-1:-1:-1;;;;;31871:15:1;;;31853:34;;31918:2;31903:18;;31896:34;;;;31961:2;31946:18;;31939:34;;;;32009:15;;32004:2;31989:18;;31982:43;32062:15;;;32056:3;32041:19;;32034:44;31787:3;31772:19;;31754:330::o;32271:248::-;32445:25;;;32501:2;32486:18;;32479:34;32433:2;32418:18;;32400:119::o;32524:319::-;32726:25;;;32782:2;32767:18;;32760:34;;;;32825:2;32810:18;;32803:34;32714:2;32699:18;;32681:162::o;32848:391::-;33079:25;;;33135:2;33120:18;;33113:34;;;;33178:2;33163:18;;33156:34;33221:2;33206:18;;33199:34;33066:3;33051:19;;33033:206::o;33244:184::-;33416:4;33404:17;;;;33386:36;;33374:2;33359:18;;33341:87::o;33433:242::-;33503:2;33497:9;33533:17;;;33580:18;33565:34;;33601:22;;;33562:62;33559:2;;;33627:9;33559:2;33654;33647:22;33477:198;;-1:-1:-1;33477:198:1:o;33680:181::-;;33777:18;33769:6;33766:30;33763:2;;;33799:9;33763:2;-1:-1:-1;33850:4:1;33831:17;;;33827:28;;33753:108::o;33866:258::-;33938:1;33948:113;33962:6;33959:1;33956:13;33948:113;;;34038:11;;;34032:18;34019:11;;;34012:39;33984:2;33977:10;33948:113;;;34079:6;34076:1;34073:13;34070:2;;;-1:-1:-1;;34114:1:1;34096:16;;34089:27;33919:205::o;34129:156::-;-1:-1:-1;;;;;34210:5:1;34206:54;34199:5;34196:65;34186:2;;34275:1;34272;34265:12;34290:120;34378:5;34371:13;34364:21;34357:5;34354:32;34344:2;;34400:1;34397;34390:12;34415:116;34501:4;34494:5;34490:16;34483:5;34480:27;34470:2;;34521:1;34518;34511:12
Swarm Source
ipfs://3ca14bcb5106b46acd07d618d2e769fbd9614c18c237340a6b73256cf843d1f9
Loading...
Loading
Loading...
Loading
[ 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.