Contract

0x313d945C41d4C09068aA6be44fEE2A189dF216c5

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Pool

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at SonicScan.org on 2024-12-18
*/

// SPDX-License-Identifier: GPL-3.0-or-later

// Hydrometer combines powerful liquidity incentives, low slippage, and a vote-locked governance model using $HYDRO and $veHYDRO tokens, ensuring an innovative and decentralized experience for all users.

//https://x.com/Hydrometer_Fi

pragma solidity 0.8.19;

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // 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(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

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

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            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 for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the 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.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // 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 preconditions 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 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

interface IPool {
    error DepositsNotEqual();
    error BelowMinimumK();
    error FactoryAlreadySet();
    error InsufficientLiquidity();
    error InsufficientLiquidityMinted();
    error InsufficientLiquidityBurned();
    error InsufficientOutputAmount();
    error InsufficientInputAmount();
    error IsPaused();
    error InvalidTo();
    error K();
    error NotEmergencyCouncil();

    event Fees(address indexed sender, uint256 amount0, uint256 amount1);
    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(address indexed sender, address indexed to, uint256 amount0, uint256 amount1);
    event Swap(
        address indexed sender,
        address indexed to,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out
    );
    event Sync(uint256 reserve0, uint256 reserve1);
    event Claim(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1);

    // Struct to capture time period obervations every 30 minutes, used for local oracles
    struct Observation {
        uint256 timestamp;
        uint256 reserve0Cumulative;
        uint256 reserve1Cumulative;
    }

    /// @notice Returns the decimal (dec), reserves (r), stable (st), and tokens (t) of token0 and token1
    function metadata()
        external
        view
        returns (uint256 dec0, uint256 dec1, uint256 r0, uint256 r1, bool st, address t0, address t1);

    /// @notice Claim accumulated but unclaimed fees (claimable0 and claimable1)
    function claimFees() external returns (uint256, uint256);

    /// @notice Returns [token0, token1]
    function tokens() external view returns (address, address);

    /// @notice Address of token in the pool with the lower address value
    function token0() external view returns (address);

    /// @notice Address of token in the poool with the higher address value
    function token1() external view returns (address);

    /// @notice Address of linked PoolFees.sol
    function poolFees() external view returns (address);

    /// @notice Address of PoolFactory that created this contract
    function factory() external view returns (address);

    /// @notice Capture oracle reading every 30 minutes (1800 seconds)
    function periodSize() external view returns (uint256);

    /// @notice Amount of token0 in pool
    function reserve0() external view returns (uint256);

    /// @notice Amount of token1 in pool
    function reserve1() external view returns (uint256);

    /// @notice Timestamp of last update to pool
    function blockTimestampLast() external view returns (uint256);

    /// @notice Cumulative of reserve0 factoring in time elapsed
    function reserve0CumulativeLast() external view returns (uint256);

    /// @notice Cumulative of reserve1 factoring in time elapsed
    function reserve1CumulativeLast() external view returns (uint256);

    /// @notice Accumulated fees of token0 (global)
    function index0() external view returns (uint256);

    /// @notice Accumulated fees of token1 (global)
    function index1() external view returns (uint256);

    /// @notice Get an LP's relative index0 to index0
    function supplyIndex0(address) external view returns (uint256);

    /// @notice Get an LP's relative index1 to index1
    function supplyIndex1(address) external view returns (uint256);

    /// @notice Amount of unclaimed, but claimable tokens from fees of token0 for an LP
    function claimable0(address) external view returns (uint256);

    /// @notice Amount of unclaimed, but claimable tokens from fees of token1 for an LP
    function claimable1(address) external view returns (uint256);

    /// @notice Returns the value of K in the Pool, based on its reserves.
    function getK() external returns (uint256);

    /// @notice Set pool name
    ///         Only callable by Voter.emergencyCouncil()
    /// @param __name String of new name
    function setName(string calldata __name) external;

    /// @notice Set pool symbol
    ///         Only callable by Voter.emergencyCouncil()
    /// @param __symbol String of new symbol
    function setSymbol(string calldata __symbol) external;

    /// @notice Get the number of observations recorded
    function observationLength() external view returns (uint256);

    /// @notice Get the value of the most recent observation
    function lastObservation() external view returns (Observation memory);

    /// @notice True if pool is stable, false if volatile
    function stable() external view returns (bool);

    /// @notice Produces the cumulative price using counterfactuals to save gas and avoid a call to sync.
    function currentCumulativePrices()
        external
        view
        returns (uint256 reserve0Cumulative, uint256 reserve1Cumulative, uint256 blockTimestamp);

    /// @notice Provides twap price with user configured granularity, up to the full window size
    /// @param tokenIn .
    /// @param amountIn .
    /// @param granularity .
    /// @return amountOut .
    function quote(address tokenIn, uint256 amountIn, uint256 granularity) external view returns (uint256 amountOut);

    /// @notice Returns a memory set of TWAP prices
    ///         Same as calling sample(tokenIn, amountIn, points, 1)
    /// @param tokenIn .
    /// @param amountIn .
    /// @param points Number of points to return
    /// @return Array of TWAP prices
    function prices(address tokenIn, uint256 amountIn, uint256 points) external view returns (uint256[] memory);

    /// @notice Same as prices with with an additional window argument.
    ///         Window = 2 means 2 * 30min (or 1 hr) between observations
    /// @param tokenIn .
    /// @param amountIn .
    /// @param points .
    /// @param window .
    /// @return Array of TWAP prices
    function sample(
        address tokenIn,
        uint256 amountIn,
        uint256 points,
        uint256 window
    ) external view returns (uint256[] memory);

    /// @notice This low-level function should be called from a contract which performs important safety checks
    /// @param amount0Out   Amount of token0 to send to `to`
    /// @param amount1Out   Amount of token1 to send to `to`
    /// @param to           Address to recieve the swapped output
    /// @param data         Additional calldata for flashloans
    function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external;

    /// @notice This low-level function should be called from a contract which performs important safety checks
    ///         standard uniswap v2 implementation
    /// @param to Address to receive token0 and token1 from burning the pool token
    /// @return amount0 Amount of token0 returned
    /// @return amount1 Amount of token1 returned
    function burn(address to) external returns (uint256 amount0, uint256 amount1);

    /// @notice This low-level function should be called by addLiquidity functions in Router.sol, which performs important safety checks
    ///         standard uniswap v2 implementation
    /// @param to           Address to receive the minted LP token
    /// @return liquidity   Amount of LP token minted
    function mint(address to) external returns (uint256 liquidity);

    /// @notice Update reserves and, on the first call per block, price accumulators
    /// @return _reserve0 .
    /// @return _reserve1 .
    /// @return _blockTimestampLast .
    function getReserves() external view returns (uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast);

    /// @notice Get the amount of tokenOut given the amount of tokenIn
    /// @param amountIn Amount of token in
    /// @param tokenIn  Address of token
    /// @return Amount out
    function getAmountOut(uint256 amountIn, address tokenIn) external view returns (uint256);

    /// @notice Force balances to match reserves
    /// @param to Address to receive any skimmed rewards
    function skim(address to) external;

    /// @notice Force reserves to match balances
    function sync() external;

    /// @notice Called on pool creation by PoolFactory
    /// @param _token0 Address of token0
    /// @param _token1 Address of token1
    /// @param _stable True if stable, false if volatile
    function initialize(address _token0, address _token1, bool _stable) external;
}

interface IVoter {
    error AlreadyVotedOrDeposited();
    error DistributeWindow();
    error FactoryPathNotApproved();
    error GaugeAlreadyKilled();
    error GaugeAlreadyRevived();
    error GaugeExists();
    error GaugeDoesNotExist(address _pool);
    error GaugeNotAlive(address _gauge);
    error InactiveManagedNFT();
    error MaximumVotingNumberTooLow();
    error NonZeroVotes();
    error NotAPool();
    error NotApprovedOrOwner();
    error NotGovernor();
    error NotEmergencyCouncil();
    error NotMinter();
    error NotWhitelistedNFT();
    error NotWhitelistedToken();
    error SameValue();
    error SpecialVotingWindow();
    error TooManyPools();
    error UnequalLengths();
    error ZeroBalance();
    error ZeroAddress();

    event GaugeCreated(
        address indexed poolFactory,
        address indexed votingRewardsFactory,
        address indexed gaugeFactory,
        address pool,
        address bribeVotingReward,
        address feeVotingReward,
        address gauge,
        address creator
    );
    event GaugeKilled(address indexed gauge);
    event GaugeRevived(address indexed gauge);
    event Voted(
        address indexed voter,
        address indexed pool,
        uint256 indexed tokenId,
        uint256 weight,
        uint256 totalWeight,
        uint256 timestamp
    );
    event Abstained(
        address indexed voter,
        address indexed pool,
        uint256 indexed tokenId,
        uint256 weight,
        uint256 totalWeight,
        uint256 timestamp
    );
    event NotifyReward(address indexed sender, address indexed reward, uint256 amount);
    event DistributeReward(address indexed sender, address indexed gauge, uint256 amount);
    event WhitelistToken(address indexed whitelister, address indexed token, bool indexed _bool);
    event WhitelistNFT(address indexed whitelister, uint256 indexed tokenId, bool indexed _bool);

    /// @notice Store trusted forwarder address to pass into factories
    function forwarder() external view returns (address);

    /// @notice The ve token that governs these contracts
    function ve() external view returns (address);

    /// @notice Factory registry for valid pool / gauge / rewards factories
    function factoryRegistry() external view returns (address);

    /// @notice Address of Minter.sol
    function minter() external view returns (address);

    /// @notice Standard OZ IGovernor using ve for vote weights.
    function governor() external view returns (address);

    /// @notice Custom Epoch Governor using ve for vote weights.
    function epochGovernor() external view returns (address);

    /// @notice credibly neutral party similar to Curve's Emergency DAO
    function emergencyCouncil() external view returns (address);

    /// @dev Total Voting Weights
    function totalWeight() external view returns (uint256);

    /// @dev Most number of pools one voter can vote for at once
    function maxVotingNum() external view returns (uint256);

    // mappings
    /// @dev Pool => Gauge
    function gauges(address pool) external view returns (address);

    /// @dev Gauge => Pool
    function poolForGauge(address gauge) external view returns (address);

    /// @dev Gauge => Fees Voting Reward
    function gaugeToFees(address gauge) external view returns (address);

    /// @dev Gauge => Bribes Voting Reward
    function gaugeToBribe(address gauge) external view returns (address);

    /// @dev Pool => Weights
    function weights(address pool) external view returns (uint256);

    /// @dev NFT => Pool => Votes
    function votes(uint256 tokenId, address pool) external view returns (uint256);

    /// @dev NFT => Total voting weight of NFT
    function usedWeights(uint256 tokenId) external view returns (uint256);

    /// @dev Nft => Timestamp of last vote (ensures single vote per epoch)
    function lastVoted(uint256 tokenId) external view returns (uint256);

    /// @dev Address => Gauge
    function isGauge(address) external view returns (bool);

    /// @dev Token => Whitelisted status
    function isWhitelistedToken(address token) external view returns (bool);

    /// @dev TokenId => Whitelisted status
    function isWhitelistedNFT(uint256 tokenId) external view returns (bool);

    /// @dev Gauge => Liveness status
    function isAlive(address gauge) external view returns (bool);

    /// @dev Gauge => Amount claimable
    function claimable(address gauge) external view returns (uint256);

    /// @notice Number of pools with a Gauge
    function length() external view returns (uint256);

    /// @notice Called by Minter to distribute weekly emissions rewards for disbursement amongst gauges.
    /// @dev Assumes totalWeight != 0 (Will never be zero as long as users are voting).
    ///      Throws if not called by minter.
    /// @param _amount Amount of rewards to distribute.
    function notifyRewardAmount(uint256 _amount) external;

    /// @dev Utility to distribute to gauges of pools in range _start to _finish.
    /// @param _start   Starting index of gauges to distribute to.
    /// @param _finish  Ending index of gauges to distribute to.
    function distribute(uint256 _start, uint256 _finish) external;

    /// @dev Utility to distribute to gauges of pools in array.
    /// @param _gauges Array of gauges to distribute to.
    function distribute(address[] memory _gauges) external;

    /// @notice Called by users to update voting balances in voting rewards contracts.
    /// @param _tokenId Id of veNFT whose balance you wish to update.
    function poke(uint256 _tokenId) external;

    /// @notice Called by users to vote for pools. Votes distributed proportionally based on weights.
    ///         Can only vote or deposit into a managed NFT once per epoch.
    ///         Can only vote for gauges that have not been killed.
    /// @dev Weights are distributed proportional to the sum of the weights in the array.
    ///      Throws if length of _poolVote and _weights do not match.
    /// @param _tokenId     Id of veNFT you are voting with.
    /// @param _poolVote    Array of pools you are voting for.
    /// @param _weights     Weights of pools.
    function vote(uint256 _tokenId, address[] calldata _poolVote, uint256[] calldata _weights) external;

    /// @notice Called by users to reset voting state. Required if you wish to make changes to
    ///         veNFT state (e.g. merge, split, deposit into managed etc).
    ///         Cannot reset in the same epoch that you voted in.
    ///         Can vote or deposit into a managed NFT again after reset.
    /// @param _tokenId Id of veNFT you are reseting.
    function reset(uint256 _tokenId) external;

    /// @notice Called by users to deposit into a managed NFT.
    ///         Can only vote or deposit into a managed NFT once per epoch.
    ///         Note that NFTs deposited into a managed NFT will be re-locked
    ///         to the maximum lock time on withdrawal.
    /// @dev Throws if not approved or owner.
    ///      Throws if managed NFT is inactive.
    ///      Throws if depositing within privileged window (one hour prior to epoch flip).
    function depositManaged(uint256 _tokenId, uint256 _mTokenId) external;

    /// @notice Called by users to withdraw from a managed NFT.
    ///         Cannot do it in the same epoch that you deposited into a managed NFT.
    ///         Can vote or deposit into a managed NFT again after withdrawing.
    ///         Note that the NFT withdrawn is re-locked to the maximum lock time.
    function withdrawManaged(uint256 _tokenId) external;

    /// @notice Claim emissions from gauges.
    /// @param _gauges Array of gauges to collect emissions from.
    function claimRewards(address[] memory _gauges) external;

    /// @notice Claim bribes for a given NFT.
    /// @dev Utility to help batch bribe claims.
    /// @param _bribes  Array of BribeVotingReward contracts to collect from.
    /// @param _tokens  Array of tokens that are used as bribes.
    /// @param _tokenId Id of veNFT that you wish to claim bribes for.
    function claimBribes(address[] memory _bribes, address[][] memory _tokens, uint256 _tokenId) external;

    /// @notice Claim fees for a given NFT.
    /// @dev Utility to help batch fee claims.
    /// @param _fees    Array of FeesVotingReward contracts to collect from.
    /// @param _tokens  Array of tokens that are used as fees.
    /// @param _tokenId Id of veNFT that you wish to claim fees for.
    function claimFees(address[] memory _fees, address[][] memory _tokens, uint256 _tokenId) external;

    /// @notice Set new governor.
    /// @dev Throws if not called by governor.
    /// @param _governor .
    function setGovernor(address _governor) external;

    /// @notice Set new epoch based governor.
    /// @dev Throws if not called by governor.
    /// @param _epochGovernor .
    function setEpochGovernor(address _epochGovernor) external;

    /// @notice Set new emergency council.
    /// @dev Throws if not called by emergency council.
    /// @param _emergencyCouncil .
    function setEmergencyCouncil(address _emergencyCouncil) external;

    /// @notice Set maximum number of gauges that can be voted for.
    /// @dev Throws if not called by governor.
    ///      Throws if _maxVotingNum is too low.
    ///      Throws if the values are the same.
    /// @param _maxVotingNum .
    function setMaxVotingNum(uint256 _maxVotingNum) external;

    /// @notice Whitelist (or unwhitelist) token for use in bribes.
    /// @dev Throws if not called by governor.
    /// @param _token .
    /// @param _bool .
    function whitelistToken(address _token, bool _bool) external;

    /// @notice Whitelist (or unwhitelist) token id for voting in last hour prior to epoch flip.
    /// @dev Throws if not called by governor.
    ///      Throws if already whitelisted.
    /// @param _tokenId .
    /// @param _bool .
    function whitelistNFT(uint256 _tokenId, bool _bool) external;

    /// @notice Create a new gauge (unpermissioned).
    /// @dev Governor can create a new gauge for a pool with any address.
    /// @param _poolFactory .
    /// @param _pool .
    function createGauge(address _poolFactory, address _pool) external returns (address);

    /// @notice Kills a gauge. The gauge will not receive any new emissions and cannot be deposited into.
    ///         Can still withdraw from gauge.
    /// @dev Throws if not called by emergency council.
    ///      Throws if gauge already killed.
    /// @param _gauge .
    function killGauge(address _gauge) external;

    /// @notice Revives a killed gauge. Gauge will can receive emissions and deposits again.
    /// @dev Throws if not called by emergency council.
    ///      Throws if gauge is not killed.
    /// @param _gauge .
    function reviveGauge(address _gauge) external;

    /// @dev Update claims to emissions for an array of gauges.
    /// @param _gauges Array of gauges to update emissions for.
    function updateFor(address[] memory _gauges) external;

    /// @dev Update claims to emissions for gauges based on their pool id as stored in Voter.
    /// @param _start   Starting index of pools.
    /// @param _end     Ending index of pools.
    function updateFor(uint256 _start, uint256 _end) external;

    /// @dev Update claims to emissions for single gauge
    /// @param _gauge .
    function updateFor(address _gauge) external;
}

interface IPoolCallee {
    function hook(address sender, uint256 amount0, uint256 amount1, bytes calldata data) external;
}

interface IPoolFactory {
    event SetFeeManager(address feeManager);
    event SetPauser(address pauser);
    event SetPauseState(bool state);
    event SetVoter(address voter);
    event PoolCreated(address indexed token0, address indexed token1, bool indexed stable, address pool, uint256);
    event SetCustomFee(address indexed pool, uint256 fee);

    error FeeInvalid();
    error FeeTooHigh();
    error InvalidPool();
    error NotFeeManager();
    error NotPauser();
    error NotVoter();
    error PoolAlreadyExists();
    error SameAddress();
    error ZeroFee();
    error ZeroAddress();

    /// @notice returns the number of pools created from this factory
    function allPoolsLength() external view returns (uint256);

    /// @notice Is a valid pool created by this factory.
    /// @param .
    function isPool(address pool) external view returns (bool);

    /// @notice Return address of pool created by this factory
    /// @param tokenA .
    /// @param tokenB .
    /// @param stable True if stable, false if volatile
    function getPool(address tokenA, address tokenB, bool stable) external view returns (address);

    /// @notice Support for v3-style pools which wraps around getPool(tokenA,tokenB,stable)
    /// @dev fee is converted to stable boolean.
    /// @param tokenA .
    /// @param tokenB .
    /// @param fee  1 if stable, 0 if volatile, else returns address(0)
    function getPool(address tokenA, address tokenB, uint24 fee) external view returns (address);

    /// @dev Only called once to set to Voter.sol - Voter does not have a function
    ///      to call this contract method, so once set it's immutable.
    ///      This also follows convention of setVoterAndDistributor() in VotingEscrow.sol
    /// @param _voter .
    function setVoter(address _voter) external;

    function setPauser(address _pauser) external;

    function setPauseState(bool _state) external;

    function setFeeManager(address _feeManager) external;

    /// @notice Set default fee for stable and volatile pools.
    /// @dev Throws if higher than maximum fee.
    ///      Throws if fee is zero.
    /// @param _stable Stable or volatile pool.
    /// @param _fee .
    function setFee(bool _stable, uint256 _fee) external;

    /// @notice Set overriding fee for a pool from the default
    /// @dev A custom fee of zero means the default fee will be used.
    function setCustomFee(address _pool, uint256 _fee) external;

    /// @notice Returns fee for a pool, as custom fees are possible.
    function getFee(address _pool, bool _stable) external view returns (uint256);

    /// @notice Create a pool given two tokens and if they're stable/volatile
    /// @dev token order does not matter
    /// @param tokenA .
    /// @param tokenB .
    /// @param stable .
    function createPool(address tokenA, address tokenB, bool stable) external returns (address pool);

    /// @notice Support for v3-style pools which wraps around createPool(tokena,tokenB,stable)
    /// @dev fee is converted to stable boolean
    /// @dev token order does not matter
    /// @param tokenA .
    /// @param tokenB .
    /// @param fee 1 if stable, 0 if volatile, else revert
    function createPool(address tokenA, address tokenB, uint24 fee) external returns (address pool);

    function isPaused() external view returns (bool);

    function voter() external view returns (address);

    function implementation() external view returns (address);
}

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

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

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/// @title PoolFees
/// @notice Contract used as 1:1 pool relationship to split out fees.
/// @notice Ensures curve does not need to be modified for LP shares.
contract PoolFees {
    using SafeERC20 for IERC20;
    address internal immutable pool; // The pool it is bonded to
    address internal immutable token0; // token0 of pool, saved localy and statically for gas optimization
    address internal immutable token1; // Token1 of pool, saved localy and statically for gas optimization

    error NotPool();

    constructor(address _token0, address _token1) {
        pool = msg.sender;
        token0 = _token0;
        token1 = _token1;
    }

    /// @notice Allow the pool to transfer fees to users
    function claimFeesFor(address _recipient, uint256 _amount0, uint256 _amount1) external {
        if (msg.sender != pool) revert NotPool();
        if (_amount0 > 0) IERC20(token0).safeTransfer(_recipient, _amount0);
        if (_amount1 > 0) IERC20(token1).safeTransfer(_recipient, _amount1);
    }
}

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

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

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

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * 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, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 default value returned by this function, unless
     * it's overridden.
     *
     * 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 override returns (uint8) {
        return 18;
    }

    /**
     * @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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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), "ERC20: burn from the zero address");

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(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), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @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 transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

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

// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

/**
 * @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 {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {
        // 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 (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): 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.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @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) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @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 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol)

// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 * Strings of arbitrary length can be optimized if they are short enough by
 * the addition of a storage variable used as fallback.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    error StringTooLong(string str);

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = length(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function length(ShortString sstr) internal pure returns (uint256) {
        return uint256(ShortString.unwrap(sstr)) & 0xFF;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(0);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (length(value) > 0) {
            return toString(value);
        } else {
            return store;
        }
    }
}

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}

/**
 * @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].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * _Available since v3.4._
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
 */
abstract contract EIP712 is IERC5267 {
    using ShortStrings for *;

    bytes32 private constant _TYPE_HASH =
        keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    /* 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 _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    address private immutable _cachedThis;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    /* 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) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        _cachedThis = address(this);
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
    }

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

    /**
     * @dev See {EIP-5267}.
     */
    function eip712Domain()
        public
        view
        virtual
        override
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _name.toStringWithFallback(_nameFallback),
            _version.toStringWithFallback(_versionFallback),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }
}

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

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. 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;`
 */
library Counters {
    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 {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private constant _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    /**
     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
     * However, to ensure consistency with the upgradeable transpiler, we will continue
     * to reserve a slot.
     * @custom:oz-renamed-from _PERMIT_TYPEHASH
     */
    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;

    /**
     * @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 {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        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, "ERC20Permit: invalid signature");

        _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.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

/**
 * @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 making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

/// @title Pool
/// @author velodrome.finance, @figs999, @pegahcarter
/// @notice Protocol token pool, either stable or volatile
contract Pool is IPool, ERC20Permit, ReentrancyGuard {
    using SafeERC20 for IERC20;

    string private _name;
    string private _symbol;
    address private _voter;

    /// @inheritdoc IPool
    bool public stable;

    uint256 internal constant MINIMUM_LIQUIDITY = 10 ** 3;
    uint256 internal constant MINIMUM_K = 10 ** 10;

    /// @inheritdoc IPool
    address public token0;
    /// @inheritdoc IPool
    address public token1;
    /// @inheritdoc IPool
    address public poolFees;
    /// @inheritdoc IPool
    address public factory;

    /// @inheritdoc IPool
    uint256 public constant periodSize = 1800;

    Observation[] public observations;

    uint256 internal decimals0;
    uint256 internal decimals1;

    /// @inheritdoc IPool
    uint256 public reserve0;
    /// @inheritdoc IPool
    uint256 public reserve1;
    /// @inheritdoc IPool
    uint256 public blockTimestampLast;

    /// @inheritdoc IPool
    uint256 public reserve0CumulativeLast;
    /// @inheritdoc IPool
    uint256 public reserve1CumulativeLast;

    /// @inheritdoc IPool
    uint256 public index0 = 0;
    /// @inheritdoc IPool
    uint256 public index1 = 0;

    /// @inheritdoc IPool
    mapping(address => uint256) public supplyIndex0;
    /// @inheritdoc IPool
    mapping(address => uint256) public supplyIndex1;

    /// @inheritdoc IPool
    mapping(address => uint256) public claimable0;
    /// @inheritdoc IPool
    mapping(address => uint256) public claimable1;

    constructor() ERC20("", "") ERC20Permit("") {}

    /// @inheritdoc IPool
    function initialize(address _token0, address _token1, bool _stable) external {
        if (factory != address(0)) revert FactoryAlreadySet();
        factory = _msgSender();
        _voter = IPoolFactory(factory).voter();
        (token0, token1, stable) = (_token0, _token1, _stable);
        poolFees = address(new PoolFees(_token0, _token1));
        string memory symbol0 = ERC20(_token0).symbol();
        string memory symbol1 = ERC20(_token1).symbol();
        if (_stable) {
            _name = string(abi.encodePacked("Stable AMM - ", symbol0, "/", symbol1));
            _symbol = string(abi.encodePacked("sAMM-", symbol0, "/", symbol1));
        } else {
            _name = string(abi.encodePacked("Volatile AMM - ", symbol0, "/", symbol1));
            _symbol = string(abi.encodePacked("vAMM-", symbol0, "/", symbol1));
        }

        decimals0 = 10 ** ERC20(_token0).decimals();
        decimals1 = 10 ** ERC20(_token1).decimals();

        observations.push(Observation(block.timestamp, 0, 0));
    }

    /// @inheritdoc IPool
    function setName(string calldata __name) external {
        if (msg.sender != IVoter(_voter).emergencyCouncil()) revert NotEmergencyCouncil();
        _name = __name;
    }

    /// @inheritdoc IPool
    function setSymbol(string calldata __symbol) external {
        if (msg.sender != IVoter(_voter).emergencyCouncil()) revert NotEmergencyCouncil();
        _symbol = __symbol;
    }

    /// @inheritdoc IPool
    function observationLength() external view returns (uint256) {
        return observations.length;
    }

    /// @inheritdoc IPool
    function lastObservation() public view returns (Observation memory) {
        return observations[observations.length - 1];
    }

    /// @inheritdoc IPool
    function metadata()
        external
        view
        returns (uint256 dec0, uint256 dec1, uint256 r0, uint256 r1, bool st, address t0, address t1)
    {
        return (decimals0, decimals1, reserve0, reserve1, stable, token0, token1);
    }

    /// @inheritdoc IPool
    function tokens() external view returns (address, address) {
        return (token0, token1);
    }

    /// @inheritdoc IPool
    function getK() external nonReentrant returns (uint256) {
        return _k(reserve0, reserve1);
    }

    /// @inheritdoc IPool
    function claimFees() external returns (uint256 claimed0, uint256 claimed1) {
        address sender = _msgSender();
        _updateFor(sender);

        claimed0 = claimable0[sender];
        claimed1 = claimable1[sender];

        if (claimed0 > 0 || claimed1 > 0) {
            claimable0[sender] = 0;
            claimable1[sender] = 0;

            PoolFees(poolFees).claimFeesFor(sender, claimed0, claimed1);

            emit Claim(sender, sender, claimed0, claimed1);
        }
    }

    /// @dev Accrue fees on token0
    function _update0(uint256 amount) internal {
        // Only update on this pool if there is a fee
        if (amount == 0) return;
        IERC20(token0).safeTransfer(poolFees, amount); // transfer the fees out to PoolFees
        uint256 _ratio = (amount * 1e18) / totalSupply(); // 1e18 adjustment is removed during claim
        if (_ratio > 0) {
            index0 += _ratio;
        }
        emit Fees(_msgSender(), amount, 0);
    }

    /// @dev Accrue fees on token1
    function _update1(uint256 amount) internal {
        // Only update on this pool if there is a fee
        if (amount == 0) return;
        IERC20(token1).safeTransfer(poolFees, amount);
        uint256 _ratio = (amount * 1e18) / totalSupply();
        if (_ratio > 0) {
            index1 += _ratio;
        }
        emit Fees(_msgSender(), 0, amount);
    }

    /// @dev This function MUST be called on any balance changes, otherwise can be used to infinitely claim fees
    ///      Fees are segregated from core funds, so fees can never put liquidity at risk.
    function _updateFor(address recipient) internal {
        uint256 _supplied = balanceOf(recipient); // get LP balance of `recipient`
        if (_supplied > 0) {
            uint256 _supplyIndex0 = supplyIndex0[recipient]; // get last adjusted index0 for recipient
            uint256 _supplyIndex1 = supplyIndex1[recipient];
            uint256 _index0 = index0; // get global index0 for accumulated fees
            uint256 _index1 = index1;
            supplyIndex0[recipient] = _index0; // update user current position to global position
            supplyIndex1[recipient] = _index1;
            uint256 _delta0 = _index0 - _supplyIndex0; // see if there is any difference that need to be accrued
            uint256 _delta1 = _index1 - _supplyIndex1;
            if (_delta0 > 0) {
                uint256 _share = (_supplied * _delta0) / 1e18; // add accrued difference for each supplied token
                claimable0[recipient] += _share;
            }
            if (_delta1 > 0) {
                uint256 _share = (_supplied * _delta1) / 1e18;
                claimable1[recipient] += _share;
            }
        } else {
            supplyIndex0[recipient] = index0; // new users are set to the default global state
            supplyIndex1[recipient] = index1;
        }
    }

    /// @inheritdoc IPool
    function getReserves() public view returns (uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast) {
        _reserve0 = reserve0;
        _reserve1 = reserve1;
        _blockTimestampLast = blockTimestampLast;
    }

    /// @dev update reserves and, on the first call per block, price accumulators
    function _update(uint256 balance0, uint256 balance1, uint256 _reserve0, uint256 _reserve1) internal {
        uint256 blockTimestamp = block.timestamp;
        uint256 timeElapsed = blockTimestamp - blockTimestampLast;
        if (timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0) {
            reserve0CumulativeLast += _reserve0 * timeElapsed;
            reserve1CumulativeLast += _reserve1 * timeElapsed;
        }

        Observation memory _point = lastObservation();
        timeElapsed = blockTimestamp - _point.timestamp; // compare the last observation with current timestamp, if greater than 30 minutes, record a new event
        if (timeElapsed > periodSize) {
            observations.push(Observation(blockTimestamp, reserve0CumulativeLast, reserve1CumulativeLast));
        }
        reserve0 = balance0;
        reserve1 = balance1;
        blockTimestampLast = blockTimestamp;
        emit Sync(reserve0, reserve1);
    }

    /// @inheritdoc IPool
    function currentCumulativePrices()
        public
        view
        returns (uint256 reserve0Cumulative, uint256 reserve1Cumulative, uint256 blockTimestamp)
    {
        blockTimestamp = block.timestamp;
        reserve0Cumulative = reserve0CumulativeLast;
        reserve1Cumulative = reserve1CumulativeLast;

        // if time has elapsed since the last update on the pool, mock the accumulated price values
        (uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast) = getReserves();
        if (_blockTimestampLast != blockTimestamp) {
            // subtraction overflow is desired
            uint256 timeElapsed = blockTimestamp - _blockTimestampLast;
            reserve0Cumulative += _reserve0 * timeElapsed;
            reserve1Cumulative += _reserve1 * timeElapsed;
        }
    }

    /// @inheritdoc IPool
    function quote(address tokenIn, uint256 amountIn, uint256 granularity) external view returns (uint256 amountOut) {
        uint256[] memory _prices = sample(tokenIn, amountIn, granularity, 1);
        uint256 priceAverageCumulative;
        uint256 _length = _prices.length;
        for (uint256 i = 0; i < _length; i++) {
            priceAverageCumulative += _prices[i];
        }
        return priceAverageCumulative / granularity;
    }

    /// @inheritdoc IPool
    function prices(address tokenIn, uint256 amountIn, uint256 points) external view returns (uint256[] memory) {
        return sample(tokenIn, amountIn, points, 1);
    }

    /// @inheritdoc IPool
    function sample(
        address tokenIn,
        uint256 amountIn,
        uint256 points,
        uint256 window
    ) public view returns (uint256[] memory) {
        uint256[] memory _prices = new uint256[](points);

        uint256 length = observations.length - 1;
        uint256 i = length - (points * window);
        uint256 nextIndex = 0;
        uint256 index = 0;

        for (; i < length; i += window) {
            nextIndex = i + window;
            uint256 timeElapsed = observations[nextIndex].timestamp - observations[i].timestamp;
            uint256 _reserve0 = (observations[nextIndex].reserve0Cumulative - observations[i].reserve0Cumulative) /
                timeElapsed;
            uint256 _reserve1 = (observations[nextIndex].reserve1Cumulative - observations[i].reserve1Cumulative) /
                timeElapsed;
            _prices[index] = _getAmountOut(amountIn, tokenIn, _reserve0, _reserve1);
            // index < length; length cannot overflow
            unchecked {
                index = index + 1;
            }
        }
        return _prices;
    }

    /// @inheritdoc IPool
    function mint(address to) external nonReentrant returns (uint256 liquidity) {
        (uint256 _reserve0, uint256 _reserve1) = (reserve0, reserve1);
        uint256 _balance0 = IERC20(token0).balanceOf(address(this));
        uint256 _balance1 = IERC20(token1).balanceOf(address(this));
        uint256 _amount0 = _balance0 - _reserve0;
        uint256 _amount1 = _balance1 - _reserve1;

        uint256 _totalSupply = totalSupply(); // gas savings, must be defined here since totalSupply can update in _mintFee
        if (_totalSupply == 0) {
            liquidity = Math.sqrt(_amount0 * _amount1) - MINIMUM_LIQUIDITY;
            _mint(address(1), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens - cannot be address(0)
            if (stable) {
                if ((_amount0 * 1e18) / decimals0 != (_amount1 * 1e18) / decimals1) revert DepositsNotEqual();
                if (_k(_amount0, _amount1) <= MINIMUM_K) revert BelowMinimumK();
            }
        } else {
            liquidity = Math.min((_amount0 * _totalSupply) / _reserve0, (_amount1 * _totalSupply) / _reserve1);
        }
        if (liquidity == 0) revert InsufficientLiquidityMinted();
        _mint(to, liquidity);

        _update(_balance0, _balance1, _reserve0, _reserve1);
        emit Mint(_msgSender(), _amount0, _amount1);
    }

    /// @inheritdoc IPool
    function burn(address to) external nonReentrant returns (uint256 amount0, uint256 amount1) {
        (uint256 _reserve0, uint256 _reserve1) = (reserve0, reserve1);
        (address _token0, address _token1) = (token0, token1);
        uint256 _balance0 = IERC20(_token0).balanceOf(address(this));
        uint256 _balance1 = IERC20(_token1).balanceOf(address(this));
        uint256 _liquidity = balanceOf(address(this));

        uint256 _totalSupply = totalSupply(); // gas savings, must be defined here since totalSupply can update in _mintFee
        amount0 = (_liquidity * _balance0) / _totalSupply; // using balances ensures pro-rata distribution
        amount1 = (_liquidity * _balance1) / _totalSupply; // using balances ensures pro-rata distribution
        if (amount0 == 0 || amount1 == 0) revert InsufficientLiquidityBurned();
        _burn(address(this), _liquidity);
        IERC20(_token0).safeTransfer(to, amount0);
        IERC20(_token1).safeTransfer(to, amount1);
        _balance0 = IERC20(_token0).balanceOf(address(this));
        _balance1 = IERC20(_token1).balanceOf(address(this));

        _update(_balance0, _balance1, _reserve0, _reserve1);
        emit Burn(_msgSender(), to, amount0, amount1);
    }

    /// @inheritdoc IPool
    function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external nonReentrant {
        if (IPoolFactory(factory).isPaused()) revert IsPaused();
        if (amount0Out == 0 && amount1Out == 0) revert InsufficientOutputAmount();
        (uint256 _reserve0, uint256 _reserve1) = (reserve0, reserve1);
        if (amount0Out >= _reserve0 || amount1Out >= _reserve1) revert InsufficientLiquidity();

        uint256 _balance0;
        uint256 _balance1;
        {
            // scope for _token{0,1}, avoids stack too deep errors
            (address _token0, address _token1) = (token0, token1);
            if (to == _token0 || to == _token1) revert InvalidTo();
            if (amount0Out > 0) IERC20(_token0).safeTransfer(to, amount0Out); // optimistically transfer tokens
            if (amount1Out > 0) IERC20(_token1).safeTransfer(to, amount1Out); // optimistically transfer tokens
            if (data.length > 0) IPoolCallee(to).hook(_msgSender(), amount0Out, amount1Out, data); // callback, used for flash loans
            _balance0 = IERC20(_token0).balanceOf(address(this));
            _balance1 = IERC20(_token1).balanceOf(address(this));
        }
        uint256 amount0In = _balance0 > _reserve0 - amount0Out ? _balance0 - (_reserve0 - amount0Out) : 0;
        uint256 amount1In = _balance1 > _reserve1 - amount1Out ? _balance1 - (_reserve1 - amount1Out) : 0;
        if (amount0In == 0 && amount1In == 0) revert InsufficientInputAmount();
        {
            // scope for reserve{0,1}Adjusted, avoids stack too deep errors
            (address _token0, address _token1) = (token0, token1);
            if (amount0In > 0) _update0((amount0In * IPoolFactory(factory).getFee(address(this), stable)) / 10000); // accrue fees for token0 and move them out of pool
            if (amount1In > 0) _update1((amount1In * IPoolFactory(factory).getFee(address(this), stable)) / 10000); // accrue fees for token1 and move them out of pool
            _balance0 = IERC20(_token0).balanceOf(address(this)); // since we removed tokens, we need to reconfirm balances, can also simply use previous balance - amountIn/ 10000, but doing balanceOf again as safety check
            _balance1 = IERC20(_token1).balanceOf(address(this));
            // The curve, either x3y+y3x for stable pools, or x*y for volatile pools
            if (_k(_balance0, _balance1) < _k(_reserve0, _reserve1)) revert K();
        }

        _update(_balance0, _balance1, _reserve0, _reserve1);
        emit Swap(_msgSender(), to, amount0In, amount1In, amount0Out, amount1Out);
    }

    /// @inheritdoc IPool
    function skim(address to) external nonReentrant {
        (address _token0, address _token1) = (token0, token1);
        IERC20(_token0).safeTransfer(to, IERC20(_token0).balanceOf(address(this)) - (reserve0));
        IERC20(_token1).safeTransfer(to, IERC20(_token1).balanceOf(address(this)) - (reserve1));
    }

    /// @inheritdoc IPool
    function sync() external nonReentrant {
        _update(IERC20(token0).balanceOf(address(this)), IERC20(token1).balanceOf(address(this)), reserve0, reserve1);
    }

    function _f(uint256 x0, uint256 y) internal pure returns (uint256) {
        uint256 _a = (x0 * y) / 1e18;
        uint256 _b = ((x0 * x0) / 1e18 + (y * y) / 1e18);
        return (_a * _b) / 1e18;
    }

    function _d(uint256 x0, uint256 y) internal pure returns (uint256) {
        return (3 * x0 * ((y * y) / 1e18)) / 1e18 + ((((x0 * x0) / 1e18) * x0) / 1e18);
    }

    function _get_y(uint256 x0, uint256 xy, uint256 y) internal view returns (uint256) {
        for (uint256 i = 0; i < 255; i++) {
            uint256 k = _f(x0, y);
            if (k < xy) {
                // there are two cases where dy == 0
                // case 1: The y is converged and we find the correct answer
                // case 2: _d(x0, y) is too large compare to (xy - k) and the rounding error
                //         screwed us.
                //         In this case, we need to increase y by 1
                uint256 dy = ((xy - k) * 1e18) / _d(x0, y);
                if (dy == 0) {
                    if (k == xy) {
                        // We found the correct answer. Return y
                        return y;
                    }
                    if (_k(x0, y + 1) > xy) {
                        // If _k(x0, y + 1) > xy, then we are close to the correct answer.
                        // There's no closer answer than y + 1
                        return y + 1;
                    }
                    dy = 1;
                }
                y = y + dy;
            } else {
                uint256 dy = ((k - xy) * 1e18) / _d(x0, y);
                if (dy == 0) {
                    if (k == xy || _f(x0, y - 1) < xy) {
                        // Likewise, if k == xy, we found the correct answer.
                        // If _f(x0, y - 1) < xy, then we are close to the correct answer.
                        // There's no closer answer than "y"
                        // It's worth mentioning that we need to find y where f(x0, y) >= xy
                        // As a result, we can't return y - 1 even it's closer to the correct answer
                        return y;
                    }
                    dy = 1;
                }
                y = y - dy;
            }
        }
        revert("!y");
    }

    /// @inheritdoc IPool
    function getAmountOut(uint256 amountIn, address tokenIn) external view returns (uint256) {
        (uint256 _reserve0, uint256 _reserve1) = (reserve0, reserve1);
        amountIn -= (amountIn * IPoolFactory(factory).getFee(address(this), stable)) / 10000; // remove fee from amount received
        return _getAmountOut(amountIn, tokenIn, _reserve0, _reserve1);
    }

    function _getAmountOut(
        uint256 amountIn,
        address tokenIn,
        uint256 _reserve0,
        uint256 _reserve1
    ) internal view returns (uint256) {
        if (stable) {
            uint256 xy = _k(_reserve0, _reserve1);
            _reserve0 = (_reserve0 * 1e18) / decimals0;
            _reserve1 = (_reserve1 * 1e18) / decimals1;
            (uint256 reserveA, uint256 reserveB) = tokenIn == token0 ? (_reserve0, _reserve1) : (_reserve1, _reserve0);
            amountIn = tokenIn == token0 ? (amountIn * 1e18) / decimals0 : (amountIn * 1e18) / decimals1;
            uint256 y = reserveB - _get_y(amountIn + reserveA, xy, reserveB);
            return (y * (tokenIn == token0 ? decimals1 : decimals0)) / 1e18;
        } else {
            (uint256 reserveA, uint256 reserveB) = tokenIn == token0 ? (_reserve0, _reserve1) : (_reserve1, _reserve0);
            return (amountIn * reserveB) / (reserveA + amountIn);
        }
    }

    function _k(uint256 x, uint256 y) internal view returns (uint256) {
        if (stable) {
            uint256 _x = (x * 1e18) / decimals0;
            uint256 _y = (y * 1e18) / decimals1;
            uint256 _a = (_x * _y) / 1e18;
            uint256 _b = ((_x * _x) / 1e18 + (_y * _y) / 1e18);
            return (_a * _b) / 1e18; // x3y+y3x >= k
        } else {
            return x * y; // xy >= k
        }
    }

    /*
    @dev OZ inheritance overrides
    These are needed as _name and _symbol are set privately before
    logic is executed within the constructor to set _name and _symbol.
    */
    function name() public view override returns (string memory) {
        return _name;
    }

    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    function _beforeTokenTransfer(address from, address to, uint256) internal override {
        _updateFor(from);
        _updateFor(to);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BelowMinimumK","type":"error"},{"inputs":[],"name":"DepositsNotEqual","type":"error"},{"inputs":[],"name":"FactoryAlreadySet","type":"error"},{"inputs":[],"name":"InsufficientInputAmount","type":"error"},{"inputs":[],"name":"InsufficientLiquidity","type":"error"},{"inputs":[],"name":"InsufficientLiquidityBurned","type":"error"},{"inputs":[],"name":"InsufficientLiquidityMinted","type":"error"},{"inputs":[],"name":"InsufficientOutputAmount","type":"error"},{"inputs":[],"name":"InvalidTo","type":"error"},{"inputs":[],"name":"IsPaused","type":"error"},{"inputs":[],"name":"K","type":"error"},{"inputs":[],"name":"NotEmergencyCouncil","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Fees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reserve0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reserve1","type":"uint256"}],"name":"Sync","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"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"blockTimestampLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimFees","outputs":[{"internalType":"uint256","name":"claimed0","type":"uint256"},{"internalType":"uint256","name":"claimed1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimable0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimable1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentCumulativePrices","outputs":[{"internalType":"uint256","name":"reserve0Cumulative","type":"uint256"},{"internalType":"uint256","name":"reserve1Cumulative","type":"uint256"},{"internalType":"uint256","name":"blockTimestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint256","name":"_reserve0","type":"uint256"},{"internalType":"uint256","name":"_reserve1","type":"uint256"},{"internalType":"uint256","name":"_blockTimestampLast","type":"uint256"}],"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":"index0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"index1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"bool","name":"_stable","type":"bool"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastObservation","outputs":[{"components":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"reserve0Cumulative","type":"uint256"},{"internalType":"uint256","name":"reserve1Cumulative","type":"uint256"}],"internalType":"struct IPool.Observation","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"uint256","name":"dec0","type":"uint256"},{"internalType":"uint256","name":"dec1","type":"uint256"},{"internalType":"uint256","name":"r0","type":"uint256"},{"internalType":"uint256","name":"r1","type":"uint256"},{"internalType":"bool","name":"st","type":"bool"},{"internalType":"address","name":"t0","type":"address"},{"internalType":"address","name":"t1","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"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":"observationLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"observations","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"reserve0Cumulative","type":"uint256"},{"internalType":"uint256","name":"reserve1Cumulative","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"poolFees","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"points","type":"uint256"}],"name":"prices","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"granularity","type":"uint256"}],"name":"quote","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserve0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserve0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserve1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserve1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"name":"sample","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"__name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__symbol","type":"string"}],"name":"setSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supplyIndex0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supplyIndex1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0Out","type":"uint256"},{"internalType":"uint256","name":"amount1Out","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokens","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

61016060405260006019556000601a553480156200001c57600080fd5b50604080516020808201835260008083528351808501855260018152603160f81b818401528451808401865282815285519384019095529082529192839291600362000069838262000269565b50600462000078828262000269565b506200008a915083905060056200013f565b60e0526200009a8160066200013f565b61010052815160208084019190912061012052815190820120610140524660a0526200012a6101205161014051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600955620003aa565b60006020835110156200015f57620001578362000178565b905062000172565b816200016c848262000269565b50600090505b92915050565b600080829050601f81511115620001af578260405163305a27a960e01b8152600401620001a6919062000335565b60405180910390fd5b8051620001bc8262000385565b179392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001ef57607f821691505b6020821081036200021057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026457600081815260208120601f850160051c810160208610156200023f5750805b601f850160051c820191505b8181101562000260578281556001016200024b565b5050505b505050565b81516001600160401b03811115620002855762000285620001c4565b6200029d81620002968454620001da565b8462000216565b602080601f831160018114620002d55760008415620002bc5750858301515b600019600386901b1c1916600185901b17855562000260565b600085815260208120601f198616915b828110156200030657888601518255948401946001909101908401620002e5565b5085821015620003255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620003645785810183015185820160400152820162000346565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620002105760001960209190910360031b1b16919050565b60805160a05160c05160e051610100516101205161014051615241620004056000396000613279015260006132510152600061164c0152600061161f015260006131a9015260006131d4015260006131ff01526152416000f3fe60806040523480156200001157600080fd5b50600436106200036a5760003560e01c806389afcb4411620001dc578063c245febc1162000119578063dd62ed3e11620000af578063ebeb31db1162000086578063ebeb31db146200084b578063ee39e7a01462000854578063f140a35a146200085e578063fff6cae9146200087557600080fd5b8063dd62ed3e1462000813578063e4463eb2146200082a578063e4bbb5a8146200083457600080fd5b8063c5700a0211620000f0578063c5700a0214620007d4578063d21220a714620007de578063d294f09314620007f2578063d505accf14620007fc57600080fd5b8063c245febc146200079f578063c45a015514620007a9578063c47f002714620007bd57600080fd5b8063a1ac4d13116200018f578063b84c82461162000166578063b84c8246146200075d578063bc25cf771462000774578063bda39cad146200078b578063bf944dbc146200079557600080fd5b8063a1ac4d13146200070c578063a457c2d7146200072f578063a9059cbb146200074657600080fd5b806389afcb4414620006475780638a7b8cf2146200067457806395d89b4114620006a15780639d63848a14620006ab5780639e8cc04b14620006d25780639f767c8814620006e957600080fd5b806332c0defd11620002ab5780634d5a9f8a116200025e5780636a62784211620002355780636a62784214620005ce57806370a0823114620005e55780637ecebe00146200061157806384b0196e146200062857600080fd5b80634d5a9f8a146200058a5780635881c47514620005ad5780635a76f25e14620005c457600080fd5b806332c0defd14620004de5780633358095914620004e85780633644e51514620004fc578063392f37e91462000506578063395093511462000569578063443cb4bc146200058057600080fd5b806318160ddd116200032157806322be3de111620002f857806322be3de1146200048b57806323b872dd14620004a0578063252c09d714620004b7578063313ce56714620004ce57600080fd5b806318160ddd146200044b5780631df8c717146200045e578063205aabf1146200046857600080fd5b8063022c0d9f146200036f57806306fdde0314620003885780630902f1ac14620003aa578063095ea7b314620003d05780630dfe168114620003f857806313345fe11462000425575b600080fd5b620003866200038036600462004153565b6200087f565b005b6200039262000f09565b604051620003a1919062004217565b60405180910390f35b6014546015546016545b60408051938452602084019290925290820152606001620003a1565b620003e7620003e13660046200422c565b62000fa3565b6040519015158152602001620003a1565b600d546200040c906001600160a01b031681565b6040516001600160a01b039091168152602001620003a1565b6200043c620004363660046200425b565b62000fbf565b604051620003a19190620042d6565b6002545b604051908152602001620003a1565b620003b4620011ec565b6200044f62000479366004620042eb565b601c6020526000908152604090205481565b600c54620003e790600160a01b900460ff1681565b620003e7620004b13660046200430b565b62001267565b620003b4620004c836600462004351565b62001291565b60405160128152602001620003a1565b6200044f60195481565b600f546200040c906001600160a01b031681565b6200044f620012c5565b601254601354601454601554600c54600d54600e54604080519788526020880196909652948601939093526060850191909152600160a01b900460ff16151560808401526001600160a01b0390811660a08401521660c082015260e001620003a1565b620003e76200057a3660046200422c565b620012d6565b6200044f60145481565b6200044f6200059b366004620042eb565b601d6020526000908152604090205481565b6200043c620005be3660046200436b565b620012fe565b6200044f60155481565b6200044f620005df366004620042eb565b6200130f565b6200044f620005f6366004620042eb565b6001600160a01b031660009081526020819052604090205490565b6200044f62000622366004620042eb565b620015f1565b6200063262001610565b604051620003a19796959493929190620043a3565b6200065e62000658366004620042eb565b6200169d565b60408051928352602083019190915201620003a1565b6200067e62001993565b6040805182518152602080840151908201529181015190820152606001620003a1565b6200039262001a19565b600d54600e54604080516001600160a01b03938416815292909116602083015201620003a1565b6200044f620006e33660046200436b565b62001a2a565b6200044f620006fa366004620042eb565b601b6020526000908152604090205481565b6200044f6200071d366004620042eb565b601e6020526000908152604090205481565b620003e7620007403660046200422c565b62001aa8565b620003e7620007573660046200422c565b62001b38565b620003866200076e36600462004419565b62001b48565b6200038662000785366004620042eb565b62001c08565b6200044f601a5481565b6200044f60175481565b6200044f60185481565b6010546200040c906001600160a01b031681565b62000386620007ce36600462004419565b62001d55565b6200044f60165481565b600e546200040c906001600160a01b031681565b6200065e62001e10565b620003866200080d3660046200446f565b62001f3b565b6200044f62000824366004620044e7565b620020ab565b6200044f61070881565b620003866200084536600462004534565b620020d6565b6011546200044f565b6200044f62002584565b6200044f6200086f36600462004586565b620025b0565b6200038662002680565b6200088962002784565b601060009054906101000a90046001600160a01b03166001600160a01b031663b187bd266040518163ffffffff1660e01b8152600401602060405180830381865afa158015620008dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009039190620045ae565b156200092257604051631309a56360e01b815260040160405180910390fd5b841580156200092f575083155b156200094e576040516342301c2360e01b815260040160405180910390fd5b6014546015548187101580620009645750808610155b15620009835760405163bb55fd2760e01b815260040160405180910390fd5b600d54600e5460009182916001600160a01b0391821691908116908916821480620009bf5750806001600160a01b0316896001600160a01b0316145b15620009de57604051630521f43160e31b815260040160405180910390fd5b8a15620009fb57620009fb6001600160a01b0383168a8d620027df565b891562000a185762000a186001600160a01b0382168a8c620027df565b861562000a8a57604051639a7bff7960e01b81526001600160a01b038a1690639a7bff799062000a559033908f908f908e908e90600401620045ce565b600060405180830381600087803b15801562000a7057600080fd5b505af115801562000a85573d6000803e3d6000fd5b505050505b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa15801562000acf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000af591906200461a565b6040516370a0823160e01b81523060048201529094506001600160a01b038216906370a0823190602401602060405180830381865afa15801562000b3d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b6391906200461a565b925050506000898562000b7791906200464a565b831162000b8657600062000b9e565b62000b928a866200464a565b62000b9e90846200464a565b9050600062000bae8a866200464a565b831162000bbd57600062000bd5565b62000bc98a866200464a565b62000bd590846200464a565b90508115801562000be4575080155b1562000c035760405163098fb56160e01b815260040160405180910390fd5b600d54600e546001600160a01b039182169116831562000cc857601054600c5460405163cc56b2c560e01b8152306004820152600160a01b90910460ff161515602482015262000cc891612710916001600160a01b039091169063cc56b2c590604401602060405180830381865afa15801562000c84573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000caa91906200461a565b62000cb6908762004660565b62000cc2919062004690565b62002833565b821562000d7a57601054600c5460405163cc56b2c560e01b8152306004820152600160a01b90910460ff161515602482015262000d7a91612710916001600160a01b039091169063cc56b2c590604401602060405180830381865afa15801562000d36573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d5c91906200461a565b62000d68908662004660565b62000d74919062004690565b620028ed565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa15801562000dbf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000de591906200461a565b6040516370a0823160e01b81523060048201529096506001600160a01b038216906370a0823190602401602060405180830381865afa15801562000e2d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e5391906200461a565b945062000e618888620029a1565b62000e6d8787620029a1565b101562000e8d5760405163a932492f60e01b815260040160405180910390fd5b505062000e9d8484888862002ac0565b60408051838152602081018390528082018d9052606081018c905290516001600160a01b038b169133917fb3e2773606abfd36b5bd91394b3a54d1398336c65005baf7bf7a05efeffaf75b9181900360800190a350505050505062000f026001600955565b5050505050565b6060600a805462000f1a90620046b3565b80601f016020809104026020016040519081016040528092919081815260200182805462000f4890620046b3565b801562000f995780601f1062000f6d5761010080835404028352916020019162000f99565b820191906000526020600020905b81548152906001019060200180831162000f7b57829003601f168201915b5050505050905090565b60003362000fb381858562002c66565b60019150505b92915050565b606060008367ffffffffffffffff81111562000fdf5762000fdf620046e9565b60405190808252806020026020018201604052801562001009578160200160208202803683370190505b5060115490915060009062001021906001906200464a565b9050600062001031858762004660565b6200103d90836200464a565b90506000805b83831015620011dc57620010588784620046ff565b915060006011848154811062001072576200107262004715565b906000526020600020906003020160000154601184815481106200109a576200109a62004715565b906000526020600020906003020160000154620010b891906200464a565b905060008160118681548110620010d357620010d362004715565b90600052602060002090600302016001015460118681548110620010fb57620010fb62004715565b9060005260206000209060030201600101546200111991906200464a565b62001125919062004690565b90506000826011878154811062001140576200114062004715565b9060005260206000209060030201600201546011878154811062001168576200116862004715565b9060005260206000209060030201600201546200118691906200464a565b62001192919062004690565b9050620011a28c8e848462002d8e565b888581518110620011b757620011b762004715565b6020908102919091010152505050600101620011d48784620046ff565b925062001043565b509293505050505b949350505050565b60175460185442600080806200120b6014546015546016549192909190565b9250925092508381146200125f5760006200122782866200464a565b905062001235818562004660565b620012419088620046ff565b96506200124f818462004660565b6200125b9087620046ff565b9550505b505050909192565b6000336200127785828562002f63565b6200128485858562002fe4565b60019150505b9392505050565b60118181548110620012a257600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b6000620012d16200319c565b905090565b60003362000fb3818585620012ec8383620020ab565b620012f89190620046ff565b62002c66565b6060620011e4848484600162000fbf565b60006200131b62002784565b601454601554600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156200136b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200139191906200461a565b600e546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa158015620013e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200140691906200461a565b905060006200141685846200464a565b905060006200142685846200464a565b905060006200143460025490565b90508060000362001524576103e86200145862001452848662004660565b620032ca565b6200146491906200464a565b97506200147560016103e8620033cf565b600c54600160a01b900460ff16156200151e576013546200149f83670de0b6b3a764000062004660565b620014ab919062004690565b601254620014c285670de0b6b3a764000062004660565b620014ce919062004690565b14620014ed576040516305026bfd60e11b815260040160405180910390fd5b6402540be400620014ff8484620029a1565b116200151e576040516321c69d6f60e11b815260040160405180910390fd5b62001563565b620015608762001535838662004660565b62001541919062004690565b876200154e848662004660565b6200155a919062004690565b620034a0565b97505b876000036200158557604051633489be7560e21b815260040160405180910390fd5b620015918989620033cf565b6200159f8585898962002ac0565b604080518481526020810184905233917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f910160405180910390a250505050505050620015ec6001600955565b919050565b6001600160a01b03811660009081526007602052604081205462000fb9565b600060608082808083620016467f00000000000000000000000000000000000000000000000000000000000000006005620034b8565b620016737f00000000000000000000000000000000000000000000000000000000000000006006620034b8565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b600080620016aa62002784565b601454601554600d54600e546040516370a0823160e01b81523060048201526001600160a01b03928316929091169060009083906370a0823190602401602060405180830381865afa15801562001705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200172b91906200461a565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038416906370a0823190602401602060405180830381865afa15801562001776573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200179c91906200461a565b306000908152602081905260409020546002549192509080620017c0858462004660565b620017cc919062004690565b995080620017db848462004660565b620017e7919062004690565b9850891580620017f5575088155b15620018145760405163749383ad60e01b815260040160405180910390fd5b62001820308362003569565b620018366001600160a01b0387168c8c620027df565b6200184c6001600160a01b0386168c8b620027df565b6040516370a0823160e01b81523060048201526001600160a01b038716906370a0823190602401602060405180830381865afa15801562001891573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018b791906200461a565b6040516370a0823160e01b81523060048201529094506001600160a01b038616906370a0823190602401602060405180830381865afa158015620018ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200192591906200461a565b92506200193584848a8a62002ac0565b604080518b8152602081018b90526001600160a01b038d169133917f5d624aa9c148153ab3446c1b154f660ee7701e549fe9b62dab7171b1c80e6fa2910160405180910390a350505050505050506200198e6001600955565b915091565b620019b860405180606001604052806000815260200160008152602001600081525090565b60118054620019ca906001906200464a565b81548110620019dd57620019dd62004715565b90600052602060002090600302016040518060600160405290816000820154815260200160018201548152602001600282015481525050905090565b6060600b805462000f1a90620046b3565b60008062001a3c858585600162000fbf565b8051909150600090815b8181101562001a905783818151811062001a645762001a6462004715565b60200260200101518362001a799190620046ff565b92508062001a87816200472b565b91505062001a46565b5062001a9d858362004690565b979650505050505050565b6000338162001ab88286620020ab565b90508381101562001b1e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b62001b2d828686840362002c66565b506001949350505050565b60003362000fb381858562002fe4565b600c60009054906101000a90046001600160a01b03166001600160a01b0316637778960e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001b9c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bc2919062004747565b6001600160a01b0316336001600160a01b03161462001bf45760405163c560129360e01b815260040160405180910390fd5b600b62001c03828483620047b9565b505050565b62001c1262002784565b600d54600e546014546040516370a0823160e01b81523060048201526001600160a01b03938416939092169162001cb291859185906370a0823190602401602060405180830381865afa15801562001c6e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c9491906200461a565b62001ca091906200464a565b6001600160a01b0385169190620027df565b6015546040516370a0823160e01b815230600482015262001d459185916001600160a01b038516906370a0823190602401602060405180830381865afa15801562001d01573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d2791906200461a565b62001d3391906200464a565b6001600160a01b0384169190620027df565b505062001d526001600955565b50565b600c60009054906101000a90046001600160a01b03166001600160a01b0316637778960e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001da9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dcf919062004747565b6001600160a01b0316336001600160a01b03161462001e015760405163c560129360e01b815260040160405180910390fd5b600a62001c03828483620047b9565b6000803362001e1f81620036ad565b6001600160a01b0381166000908152601d6020908152604080832054601e9092529091205490935091508215158062001e585750600082115b1562001f36576001600160a01b038181166000818152601d60209081526040808320839055601e90915280822091909155600f54905163299e7ae760e11b8152600481019290925260248201869052604482018590529091169063533cf5ce90606401600060405180830381600087803b15801562001ed657600080fd5b505af115801562001eeb573d6000803e3d6000fd5b505060408051868152602081018690526001600160a01b03851693508392507f865ca08d59f5cb456e85cd2f7ef63664ea4f73327414e9d8152c4158b0e94645910160405180910390a35b509091565b8342111562001f8d5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640162001b15565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888862001fbe8c62003820565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006200201b8262003848565b905060006200202d8287878762003878565b9050896001600160a01b0316816001600160a01b031614620020925760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640162001b15565b6200209f8a8a8a62002c66565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6010546001600160a01b03161562002101576040516302a98a3760e31b815260040160405180910390fd5b601080546001600160a01b03191633908117909155604080516311b25aab60e21b815290516346c96aac916004808201926020929091908290030181865afa15801562002152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002178919062004747565b600c80546001600160a01b039283166001600160a81b031990911617600160a01b84151502179055600e80546001600160a01b031990811685841617909155600d805490911691851691909117905560405183908390620021d990620040e3565b6001600160a01b03928316815291166020820152604001604051809103906000f0801580156200220d573d6000803e3d6000fd5b50600f60006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000836001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa15801562002275573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200229f919081019062004886565b90506000836001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015620022e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200230c919081019062004886565b90508215620023855781816040516020016200232a92919062004934565b604051602081830303815290604052600a90816200234991906200498d565b5081816040516020016200235f92919062004a5a565b604051602081830303815290604052600b90816200237e91906200498d565b50620023f0565b81816040516020016200239a92919062004aab565b604051602081830303815290604052600a9081620023b991906200498d565b508181604051602001620023cf92919062004b06565b604051602081830303815290604052600b9081620023ee91906200498d565b505b846001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200242f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002455919062004b28565b6200246290600a62004c45565b601281905550836001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024cd919062004b28565b620024da90600a62004c45565b60135550506040805160608101825242815260006020820181815292820181815260118054600181018255925291517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6860039092029182015591517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c69830155517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6a90910155505050565b60006200259062002784565b620025a0601454601554620029a1565b9050620025ad6001600955565b90565b601454601554601054600c5460405163cc56b2c560e01b8152306004820152600160a01b90910460ff16151560248201526000939291612710916001600160a01b039091169063cc56b2c590604401602060405180830381865afa1580156200261d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200264391906200461a565b6200264f908762004660565b6200265b919062004690565b6200266790866200464a565b9450620026778585848462002d8e565b95945050505050565b6200268a62002784565b600d546040516370a0823160e01b815230600482015262002777916001600160a01b0316906370a0823190602401602060405180830381865afa158015620026d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026fc91906200461a565b600e546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801562002745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200276b91906200461a565b60145460155462002ac0565b620027826001600955565b565b600260095403620027d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162001b15565b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905262001c03908490620038a4565b806000036200283f5750565b600f54600d546200285e916001600160a01b03918216911683620027df565b60006200286a60025490565b6200287e83670de0b6b3a764000062004660565b6200288a919062004690565b90508015620028ad578060196000828254620028a79190620046ff565b90915550505b604080518381526000602082015233917f112c256902bf554b6ed882d2936687aaeb4225e8cd5b51303c90ca6cf43a860291015b60405180910390a25050565b80600003620028f95750565b600f54600e5462002918916001600160a01b03918216911683620027df565b60006200292460025490565b6200293883670de0b6b3a764000062004660565b62002944919062004690565b90508015620029675780601a6000828254620029619190620046ff565b90915550505b60408051600081526020810184905233917f112c256902bf554b6ed882d2936687aaeb4225e8cd5b51303c90ca6cf43a86029101620028e1565b600c54600090600160a01b900460ff161562002aac57601254600090620029d185670de0b6b3a764000062004660565b620029dd919062004690565b9050600060135484670de0b6b3a7640000620029fa919062004660565b62002a06919062004690565b90506000670de0b6b3a764000062002a1f838562004660565b62002a2b919062004690565b90506000670de0b6b3a764000062002a44848062004660565b62002a50919062004690565b670de0b6b3a764000062002a65868062004660565b62002a71919062004690565b62002a7d9190620046ff565b9050670de0b6b3a764000062002a94828462004660565b62002aa0919062004690565b94505050505062000fb9565b62002ab8828462004660565b905062000fb9565b601654429060009062002ad490836200464a565b905060008111801562002ae657508315155b801562002af257508215155b1562002b425762002b04818562004660565b6017600082825462002b179190620046ff565b9091555062002b299050818462004660565b6018600082825462002b3c9190620046ff565b90915550505b600062002b4e62001993565b805190915062002b5f90846200464a565b915061070882111562002c155760408051606081018252848152601754602082019081526018549282019283526011805460018101825560009190915291517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c68600390930292830155517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6982015590517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6a909101555b60148790556015869055601683905560408051888152602081018890527fcf2aa50876cdfbb541206f89af0ee78d44a2abf8d328e37fa4917f982149848a910160405180910390a150505050505050565b6001600160a01b03831662002cca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162001b15565b6001600160a01b03821662002d2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162001b15565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600c54600090600160a01b900460ff161562002f0a57600062002db28484620029a1565b60125490915062002dcc85670de0b6b3a764000062004660565b62002dd8919062004690565b60135490945062002df284670de0b6b3a764000062004660565b62002dfe919062004690565b600d5490935060009081906001600160a01b0388811691161462002e2457848662002e27565b85855b600d5491935091506001600160a01b0388811691161462002e6b5760135462002e5989670de0b6b3a764000062004660565b62002e65919062004690565b62002e8e565b60125462002e8289670de0b6b3a764000062004660565b62002e8e919062004690565b9750600062002eaa62002ea2848b620046ff565b85846200397d565b62002eb690836200464a565b600d54909150670de0b6b3a7640000906001600160a01b038a811691161462002ee25760125462002ee6565b6013545b62002ef2908362004660565b62002efe919062004690565b945050505050620011e4565b600d5460009081906001600160a01b0387811691161462002f2d57838562002f30565b84845b909250905062002f418783620046ff565b62002f4d828962004660565b62002f59919062004690565b92505050620011e4565b600062002f718484620020ab565b9050600019811462002fde578181101562002fcf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640162001b15565b62002fde848484840362002c66565b50505050565b6001600160a01b0383166200304a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840162001b15565b6001600160a01b038216620030ae5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840162001b15565b620030bb83838362003b23565b6001600160a01b03831660009081526020819052604090205481811015620031355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840162001b15565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362002fde565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015620031f657507f000000000000000000000000000000000000000000000000000000000000000046145b156200322157507f000000000000000000000000000000000000000000000000000000000000000090565b620012d1604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600081600003620032dd57506000919050565b60006001620032ec8462003b39565b901c6001901b905060018184816200330857620033086200467a565b048201901c905060018184816200332357620033236200467a565b048201901c905060018184816200333e576200333e6200467a565b048201901c905060018184816200335957620033596200467a565b048201901c905060018184816200337457620033746200467a565b048201901c905060018184816200338f576200338f6200467a565b048201901c90506001818481620033aa57620033aa6200467a565b048201901c90506200128a81828581620033c857620033c86200467a565b04620034a0565b6001600160a01b038216620034275760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162001b15565b620034356000838362003b23565b8060026000828254620034499190620046ff565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000818310620034b157816200128a565b5090919050565b606060ff831615620034cf5762002ab88362003bd5565b818054620034dd90620046b3565b80601f01602080910402602001604051908101604052809291908181526020018280546200350b90620046b3565b80156200355c5780601f1062003530576101008083540402835291602001916200355c565b820191906000526020600020905b8154815290600101906020018083116200353e57829003601f168201915b5050505050905062000fb9565b6001600160a01b038216620035cb5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840162001b15565b620035d98260008362003b23565b6001600160a01b038216600090815260208190526040902054818110156200364f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840162001b15565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b0381166000908152602081905260409020548015620037ee576001600160a01b0382166000908152601b602090815260408083208054601c8085529285208054601954601a549481905594909552829055936200371285846200464a565b905060006200372285846200464a565b9050811562003784576000670de0b6b3a764000062003742848a62004660565b6200374e919062004690565b6001600160a01b038a166000908152601d60205260408120805492935083929091906200377d908490620046ff565b9091555050505b8015620037e4576000670de0b6b3a7640000620037a2838a62004660565b620037ae919062004690565b6001600160a01b038a166000908152601e6020526040812080549293508392909190620037dd908490620046ff565b9091555050505b5050505050505050565b6019546001600160a01b0383166000908152601b6020908152604080832093909355601a54601c909152919020555050565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b600062000fb9620038586200319c565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060006200388b8787878762003c0a565b915091506200389a8162003cd3565b5095945050505050565b6000620038fb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031662003e309092919063ffffffff16565b80519091501562001c0357808060200190518101906200391c9190620045ae565b62001c035760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162001b15565b6000805b60ff81101562003af457600062003999868562003e41565b90508481101562003a4e576000620039b2878662003eda565b620039be83886200464a565b620039d290670de0b6b3a764000062004660565b620039de919062004690565b90508060000362003a3957858203620039fd578493505050506200128a565b8562003a168862003a10886001620046ff565b620029a1565b111562003a355762003a2a856001620046ff565b93505050506200128a565b5060015b62003a458186620046ff565b94505062003ade565b600062003a5c878662003eda565b62003a6887846200464a565b62003a7c90670de0b6b3a764000062004660565b62003a88919062004690565b90508060000362003ace578582148062003ab857508562003ab68862003ab06001896200464a565b62003e41565b105b1562003aca578493505050506200128a565b5060015b62003ada81866200464a565b9450505b508062003aeb816200472b565b91505062003981565b5060405162461bcd60e51b8152602060048201526002602482015261217960f01b604482015260640162001b15565b62003b2e83620036ad565b62001c0382620036ad565b600080608083901c1562003b4f57608092831c92015b604083901c1562003b6257604092831c92015b602083901c1562003b7557602092831c92015b601083901c1562003b8857601092831c92015b600883901c1562003b9b57600892831c92015b600483901c1562003bae57600492831c92015b600283901c1562003bc157600292831c92015b600183901c1562000fb95760010192915050565b60408051602080825281830190925260609160ff84169160009180820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111562003c43575060009050600362003cca565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801562003c98573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811662003cc35760006001925092505062003cca565b9150600090505b94509492505050565b600081600481111562003cea5762003cea62004c56565b0362003cf35750565b600181600481111562003d0a5762003d0a62004c56565b0362003d595760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640162001b15565b600281600481111562003d705762003d7062004c56565b0362003dbf5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640162001b15565b600381600481111562003dd65762003dd662004c56565b0362001d525760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840162001b15565b6060620011e4848460008562003f6a565b600080670de0b6b3a764000062003e59848662004660565b62003e65919062004690565b90506000670de0b6b3a764000062003e7e858062004660565b62003e8a919062004690565b670de0b6b3a764000062003e9f878062004660565b62003eab919062004690565b62003eb79190620046ff565b9050670de0b6b3a764000062003ece828462004660565b62002677919062004690565b6000670de0b6b3a7640000838162003ef3828062004660565b62003eff919062004690565b62003f0b919062004660565b62003f17919062004690565b670de0b6b3a76400008062003f2d858062004660565b62003f39919062004690565b62003f4686600362004660565b62003f52919062004660565b62003f5e919062004690565b6200128a9190620046ff565b60608247101562003fcd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162001b15565b600080866001600160a01b0316858760405162003feb919062004c6c565b60006040518083038185875af1925050503d80600081146200402a576040519150601f19603f3d011682016040523d82523d6000602084013e6200402f565b606091505b509150915062001a9d8783838760608315620040b0578251600003620040a8576001600160a01b0385163b620040a85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162001b15565b5081620011e4565b620011e48383815115620040c75781518083602001fd5b8060405162461bcd60e51b815260040162001b15919062004217565b6105818062004c8b83390190565b6001600160a01b038116811462001d5257600080fd5b60008083601f8401126200411a57600080fd5b50813567ffffffffffffffff8111156200413357600080fd5b6020830191508360208285010111156200414c57600080fd5b9250929050565b6000806000806000608086880312156200416c57600080fd5b853594506020860135935060408601356200418781620040f1565b9250606086013567ffffffffffffffff811115620041a457600080fd5b620041b28882890162004107565b969995985093965092949392505050565b60005b83811015620041e0578181015183820152602001620041c6565b50506000910152565b6000815180845262004203816020860160208601620041c3565b601f01601f19169290920160200192915050565b6020815260006200128a6020830184620041e9565b600080604083850312156200424057600080fd5b82356200424d81620040f1565b946020939093013593505050565b600080600080608085870312156200427257600080fd5b84356200427f81620040f1565b966020860135965060408601359560600135945092505050565b600081518084526020808501945080840160005b83811015620042cb57815187529582019590820190600101620042ad565b509495945050505050565b6020815260006200128a602083018462004299565b600060208284031215620042fe57600080fd5b81356200128a81620040f1565b6000806000606084860312156200432157600080fd5b83356200432e81620040f1565b925060208401356200434081620040f1565b929592945050506040919091013590565b6000602082840312156200436457600080fd5b5035919050565b6000806000606084860312156200438157600080fd5b83356200438e81620040f1565b95602085013595506040909401359392505050565b60ff60f81b8816815260e060208201526000620043c460e0830189620041e9565b8281036040840152620043d88189620041e9565b606084018890526001600160a01b038716608085015260a0840186905283810360c085015290506200440b818562004299565b9a9950505050505050505050565b600080602083850312156200442d57600080fd5b823567ffffffffffffffff8111156200444557600080fd5b620044538582860162004107565b90969095509350505050565b60ff8116811462001d5257600080fd5b600080600080600080600060e0888a0312156200448b57600080fd5b87356200449881620040f1565b96506020880135620044aa81620040f1565b955060408801359450606088013593506080880135620044ca816200445f565b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215620044fb57600080fd5b82356200450881620040f1565b915060208301356200451a81620040f1565b809150509250929050565b801515811462001d5257600080fd5b6000806000606084860312156200454a57600080fd5b83356200455781620040f1565b925060208401356200456981620040f1565b915060408401356200457b8162004525565b809150509250925092565b600080604083850312156200459a57600080fd5b8235915060208301356200451a81620040f1565b600060208284031215620045c157600080fd5b81516200128a8162004525565b60018060a01b038616815284602082015283604082015260806060820152816080820152818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b6000602082840312156200462d57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111562000fb95762000fb962004634565b808202811582820484141762000fb95762000fb962004634565b634e487b7160e01b600052601260045260246000fd5b600082620046ae57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680620046c857607f821691505b6020821081036200384257634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8082018082111562000fb95762000fb962004634565b634e487b7160e01b600052603260045260246000fd5b60006001820162004740576200474062004634565b5060010190565b6000602082840312156200475a57600080fd5b81516200128a81620040f1565b601f82111562001c0357600081815260208120601f850160051c81016020861015620047905750805b601f850160051c820191505b81811015620047b1578281556001016200479c565b505050505050565b67ffffffffffffffff831115620047d457620047d4620046e9565b620047ec83620047e58354620046b3565b8362004767565b6000601f8411600181146200482357600085156200480a5750838201355b600019600387901b1c1916600186901b17835562000f02565b600083815260209020601f19861690835b8281101562004856578685013582556020948501946001909201910162004834565b5086821015620048745760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156200489957600080fd5b815167ffffffffffffffff80821115620048b257600080fd5b818401915084601f830112620048c757600080fd5b815181811115620048dc57620048dc620046e9565b604051601f8201601f19908116603f01168101908382118183101715620049075762004907620046e9565b816040528281528760208487010111156200492157600080fd5b62001a9d836020830160208801620041c3565b6c029ba30b136329020a6a690169609d1b8152600083516200495e81600d850160208801620041c3565b602f60f81b600d9184019182015283516200498181600e840160208801620041c3565b01600e01949350505050565b815167ffffffffffffffff811115620049aa57620049aa620046e9565b620049c281620049bb8454620046b3565b8462004767565b602080601f831160018114620049fa5760008415620049e15750858301515b600019600386901b1c1916600185901b178555620047b1565b600085815260208120601f198616915b8281101562004a2b5788860151825594840194600190910190840162004a0a565b508582101562004a4a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6473414d4d2d60d81b81526000835162004a7c816005850160208801620041c3565b602f60f81b600591840191820152835162004a9f816006840160208801620041c3565b01600601949350505050565b6e02b37b630ba34b6329020a6a690169608d1b81526000835162004ad781600f850160208801620041c3565b602f60f81b600f91840191820152835162004afa816010840160208801620041c3565b01601001949350505050565b6476414d4d2d60d81b81526000835162004a7c816005850160208801620041c3565b60006020828403121562004b3b57600080fd5b81516200128a816200445f565b600181815b8085111562004b8957816000190482111562004b6d5762004b6d62004634565b8085161562004b7b57918102915b93841c939080029062004b4d565b509250929050565b60008262004ba25750600162000fb9565b8162004bb15750600062000fb9565b816001811462004bca576002811462004bd55762004bf5565b600191505062000fb9565b60ff84111562004be95762004be962004634565b50506001821b62000fb9565b5060208310610133831016604e8410600b841016171562004c1a575081810a62000fb9565b62004c26838362004b48565b806000190482111562004c3d5762004c3d62004634565b029392505050565b60006200128a60ff84168362004b91565b634e487b7160e01b600052602160045260246000fd5b6000825162004c80818460208701620041c3565b919091019291505056fe60e060405234801561001057600080fd5b5060405161058138038061058183398101604081905261002f91610066565b336080526001600160a01b0391821660a0521660c052610099565b80516001600160a01b038116811461006157600080fd5b919050565b6000806040838503121561007957600080fd5b6100828361004a565b91506100906020840161004a565b90509250929050565b60805160a05160c0516104bc6100c5600039600060db0152600060a101526000605001526104bc6000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063533cf5ce14610030575b600080fd5b61004361003e3660046103a9565b610045565b005b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461008e57604051636f61f64160e01b815260040160405180910390fd5b81156100c8576100c86001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168484610107565b8015610102576101026001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168483610107565b505050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261010292869291600091610197918516908490610219565b80519091501561010257808060200190518101906101b591906103ea565b6101025760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b60606102288484600085610230565b949350505050565b6060824710156102915760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610210565b600080866001600160a01b031685876040516102ad9190610437565b60006040518083038185875af1925050503d80600081146102ea576040519150601f19603f3d011682016040523d82523d6000602084013e6102ef565b606091505b50915091506103008783838761030b565b979650505050505050565b6060831561037a578251600003610373576001600160a01b0385163b6103735760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610210565b5081610228565b610228838381511561038f5781518083602001fd5b8060405162461bcd60e51b81526004016102109190610453565b6000806000606084860312156103be57600080fd5b83356001600160a01b03811681146103d557600080fd5b95602085013595506040909401359392505050565b6000602082840312156103fc57600080fd5b8151801515811461040c57600080fd5b9392505050565b60005b8381101561042e578181015183820152602001610416565b50506000910152565b60008251610449818460208701610413565b9190910192915050565b6020815260008251806020840152610472816040850160208701610413565b601f01601f1916919091016040019291505056fea2646970667358221220b43ae86a5cd727280bb5c81c5aefd6b95cb797e31010f0a38c23ab68a9e5e51964736f6c63430008130033a26469706673582212202bb49f25daf7cede0dc7192687eb5f5817efe9d0831a343064182971f7c0a82164736f6c63430008130033

Deployed Bytecode

0x60806040523480156200001157600080fd5b50600436106200036a5760003560e01c806389afcb4411620001dc578063c245febc1162000119578063dd62ed3e11620000af578063ebeb31db1162000086578063ebeb31db146200084b578063ee39e7a01462000854578063f140a35a146200085e578063fff6cae9146200087557600080fd5b8063dd62ed3e1462000813578063e4463eb2146200082a578063e4bbb5a8146200083457600080fd5b8063c5700a0211620000f0578063c5700a0214620007d4578063d21220a714620007de578063d294f09314620007f2578063d505accf14620007fc57600080fd5b8063c245febc146200079f578063c45a015514620007a9578063c47f002714620007bd57600080fd5b8063a1ac4d13116200018f578063b84c82461162000166578063b84c8246146200075d578063bc25cf771462000774578063bda39cad146200078b578063bf944dbc146200079557600080fd5b8063a1ac4d13146200070c578063a457c2d7146200072f578063a9059cbb146200074657600080fd5b806389afcb4414620006475780638a7b8cf2146200067457806395d89b4114620006a15780639d63848a14620006ab5780639e8cc04b14620006d25780639f767c8814620006e957600080fd5b806332c0defd11620002ab5780634d5a9f8a116200025e5780636a62784211620002355780636a62784214620005ce57806370a0823114620005e55780637ecebe00146200061157806384b0196e146200062857600080fd5b80634d5a9f8a146200058a5780635881c47514620005ad5780635a76f25e14620005c457600080fd5b806332c0defd14620004de5780633358095914620004e85780633644e51514620004fc578063392f37e91462000506578063395093511462000569578063443cb4bc146200058057600080fd5b806318160ddd116200032157806322be3de111620002f857806322be3de1146200048b57806323b872dd14620004a0578063252c09d714620004b7578063313ce56714620004ce57600080fd5b806318160ddd146200044b5780631df8c717146200045e578063205aabf1146200046857600080fd5b8063022c0d9f146200036f57806306fdde0314620003885780630902f1ac14620003aa578063095ea7b314620003d05780630dfe168114620003f857806313345fe11462000425575b600080fd5b620003866200038036600462004153565b6200087f565b005b6200039262000f09565b604051620003a1919062004217565b60405180910390f35b6014546015546016545b60408051938452602084019290925290820152606001620003a1565b620003e7620003e13660046200422c565b62000fa3565b6040519015158152602001620003a1565b600d546200040c906001600160a01b031681565b6040516001600160a01b039091168152602001620003a1565b6200043c620004363660046200425b565b62000fbf565b604051620003a19190620042d6565b6002545b604051908152602001620003a1565b620003b4620011ec565b6200044f62000479366004620042eb565b601c6020526000908152604090205481565b600c54620003e790600160a01b900460ff1681565b620003e7620004b13660046200430b565b62001267565b620003b4620004c836600462004351565b62001291565b60405160128152602001620003a1565b6200044f60195481565b600f546200040c906001600160a01b031681565b6200044f620012c5565b601254601354601454601554600c54600d54600e54604080519788526020880196909652948601939093526060850191909152600160a01b900460ff16151560808401526001600160a01b0390811660a08401521660c082015260e001620003a1565b620003e76200057a3660046200422c565b620012d6565b6200044f60145481565b6200044f6200059b366004620042eb565b601d6020526000908152604090205481565b6200043c620005be3660046200436b565b620012fe565b6200044f60155481565b6200044f620005df366004620042eb565b6200130f565b6200044f620005f6366004620042eb565b6001600160a01b031660009081526020819052604090205490565b6200044f62000622366004620042eb565b620015f1565b6200063262001610565b604051620003a19796959493929190620043a3565b6200065e62000658366004620042eb565b6200169d565b60408051928352602083019190915201620003a1565b6200067e62001993565b6040805182518152602080840151908201529181015190820152606001620003a1565b6200039262001a19565b600d54600e54604080516001600160a01b03938416815292909116602083015201620003a1565b6200044f620006e33660046200436b565b62001a2a565b6200044f620006fa366004620042eb565b601b6020526000908152604090205481565b6200044f6200071d366004620042eb565b601e6020526000908152604090205481565b620003e7620007403660046200422c565b62001aa8565b620003e7620007573660046200422c565b62001b38565b620003866200076e36600462004419565b62001b48565b6200038662000785366004620042eb565b62001c08565b6200044f601a5481565b6200044f60175481565b6200044f60185481565b6010546200040c906001600160a01b031681565b62000386620007ce36600462004419565b62001d55565b6200044f60165481565b600e546200040c906001600160a01b031681565b6200065e62001e10565b620003866200080d3660046200446f565b62001f3b565b6200044f62000824366004620044e7565b620020ab565b6200044f61070881565b620003866200084536600462004534565b620020d6565b6011546200044f565b6200044f62002584565b6200044f6200086f36600462004586565b620025b0565b6200038662002680565b6200088962002784565b601060009054906101000a90046001600160a01b03166001600160a01b031663b187bd266040518163ffffffff1660e01b8152600401602060405180830381865afa158015620008dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009039190620045ae565b156200092257604051631309a56360e01b815260040160405180910390fd5b841580156200092f575083155b156200094e576040516342301c2360e01b815260040160405180910390fd5b6014546015548187101580620009645750808610155b15620009835760405163bb55fd2760e01b815260040160405180910390fd5b600d54600e5460009182916001600160a01b0391821691908116908916821480620009bf5750806001600160a01b0316896001600160a01b0316145b15620009de57604051630521f43160e31b815260040160405180910390fd5b8a15620009fb57620009fb6001600160a01b0383168a8d620027df565b891562000a185762000a186001600160a01b0382168a8c620027df565b861562000a8a57604051639a7bff7960e01b81526001600160a01b038a1690639a7bff799062000a559033908f908f908e908e90600401620045ce565b600060405180830381600087803b15801562000a7057600080fd5b505af115801562000a85573d6000803e3d6000fd5b505050505b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa15801562000acf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000af591906200461a565b6040516370a0823160e01b81523060048201529094506001600160a01b038216906370a0823190602401602060405180830381865afa15801562000b3d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b6391906200461a565b925050506000898562000b7791906200464a565b831162000b8657600062000b9e565b62000b928a866200464a565b62000b9e90846200464a565b9050600062000bae8a866200464a565b831162000bbd57600062000bd5565b62000bc98a866200464a565b62000bd590846200464a565b90508115801562000be4575080155b1562000c035760405163098fb56160e01b815260040160405180910390fd5b600d54600e546001600160a01b039182169116831562000cc857601054600c5460405163cc56b2c560e01b8152306004820152600160a01b90910460ff161515602482015262000cc891612710916001600160a01b039091169063cc56b2c590604401602060405180830381865afa15801562000c84573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000caa91906200461a565b62000cb6908762004660565b62000cc2919062004690565b62002833565b821562000d7a57601054600c5460405163cc56b2c560e01b8152306004820152600160a01b90910460ff161515602482015262000d7a91612710916001600160a01b039091169063cc56b2c590604401602060405180830381865afa15801562000d36573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d5c91906200461a565b62000d68908662004660565b62000d74919062004690565b620028ed565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa15801562000dbf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000de591906200461a565b6040516370a0823160e01b81523060048201529096506001600160a01b038216906370a0823190602401602060405180830381865afa15801562000e2d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e5391906200461a565b945062000e618888620029a1565b62000e6d8787620029a1565b101562000e8d5760405163a932492f60e01b815260040160405180910390fd5b505062000e9d8484888862002ac0565b60408051838152602081018390528082018d9052606081018c905290516001600160a01b038b169133917fb3e2773606abfd36b5bd91394b3a54d1398336c65005baf7bf7a05efeffaf75b9181900360800190a350505050505062000f026001600955565b5050505050565b6060600a805462000f1a90620046b3565b80601f016020809104026020016040519081016040528092919081815260200182805462000f4890620046b3565b801562000f995780601f1062000f6d5761010080835404028352916020019162000f99565b820191906000526020600020905b81548152906001019060200180831162000f7b57829003601f168201915b5050505050905090565b60003362000fb381858562002c66565b60019150505b92915050565b606060008367ffffffffffffffff81111562000fdf5762000fdf620046e9565b60405190808252806020026020018201604052801562001009578160200160208202803683370190505b5060115490915060009062001021906001906200464a565b9050600062001031858762004660565b6200103d90836200464a565b90506000805b83831015620011dc57620010588784620046ff565b915060006011848154811062001072576200107262004715565b906000526020600020906003020160000154601184815481106200109a576200109a62004715565b906000526020600020906003020160000154620010b891906200464a565b905060008160118681548110620010d357620010d362004715565b90600052602060002090600302016001015460118681548110620010fb57620010fb62004715565b9060005260206000209060030201600101546200111991906200464a565b62001125919062004690565b90506000826011878154811062001140576200114062004715565b9060005260206000209060030201600201546011878154811062001168576200116862004715565b9060005260206000209060030201600201546200118691906200464a565b62001192919062004690565b9050620011a28c8e848462002d8e565b888581518110620011b757620011b762004715565b6020908102919091010152505050600101620011d48784620046ff565b925062001043565b509293505050505b949350505050565b60175460185442600080806200120b6014546015546016549192909190565b9250925092508381146200125f5760006200122782866200464a565b905062001235818562004660565b620012419088620046ff565b96506200124f818462004660565b6200125b9087620046ff565b9550505b505050909192565b6000336200127785828562002f63565b6200128485858562002fe4565b60019150505b9392505050565b60118181548110620012a257600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b6000620012d16200319c565b905090565b60003362000fb3818585620012ec8383620020ab565b620012f89190620046ff565b62002c66565b6060620011e4848484600162000fbf565b60006200131b62002784565b601454601554600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156200136b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200139191906200461a565b600e546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa158015620013e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200140691906200461a565b905060006200141685846200464a565b905060006200142685846200464a565b905060006200143460025490565b90508060000362001524576103e86200145862001452848662004660565b620032ca565b6200146491906200464a565b97506200147560016103e8620033cf565b600c54600160a01b900460ff16156200151e576013546200149f83670de0b6b3a764000062004660565b620014ab919062004690565b601254620014c285670de0b6b3a764000062004660565b620014ce919062004690565b14620014ed576040516305026bfd60e11b815260040160405180910390fd5b6402540be400620014ff8484620029a1565b116200151e576040516321c69d6f60e11b815260040160405180910390fd5b62001563565b620015608762001535838662004660565b62001541919062004690565b876200154e848662004660565b6200155a919062004690565b620034a0565b97505b876000036200158557604051633489be7560e21b815260040160405180910390fd5b620015918989620033cf565b6200159f8585898962002ac0565b604080518481526020810184905233917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f910160405180910390a250505050505050620015ec6001600955565b919050565b6001600160a01b03811660009081526007602052604081205462000fb9565b600060608082808083620016467f00000000000000000000000000000000000000000000000000000000000000006005620034b8565b620016737f31000000000000000000000000000000000000000000000000000000000000016006620034b8565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b600080620016aa62002784565b601454601554600d54600e546040516370a0823160e01b81523060048201526001600160a01b03928316929091169060009083906370a0823190602401602060405180830381865afa15801562001705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200172b91906200461a565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038416906370a0823190602401602060405180830381865afa15801562001776573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200179c91906200461a565b306000908152602081905260409020546002549192509080620017c0858462004660565b620017cc919062004690565b995080620017db848462004660565b620017e7919062004690565b9850891580620017f5575088155b15620018145760405163749383ad60e01b815260040160405180910390fd5b62001820308362003569565b620018366001600160a01b0387168c8c620027df565b6200184c6001600160a01b0386168c8b620027df565b6040516370a0823160e01b81523060048201526001600160a01b038716906370a0823190602401602060405180830381865afa15801562001891573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018b791906200461a565b6040516370a0823160e01b81523060048201529094506001600160a01b038616906370a0823190602401602060405180830381865afa158015620018ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200192591906200461a565b92506200193584848a8a62002ac0565b604080518b8152602081018b90526001600160a01b038d169133917f5d624aa9c148153ab3446c1b154f660ee7701e549fe9b62dab7171b1c80e6fa2910160405180910390a350505050505050506200198e6001600955565b915091565b620019b860405180606001604052806000815260200160008152602001600081525090565b60118054620019ca906001906200464a565b81548110620019dd57620019dd62004715565b90600052602060002090600302016040518060600160405290816000820154815260200160018201548152602001600282015481525050905090565b6060600b805462000f1a90620046b3565b60008062001a3c858585600162000fbf565b8051909150600090815b8181101562001a905783818151811062001a645762001a6462004715565b60200260200101518362001a799190620046ff565b92508062001a87816200472b565b91505062001a46565b5062001a9d858362004690565b979650505050505050565b6000338162001ab88286620020ab565b90508381101562001b1e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b62001b2d828686840362002c66565b506001949350505050565b60003362000fb381858562002fe4565b600c60009054906101000a90046001600160a01b03166001600160a01b0316637778960e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001b9c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bc2919062004747565b6001600160a01b0316336001600160a01b03161462001bf45760405163c560129360e01b815260040160405180910390fd5b600b62001c03828483620047b9565b505050565b62001c1262002784565b600d54600e546014546040516370a0823160e01b81523060048201526001600160a01b03938416939092169162001cb291859185906370a0823190602401602060405180830381865afa15801562001c6e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c9491906200461a565b62001ca091906200464a565b6001600160a01b0385169190620027df565b6015546040516370a0823160e01b815230600482015262001d459185916001600160a01b038516906370a0823190602401602060405180830381865afa15801562001d01573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d2791906200461a565b62001d3391906200464a565b6001600160a01b0384169190620027df565b505062001d526001600955565b50565b600c60009054906101000a90046001600160a01b03166001600160a01b0316637778960e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001da9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dcf919062004747565b6001600160a01b0316336001600160a01b03161462001e015760405163c560129360e01b815260040160405180910390fd5b600a62001c03828483620047b9565b6000803362001e1f81620036ad565b6001600160a01b0381166000908152601d6020908152604080832054601e9092529091205490935091508215158062001e585750600082115b1562001f36576001600160a01b038181166000818152601d60209081526040808320839055601e90915280822091909155600f54905163299e7ae760e11b8152600481019290925260248201869052604482018590529091169063533cf5ce90606401600060405180830381600087803b15801562001ed657600080fd5b505af115801562001eeb573d6000803e3d6000fd5b505060408051868152602081018690526001600160a01b03851693508392507f865ca08d59f5cb456e85cd2f7ef63664ea4f73327414e9d8152c4158b0e94645910160405180910390a35b509091565b8342111562001f8d5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640162001b15565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888862001fbe8c62003820565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006200201b8262003848565b905060006200202d8287878762003878565b9050896001600160a01b0316816001600160a01b031614620020925760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640162001b15565b6200209f8a8a8a62002c66565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6010546001600160a01b03161562002101576040516302a98a3760e31b815260040160405180910390fd5b601080546001600160a01b03191633908117909155604080516311b25aab60e21b815290516346c96aac916004808201926020929091908290030181865afa15801562002152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002178919062004747565b600c80546001600160a01b039283166001600160a81b031990911617600160a01b84151502179055600e80546001600160a01b031990811685841617909155600d805490911691851691909117905560405183908390620021d990620040e3565b6001600160a01b03928316815291166020820152604001604051809103906000f0801580156200220d573d6000803e3d6000fd5b50600f60006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000836001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa15801562002275573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200229f919081019062004886565b90506000836001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015620022e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200230c919081019062004886565b90508215620023855781816040516020016200232a92919062004934565b604051602081830303815290604052600a90816200234991906200498d565b5081816040516020016200235f92919062004a5a565b604051602081830303815290604052600b90816200237e91906200498d565b50620023f0565b81816040516020016200239a92919062004aab565b604051602081830303815290604052600a9081620023b991906200498d565b508181604051602001620023cf92919062004b06565b604051602081830303815290604052600b9081620023ee91906200498d565b505b846001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200242f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002455919062004b28565b6200246290600a62004c45565b601281905550836001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024cd919062004b28565b620024da90600a62004c45565b60135550506040805160608101825242815260006020820181815292820181815260118054600181018255925291517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6860039092029182015591517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c69830155517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6a90910155505050565b60006200259062002784565b620025a0601454601554620029a1565b9050620025ad6001600955565b90565b601454601554601054600c5460405163cc56b2c560e01b8152306004820152600160a01b90910460ff16151560248201526000939291612710916001600160a01b039091169063cc56b2c590604401602060405180830381865afa1580156200261d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200264391906200461a565b6200264f908762004660565b6200265b919062004690565b6200266790866200464a565b9450620026778585848462002d8e565b95945050505050565b6200268a62002784565b600d546040516370a0823160e01b815230600482015262002777916001600160a01b0316906370a0823190602401602060405180830381865afa158015620026d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026fc91906200461a565b600e546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801562002745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200276b91906200461a565b60145460155462002ac0565b620027826001600955565b565b600260095403620027d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162001b15565b6002600955565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905262001c03908490620038a4565b806000036200283f5750565b600f54600d546200285e916001600160a01b03918216911683620027df565b60006200286a60025490565b6200287e83670de0b6b3a764000062004660565b6200288a919062004690565b90508015620028ad578060196000828254620028a79190620046ff565b90915550505b604080518381526000602082015233917f112c256902bf554b6ed882d2936687aaeb4225e8cd5b51303c90ca6cf43a860291015b60405180910390a25050565b80600003620028f95750565b600f54600e5462002918916001600160a01b03918216911683620027df565b60006200292460025490565b6200293883670de0b6b3a764000062004660565b62002944919062004690565b90508015620029675780601a6000828254620029619190620046ff565b90915550505b60408051600081526020810184905233917f112c256902bf554b6ed882d2936687aaeb4225e8cd5b51303c90ca6cf43a86029101620028e1565b600c54600090600160a01b900460ff161562002aac57601254600090620029d185670de0b6b3a764000062004660565b620029dd919062004690565b9050600060135484670de0b6b3a7640000620029fa919062004660565b62002a06919062004690565b90506000670de0b6b3a764000062002a1f838562004660565b62002a2b919062004690565b90506000670de0b6b3a764000062002a44848062004660565b62002a50919062004690565b670de0b6b3a764000062002a65868062004660565b62002a71919062004690565b62002a7d9190620046ff565b9050670de0b6b3a764000062002a94828462004660565b62002aa0919062004690565b94505050505062000fb9565b62002ab8828462004660565b905062000fb9565b601654429060009062002ad490836200464a565b905060008111801562002ae657508315155b801562002af257508215155b1562002b425762002b04818562004660565b6017600082825462002b179190620046ff565b9091555062002b299050818462004660565b6018600082825462002b3c9190620046ff565b90915550505b600062002b4e62001993565b805190915062002b5f90846200464a565b915061070882111562002c155760408051606081018252848152601754602082019081526018549282019283526011805460018101825560009190915291517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c68600390930292830155517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6982015590517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6a909101555b60148790556015869055601683905560408051888152602081018890527fcf2aa50876cdfbb541206f89af0ee78d44a2abf8d328e37fa4917f982149848a910160405180910390a150505050505050565b6001600160a01b03831662002cca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162001b15565b6001600160a01b03821662002d2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162001b15565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600c54600090600160a01b900460ff161562002f0a57600062002db28484620029a1565b60125490915062002dcc85670de0b6b3a764000062004660565b62002dd8919062004690565b60135490945062002df284670de0b6b3a764000062004660565b62002dfe919062004690565b600d5490935060009081906001600160a01b0388811691161462002e2457848662002e27565b85855b600d5491935091506001600160a01b0388811691161462002e6b5760135462002e5989670de0b6b3a764000062004660565b62002e65919062004690565b62002e8e565b60125462002e8289670de0b6b3a764000062004660565b62002e8e919062004690565b9750600062002eaa62002ea2848b620046ff565b85846200397d565b62002eb690836200464a565b600d54909150670de0b6b3a7640000906001600160a01b038a811691161462002ee25760125462002ee6565b6013545b62002ef2908362004660565b62002efe919062004690565b945050505050620011e4565b600d5460009081906001600160a01b0387811691161462002f2d57838562002f30565b84845b909250905062002f418783620046ff565b62002f4d828962004660565b62002f59919062004690565b92505050620011e4565b600062002f718484620020ab565b9050600019811462002fde578181101562002fcf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640162001b15565b62002fde848484840362002c66565b50505050565b6001600160a01b0383166200304a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840162001b15565b6001600160a01b038216620030ae5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840162001b15565b620030bb83838362003b23565b6001600160a01b03831660009081526020819052604090205481811015620031355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840162001b15565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362002fde565b6000306001600160a01b037f000000000000000000000000313d945c41d4c09068aa6be44fee2a189df216c516148015620031f657507f000000000000000000000000000000000000000000000000000000000000009246145b156200322157507f271328c207309ce9029034aed0846db3b9b97422e78a3b1743e121a4a478d36190565b620012d1604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600081600003620032dd57506000919050565b60006001620032ec8462003b39565b901c6001901b905060018184816200330857620033086200467a565b048201901c905060018184816200332357620033236200467a565b048201901c905060018184816200333e576200333e6200467a565b048201901c905060018184816200335957620033596200467a565b048201901c905060018184816200337457620033746200467a565b048201901c905060018184816200338f576200338f6200467a565b048201901c90506001818481620033aa57620033aa6200467a565b048201901c90506200128a81828581620033c857620033c86200467a565b04620034a0565b6001600160a01b038216620034275760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162001b15565b620034356000838362003b23565b8060026000828254620034499190620046ff565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000818310620034b157816200128a565b5090919050565b606060ff831615620034cf5762002ab88362003bd5565b818054620034dd90620046b3565b80601f01602080910402602001604051908101604052809291908181526020018280546200350b90620046b3565b80156200355c5780601f1062003530576101008083540402835291602001916200355c565b820191906000526020600020905b8154815290600101906020018083116200353e57829003601f168201915b5050505050905062000fb9565b6001600160a01b038216620035cb5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840162001b15565b620035d98260008362003b23565b6001600160a01b038216600090815260208190526040902054818110156200364f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840162001b15565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b0381166000908152602081905260409020548015620037ee576001600160a01b0382166000908152601b602090815260408083208054601c8085529285208054601954601a549481905594909552829055936200371285846200464a565b905060006200372285846200464a565b9050811562003784576000670de0b6b3a764000062003742848a62004660565b6200374e919062004690565b6001600160a01b038a166000908152601d60205260408120805492935083929091906200377d908490620046ff565b9091555050505b8015620037e4576000670de0b6b3a7640000620037a2838a62004660565b620037ae919062004690565b6001600160a01b038a166000908152601e6020526040812080549293508392909190620037dd908490620046ff565b9091555050505b5050505050505050565b6019546001600160a01b0383166000908152601b6020908152604080832093909355601a54601c909152919020555050565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b600062000fb9620038586200319c565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060006200388b8787878762003c0a565b915091506200389a8162003cd3565b5095945050505050565b6000620038fb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031662003e309092919063ffffffff16565b80519091501562001c0357808060200190518101906200391c9190620045ae565b62001c035760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162001b15565b6000805b60ff81101562003af457600062003999868562003e41565b90508481101562003a4e576000620039b2878662003eda565b620039be83886200464a565b620039d290670de0b6b3a764000062004660565b620039de919062004690565b90508060000362003a3957858203620039fd578493505050506200128a565b8562003a168862003a10886001620046ff565b620029a1565b111562003a355762003a2a856001620046ff565b93505050506200128a565b5060015b62003a458186620046ff565b94505062003ade565b600062003a5c878662003eda565b62003a6887846200464a565b62003a7c90670de0b6b3a764000062004660565b62003a88919062004690565b90508060000362003ace578582148062003ab857508562003ab68862003ab06001896200464a565b62003e41565b105b1562003aca578493505050506200128a565b5060015b62003ada81866200464a565b9450505b508062003aeb816200472b565b91505062003981565b5060405162461bcd60e51b8152602060048201526002602482015261217960f01b604482015260640162001b15565b62003b2e83620036ad565b62001c0382620036ad565b600080608083901c1562003b4f57608092831c92015b604083901c1562003b6257604092831c92015b602083901c1562003b7557602092831c92015b601083901c1562003b8857601092831c92015b600883901c1562003b9b57600892831c92015b600483901c1562003bae57600492831c92015b600283901c1562003bc157600292831c92015b600183901c1562000fb95760010192915050565b60408051602080825281830190925260609160ff84169160009180820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111562003c43575060009050600362003cca565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801562003c98573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811662003cc35760006001925092505062003cca565b9150600090505b94509492505050565b600081600481111562003cea5762003cea62004c56565b0362003cf35750565b600181600481111562003d0a5762003d0a62004c56565b0362003d595760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640162001b15565b600281600481111562003d705762003d7062004c56565b0362003dbf5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640162001b15565b600381600481111562003dd65762003dd662004c56565b0362001d525760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840162001b15565b6060620011e4848460008562003f6a565b600080670de0b6b3a764000062003e59848662004660565b62003e65919062004690565b90506000670de0b6b3a764000062003e7e858062004660565b62003e8a919062004690565b670de0b6b3a764000062003e9f878062004660565b62003eab919062004690565b62003eb79190620046ff565b9050670de0b6b3a764000062003ece828462004660565b62002677919062004690565b6000670de0b6b3a7640000838162003ef3828062004660565b62003eff919062004690565b62003f0b919062004660565b62003f17919062004690565b670de0b6b3a76400008062003f2d858062004660565b62003f39919062004690565b62003f4686600362004660565b62003f52919062004660565b62003f5e919062004690565b6200128a9190620046ff565b60608247101562003fcd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162001b15565b600080866001600160a01b0316858760405162003feb919062004c6c565b60006040518083038185875af1925050503d80600081146200402a576040519150601f19603f3d011682016040523d82523d6000602084013e6200402f565b606091505b509150915062001a9d8783838760608315620040b0578251600003620040a8576001600160a01b0385163b620040a85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162001b15565b5081620011e4565b620011e48383815115620040c75781518083602001fd5b8060405162461bcd60e51b815260040162001b15919062004217565b6105818062004c8b83390190565b6001600160a01b038116811462001d5257600080fd5b60008083601f8401126200411a57600080fd5b50813567ffffffffffffffff8111156200413357600080fd5b6020830191508360208285010111156200414c57600080fd5b9250929050565b6000806000806000608086880312156200416c57600080fd5b853594506020860135935060408601356200418781620040f1565b9250606086013567ffffffffffffffff811115620041a457600080fd5b620041b28882890162004107565b969995985093965092949392505050565b60005b83811015620041e0578181015183820152602001620041c6565b50506000910152565b6000815180845262004203816020860160208601620041c3565b601f01601f19169290920160200192915050565b6020815260006200128a6020830184620041e9565b600080604083850312156200424057600080fd5b82356200424d81620040f1565b946020939093013593505050565b600080600080608085870312156200427257600080fd5b84356200427f81620040f1565b966020860135965060408601359560600135945092505050565b600081518084526020808501945080840160005b83811015620042cb57815187529582019590820190600101620042ad565b509495945050505050565b6020815260006200128a602083018462004299565b600060208284031215620042fe57600080fd5b81356200128a81620040f1565b6000806000606084860312156200432157600080fd5b83356200432e81620040f1565b925060208401356200434081620040f1565b929592945050506040919091013590565b6000602082840312156200436457600080fd5b5035919050565b6000806000606084860312156200438157600080fd5b83356200438e81620040f1565b95602085013595506040909401359392505050565b60ff60f81b8816815260e060208201526000620043c460e0830189620041e9565b8281036040840152620043d88189620041e9565b606084018890526001600160a01b038716608085015260a0840186905283810360c085015290506200440b818562004299565b9a9950505050505050505050565b600080602083850312156200442d57600080fd5b823567ffffffffffffffff8111156200444557600080fd5b620044538582860162004107565b90969095509350505050565b60ff8116811462001d5257600080fd5b600080600080600080600060e0888a0312156200448b57600080fd5b87356200449881620040f1565b96506020880135620044aa81620040f1565b955060408801359450606088013593506080880135620044ca816200445f565b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215620044fb57600080fd5b82356200450881620040f1565b915060208301356200451a81620040f1565b809150509250929050565b801515811462001d5257600080fd5b6000806000606084860312156200454a57600080fd5b83356200455781620040f1565b925060208401356200456981620040f1565b915060408401356200457b8162004525565b809150509250925092565b600080604083850312156200459a57600080fd5b8235915060208301356200451a81620040f1565b600060208284031215620045c157600080fd5b81516200128a8162004525565b60018060a01b038616815284602082015283604082015260806060820152816080820152818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b6000602082840312156200462d57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111562000fb95762000fb962004634565b808202811582820484141762000fb95762000fb962004634565b634e487b7160e01b600052601260045260246000fd5b600082620046ae57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680620046c857607f821691505b6020821081036200384257634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8082018082111562000fb95762000fb962004634565b634e487b7160e01b600052603260045260246000fd5b60006001820162004740576200474062004634565b5060010190565b6000602082840312156200475a57600080fd5b81516200128a81620040f1565b601f82111562001c0357600081815260208120601f850160051c81016020861015620047905750805b601f850160051c820191505b81811015620047b1578281556001016200479c565b505050505050565b67ffffffffffffffff831115620047d457620047d4620046e9565b620047ec83620047e58354620046b3565b8362004767565b6000601f8411600181146200482357600085156200480a5750838201355b600019600387901b1c1916600186901b17835562000f02565b600083815260209020601f19861690835b8281101562004856578685013582556020948501946001909201910162004834565b5086821015620048745760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156200489957600080fd5b815167ffffffffffffffff80821115620048b257600080fd5b818401915084601f830112620048c757600080fd5b815181811115620048dc57620048dc620046e9565b604051601f8201601f19908116603f01168101908382118183101715620049075762004907620046e9565b816040528281528760208487010111156200492157600080fd5b62001a9d836020830160208801620041c3565b6c029ba30b136329020a6a690169609d1b8152600083516200495e81600d850160208801620041c3565b602f60f81b600d9184019182015283516200498181600e840160208801620041c3565b01600e01949350505050565b815167ffffffffffffffff811115620049aa57620049aa620046e9565b620049c281620049bb8454620046b3565b8462004767565b602080601f831160018114620049fa5760008415620049e15750858301515b600019600386901b1c1916600185901b178555620047b1565b600085815260208120601f198616915b8281101562004a2b5788860151825594840194600190910190840162004a0a565b508582101562004a4a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6473414d4d2d60d81b81526000835162004a7c816005850160208801620041c3565b602f60f81b600591840191820152835162004a9f816006840160208801620041c3565b01600601949350505050565b6e02b37b630ba34b6329020a6a690169608d1b81526000835162004ad781600f850160208801620041c3565b602f60f81b600f91840191820152835162004afa816010840160208801620041c3565b01601001949350505050565b6476414d4d2d60d81b81526000835162004a7c816005850160208801620041c3565b60006020828403121562004b3b57600080fd5b81516200128a816200445f565b600181815b8085111562004b8957816000190482111562004b6d5762004b6d62004634565b8085161562004b7b57918102915b93841c939080029062004b4d565b509250929050565b60008262004ba25750600162000fb9565b8162004bb15750600062000fb9565b816001811462004bca576002811462004bd55762004bf5565b600191505062000fb9565b60ff84111562004be95762004be962004634565b50506001821b62000fb9565b5060208310610133831016604e8410600b841016171562004c1a575081810a62000fb9565b62004c26838362004b48565b806000190482111562004c3d5762004c3d62004634565b029392505050565b60006200128a60ff84168362004b91565b634e487b7160e01b600052602160045260246000fd5b6000825162004c80818460208701620041c3565b919091019291505056fe60e060405234801561001057600080fd5b5060405161058138038061058183398101604081905261002f91610066565b336080526001600160a01b0391821660a0521660c052610099565b80516001600160a01b038116811461006157600080fd5b919050565b6000806040838503121561007957600080fd5b6100828361004a565b91506100906020840161004a565b90509250929050565b60805160a05160c0516104bc6100c5600039600060db0152600060a101526000605001526104bc6000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063533cf5ce14610030575b600080fd5b61004361003e3660046103a9565b610045565b005b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461008e57604051636f61f64160e01b815260040160405180910390fd5b81156100c8576100c86001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168484610107565b8015610102576101026001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168483610107565b505050565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261010292869291600091610197918516908490610219565b80519091501561010257808060200190518101906101b591906103ea565b6101025760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b60606102288484600085610230565b949350505050565b6060824710156102915760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610210565b600080866001600160a01b031685876040516102ad9190610437565b60006040518083038185875af1925050503d80600081146102ea576040519150601f19603f3d011682016040523d82523d6000602084013e6102ef565b606091505b50915091506103008783838761030b565b979650505050505050565b6060831561037a578251600003610373576001600160a01b0385163b6103735760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610210565b5081610228565b610228838381511561038f5781518083602001fd5b8060405162461bcd60e51b81526004016102109190610453565b6000806000606084860312156103be57600080fd5b83356001600160a01b03811681146103d557600080fd5b95602085013595506040909401359392505050565b6000602082840312156103fc57600080fd5b8151801515811461040c57600080fd5b9392505050565b60005b8381101561042e578181015183820152602001610416565b50506000910152565b60008251610449818460208701610413565b9190910192915050565b6020815260008251806020840152610472816040850160208701610413565b601f01601f1916919091016040019291505056fea2646970667358221220b43ae86a5cd727280bb5c81c5aefd6b95cb797e31010f0a38c23ab68a9e5e51964736f6c63430008130033a26469706673582212202bb49f25daf7cede0dc7192687eb5f5817efe9d0831a343064182971f7c0a82164736f6c63430008130033

Deployed Bytecode Sourcemap

105793:21525:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119464:2624;;;;;;:::i;:::-;;:::i;:::-;;126968:92;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112757:232;112891:8;;112922;;112963:18;;112757:232;;;;2146:25:1;;;2202:2;2187:18;;2180:34;;;;2230:18;;;2223:34;2134:2;2119:18;112757:232:0;1944:319:1;62686:201:0;;;;;;:::i;:::-;;:::i;:::-;;;2753:14:1;;2746:22;2728:41;;2716:2;2701:18;62686:201:0;2588:187:1;106171:21:0;;;;;-1:-1:-1;;;;;106171:21:0;;;;;;-1:-1:-1;;;;;2944:32:1;;;2926:51;;2914:2;2899:18;106171:21:0;2780:203:1;115629:1121:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;61455:108::-;61543:12;;61455:108;;;4297:25:1;;;4285:2;4270:18;61455:108:0;4151:177:1;114075:830:0;;;:::i;107111:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;106002:18;;;;;-1:-1:-1;;;106002:18:0;;;;;;63467:261;;;;;;:::i;:::-;;:::i;106446:33::-;;;;;;:::i;:::-;;:::i;61297:93::-;;;61380:2;5373:36:1;;5361:2;5346:18;61297:93:0;5231:184:1;106910:25:0;;;;;;106281:23;;;;;-1:-1:-1;;;;;106281:23:0;;;102048:115;;;:::i;109218:252::-;109397:9;;109408;;109419:8;;109429;;109439:6;;109447;;109455;;109218:252;;;5911:25:1;;;5967:2;5952:18;;5945:34;;;;5995:18;;;5988:34;;;;6053:2;6038:18;;6031:34;;;;-1:-1:-1;;;109439:6:0;;;;6109:14:1;6102:22;6096:3;6081:19;;6074:51;-1:-1:-1;;;;;109447:6:0;;;6152:3:1;6179:19;;6172:44;109455:6:0;6247:3:1;6232:19;;6225:44;5898:3;5883:19;109218:252:0;5602:673:1;64137:238:0;;;;;;:::i;:::-;;:::i;106583:23::-;;;;;;107194:45;;;;;;:::i;:::-;;;;;;;;;;;;;;115424:170;;;;;;:::i;:::-;;:::i;106640:23::-;;;;;;116785:1359;;;;;;:::i;:::-;;:::i;61626:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;61727:18:0;61700:7;61727:18;;;;;;;;;;;;61626:127;101790:128;;;;;;:::i;:::-;;:::i;97402:657::-;;;:::i;:::-;;;;;;;;;;;;;:::i;118179:1250::-;;;;;;:::i;:::-;;:::i;:::-;;;;7767:25:1;;;7823:2;7808:18;;7801:34;;;;7740:18;118179:1250:0;7593:248:1;109052:131:0;;;:::i;:::-;;;;8066:13:1;;8048:32;;8136:4;8124:17;;;8118:24;8096:20;;;8089:54;8187:17;;;8181:24;8159:20;;;8152:54;8036:2;8021:18;109052:131:0;7846:366:1;127068:96:0;;;:::i;109505:101::-;109583:6;;109591;;109505:101;;;-1:-1:-1;;;;;109583:6:0;;;8429:34:1;;109591:6:0;;;;8494:2:1;8479:18;;8472:43;8364:18;109505:101:0;8217:304:1;114940:449:0;;;;;;:::i;:::-;;:::i;107030:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;107273:45;;;;;;:::i;:::-;;;;;;;;;;;;;;64878:436;;;;;;:::i;:::-;;:::i;61959:193::-;;;;;;:::i;:::-;;:::i;108693:183::-;;;;;;:::i;:::-;;:::i;122123:316::-;;;;;;:::i;:::-;;:::i;106969:25::-;;;;;;106766:37;;;;;;106837;;;;;;106338:22;;;;;-1:-1:-1;;;;;106338:22:0;;;108483:175;;;;;;:::i;:::-;;:::i;106697:33::-;;;;;;106226:21;;;;;-1:-1:-1;;;;;106226:21:0;;;109780:505;;;:::i;101079:645::-;;;;;;:::i;:::-;;:::i;62215:151::-;;;;;;:::i;:::-;;:::i;106396:41::-;;106433:4;106396:41;;107408:1040;;;;;;:::i;:::-;;:::i;108911:106::-;108990:12;:19;108911:106;;109641:104;;;:::i;124985:371::-;;;;;;:::i;:::-;;:::i;122474:166::-;;;:::i;119464:2624::-;104766:21;:19;:21::i;:::-;119601:7:::1;;;;;;;;;-1:-1:-1::0;;;;;119601:7:0::1;-1:-1:-1::0;;;;;119588:30:0::1;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;119584:55;;;119629:10;;-1:-1:-1::0;;;119629:10:0::1;;;;;;;;;;;119584:55;119654:15:::0;;:34;::::1;;;-1:-1:-1::0;119673:15:0;;119654:34:::1;119650:73;;;119697:26;;-1:-1:-1::0;;;119697:26:0::1;;;;;;;;;;;119650:73;119776:8;::::0;119786::::1;::::0;119810:23;;::::1;;::::0;:50:::1;;;119851:9;119837:10;:23;;119810:50;119806:86;;;119869:23;;-1:-1:-1::0;;;119869:23:0::1;;;;;;;;;;;119806:86;120082:6;::::0;120090::::1;::::0;119905:17:::1;::::0;;;-1:-1:-1;;;;;120082:6:0;;::::1;::::0;120090;;::::1;::::0;120116:13;::::1;::::0;::::1;::::0;:30:::1;;;120139:7;-1:-1:-1::0;;;;;120133:13:0::1;:2;-1:-1:-1::0;;;;;120133:13:0::1;;120116:30;120112:54;;;120155:11;;-1:-1:-1::0;;;120155:11:0::1;;;;;;;;;;;120112:54;120185:14:::0;;120181:64:::1;;120201:44;-1:-1:-1::0;;;;;120201:28:0;::::1;120230:2:::0;120234:10;120201:28:::1;:44::i;:::-;120298:14:::0;;120294:64:::1;;120314:44;-1:-1:-1::0;;;;;120314:28:0;::::1;120343:2:::0;120347:10;120314:28:::1;:44::i;:::-;120411:15:::0;;120407:85:::1;;120428:64;::::0;-1:-1:-1;;;120428:64:0;;-1:-1:-1;;;;;120428:20:0;::::1;::::0;::::1;::::0;:64:::1;::::0;58212:10;;120463;;120475;;120487:4;;;;120428:64:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;120407:85;120553:40;::::0;-1:-1:-1;;;120553:40:0;;120587:4:::1;120553:40;::::0;::::1;2926:51:1::0;-1:-1:-1;;;;;120553:25:0;::::1;::::0;::::1;::::0;2899:18:1;;120553:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;120620;::::0;-1:-1:-1;;;120620:40:0;;120654:4:::1;120620:40;::::0;::::1;2926:51:1::0;120541:52:0;;-1:-1:-1;;;;;;120620:25:0;::::1;::::0;::::1;::::0;2899:18:1;;120620:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;120608:52;;119961:711;;120682:17;120726:10;120714:9;:22;;;;:::i;:::-;120702:9;:34;:77;;120778:1;120702:77;;;120752:22;120764:10:::0;120752:9;:22:::1;:::i;:::-;120739:36;::::0;:9;:36:::1;:::i;:::-;120682:97:::0;-1:-1:-1;120790:17:0::1;120822:22;120834:10:::0;120822:9;:22:::1;:::i;:::-;120810:9;:34;:77;;120886:1;120810:77;;;120860:22;120872:10:::0;120860:9;:22:::1;:::i;:::-;120847:36;::::0;:9;:36:::1;:::i;:::-;120790:97:::0;-1:-1:-1;120902:14:0;;:32;::::1;;;-1:-1:-1::0;120920:14:0;;120902:32:::1;120898:70;;;120943:25;;-1:-1:-1::0;;;120943:25:0::1;;;;;;;;;;;120898:70;121109:6;::::0;121117::::1;::::0;-1:-1:-1;;;;;121109:6:0;;::::1;::::0;121117::::1;121143:13:::0;;121139:102:::1;;121193:7;::::0;121224:6:::1;::::0;121180:51:::1;::::0;-1:-1:-1;;;121180:51:0;;121217:4:::1;121180:51;::::0;::::1;12739::1::0;-1:-1:-1;;;121224:6:0;;::::1;;;12833:14:1::0;12826:22;12806:18;;;12799:50;121158:83:0::1;::::0;121235:5:::1;::::0;-1:-1:-1;;;;;121193:7:0;;::::1;::::0;121180:28:::1;::::0;12712:18:1;;121180:51:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;121168:63;::::0;:9;:63:::1;:::i;:::-;121167:73;;;;:::i;:::-;121158:8;:83::i;:::-;121312:13:::0;;121308:102:::1;;121362:7;::::0;121393:6:::1;::::0;121349:51:::1;::::0;-1:-1:-1;;;121349:51:0;;121386:4:::1;121349:51;::::0;::::1;12739::1::0;-1:-1:-1;;;121393:6:0;;::::1;;;12833:14:1::0;12826:22;12806:18;;;12799:50;121327:83:0::1;::::0;121404:5:::1;::::0;-1:-1:-1;;;;;121362:7:0;;::::1;::::0;121349:28:::1;::::0;12712:18:1;;121349:51:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;121337:63;::::0;:9;:63:::1;:::i;:::-;121336:73;;;;:::i;:::-;121327:8;:83::i;:::-;121489:40;::::0;-1:-1:-1;;;121489:40:0;;121523:4:::1;121489:40;::::0;::::1;2926:51:1::0;-1:-1:-1;;;;;121489:25:0;::::1;::::0;::::1;::::0;2899:18:1;;121489:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;121713;::::0;-1:-1:-1;;;121713:40:0;;121747:4:::1;121713:40;::::0;::::1;2926:51:1::0;121477:52:0;;-1:-1:-1;;;;;;121713:25:0;::::1;::::0;::::1;::::0;2899:18:1;;121713:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;121701:52;;121885:24;121888:9;121899;121885:2;:24::i;:::-;121858;121861:9;121872;121858:2;:24::i;:::-;:51;121854:67;;;121918:3;;-1:-1:-1::0;;;121918:3:0::1;;;;;;;;;;;121854:67;120979:954;;121945:51;121953:9;121964;121975;121986;121945:7;:51::i;:::-;122012:68;::::0;;13618:25:1;;;13674:2;13659:18;;13652:34;;;13702:18;;;13695:34;;;13760:2;13745:18;;13738:34;;;122012:68:0;;-1:-1:-1;;;;;122012:68:0;::::1;::::0;58212:10;;122012:68:::1;::::0;;;;13605:3:1;122012:68:0;;::::1;119573:2515;;;;;;104810:20:::0;104204:1;105330:7;:22;105147:213;104810:20;119464:2624;;;;;:::o;126968:92::-;127014:13;127047:5;127040:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;126968:92;:::o;62686:201::-;62769:4;58212:10;62825:32;58212:10;62841:7;62850:6;62825:8;:32::i;:::-;62875:4;62868:11;;;62686:201;;;;;:::o;115629:1121::-;115776:16;115805:24;115846:6;115832:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;115832:21:0;-1:-1:-1;115883:12:0;:19;115805:48;;-1:-1:-1;115866:14:0;;115883:23;;115905:1;;115883:23;:::i;:::-;115866:40;-1:-1:-1;115917:9:0;115939:15;115948:6;115939;:15;:::i;:::-;115929:26;;:6;:26;:::i;:::-;115917:38;;115966:17;115998:13;116028:690;116039:6;116035:1;:10;116028:690;;;116087:10;116091:6;116087:1;:10;:::i;:::-;116075:22;;116112:19;116170:12;116183:1;116170:15;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;116134:12;116147:9;116134:23;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;;:61;;;;:::i;:::-;116112:83;;116210:17;116331:11;116276:12;116289:1;116276:15;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;116231:12;116244:9;116231:23;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;;:79;;;;:::i;:::-;116230:112;;;;:::i;:::-;116210:132;;116357:17;116478:11;116423:12;116436:1;116423:15;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;116378:12;116391:9;116378:23;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;;:79;;;;:::i;:::-;116377:112;;;;:::i;:::-;116357:132;;116521:54;116535:8;116545:7;116554:9;116565;116521:13;:54::i;:::-;116504:7;116512:5;116504:14;;;;;;;;:::i;:::-;;;;;;;;;;:71;-1:-1:-1;;;116690:1:0;116682:9;116047:11;116052:6;116047:11;;:::i;:::-;;;116028:690;;;-1:-1:-1;116735:7:0;;-1:-1:-1;;;;115629:1121:0;;;;;;;:::o;114075:830::-;114318:22;;114372;;114271:15;114158:26;;;114578:13;112891:8;;112922;;112963:18;;112891:8;;112922;;112963:18;112757:232;114578:13;114508:83;;;;;;114629:14;114606:19;:37;114602:296;;114708:19;114730:36;114747:19;114730:14;:36;:::i;:::-;114708:58;-1:-1:-1;114803:23:0;114708:58;114803:9;:23;:::i;:::-;114781:45;;;;:::i;:::-;;-1:-1:-1;114863:23:0;114875:11;114863:9;:23;:::i;:::-;114841:45;;;;:::i;:::-;;;114645:253;114602:296;114243:662;;;114075:830;;;:::o;63467:261::-;63564:4;58212:10;63622:38;63638:4;58212:10;63653:6;63622:15;:38::i;:::-;63671:27;63681:4;63687:2;63691:6;63671:9;:27::i;:::-;63716:4;63709:11;;;63467:261;;;;;;:::o;106446:33::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;106446:33:0;:::o;102048:115::-;102108:7;102135:20;:18;:20::i;:::-;102128:27;;102048:115;:::o;64137:238::-;64225:4;58212:10;64281:64;58212:10;64297:7;64334:10;64306:25;58212:10;64297:7;64306:9;:25::i;:::-;:38;;;;:::i;:::-;64281:8;:64::i;115424:170::-;115514:16;115550:36;115557:7;115566:8;115576:6;115584:1;115550:6;:36::i;116785:1359::-;116842:17;104766:21;:19;:21::i;:::-;116914:8:::1;::::0;116924::::1;::::0;116971:6:::1;::::0;116964:39:::1;::::0;-1:-1:-1;;;116964:39:0;;116997:4:::1;116964:39;::::0;::::1;2926:51:1::0;116873:17:0::1;::::0;-1:-1:-1;;;;;116971:6:0::1;::::0;116964:24:::1;::::0;2899:18:1;;116964:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;117041:6;::::0;117034:39:::1;::::0;-1:-1:-1;;;117034:39:0;;117067:4:::1;117034:39;::::0;::::1;2926:51:1::0;116944:59:0;;-1:-1:-1;117014:17:0::1;::::0;-1:-1:-1;;;;;117041:6:0;;::::1;::::0;117034:24:::1;::::0;2899:18:1;;117034:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;117014:59:::0;-1:-1:-1;117084:16:0::1;117103:21;117115:9:::0;117103;:21:::1;:::i;:::-;117084:40:::0;-1:-1:-1;117135:16:0::1;117154:21;117166:9:::0;117154;:21:::1;:::i;:::-;117135:40;;117188:20;117211:13;61543:12:::0;;;61455:108;117211:13:::1;117188:36;;117317:12;117333:1;117317:17:::0;117313:608:::1;;106075:7;117363:30;117373:19;117384:8:::0;117373;:19:::1;:::i;:::-;117363:9;:30::i;:::-;:50;;;;:::i;:::-;117351:62;;117428:36;117442:1;106075:7;117428:5;:36::i;:::-;117561:6;::::0;-1:-1:-1;;;117561:6:0;::::1;;;117557:222;;;117645:9;::::0;117626:15:::1;:8:::0;117637:4:::1;117626:15;:::i;:::-;117625:29;;;;:::i;:::-;117612:9;::::0;117593:15:::1;:8:::0;117604:4:::1;117593:15;:::i;:::-;117592:29;;;;:::i;:::-;:62;117588:93;;117663:18;;-1:-1:-1::0;;;117663:18:0::1;;;;;;;;;;;117588:93;106127:8;117704:22;117707:8;117717;117704:2;:22::i;:::-;:35;117700:63;;117748:15;;-1:-1:-1::0;;;117748:15:0::1;;;;;;;;;;;117700:63;117313:608;;;117823:86;117860:9:::0;117833:23:::1;117844:12:::0;117833:8;:23:::1;:::i;:::-;117832:37;;;;:::i;:::-;117899:9:::0;117872:23:::1;117883:12:::0;117872:8;:23:::1;:::i;:::-;117871:37;;;;:::i;:::-;117823:8;:86::i;:::-;117811:98;;117313:608;117935:9;117948:1;117935:14:::0;117931:56:::1;;117958:29;;-1:-1:-1::0;;;117958:29:0::1;;;;;;;;;;;117931:56;117998:20;118004:2;118008:9;117998:5;:20::i;:::-;118031:51;118039:9;118050;118061;118072;118031:7;:51::i;:::-;118098:38;::::0;;7767:25:1;;;7823:2;7808:18;;7801:34;;;58212:10:0;;118098:38:::1;::::0;7740:18:1;118098:38:0::1;;;;;;;116861:1283;;;;;;;104810:20:::0;104204:1;105330:7;:22;105147:213;104810:20;116785:1359;;;:::o;101790:128::-;-1:-1:-1;;;;;101886:14:0;;101859:7;101886:14;;;:7;:14;;;;;98946;101886:24;98854:114;97402:657;97523:13;97551:18;;97523:13;;;97551:18;97825:41;:5;97852:13;97825:26;:41::i;:::-;97881:47;:8;97911:16;97881:29;:47::i;:::-;98024:16;;;98007:1;98024:16;;;;;;;;;-1:-1:-1;;;97772:279:0;;;-1:-1:-1;97772:279:0;;-1:-1:-1;97943:13:0;;-1:-1:-1;97979:4:0;;-1:-1:-1;98007:1:0;-1:-1:-1;98024:16:0;-1:-1:-1;97772:279:0;-1:-1:-1;97402:657:0:o;118179:1250::-;118236:15;118253;104766:21;:19;:21::i;:::-;118323:8:::1;::::0;118333::::1;::::0;118391:6:::1;::::0;118399::::1;::::0;118437:40:::1;::::0;-1:-1:-1;;;118437:40:0;;118471:4:::1;118437:40;::::0;::::1;2926:51:1::0;-1:-1:-1;;;;;118391:6:0;;::::1;::::0;118399;;::::1;::::0;118282:17:::1;::::0;118391:6;;118437:25:::1;::::0;2899:18:1;;118437:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;118508;::::0;-1:-1:-1;;;118508:40:0;;118542:4:::1;118508:40;::::0;::::1;2926:51:1::0;118417:60:0;;-1:-1:-1;118488:17:0::1;::::0;-1:-1:-1;;;;;118508:25:0;::::1;::::0;::::1;::::0;2899:18:1;;118508:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;118598:4;118559:18;61727::::0;;;;;;;;;;;61543:12;;118488:60;;-1:-1:-1;61727:18:0;61543:12;118753:22:::1;118766:9:::0;61727:18;118753:22:::1;:::i;:::-;118752:39;;;;:::i;:::-;118742:49:::0;-1:-1:-1;118887:12:0;118861:22:::1;118874:9:::0;118861:10;:22:::1;:::i;:::-;118860:39;;;;:::i;:::-;118850:49:::0;-1:-1:-1;118962:12:0;;;:28:::1;;-1:-1:-1::0;118978:12:0;;118962:28:::1;118958:70;;;118999:29;;-1:-1:-1::0;;;118999:29:0::1;;;;;;;;;;;118958:70;119039:32;119053:4;119060:10;119039:5;:32::i;:::-;119082:41;-1:-1:-1::0;;;;;119082:28:0;::::1;119111:2:::0;119115:7;119082:28:::1;:41::i;:::-;119134;-1:-1:-1::0;;;;;119134:28:0;::::1;119163:2:::0;119167:7;119134:28:::1;:41::i;:::-;119198:40;::::0;-1:-1:-1;;;119198:40:0;;119232:4:::1;119198:40;::::0;::::1;2926:51:1::0;-1:-1:-1;;;;;119198:25:0;::::1;::::0;::::1;::::0;2899:18:1;;119198:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;119261;::::0;-1:-1:-1;;;119261:40:0;;119295:4:::1;119261:40;::::0;::::1;2926:51:1::0;119186:52:0;;-1:-1:-1;;;;;;119261:25:0;::::1;::::0;::::1;::::0;2899:18:1;;119261:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;119249:52;;119314:51;119322:9;119333;119344;119355;119314:7;:51::i;:::-;119381:40;::::0;;7767:25:1;;;7823:2;7808:18;;7801:34;;;-1:-1:-1;;;;;119381:40:0;::::1;::::0;58212:10;;119381:40:::1;::::0;7740:18:1;119381:40:0::1;;;;;;;118270:1159;;;;;;;;104810:20:::0;104204:1;105330:7;:22;105147:213;104810:20;118179:1250;;;:::o;109052:131::-;109100:18;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;109100:18:0;109138:12;109151:19;;:23;;109173:1;;109151:23;:::i;:::-;109138:37;;;;;;;;:::i;:::-;;;;;;;;;;;109131:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109052:131;:::o;127068:96::-;127116:13;127149:7;127142:14;;;;;:::i;114940:449::-;115034:17;115064:24;115091:41;115098:7;115107:8;115117:11;115130:1;115091:6;:41::i;:::-;115202:14;;115064:68;;-1:-1:-1;115143:30:0;;;115227:101;115251:7;115247:1;:11;115227:101;;;115306:7;115314:1;115306:10;;;;;;;;:::i;:::-;;;;;;;115280:36;;;;;:::i;:::-;;-1:-1:-1;115260:3:0;;;;:::i;:::-;;;;115227:101;;;-1:-1:-1;115345:36:0;115370:11;115345:22;:36;:::i;:::-;115338:43;114940:449;-1:-1:-1;;;;;;;114940:449:0:o;64878:436::-;64971:4;58212:10;64971:4;65054:25;58212:10;65071:7;65054:9;:25::i;:::-;65027:52;;65118:15;65098:16;:35;;65090:85;;;;-1:-1:-1;;;65090:85:0;;14904:2:1;65090:85:0;;;14886:21:1;14943:2;14923:18;;;14916:30;14982:34;14962:18;;;14955:62;-1:-1:-1;;;15033:18:1;;;15026:35;15078:19;;65090:85:0;;;;;;;;;65211:60;65220:5;65227:7;65255:15;65236:16;:34;65211:8;:60::i;:::-;-1:-1:-1;65302:4:0;;64878:436;-1:-1:-1;;;;64878:436:0:o;61959:193::-;62038:4;58212:10;62094:28;58212:10;62111:2;62115:6;62094:9;:28::i;108693:183::-;108783:6;;;;;;;;;-1:-1:-1;;;;;108783:6:0;-1:-1:-1;;;;;108776:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;108762:47:0;:10;-1:-1:-1;;;;;108762:47:0;;108758:81;;108818:21;;-1:-1:-1;;;108818:21:0;;;;;;;;;;;108758:81;108850:7;:18;108860:8;;108850:7;:18;:::i;:::-;;108693:183;;:::o;122123:316::-;104766:21;:19;:21::i;:::-;122220:6:::1;::::0;122228::::1;::::0;122323:8:::1;::::0;122279:40:::1;::::0;-1:-1:-1;;;122279:40:0;;122313:4:::1;122279:40;::::0;::::1;2926:51:1::0;-1:-1:-1;;;;;122220:6:0;;::::1;::::0;122228;;::::1;::::0;122246:87:::1;::::0;122275:2;;122220:6;;122279:25:::1;::::0;2899:18:1;;122279:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1::0;;;;;122246:28:0;::::1;::::0;:87;:28:::1;:87::i;:::-;122421:8;::::0;122377:40:::1;::::0;-1:-1:-1;;;122377:40:0;;122411:4:::1;122377:40;::::0;::::1;2926:51:1::0;122344:87:0::1;::::0;122373:2;;-1:-1:-1;;;;;122377:25:0;::::1;::::0;::::1;::::0;2899:18:1;;122377:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1::0;;;;;122344:28:0;::::1;::::0;:87;:28:::1;:87::i;:::-;122171:268;;104810:20:::0;104204:1;105330:7;:22;105147:213;104810:20;122123:316;:::o;108483:175::-;108569:6;;;;;;;;;-1:-1:-1;;;;;108569:6:0;-1:-1:-1;;;;;108562:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;108548:47:0;:10;-1:-1:-1;;;;;108548:47:0;;108544:81;;108604:21;;-1:-1:-1;;;108604:21:0;;;;;;;;;;;108544:81;108636:5;:14;108644:6;;108636:5;:14;:::i;109780:505::-;109819:16;;58212:10;109906:18;58212:10;109906;:18::i;:::-;-1:-1:-1;;;;;109948:18:0;;;;;;:10;:18;;;;;;;;;109988:10;:18;;;;;;;109948;;-1:-1:-1;109988:18:0;-1:-1:-1;110023:12:0;;;;:28;;;110050:1;110039:8;:12;110023:28;110019:259;;;-1:-1:-1;;;;;110068:18:0;;;110089:1;110068:18;;;:10;:18;;;;;;;;:22;;;110105:10;:18;;;;;;:22;;;;110153:8;;110144:59;;-1:-1:-1;;;110144:59:0;;;;;17624:51:1;;;;17691:18;;;17684:34;;;17734:18;;;17727:34;;;110153:8:0;;;;110144:31;;17597:18:1;;110144:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;110225:41:0;;;7767:25:1;;;7823:2;7808:18;;7801:34;;;-1:-1:-1;;;;;110225:41:0;;;-1:-1:-1;110225:41:0;;-1:-1:-1;110225:41:0;;7740:18:1;110225:41:0;;;;;;;110019:259;109855:430;109780:505;;:::o;101079:645::-;101323:8;101304:15;:27;;101296:69;;;;-1:-1:-1;;;101296:69:0;;17974:2:1;101296:69:0;;;17956:21:1;18013:2;17993:18;;;17986:30;18052:31;18032:18;;;18025:59;18101:18;;101296:69:0;17772:353:1;101296:69:0;101378:18;100254:95;101438:5;101445:7;101454:5;101461:16;101471:5;101461:9;:16::i;:::-;101409:79;;;;;;18417:25:1;;;;-1:-1:-1;;;;;18516:15:1;;;18496:18;;;18489:43;18568:15;;;;18548:18;;;18541:43;18600:18;;;18593:34;18643:19;;;18636:35;18687:19;;;18680:35;;;18389:19;;101409:79:0;;;;;;;;;;;;101399:90;;;;;;101378:111;;101502:12;101517:28;101534:10;101517:16;:28::i;:::-;101502:43;;101558:14;101575:28;101589:4;101595:1;101598;101601;101575:13;:28::i;:::-;101558:45;;101632:5;-1:-1:-1;;;;;101622:15:0;:6;-1:-1:-1;;;;;101622:15:0;;101614:58;;;;-1:-1:-1;;;101614:58:0;;18928:2:1;101614:58:0;;;18910:21:1;18967:2;18947:18;;;18940:30;19006:32;18986:18;;;18979:60;19056:18;;101614:58:0;18726:354:1;101614:58:0;101685:31;101694:5;101701:7;101710:5;101685:8;:31::i;:::-;101285:439;;;101079:645;;;;;;;:::o;62215:151::-;-1:-1:-1;;;;;62331:18:0;;;62304:7;62331:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;62215:151::o;107408:1040::-;107500:7;;-1:-1:-1;;;;;107500:7:0;:21;107496:53;;107530:19;;-1:-1:-1;;;107530:19:0;;;;;;;;;;;107496:53;107560:7;:22;;-1:-1:-1;;;;;;107560:22:0;58212:10;107560:22;;;;;;107602:29;;;-1:-1:-1;;;107602:29:0;;;;:27;;:29;;;;;;;;;;;;;;;58212:10;107602:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;107593:6;:38;;-1:-1:-1;;;;;107593:38:0;;;-1:-1:-1;;;;;;107642:54:0;;;;-1:-1:-1;;;107642:54:0;;;;;;;107651:6;107642:54;;-1:-1:-1;;;;;;107642:54:0;;;;;;;;;;107643:6;107642:54;;;;;;;;;;;;;;107726:30;;107642:54;;;;107726:30;;;:::i;:::-;-1:-1:-1;;;;;8447:15:1;;;8429:34;;8499:15;;8494:2;8479:18;;8472:43;8379:2;8364:18;107726:30:0;;;;;;;;;;;;;;;;;;;;;;;107707:8;;:50;;;;;-1:-1:-1;;;;;107707:50:0;;;;;-1:-1:-1;;;;;107707:50:0;;;;;;107768:21;107798:7;-1:-1:-1;;;;;107792:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;107792:23:0;;;;;;;;;;;;:::i;:::-;107768:47;;107826:21;107856:7;-1:-1:-1;;;;;107850:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;107850:23:0;;;;;;;;;;;;:::i;:::-;107826:47;;107888:7;107884:381;;;107961:7;107975;107927:56;;;;;;;;;:::i;:::-;;;;;;;;;;;;;107912:5;:72;;;;;;:::i;:::-;;108042:7;108056;108016:48;;;;;;;;;:::i;:::-;;;;;;;;;;;;;107999:7;:66;;;;;;:::i;:::-;;107884:381;;;108149:7;108163;108113:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;108098:5;:74;;;;;;:::i;:::-;;108230:7;108244;108204:48;;;;;;;;;:::i;:::-;;;;;;;;;;;;;108187:7;:66;;;;;;:::i;:::-;;107884:381;108301:7;-1:-1:-1;;;;;108295:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;108289:31;;:2;:31;:::i;:::-;108277:9;:43;;;;108355:7;-1:-1:-1;;;;;108349:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;108343:31;;:2;:31;:::i;:::-;108331:9;:43;-1:-1:-1;;108405:34:0;;;;;;;;108417:15;108405:34;;-1:-1:-1;108405:34:0;;;;;;;;;;;;108387:12;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;107408:1040:0:o;109641:104::-;109688:7;104766:21;:19;:21::i;:::-;109715:22:::1;109718:8;;109728;;109715:2;:22::i;:::-;109708:29;;104810:20:::0;104204:1;105330:7;:22;105147:213;104810:20;109641:104;:::o;124985:371::-;125127:8;;125137;;125194:7;;125225:6;;125181:51;;-1:-1:-1;;;125181:51:0;;125218:4;125181:51;;;12739::1;-1:-1:-1;;;125225:6:0;;;;;12833:14:1;12826:22;12806:18;;;12799:50;125065:7:0;;125127:8;125137;125236:5;;-1:-1:-1;;;;;125194:7:0;;;;125181:28;;12712:18:1;;125181:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;125170:62;;:8;:62;:::i;:::-;125169:72;;;;:::i;:::-;125157:84;;;;:::i;:::-;;;125294:54;125308:8;125318:7;125327:9;125338;125294:13;:54::i;:::-;125287:61;124985:371;-1:-1:-1;;;;;124985:371:0:o;122474:166::-;104766:21;:19;:21::i;:::-;122538:6:::1;::::0;122531:39:::1;::::0;-1:-1:-1;;;122531:39:0;;122564:4:::1;122531:39;::::0;::::1;2926:51:1::0;122523:109:0::1;::::0;-1:-1:-1;;;;;122538:6:0::1;::::0;122531:24:::1;::::0;2899:18:1;;122531:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;122579:6;::::0;122572:39:::1;::::0;-1:-1:-1;;;122572:39:0;;122605:4:::1;122572:39;::::0;::::1;2926:51:1::0;-1:-1:-1;;;;;122579:6:0;;::::1;::::0;122572:24:::1;::::0;2899:18:1;;122572:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;122613:8;;122623;;122523:7;:109::i;:::-;104810:20:::0;104204:1;105330:7;:22;105147:213;104810:20;122474:166::o;104846:293::-;104248:1;104980:7;;:19;104972:63;;;;-1:-1:-1;;;104972:63:0;;26323:2:1;104972:63:0;;;26305:21:1;26362:2;26342:18;;;26335:30;26401:33;26381:18;;;26374:61;26452:18;;104972:63:0;26121:355:1;104972:63:0;104248:1;105113:7;:18;104846:293::o;52184:177::-;52294:58;;;-1:-1:-1;;;;;26673:32:1;;52294:58:0;;;26655:51:1;26722:18;;;;26715:34;;;52294:58:0;;;;;;;;;;26628:18:1;;;;52294:58:0;;;;;;;;-1:-1:-1;;;;;52294:58:0;-1:-1:-1;;;52294:58:0;;;52267:86;;52287:5;;52267:19;:86::i;110329:449::-;110442:6;110452:1;110442:11;110438:24;;110329:449;:::o;110438:24::-;110500:8;;110479:6;;110472:45;;-1:-1:-1;;;;;110479:6:0;;;;110500:8;110510:6;110472:27;:45::i;:::-;110565:14;110600:13;61543:12;;;61455:108;110600:13;110583;:6;110592:4;110583:13;:::i;:::-;110582:31;;;;:::i;:::-;110565:48;-1:-1:-1;110671:10:0;;110667:59;;110708:6;110698;;:16;;;;;;;:::i;:::-;;;;-1:-1:-1;;110667:59:0;110741:29;;;7767:25:1;;;110768:1:0;7823:2:1;7808:18;;7801:34;58212:10:0;;110741:29;;7740:18:1;110741:29:0;;;;;;;;110372:406;110329:449;:::o;110822:369::-;110935:6;110945:1;110935:11;110931:24;;110822:369;:::o;110931:24::-;110993:8;;110972:6;;110965:45;;-1:-1:-1;;;;;110972:6:0;;;;110993:8;111003:6;110965:27;:45::i;:::-;111021:14;111056:13;61543:12;;;61455:108;111056:13;111039;:6;111048:4;111039:13;:::i;:::-;111038:31;;;;:::i;:::-;111021:48;-1:-1:-1;111084:10:0;;111080:59;;111121:6;111111;;:16;;;;;;;:::i;:::-;;;;-1:-1:-1;;111080:59:0;111154:29;;;111173:1;7767:25:1;;7823:2;7808:18;;7801:34;;;58212:10:0;;111154:29;;7740:18:1;111154:29:0;7593:248:1;126342:427:0;126423:6;;126399:7;;-1:-1:-1;;;126423:6:0;;;;126419:343;;;126472:9;;126446:10;;126460:8;:1;126464:4;126460:8;:::i;:::-;126459:22;;;;:::i;:::-;126446:35;;126496:10;126522:9;;126510:1;126514:4;126510:8;;;;:::i;:::-;126509:22;;;;:::i;:::-;126496:35;-1:-1:-1;126546:10:0;126571:4;126560:7;126496:35;126560:2;:7;:::i;:::-;126559:16;;;;:::i;:::-;126546:29;-1:-1:-1;126590:10:0;126635:4;126624:7;126629:2;;126624:7;:::i;:::-;126623:16;;;;:::i;:::-;126616:4;126605:7;126610:2;;126605:7;:::i;:::-;126604:16;;;;:::i;:::-;:35;;;;:::i;:::-;126590:50;-1:-1:-1;126674:4:0;126663:7;126590:50;126663:2;:7;:::i;:::-;126662:16;;;;:::i;:::-;126655:23;;;;;;;;126419:343;126734:5;126738:1;126734;:5;:::i;:::-;126727:12;;;;113080:960;113281:18;;113216:15;;113191:22;;113264:35;;113216:15;113264:35;:::i;:::-;113242:57;;113328:1;113314:11;:15;:33;;;;-1:-1:-1;113333:14:0;;;113314:33;:51;;;;-1:-1:-1;113351:14:0;;;113314:51;113310:197;;;113408:23;113420:11;113408:9;:23;:::i;:::-;113382:22;;:49;;;;;;;:::i;:::-;;;;-1:-1:-1;113472:23:0;;-1:-1:-1;113484:11:0;113472:9;:23;:::i;:::-;113446:22;;:49;;;;;;;:::i;:::-;;;;-1:-1:-1;;113310:197:0;113519:25;113547:17;:15;:17::i;:::-;113606:16;;113519:45;;-1:-1:-1;113589:33:0;;:14;:33;:::i;:::-;113575:47;;106433:4;113740:11;:24;113736:151;;;113799:75;;;;;;;;;;;113827:22;;113799:75;;;;;;113851:22;;113799:75;;;;;;113781:12;:94;;;;;;;-1:-1:-1;113781:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;113736:151;113897:8;:19;;;113927:8;:19;;;113957:18;:35;;;114008:24;;;7767:25:1;;;7823:2;7808:18;;7801:34;;;114008:24:0;;7740:18:1;114008:24:0;;;;;;;113180:860;;;113080:960;;;;:::o;68871:346::-;-1:-1:-1;;;;;68973:19:0;;68965:68;;;;-1:-1:-1;;;68965:68:0;;27484:2:1;68965:68:0;;;27466:21:1;27523:2;27503:18;;;27496:30;27562:34;27542:18;;;27535:62;-1:-1:-1;;;27613:18:1;;;27606:34;27657:19;;68965:68:0;27282:400:1;68965:68:0;-1:-1:-1;;;;;69052:21:0;;69044:68;;;;-1:-1:-1;;;69044:68:0;;27889:2:1;69044:68:0;;;27871:21:1;27928:2;27908:18;;;27901:30;27967:34;27947:18;;;27940:62;-1:-1:-1;;;28018:18:1;;;28011:32;28060:19;;69044:68:0;27687:398:1;69044:68:0;-1:-1:-1;;;;;69125:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;69177:32;;4297:25:1;;;69177:32:0;;4270:18:1;69177:32:0;;;;;;;68871:346;;;:::o;125364:970::-;125550:6;;125526:7;;-1:-1:-1;;;125550:6:0;;;;125546:781;;;125573:10;125586:24;125589:9;125600;125586:2;:24::i;:::-;125658:9;;125573:37;;-1:-1:-1;125638:16:0;:9;125650:4;125638:16;:::i;:::-;125637:30;;;;:::i;:::-;125715:9;;125625:42;;-1:-1:-1;125695:16:0;:9;125707:4;125695:16;:::i;:::-;125694:30;;;;:::i;:::-;125789:6;;125682:42;;-1:-1:-1;125740:16:0;;;;-1:-1:-1;;;;;125778:17:0;;;125789:6;;125778:17;:67;;125824:9;125835;125778:67;;;125799:9;125810;125778:67;125882:6;;125739:106;;-1:-1:-1;125739:106:0;-1:-1:-1;;;;;;125871:17:0;;;125882:6;;125871:17;:81;;125943:9;;125924:15;:8;125935:4;125924:15;:::i;:::-;125923:29;;;;:::i;:::-;125871:81;;;125911:9;;125892:15;:8;125903:4;125892:15;:::i;:::-;125891:29;;;;:::i;:::-;125860:92;-1:-1:-1;125967:9:0;125990:41;125997:19;126008:8;125860:92;125997:19;:::i;:::-;126018:2;126022:8;125990:6;:41::i;:::-;125979:52;;:8;:52;:::i;:::-;126070:6;;125967:64;;-1:-1:-1;126105:4:0;;-1:-1:-1;;;;;126059:17:0;;;126070:6;;126059:17;:41;;126091:9;;126059:41;;;126079:9;;126059:41;126054:47;;:1;:47;:::i;:::-;126053:56;;;;:::i;:::-;126046:63;;;;;;;;125546:781;126192:6;;126143:16;;;;-1:-1:-1;;;;;126181:17:0;;;126192:6;;126181:17;:67;;126227:9;126238;126181:67;;;126202:9;126213;126181:67;126142:106;;-1:-1:-1;126142:106:0;-1:-1:-1;126295:19:0;126306:8;126142:106;126295:19;:::i;:::-;126271;126282:8;126271;:19;:::i;:::-;126270:45;;;;:::i;:::-;126263:52;;;;;;69508:419;69609:24;69636:25;69646:5;69653:7;69636:9;:25::i;:::-;69609:52;;-1:-1:-1;;69676:16:0;:37;69672:248;;69758:6;69738:16;:26;;69730:68;;;;-1:-1:-1;;;69730:68:0;;28292:2:1;69730:68:0;;;28274:21:1;28331:2;28311:18;;;28304:30;28370:31;28350:18;;;28343:59;28419:18;;69730:68:0;28090:353:1;69730:68:0;69842:51;69851:5;69858:7;69886:6;69867:16;:25;69842:8;:51::i;:::-;69598:329;69508:419;;;:::o;65784:806::-;-1:-1:-1;;;;;65881:18:0;;65873:68;;;;-1:-1:-1;;;65873:68:0;;28650:2:1;65873:68:0;;;28632:21:1;28689:2;28669:18;;;28662:30;28728:34;28708:18;;;28701:62;-1:-1:-1;;;28779:18:1;;;28772:35;28824:19;;65873:68:0;28448:401:1;65873:68:0;-1:-1:-1;;;;;65960:16:0;;65952:64;;;;-1:-1:-1;;;65952:64:0;;29056:2:1;65952:64:0;;;29038:21:1;29095:2;29075:18;;;29068:30;29134:34;29114:18;;;29107:62;-1:-1:-1;;;29185:18:1;;;29178:33;29228:19;;65952:64:0;28854:399:1;65952:64:0;66029:38;66050:4;66056:2;66060:6;66029:20;:38::i;:::-;-1:-1:-1;;;;;66102:15:0;;66080:19;66102:15;;;;;;;;;;;66136:21;;;;66128:72;;;;-1:-1:-1;;;66128:72:0;;29460:2:1;66128:72:0;;;29442:21:1;29499:2;29479:18;;;29472:30;29538:34;29518:18;;;29511:62;-1:-1:-1;;;29589:18:1;;;29582:36;29635:19;;66128:72:0;29258:402:1;66128:72:0;-1:-1:-1;;;;;66236:15:0;;;:9;:15;;;;;;;;;;;66254:20;;;66236:38;;66454:13;;;;;;;;;;:23;;;;;;66506:26;;4297:25:1;;;66454:13:0;;66506:26;;4270:18:1;66506:26:0;;;;;;;66545:37;108693:183;96080:268;96133:7;96165:4;-1:-1:-1;;;;;96174:11:0;96157:28;;:63;;;;;96206:14;96189:13;:31;96157:63;96153:188;;;-1:-1:-1;96244:22:0;;96080:268::o;96153:188::-;96306:23;96448:81;;;94179:95;96448:81;;;31830:25:1;96471:11:0;31871:18:1;;;31864:34;;;;96484:14:0;31914:18:1;;;31907:34;96500:13:0;31957:18:1;;;31950:34;96523:4:0;32000:19:1;;;31993:61;96411:7:0;;31802:19:1;;96448:81:0;;;;;;;;;;;;96438:92;;;;;;96431:99;;96356:182;;6640:1673;6688:7;6712:1;6717;6712:6;6708:47;;-1:-1:-1;6742:1:0;;6640:1673;-1:-1:-1;6640:1673:0:o;6708:47::-;7446:14;7480:1;7469:7;7474:1;7469:4;:7::i;:::-;:12;;7463:1;:19;;7446:36;;7948:1;7937:6;7933:1;:10;;;;;:::i;:::-;;7924:6;:19;7923:26;;7914:35;;7998:1;7987:6;7983:1;:10;;;;;:::i;:::-;;7974:6;:19;7973:26;;7964:35;;8048:1;8037:6;8033:1;:10;;;;;:::i;:::-;;8024:6;:19;8023:26;;8014:35;;8098:1;8087:6;8083:1;:10;;;;;:::i;:::-;;8074:6;:19;8073:26;;8064:35;;8148:1;8137:6;8133:1;:10;;;;;:::i;:::-;;8124:6;:19;8123:26;;8114:35;;8198:1;8187:6;8183:1;:10;;;;;:::i;:::-;;8174:6;:19;8173:26;;8164:35;;8248:1;8237:6;8233:1;:10;;;;;:::i;:::-;;8224:6;:19;8223:26;;8214:35;;8271:23;8275:6;8287;8283:1;:10;;;;;:::i;:::-;;8271:3;:23::i;66877:548::-;-1:-1:-1;;;;;66961:21:0;;66953:65;;;;-1:-1:-1;;;66953:65:0;;29867:2:1;66953:65:0;;;29849:21:1;29906:2;29886:18;;;29879:30;29945:33;29925:18;;;29918:61;29996:18;;66953:65:0;29665:355:1;66953:65:0;67031:49;67060:1;67064:7;67073:6;67031:20;:49::i;:::-;67109:6;67093:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;67264:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;67319:37;4297:25:1;;;67319:37:0;;4270:18:1;67319:37:0;;;;;;;66877:548;;:::o;868:106::-;926:7;957:1;953;:5;:13;;965:1;953:13;;;-1:-1:-1;961:1:0;;946:20;-1:-1:-1;868:106:0:o;91570:244::-;91664:13;90972:4;90936:40;;91694:17;91690:117;;91735:15;91744:5;91735:8;:15::i;91690:117::-;91790:5;91783:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67758:675;-1:-1:-1;;;;;67842:21:0;;67834:67;;;;-1:-1:-1;;;67834:67:0;;30227:2:1;67834:67:0;;;30209:21:1;30266:2;30246:18;;;30239:30;30305:34;30285:18;;;30278:62;-1:-1:-1;;;30356:18:1;;;30349:31;30397:19;;67834:67:0;30025:397:1;67834:67:0;67914:49;67935:7;67952:1;67956:6;67914:20;:49::i;:::-;-1:-1:-1;;;;;68001:18:0;;67976:22;68001:18;;;;;;;;;;;68038:24;;;;68030:71;;;;-1:-1:-1;;;68030:71:0;;30629:2:1;68030:71:0;;;30611:21:1;30668:2;30648:18;;;30641:30;30707:34;30687:18;;;30680:62;-1:-1:-1;;;30758:18:1;;;30751:32;30800:19;;68030:71:0;30427:398:1;68030:71:0;-1:-1:-1;;;;;68137:18:0;;:9;:18;;;;;;;;;;;68158:23;;;68137:44;;68276:12;:22;;;;;;;68327:37;4297:25:1;;;68137:9:0;;:18;68327:37;;4270:18:1;68327:37:0;;;;;;;108850:18;108693:183;;:::o;111405:1317::-;-1:-1:-1;;;;;61727:18:0;;111464:17;61727:18;;;;;;;;;;;111552:13;;111548:1167;;-1:-1:-1;;;;;111606:23:0;;111582:21;111606:23;;;:12;:23;;;;;;;;;;111710:12;:23;;;;;;;;111766:6;;111847;;111868:33;;;;111967:23;;;;:33;;;111606:23;112033;111606;111766:6;112033:23;:::i;:::-;112015:41;-1:-1:-1;112129:15:0;112147:23;112157:13;112147:7;:23;:::i;:::-;112129:41;-1:-1:-1;112189:11:0;;112185:197;;112221:14;112262:4;112239:19;112251:7;112239:9;:19;:::i;:::-;112238:28;;;;:::i;:::-;-1:-1:-1;;;;;112335:21:0;;;;;;:10;:21;;;;;:31;;112221:45;;-1:-1:-1;112221:45:0;;112335:21;;;:31;;112221:45;;112335:31;:::i;:::-;;;;-1:-1:-1;;;112185:197:0;112400:11;;112396:147;;112432:14;112473:4;112450:19;112462:7;112450:9;:19;:::i;:::-;112449:28;;;;:::i;:::-;-1:-1:-1;;;;;112496:21:0;;;;;;:10;:21;;;;;:31;;112432:45;;-1:-1:-1;112432:45:0;;112496:21;;;:31;;112432:45;;112496:31;:::i;:::-;;;;-1:-1:-1;;;112396:147:0;111567:987;;;;;;66877:548;;:::o;111548:1167::-;112601:6;;-1:-1:-1;;;;;112575:23:0;;;;;;:12;:23;;;;;;;;:32;;;;112697:6;;112671:12;:23;;;;;;:32;111453:1269;111405:1317;:::o;102301:207::-;-1:-1:-1;;;;;102422:14:0;;102361:15;102422:14;;;:7;:14;;;;;98946;;99083:1;99065:19;;;;98946:14;102483:17;102378:130;102301:207;;;:::o;97180:167::-;97257:7;97284:55;97306:20;:18;:20::i;:::-;97328:10;84051:4;84045:11;-1:-1:-1;;;84070:23:0;;84123:4;84114:14;;84107:39;;;;84176:4;84167:14;;84160:34;84231:4;84216:20;;;83848:406;82064:236;82149:7;82170:17;82189:18;82211:25;82222:4;82228:1;82231;82234;82211:10;:25::i;:::-;82169:67;;;;82247:18;82259:5;82247:11;:18::i;:::-;-1:-1:-1;82283:9:0;82064:236;-1:-1:-1;;;;;82064:236:0:o;55072:716::-;55496:23;55522:69;55550:4;55522:69;;;;;;;;;;;;;;;;;55530:5;-1:-1:-1;;;;;55522:27:0;;;:69;;;;;:::i;:::-;55606:17;;55496:95;;-1:-1:-1;55606:21:0;55602:179;;55703:10;55692:30;;;;;;;;;;;;:::i;:::-;55684:85;;;;-1:-1:-1;;;55684:85:0;;31032:2:1;55684:85:0;;;31014:21:1;31071:2;31051:18;;;31044:30;31110:34;31090:18;;;31083:62;-1:-1:-1;;;31161:18:1;;;31154:40;31211:19;;55684:85:0;30830:406:1;123035:1915:0;123109:7;;123129:1791;123153:3;123149:1;:7;123129:1791;;;123178:9;123190;123193:2;123197:1;123190:2;:9::i;:::-;123178:21;;123222:2;123218:1;:6;123214:1695;;;123580:10;123613:9;123616:2;123620:1;123613:2;:9::i;:::-;123595:6;123600:1;123595:2;:6;:::i;:::-;123594:15;;123605:4;123594:15;:::i;:::-;123593:29;;;;:::i;:::-;123580:42;;123645:2;123651:1;123645:7;123641:487;;123686:2;123681:1;:7;123677:138;;123790:1;123783:8;;;;;;;123677:138;123857:2;123841:13;123844:2;123848:5;:1;123852;123848:5;:::i;:::-;123841:2;:13::i;:::-;:18;123837:243;;;124051:5;:1;124055;124051:5;:::i;:::-;124044:12;;;;;;;123837:243;-1:-1:-1;124107:1:0;123641:487;124150:6;124154:2;124150:1;:6;:::i;:::-;124146:10;;123226:946;123214:1695;;;124197:10;124230:9;124233:2;124237:1;124230:2;:9::i;:::-;124212:6;124216:2;124212:1;:6;:::i;:::-;124211:15;;124222:4;124211:15;:::i;:::-;124210:29;;;;:::i;:::-;124197:42;;124262:2;124268:1;124262:7;124258:607;;124303:2;124298:1;:7;:29;;;-1:-1:-1;124325:2:0;124309:13;124312:2;124316:5;124320:1;124316;:5;:::i;:::-;124309:2;:13::i;:::-;:18;124298:29;124294:523;;;124792:1;124785:8;;;;;;;124294:523;-1:-1:-1;124844:1:0;124258:607;124887:6;124891:2;124887:1;:6;:::i;:::-;124883:10;;124178:731;123214:1695;-1:-1:-1;123158:3:0;;;;:::i;:::-;;;;123129:1791;;;-1:-1:-1;124930:12:0;;-1:-1:-1;;;124930:12:0;;31443:2:1;124930:12:0;;;31425:21:1;31482:1;31462:18;;;31455:29;-1:-1:-1;;;31500:18:1;;;31493:32;31542:18;;124930:12:0;31241:325:1;127172:143:0;127266:16;127277:4;127266:10;:16::i;:::-;127293:14;127304:2;127293:10;:14::i;8790:1019::-;8842:7;;8929:3;8920:12;;;:16;8916:102;;8967:3;8957:13;;;;8989;8916:102;9045:2;9036:11;;;:15;9032:99;;9082:2;9072:12;;;;9103;9032:99;9158:2;9149:11;;;:15;9145:99;;9195:2;9185:12;;;;9216;9145:99;9271:2;9262:11;;;:15;9258:99;;9308:2;9298:12;;;;9329;9258:99;9384:1;9375:10;;;:14;9371:96;;9420:1;9410:11;;;;9440;9371:96;9494:1;9485:10;;;:14;9481:96;;9530:1;9520:11;;;;9550;9481:96;9604:1;9595:10;;;:14;9591:96;;9640:1;9630:11;;;;9660;9591:96;9714:1;9705:10;;;:14;9701:66;;9750:1;9740:11;9795:6;8790:1019;-1:-1:-1;;8790:1019:0:o;90364:411::-;90585:14;;;90596:2;90585:14;;;;;;;;;90423:13;;90972:4;90936:40;;;90449:11;;90585:14;;;90596:2;;90585:14;;;-1:-1:-1;;;90678:16:0;;;-1:-1:-1;90724:4:0;90715:14;;90708:28;;;;-1:-1:-1;90678:16:0;90364:411::o;80448:1477::-;80536:7;;81470:66;81457:79;;81453:163;;;-1:-1:-1;81569:1:0;;-1:-1:-1;81573:30:0;81553:51;;81453:163;81730:24;;;81713:14;81730:24;;;;;;;;;32292:25:1;;;32365:4;32353:17;;32333:18;;;32326:45;;;;32387:18;;;32380:34;;;32430:18;;;32423:34;;;81730:24:0;;32264:19:1;;81730:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;81730:24:0;;-1:-1:-1;;81730:24:0;;;-1:-1:-1;;;;;;;81769:20:0;;81765:103;;81822:1;81826:29;81806:50;;;;;;;81765:103;81888:6;-1:-1:-1;81896:20:0;;-1:-1:-1;80448:1477:0;;;;;;;;:::o;75908:521::-;75986:20;75977:5;:29;;;;;;;;:::i;:::-;;75973:449;;75908:521;:::o;75973:449::-;76084:29;76075:5;:38;;;;;;;;:::i;:::-;;76071:351;;76130:34;;-1:-1:-1;;;76130:34:0;;32802:2:1;76130:34:0;;;32784:21:1;32841:2;32821:18;;;32814:30;32880:26;32860:18;;;32853:54;32924:18;;76130:34:0;32600:348:1;76071:351:0;76195:35;76186:5;:44;;;;;;;;:::i;:::-;;76182:240;;76247:41;;-1:-1:-1;;;76247:41:0;;33155:2:1;76247:41:0;;;33137:21:1;33194:2;33174:18;;;33167:30;33233:33;33213:18;;;33206:61;33284:18;;76247:41:0;32953:355:1;76182:240:0;76319:30;76310:5;:39;;;;;;;;:::i;:::-;;76306:116;;76366:44;;-1:-1:-1;;;76366:44:0;;33515:2:1;76366:44:0;;;33497:21:1;33554:2;33534:18;;;33527:30;33593:34;33573:18;;;33566:62;-1:-1:-1;;;33644:18:1;;;33637:32;33686:19;;76366:44:0;33313:398:1;46254:229:0;46391:12;46423:52;46445:6;46453:4;46459:1;46462:12;46423:21;:52::i;122648:207::-;122706:7;;122750:4;122740:6;122745:1;122740:2;:6;:::i;:::-;122739:15;;;;:::i;:::-;122726:28;-1:-1:-1;122765:10:0;122808:4;122799:5;122803:1;;122799:5;:::i;:::-;122798:14;;;;:::i;:::-;122791:4;122780:7;122785:2;;122780:7;:::i;:::-;122779:16;;;;:::i;:::-;:33;;;;:::i;:::-;122765:48;-1:-1:-1;122843:4:0;122832:7;122765:48;122832:2;:7;:::i;:::-;122831:16;;;;:::i;122863:164::-;122921:7;123014:4;123008:2;123014:4;122989:7;123008:2;;122989:7;:::i;:::-;122988:16;;;;:::i;:::-;122987:23;;;;:::i;:::-;122986:32;;;;:::i;:::-;122978:4;;122960:5;122964:1;;122960:5;:::i;:::-;122959:14;;;;:::i;:::-;122949:6;122953:2;122949:1;:6;:::i;:::-;:25;;;;:::i;:::-;122948:34;;;;:::i;:::-;:71;;;;:::i;47340:455::-;47510:12;47568:5;47543:21;:30;;47535:81;;;;-1:-1:-1;;;47535:81:0;;33918:2:1;47535:81:0;;;33900:21:1;33957:2;33937:18;;;33930:30;33996:34;33976:18;;;33969:62;-1:-1:-1;;;34047:18:1;;;34040:36;34093:19;;47535:81:0;33716:402:1;47535:81:0;47628:12;47642:23;47669:6;-1:-1:-1;;;;;47669:11:0;47688:5;47695:4;47669:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47627:73;;;;47718:69;47745:6;47753:7;47762:10;47774:12;50098;50127:7;50123:427;;;50155:10;:17;50176:1;50155:22;50151:290;;-1:-1:-1;;;;;43793:19:0;;;50365:60;;;;-1:-1:-1;;;50365:60:0;;34617:2:1;50365:60:0;;;34599:21:1;34656:2;34636:18;;;34629:30;34695:31;34675:18;;;34668:59;34744:18;;50365:60:0;34415:353:1;50365:60:0;-1:-1:-1;50462:10:0;50455:17;;50123:427;50505:33;50513:10;50525:12;51260:17;;:21;51256:388;;51492:10;51486:17;51549:15;51536:10;51532:2;51528:19;51521:44;51256:388;51619:12;51612:20;;-1:-1:-1;;;51612:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:347;201:8;211:6;265:3;258:4;250:6;246:17;242:27;232:55;;283:1;280;273:12;232:55;-1:-1:-1;306:20:1;;349:18;338:30;;335:50;;;381:1;378;371:12;335:50;418:4;410:6;406:17;394:29;;470:3;463:4;454:6;446;442:19;438:30;435:39;432:59;;;487:1;484;477:12;432:59;150:347;;;;;:::o;502:681::-;599:6;607;615;623;631;684:3;672:9;663:7;659:23;655:33;652:53;;;701:1;698;691:12;652:53;737:9;724:23;714:33;;794:2;783:9;779:18;766:32;756:42;;848:2;837:9;833:18;820:32;861:31;886:5;861:31;:::i;:::-;911:5;-1:-1:-1;967:2:1;952:18;;939:32;994:18;983:30;;980:50;;;1026:1;1023;1016:12;980:50;1065:58;1115:7;1106:6;1095:9;1091:22;1065:58;:::i;:::-;502:681;;;;-1:-1:-1;502:681:1;;-1:-1:-1;1142:8:1;;1039:84;502:681;-1:-1:-1;;;502:681:1:o;1188:250::-;1273:1;1283:113;1297:6;1294:1;1291:13;1283:113;;;1373:11;;;1367:18;1354:11;;;1347:39;1319:2;1312:10;1283:113;;;-1:-1:-1;;1430:1:1;1412:16;;1405:27;1188:250::o;1443:271::-;1485:3;1523:5;1517:12;1550:6;1545:3;1538:19;1566:76;1635:6;1628:4;1623:3;1619:14;1612:4;1605:5;1601:16;1566:76;:::i;:::-;1696:2;1675:15;-1:-1:-1;;1671:29:1;1662:39;;;;1703:4;1658:50;;1443:271;-1:-1:-1;;1443:271:1:o;1719:220::-;1868:2;1857:9;1850:21;1831:4;1888:45;1929:2;1918:9;1914:18;1906:6;1888:45;:::i;2268:315::-;2336:6;2344;2397:2;2385:9;2376:7;2372:23;2368:32;2365:52;;;2413:1;2410;2403:12;2365:52;2452:9;2439:23;2471:31;2496:5;2471:31;:::i;:::-;2521:5;2573:2;2558:18;;;;2545:32;;-1:-1:-1;;;2268:315:1:o;2988:452::-;3074:6;3082;3090;3098;3151:3;3139:9;3130:7;3126:23;3122:33;3119:53;;;3168:1;3165;3158:12;3119:53;3207:9;3194:23;3226:31;3251:5;3226:31;:::i;:::-;3276:5;3328:2;3313:18;;3300:32;;-1:-1:-1;3379:2:1;3364:18;;3351:32;;3430:2;3415:18;3402:32;;-1:-1:-1;2988:452:1;-1:-1:-1;;;2988:452:1:o;3445:435::-;3498:3;3536:5;3530:12;3563:6;3558:3;3551:19;3589:4;3618:2;3613:3;3609:12;3602:19;;3655:2;3648:5;3644:14;3676:1;3686:169;3700:6;3697:1;3694:13;3686:169;;;3761:13;;3749:26;;3795:12;;;;3830:15;;;;3722:1;3715:9;3686:169;;;-1:-1:-1;3871:3:1;;3445:435;-1:-1:-1;;;;;3445:435:1:o;3885:261::-;4064:2;4053:9;4046:21;4027:4;4084:56;4136:2;4125:9;4121:18;4113:6;4084:56;:::i;4333:247::-;4392:6;4445:2;4433:9;4424:7;4420:23;4416:32;4413:52;;;4461:1;4458;4451:12;4413:52;4500:9;4487:23;4519:31;4544:5;4519:31;:::i;4585:456::-;4662:6;4670;4678;4731:2;4719:9;4710:7;4706:23;4702:32;4699:52;;;4747:1;4744;4737:12;4699:52;4786:9;4773:23;4805:31;4830:5;4805:31;:::i;:::-;4855:5;-1:-1:-1;4912:2:1;4897:18;;4884:32;4925:33;4884:32;4925:33;:::i;:::-;4585:456;;4977:7;;-1:-1:-1;;;5031:2:1;5016:18;;;;5003:32;;4585:456::o;5046:180::-;5105:6;5158:2;5146:9;5137:7;5133:23;5129:32;5126:52;;;5174:1;5171;5164:12;5126:52;-1:-1:-1;5197:23:1;;5046:180;-1:-1:-1;5046:180:1:o;6280:383::-;6357:6;6365;6373;6426:2;6414:9;6405:7;6401:23;6397:32;6394:52;;;6442:1;6439;6432:12;6394:52;6481:9;6468:23;6500:31;6525:5;6500:31;:::i;:::-;6550:5;6602:2;6587:18;;6574:32;;-1:-1:-1;6653:2:1;6638:18;;;6625:32;;6280:383;-1:-1:-1;;;6280:383:1:o;6668:920::-;7074:3;7069;7065:13;7057:6;7053:26;7042:9;7035:45;7116:3;7111:2;7100:9;7096:18;7089:31;7016:4;7143:46;7184:3;7173:9;7169:19;7161:6;7143:46;:::i;:::-;7237:9;7229:6;7225:22;7220:2;7209:9;7205:18;7198:50;7271:33;7297:6;7289;7271:33;:::i;:::-;7335:2;7320:18;;7313:34;;;-1:-1:-1;;;;;7384:32:1;;7378:3;7363:19;;7356:61;7404:3;7433:19;;7426:35;;;7498:22;;;7492:3;7477:19;;7470:51;7257:47;-1:-1:-1;7538:44:1;7257:47;7567:6;7538:44;:::i;:::-;7530:52;6668:920;-1:-1:-1;;;;;;;;;;6668:920:1:o;8526:410::-;8597:6;8605;8658:2;8646:9;8637:7;8633:23;8629:32;8626:52;;;8674:1;8671;8664:12;8626:52;8714:9;8701:23;8747:18;8739:6;8736:30;8733:50;;;8779:1;8776;8769:12;8733:50;8818:58;8868:7;8859:6;8848:9;8844:22;8818:58;:::i;:::-;8895:8;;8792:84;;-1:-1:-1;8526:410:1;-1:-1:-1;;;;8526:410:1:o;8941:114::-;9025:4;9018:5;9014:16;9007:5;9004:27;8994:55;;9045:1;9042;9035:12;9060:801;9171:6;9179;9187;9195;9203;9211;9219;9272:3;9260:9;9251:7;9247:23;9243:33;9240:53;;;9289:1;9286;9279:12;9240:53;9328:9;9315:23;9347:31;9372:5;9347:31;:::i;:::-;9397:5;-1:-1:-1;9454:2:1;9439:18;;9426:32;9467:33;9426:32;9467:33;:::i;:::-;9519:7;-1:-1:-1;9573:2:1;9558:18;;9545:32;;-1:-1:-1;9624:2:1;9609:18;;9596:32;;-1:-1:-1;9680:3:1;9665:19;;9652:33;9694:31;9652:33;9694:31;:::i;:::-;9060:801;;;;-1:-1:-1;9060:801:1;;;;9744:7;9798:3;9783:19;;9770:33;;-1:-1:-1;9850:3:1;9835:19;;;9822:33;;9060:801;-1:-1:-1;;9060:801:1:o;9866:388::-;9934:6;9942;9995:2;9983:9;9974:7;9970:23;9966:32;9963:52;;;10011:1;10008;10001:12;9963:52;10050:9;10037:23;10069:31;10094:5;10069:31;:::i;:::-;10119:5;-1:-1:-1;10176:2:1;10161:18;;10148:32;10189:33;10148:32;10189:33;:::i;:::-;10241:7;10231:17;;;9866:388;;;;;:::o;10259:118::-;10345:5;10338:13;10331:21;10324:5;10321:32;10311:60;;10367:1;10364;10357:12;10382:523;10456:6;10464;10472;10525:2;10513:9;10504:7;10500:23;10496:32;10493:52;;;10541:1;10538;10531:12;10493:52;10580:9;10567:23;10599:31;10624:5;10599:31;:::i;:::-;10649:5;-1:-1:-1;10706:2:1;10691:18;;10678:32;10719:33;10678:32;10719:33;:::i;:::-;10771:7;-1:-1:-1;10830:2:1;10815:18;;10802:32;10843:30;10802:32;10843:30;:::i;:::-;10892:7;10882:17;;;10382:523;;;;;:::o;10910:315::-;10978:6;10986;11039:2;11027:9;11018:7;11014:23;11010:32;11007:52;;;11055:1;11052;11045:12;11007:52;11091:9;11078:23;11068:33;;11151:2;11140:9;11136:18;11123:32;11164:31;11189:5;11164:31;:::i;11230:245::-;11297:6;11350:2;11338:9;11329:7;11325:23;11321:32;11318:52;;;11366:1;11363;11356:12;11318:52;11398:9;11392:16;11417:28;11439:5;11417:28;:::i;11480:632::-;11750:1;11746;11741:3;11737:11;11733:19;11725:6;11721:32;11710:9;11703:51;11790:6;11785:2;11774:9;11770:18;11763:34;11833:6;11828:2;11817:9;11813:18;11806:34;11876:3;11871:2;11860:9;11856:18;11849:31;11917:6;11911:3;11900:9;11896:19;11889:35;11975:6;11967;11961:3;11950:9;11946:19;11933:49;12032:1;12002:22;;;12026:3;11998:32;;;11991:43;;;;12095:2;12074:15;;;-1:-1:-1;;12070:29:1;12055:45;12051:55;;11480:632;-1:-1:-1;;;;11480:632:1:o;12117:184::-;12187:6;12240:2;12228:9;12219:7;12215:23;12211:32;12208:52;;;12256:1;12253;12246:12;12208:52;-1:-1:-1;12279:16:1;;12117:184;-1:-1:-1;12117:184:1:o;12306:127::-;12367:10;12362:3;12358:20;12355:1;12348:31;12398:4;12395:1;12388:15;12422:4;12419:1;12412:15;12438:128;12505:9;;;12526:11;;;12523:37;;;12540:18;;:::i;12860:168::-;12933:9;;;12964;;12981:15;;;12975:22;;12961:37;12951:71;;13002:18;;:::i;13033:127::-;13094:10;13089:3;13085:20;13082:1;13075:31;13125:4;13122:1;13115:15;13149:4;13146:1;13139:15;13165:217;13205:1;13231;13221:132;;13275:10;13270:3;13266:20;13263:1;13256:31;13310:4;13307:1;13300:15;13338:4;13335:1;13328:15;13221:132;-1:-1:-1;13367:9:1;;13165:217::o;13783:380::-;13862:1;13858:12;;;;13905;;;13926:61;;13980:4;13972:6;13968:17;13958:27;;13926:61;14033:2;14025:6;14022:14;14002:18;13999:38;13996:161;;14079:10;14074:3;14070:20;14067:1;14060:31;14114:4;14111:1;14104:15;14142:4;14139:1;14132:15;14168:127;14229:10;14224:3;14220:20;14217:1;14210:31;14260:4;14257:1;14250:15;14284:4;14281:1;14274:15;14300:125;14365:9;;;14386:10;;;14383:36;;;14399:18;;:::i;14430:127::-;14491:10;14486:3;14482:20;14479:1;14472:31;14522:4;14519:1;14512:15;14546:4;14543:1;14536:15;14562:135;14601:3;14622:17;;;14619:43;;14642:18;;:::i;:::-;-1:-1:-1;14689:1:1;14678:13;;14562:135::o;15108:251::-;15178:6;15231:2;15219:9;15210:7;15206:23;15202:32;15199:52;;;15247:1;15244;15237:12;15199:52;15279:9;15273:16;15298:31;15323:5;15298:31;:::i;15490:545::-;15592:2;15587:3;15584:11;15581:448;;;15628:1;15653:5;15649:2;15642:17;15698:4;15694:2;15684:19;15768:2;15756:10;15752:19;15749:1;15745:27;15739:4;15735:38;15804:4;15792:10;15789:20;15786:47;;;-1:-1:-1;15827:4:1;15786:47;15882:2;15877:3;15873:12;15870:1;15866:20;15860:4;15856:31;15846:41;;15937:82;15955:2;15948:5;15945:13;15937:82;;;16000:17;;;15981:1;15970:13;15937:82;;;15941:3;;;15490:545;;;:::o;16211:1206::-;16335:18;16330:3;16327:27;16324:53;;;16357:18;;:::i;:::-;16386:94;16476:3;16436:38;16468:4;16462:11;16436:38;:::i;:::-;16430:4;16386:94;:::i;:::-;16506:1;16531:2;16526:3;16523:11;16548:1;16543:616;;;;17203:1;17220:3;17217:93;;;-1:-1:-1;17276:19:1;;;17263:33;17217:93;-1:-1:-1;;16168:1:1;16164:11;;;16160:24;16156:29;16146:40;16192:1;16188:11;;;16143:57;17323:78;;16516:895;;16543:616;15437:1;15430:14;;;15474:4;15461:18;;-1:-1:-1;;16579:17:1;;;16680:9;16702:229;16716:7;16713:1;16710:14;16702:229;;;16805:19;;;16792:33;16777:49;;16912:4;16897:20;;;;16865:1;16853:14;;;;16732:12;16702:229;;;16706:3;16959;16950:7;16947:16;16944:159;;;17083:1;17079:6;17073:3;17067;17064:1;17060:11;17056:21;17052:34;17048:39;17035:9;17030:3;17026:19;17013:33;17009:79;17001:6;16994:95;16944:159;;;17146:1;17140:3;17137:1;17133:11;17129:19;17123:4;17116:33;16516:895;;16211:1206;;;:::o;19085:897::-;19165:6;19218:2;19206:9;19197:7;19193:23;19189:32;19186:52;;;19234:1;19231;19224:12;19186:52;19267:9;19261:16;19296:18;19337:2;19329:6;19326:14;19323:34;;;19353:1;19350;19343:12;19323:34;19391:6;19380:9;19376:22;19366:32;;19436:7;19429:4;19425:2;19421:13;19417:27;19407:55;;19458:1;19455;19448:12;19407:55;19487:2;19481:9;19509:2;19505;19502:10;19499:36;;;19515:18;;:::i;:::-;19590:2;19584:9;19558:2;19644:13;;-1:-1:-1;;19640:22:1;;;19664:2;19636:31;19632:40;19620:53;;;19688:18;;;19708:22;;;19685:46;19682:72;;;19734:18;;:::i;:::-;19774:10;19770:2;19763:22;19809:2;19801:6;19794:18;19849:7;19844:2;19839;19835;19831:11;19827:20;19824:33;19821:53;;;19870:1;19867;19860:12;19821:53;19883:68;19948:2;19943;19935:6;19931:15;19926:2;19922;19918:11;19883:68;:::i;19987:786::-;-1:-1:-1;;;20393:3:1;20386:28;20368:3;20443:6;20437:13;20459:75;20527:6;20522:2;20517:3;20513:12;20506:4;20498:6;20494:17;20459:75;:::i;:::-;-1:-1:-1;;;20593:2:1;20553:16;;;20585:11;;;20578:24;20627:13;;20649:76;20627:13;20711:2;20703:11;;20696:4;20684:17;;20649:76;:::i;:::-;20745:17;20764:2;20741:26;;19987:786;-1:-1:-1;;;;19987:786:1:o;20778:1352::-;20904:3;20898:10;20931:18;20923:6;20920:30;20917:56;;;20953:18;;:::i;:::-;20982:97;21072:6;21032:38;21064:4;21058:11;21032:38;:::i;:::-;21026:4;20982:97;:::i;:::-;21134:4;;21198:2;21187:14;;21215:1;21210:663;;;;21917:1;21934:6;21931:89;;;-1:-1:-1;21986:19:1;;;21980:26;21931:89;-1:-1:-1;;16168:1:1;16164:11;;;16160:24;16156:29;16146:40;16192:1;16188:11;;;16143:57;22033:81;;21180:944;;21210:663;15437:1;15430:14;;;15474:4;15461:18;;-1:-1:-1;;21246:20:1;;;21364:236;21378:7;21375:1;21372:14;21364:236;;;21467:19;;;21461:26;21446:42;;21559:27;;;;21527:1;21515:14;;;;21394:19;;21364:236;;;21368:3;21628:6;21619:7;21616:19;21613:201;;;21689:19;;;21683:26;-1:-1:-1;;21772:1:1;21768:14;;;21784:3;21764:24;21760:37;21756:42;21741:58;21726:74;;21613:201;-1:-1:-1;;;;;21860:1:1;21844:14;;;21840:22;21827:36;;-1:-1:-1;20778:1352:1:o;22135:774::-;-1:-1:-1;;;22541:3:1;22534:20;22516:3;22583:6;22577:13;22599:74;22666:6;22662:1;22657:3;22653:11;22646:4;22638:6;22634:17;22599:74;:::i;:::-;-1:-1:-1;;;22732:1:1;22692:16;;;22724:10;;;22717:23;22765:13;;22787:75;22765:13;22849:1;22841:10;;22834:4;22822:17;;22787:75;:::i;:::-;22882:17;22901:1;22878:25;;22135:774;-1:-1:-1;;;;22135:774:1:o;22914:788::-;-1:-1:-1;;;23320:3:1;23313:30;23295:3;23372:6;23366:13;23388:75;23456:6;23451:2;23446:3;23442:12;23435:4;23427:6;23423:17;23388:75;:::i;:::-;-1:-1:-1;;;23522:2:1;23482:16;;;23514:11;;;23507:24;23556:13;;23578:76;23556:13;23640:2;23632:11;;23625:4;23613:17;;23578:76;:::i;:::-;23674:17;23693:2;23670:26;;22914:788;-1:-1:-1;;;;22914:788:1:o;23707:774::-;-1:-1:-1;;;24113:3:1;24106:20;24088:3;24155:6;24149:13;24171:74;24238:6;24234:1;24229:3;24225:11;24218:4;24210:6;24206:17;24171:74;:::i;24486:247::-;24554:6;24607:2;24595:9;24586:7;24582:23;24578:32;24575:52;;;24623:1;24620;24613:12;24575:52;24655:9;24649:16;24674:29;24697:5;24674:29;:::i;24738:422::-;24827:1;24870:5;24827:1;24884:270;24905:7;24895:8;24892:21;24884:270;;;24964:4;24960:1;24956:6;24952:17;24946:4;24943:27;24940:53;;;24973:18;;:::i;:::-;25023:7;25013:8;25009:22;25006:55;;;25043:16;;;;25006:55;25122:22;;;;25082:15;;;;24884:270;;;24888:3;24738:422;;;;;:::o;25165:806::-;25214:5;25244:8;25234:80;;-1:-1:-1;25285:1:1;25299:5;;25234:80;25333:4;25323:76;;-1:-1:-1;25370:1:1;25384:5;;25323:76;25415:4;25433:1;25428:59;;;;25501:1;25496:130;;;;25408:218;;25428:59;25458:1;25449:10;;25472:5;;;25496:130;25533:3;25523:8;25520:17;25517:43;;;25540:18;;:::i;:::-;-1:-1:-1;;25596:1:1;25582:16;;25611:5;;25408:218;;25710:2;25700:8;25697:16;25691:3;25685:4;25682:13;25678:36;25672:2;25662:8;25659:16;25654:2;25648:4;25645:12;25641:35;25638:77;25635:159;;;-1:-1:-1;25747:19:1;;;25779:5;;25635:159;25826:34;25851:8;25845:4;25826:34;:::i;:::-;25896:6;25892:1;25888:6;25884:19;25875:7;25872:32;25869:58;;;25907:18;;:::i;:::-;25945:20;;25165:806;-1:-1:-1;;;25165:806:1:o;25976:140::-;26034:5;26063:47;26104:4;26094:8;26090:19;26084:4;26063:47;:::i;32468:127::-;32529:10;32524:3;32520:20;32517:1;32510:31;32560:4;32557:1;32550:15;32584:4;32581:1;32574:15;34123:287;34252:3;34290:6;34284:13;34306:66;34365:6;34360:3;34353:4;34345:6;34341:17;34306:66;:::i;:::-;34388:16;;;;;34123:287;-1:-1:-1;;34123:287:1:o

Swarm Source

ipfs://2bb49f25daf7cede0dc7192687eb5f5817efe9d0831a343064182971f7c0a821

Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

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