S Price: $0.500478 (-7.55%)
    /

    Contract

    0x35Ce760697A5D8739E4D2cd599ad23174969a709

    Overview

    S Balance

    Sonic LogoSonic LogoSonic Logo0 S

    S Value

    $0.00

    Token Holdings

    Multichain Info

    No addresses found
    Transaction Hash
    Method
    Block
    Age
    From
    To
    Amount
    Swap167375862025-03-29 7:27:373 hrs ago1743233257IN
    0x35Ce7606...74969a709
    0 S0.0048662456.6
    Swap166807002025-03-29 0:51:169 hrs ago1743209476IN
    0x35Ce7606...74969a709
    0 S0.005154655.01
    Swap166490022025-03-28 21:29:1913 hrs ago1743197359IN
    0x35Ce7606...74969a709
    0 S0.0048919255.01
    Swap166470822025-03-28 21:16:2413 hrs ago1743196584IN
    0x35Ce7606...74969a709
    0 S0.0048977655.01
    Swap165674312025-03-28 13:09:2321 hrs ago1743167363IN
    0x35Ce7606...74969a709
    0 S0.0048661256.6
    Swap165630232025-03-28 12:42:1021 hrs ago1743165730IN
    0x35Ce7606...74969a709
    0 S0.0049555255.01
    Swap165243222025-03-28 8:38:5825 hrs ago1743151138IN
    0x35Ce7606...74969a709
    0 S0.0049555255.01
    Swap165009192025-03-28 6:11:1628 hrs ago1743142276IN
    0x35Ce7606...74969a709
    0 S0.004809356.6
    Swap164758352025-03-28 3:22:4831 hrs ago1743132168IN
    0x35Ce7606...74969a709
    0 S0.0048655656.6
    Swap164495542025-03-28 0:20:2534 hrs ago1743121225IN
    0x35Ce7606...74969a709
    0 S0.0049546955.01
    Swap164270212025-03-27 21:50:3436 hrs ago1743112234IN
    0x35Ce7606...74969a709
    0 S0.0049562755
    Swap163353522025-03-27 12:52:3745 hrs ago1743079957IN
    0x35Ce7606...74969a709
    0 S0.0049576855.02
    Swap163190092025-03-27 11:15:0747 hrs ago1743074107IN
    0x35Ce7606...74969a709
    0 S0.0048840756.6
    Swap163144282025-03-27 10:46:5347 hrs ago1743072413IN
    0x35Ce7606...74969a709
    0 S0.0054059460.01
    Swap163122792025-03-27 10:32:4947 hrs ago1743071569IN
    0x35Ce7606...74969a709
    0 S0.0051610156.6
    Swap163043572025-03-27 9:41:302 days ago1743068490IN
    0x35Ce7606...74969a709
    0 S0.0049551955.01
    Swap162722242025-03-27 6:23:052 days ago1743056585IN
    0x35Ce7606...74969a709
    0 S0.0048647756.6
    Swap162054892025-03-26 23:49:482 days ago1743032988IN
    0x35Ce7606...74969a709
    0 S0.004954455
    Mint161236612025-03-26 16:04:252 days ago1743005065IN
    0x35Ce7606...74969a709
    0 S0.005830555.01
    Swap161175212025-03-26 15:30:072 days ago1743003007IN
    0x35Ce7606...74969a709
    0 S0.0048662456.6
    Swap161151152025-03-26 15:16:462 days ago1743002206IN
    0x35Ce7606...74969a709
    0 S0.0049304755
    Mint161065122025-03-26 14:28:292 days ago1742999309IN
    0x35Ce7606...74969a709
    0 S0.0060043356.65
    Mint161048742025-03-26 14:19:412 days ago1742998781IN
    0x35Ce7606...74969a709
    0 S0.0055664655.01
    Burn And Collect161044362025-03-26 14:17:162 days ago1742998636IN
    0x35Ce7606...74969a709
    0 S0.0053707355.01
    Swap161010672025-03-26 13:58:422 days ago1742997522IN
    0x35Ce7606...74969a709
    0 S0.0051602256.6
    View all transactions

    Latest 1 internal transaction

    Parent Transaction Hash Block Age From To Amount
    14583852024-12-24 11:52:4094 days ago1735041160
     Contract Creation
    0 S
    Loading...
    Loading

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

    Contract Name:
    SolidlyV3Pool

    Compiler Version
    v0.7.6+commit.7338295f

    Optimization Enabled:
    Yes with 800 runs

    Other Settings:
    default evmVersion
    File 1 of 30 : SolidlyV3Pool.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity =0.7.6;
    import './interfaces/ISolidlyV3Pool.sol';
    import './libraries/LowGasSafeMath.sol';
    import './libraries/SafeCast.sol';
    import './libraries/Tick.sol';
    import './libraries/TickBitmap.sol';
    import './libraries/Position.sol';
    import './libraries/Validation.sol';
    import './libraries/FullMath.sol';
    import './libraries/FixedPoint128.sol';
    import './libraries/TransferHelper.sol';
    import './libraries/TickMath.sol';
    import './libraries/LiquidityMath.sol';
    import './libraries/SqrtPriceMath.sol';
    import './libraries/SwapMath.sol';
    import './interfaces/ISolidlyV3PoolDeployer.sol';
    import './interfaces/ISolidlyV3Factory.sol';
    import './interfaces/IERC20Minimal.sol';
    import './interfaces/callback/ISolidlyV3SwapCallback.sol';
    import './interfaces/callback/ISolidlyV3MintCallback.sol';
    import './interfaces/callback/ISolidlyV3FlashCallback.sol';
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 30 : ISolidlyV3FlashCallback.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Callback for ISolidlyV3PoolActions#flash
    /// @notice Any contract that calls ISolidlyV3PoolActions#flash must implement this interface
    interface ISolidlyV3FlashCallback {
    /// @notice Called to `msg.sender` after transferring to the recipient from ISolidlyV3Pool#flash.
    /// @dev In the implementation you must repay the pool the tokens sent by flash plus the computed fee amounts.
    /// The caller of this method must be checked to be a SolidlyV3Pool deployed by the canonical SolidlyV3Factory.
    /// @param fee0 The fee amount in token0 due to the pool by the end of the flash
    /// @param fee1 The fee amount in token1 due to the pool by the end of the flash
    /// @param data Any data passed through by the caller via the ISolidlyV3PoolActions#flash call
    function solidlyV3FlashCallback(uint256 fee0, uint256 fee1, bytes calldata data) external;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 30 : ISolidlyV3MintCallback.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Callback for ISolidlyV3PoolActions#mint
    /// @notice Any contract that calls ISolidlyV3PoolActions#mint must implement this interface
    interface ISolidlyV3MintCallback {
    /// @notice Called to `msg.sender` after minting liquidity to a position from ISolidlyV3Pool#mint.
    /// @dev In the implementation you must pay the pool tokens owed for the minted liquidity.
    /// The caller of this method must be checked to be a SolidlyV3Pool deployed by the canonical SolidlyV3Factory.
    /// @param amount0Owed The amount of token0 due to the pool for the minted liquidity
    /// @param amount1Owed The amount of token1 due to the pool for the minted liquidity
    /// @param data Any data passed through by the caller via the ISolidlyV3PoolActions#mint call
    function solidlyV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes calldata data) external;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 4 of 30 : ISolidlyV3SwapCallback.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Callback for ISolidlyV3PoolActions#swap
    /// @notice Any contract that calls ISolidlyV3PoolActions#swap must implement this interface
    interface ISolidlyV3SwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via ISolidlyV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a SolidlyV3Pool deployed by the canonical SolidlyV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the ISolidlyV3PoolActions#swap call
    function solidlyV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes calldata data) external;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 5 of 30 : IERC20Minimal.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Minimal ERC20 interface for Solidly
    /// @notice Contains a subset of the full ERC20 interface that is used in Solidly V3
    interface IERC20Minimal {
    /// @notice Returns the balance of a token
    /// @param account The account for which to look up the number of tokens it has, i.e. its balance
    /// @return The number of tokens held by the account
    function balanceOf(address account) external view returns (uint256);
    /// @notice Transfers the amount of token from the `msg.sender` to the recipient
    /// @param recipient The account that will receive the amount transferred
    /// @param amount The number of tokens to send from the sender to the recipient
    /// @return Returns true for a successful transfer, false for an unsuccessful transfer
    function transfer(address recipient, uint256 amount) external returns (bool);
    /// @notice Returns the current allowance given to a spender by an owner
    /// @param owner The account of the token owner
    /// @param spender The account of the token spender
    /// @return The current allowance granted by `owner` to `spender`
    function allowance(address owner, address spender) external view returns (uint256);
    /// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount`
    /// @param spender The account which will be allowed to spend a given amount of the owners tokens
    /// @param amount The amount of tokens allowed to be used by `spender`
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 6 of 30 : ISolidlyV3Factory.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title The interface for the Solidly V3 Factory
    /// @notice The Solidly V3 Factory facilitates creation of Solidly V3 pools and control over the protocol fees
    interface ISolidlyV3Factory {
    /// @notice Emitted when the owner of the factory is changed
    /// @param oldOwner The owner before the owner was changed
    /// @param newOwner The owner after the owner was changed
    event OwnerChanged(address indexed oldOwner, address indexed newOwner);
    /// @notice Emitted when the address authorized to collect pool fees is changed
    /// @param oldFeeCollector The fee collector before the change
    /// @param newFeeCollector The fee collector after the change
    event FeeCollectorChanged(address indexed oldFeeCollector, address indexed newFeeCollector);
    /// @notice Emitted when the fee setting auth status of an address is toggled
    /// @param addr The address whose fee setting auth status was toggled
    /// @param newStatus The new fee setting auth status of the address
    event FeeSetterStatusToggled(address indexed addr, uint256 indexed newStatus);
    /// @notice Emitted when a pool is created
    /// @param token0 The first token of the pool by address sort order
    /// @param token1 The second token of the pool by address sort order
    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// @param tickSpacing The minimum number of ticks between initialized ticks
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 7 of 30 : ISolidlyV3Pool.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    import './pool/ISolidlyV3PoolImmutables.sol';
    import './pool/ISolidlyV3PoolState.sol';
    import './pool/ISolidlyV3PoolQuoter.sol';
    import './pool/ISolidlyV3PoolActions.sol';
    import './pool/ISolidlyV3PoolOwnerActions.sol';
    import './pool/ISolidlyV3PoolEvents.sol';
    /// @title The interface for a Solidly V3 Pool
    /// @notice A Solidly pool facilitates swapping and automated market making between any two assets that strictly conform
    /// to the ERC20 specification
    /// @dev The pool interface is broken up into many smaller pieces
    interface ISolidlyV3Pool is
    ISolidlyV3PoolImmutables,
    ISolidlyV3PoolState,
    ISolidlyV3PoolQuoter,
    ISolidlyV3PoolActions,
    ISolidlyV3PoolOwnerActions,
    ISolidlyV3PoolEvents
    {
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 8 of 30 : ISolidlyV3PoolDeployer.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title An interface for a contract that is capable of deploying Solidly V3 Pools
    /// @notice A contract that constructs a pool must implement this to pass arguments to the pool
    /// @dev This is used to avoid having constructor arguments in the pool contract, which results in the init code hash
    /// of the pool being constant allowing the CREATE2 address of the pool to be cheaply computed on-chain
    interface ISolidlyV3PoolDeployer {
    /// @notice Get the parameters to be used in constructing the pool, set transiently during pool creation.
    /// @dev Called by the pool constructor to fetch the parameters of the pool
    /// Returns factory The factory address
    /// Returns token0 The first token of the pool by address sort order
    /// Returns token1 The second token of the pool by address sort order
    /// Returns fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// Returns tickSpacing The minimum number of ticks between initialized ticks
    function parameters()
    external
    view
    returns (
    address factory,
    address token0,
    address token1,
    uint24 fee,
    int24 tickSpacing
    );
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 9 of 30 : ISolidlyV3PoolActions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Permissionless pool actions
    /// @notice Contains pool methods that can be called by anyone
    interface ISolidlyV3PoolActions {
    /// @notice Sets the initial price for the pool
    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96
    function initialize(uint160 sqrtPriceX96) external;
    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position
    /// Minimal (and cheapest) version with no callback or additional slippage/deadline protection
    /// @param recipient The address for which the liquidity will be created
    /// @param tickLower The lower tick of the position in which to add liquidity
    /// @param tickUpper The upper tick of the position in which to add liquidity
    /// @param amount The amount of liquidity to mint
    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity
    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity
    function mint(
    address recipient,
    int24 tickLower,
    int24 tickUpper,
    uint128 amount
    ) external returns (uint256 amount0, uint256 amount1);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 10 of 30 : ISolidlyV3PoolEvents.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Events emitted by a pool
    /// @notice Contains all events emitted by the pool
    interface ISolidlyV3PoolEvents {
    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool
    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize
    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96
    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool
    event Initialize(uint160 sqrtPriceX96, int24 tick);
    /// @notice Emitted when liquidity is minted for a given position
    /// @param sender The address that minted the liquidity
    /// @param owner The owner of the position and recipient of any minted liquidity
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity minted to the position range
    /// @param amount0 How much token0 was required for the minted liquidity
    /// @param amount1 How much token1 was required for the minted liquidity
    event Mint(
    address sender,
    address indexed owner,
    int24 indexed tickLower,
    int24 indexed tickUpper,
    uint128 amount,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 11 of 30 : ISolidlyV3PoolImmutables.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Pool state that never changes
    /// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
    interface ISolidlyV3PoolImmutables {
    /// @notice The contract that deployed the pool, which must adhere to the ISolidlyV3Factory interface
    /// @return The contract address
    function factory() external view returns (address);
    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);
    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);
    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    /// @return The tick spacing
    function tickSpacing() external view returns (int24);
    /// @notice The maximum amount of position liquidity that can use any tick in the range
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 12 of 30 : ISolidlyV3PoolOwnerActions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Permissioned pool actions
    /// @notice Contains pool methods that may only be called by the factory owner
    interface ISolidlyV3PoolOwnerActions {
    /// @notice Set the pool's trading fee (applied to input tokens on all swaps)
    /// @param fee new trading fee in hundredths of a bip, i.e. 1e-6
    function setFee(uint24 fee) external;
    /// @notice Collect the protocol fee accrued to the pool. All fees are to be collected only by
    /// the protocol's Reward Distributor, which processes claims for liquidity providers and protocol
    /// voters after verifying them against a periodically updated merkle root
    /// @param recipient The address to which collected protocol fees should be sent
    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1
    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0
    /// @return amount0 The protocol fee collected in token0
    /// @return amount1 The protocol fee collected in token1
    function collectProtocol(
    address recipient,
    uint128 amount0Requested,
    uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 13 of 30 : ISolidlyV3PoolQuoter.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Quoter Interface
    /// @notice Supports quoting the calculated amounts and resulting pool state from swaps
    interface ISolidlyV3PoolQuoter {
    /// @notice Returns the amounts in/out and resulting pool state for a swap without executing the swap
    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0
    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)
    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this
    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap
    /// @return amount0 The delta of the pool's balance of token0 that will result from the swap (exact when negative, minimum when positive)
    /// @return amount1 The delta of the pool's balance of token1 that will result from the swap (exact when negative, minimum when positive)
    /// @return sqrtPriceX96After The value the pool's sqrtPriceX96 will have after the swap
    /// @return tickAfter The value the pool's tick will have after the swap
    /// @return liquidityAfter The value the pool's liquidity will have after the swap
    function quoteSwap(
    bool zeroForOne,
    int256 amountSpecified,
    uint160 sqrtPriceLimitX96
    )
    external
    view
    returns (int256 amount0, int256 amount1, uint160 sqrtPriceX96After, int24 tickAfter, uint128 liquidityAfter);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 14 of 30 : ISolidlyV3PoolState.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Pool state that can change
    /// @notice These methods compose the pool's state, and can change with any frequency including multiple times
    /// per transaction
    interface ISolidlyV3PoolState {
    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
    /// when accessed externally.
    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.
    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
    /// boundary.
    /// fee The pool's current fee in hundredths of a bip, i.e. 1e-6
    /// unlocked Whether the pool is currently locked to reentrancy
    function slot0() external view returns (uint160 sqrtPriceX96, int24 tick, uint24 fee, bool unlocked);
    /// @notice The amounts of token0 and token1 that have accrued as pool fees
    /// @dev Pool fees will never exceed uint128 max in either token
    function poolFees() external view returns (uint128 token0, uint128 token1);
    /// @notice The currently in range liquidity available to the pool
    /// @dev This value has no relationship to the total liquidity across all ticks
    function liquidity() external view returns (uint128);
    /// @notice Look up information about a specific tick in the pool
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 15 of 30 : BitMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title BitMath
    /// @dev This library provides functionality for computing bit properties of an unsigned integer
    library BitMath {
    /// @notice Returns the index of the most significant bit of the number,
    /// where the least significant bit is at index 0 and the most significant bit is at index 255
    /// @dev The function satisfies the property:
    /// x >= 2**mostSignificantBit(x) and x < 2**(mostSignificantBit(x)+1)
    /// @param x the value for which to compute the most significant bit, must be greater than 0
    /// @return r the index of the most significant bit
    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {
    require(x > 0);
    if (x >= 0x100000000000000000000000000000000) {
    x >>= 128;
    r += 128;
    }
    if (x >= 0x10000000000000000) {
    x >>= 64;
    r += 64;
    }
    if (x >= 0x100000000) {
    x >>= 32;
    r += 32;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 16 of 30 : FixedPoint128.sol
    1
    2
    3
    4
    5
    6
    7
    8
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.4.0;
    /// @title FixedPoint128
    /// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)
    library FixedPoint128 {
    uint256 internal constant Q128 = 0x100000000000000000000000000000000;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 17 of 30 : FixedPoint96.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.4.0;
    /// @title FixedPoint96
    /// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)
    /// @dev Used in SqrtPriceMath.sol
    library FixedPoint96 {
    uint8 internal constant RESOLUTION = 96;
    uint256 internal constant Q96 = 0x1000000000000000000000000;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 18 of 30 : FullMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity >=0.4.0 <0.8.0;
    /// @title Contains 512-bit math functions
    /// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision
    /// @dev Handles "phantom overflow" i.e., allows multiplication and division where an intermediate value overflows 256 bits
    library FullMath {
    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv
    function mulDiv(
    uint256 a,
    uint256 b,
    uint256 denominator
    ) internal pure returns (uint256 result) {
    // 512-bit multiply [prod1 prod0] = a * b
    // Compute the product mod 2**256 and mod 2**256 - 1
    // then use the Chinese Remainder Theorem to reconstruct
    // the 512 bit result. The result is stored in two 256
    // variables such that product = prod1 * 2**256 + prod0
    uint256 prod0; // Least significant 256 bits of the product
    uint256 prod1; // Most significant 256 bits of the product
    assembly {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 19 of 30 : LiquidityMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Math library for liquidity
    library LiquidityMath {
    /// @notice Add a signed liquidity delta to liquidity and revert if it overflows or underflows
    /// @param x The liquidity before change
    /// @param y The delta by which liquidity should be changed
    /// @return z The liquidity delta
    function addDelta(uint128 x, int128 y) internal pure returns (uint128 z) {
    if (y < 0) {
    require((z = x - uint128(-y)) < x, 'LS');
    } else {
    require((z = x + uint128(y)) >= x, 'LA');
    }
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 20 of 30 : LowGasSafeMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.7.0;
    /// @title Optimized overflow and underflow safe math operations
    /// @notice Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost
    library LowGasSafeMath {
    /// @notice Returns x + y, reverts if sum overflows uint256
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
    require((z = x + y) >= x);
    }
    /// @notice Returns x - y, reverts if underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
    require((z = x - y) <= x);
    }
    /// @notice Returns x * y, reverts if overflows
    /// @param x The multiplicand
    /// @param y The multiplier
    /// @return z The product of x and y
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 21 of 30 : Position.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0 <0.8.0;
    import './FullMath.sol';
    import './FixedPoint128.sol';
    import './LiquidityMath.sol';
    /// @title Position
    /// @notice Positions represent an owner address' liquidity between a lower and upper tick boundary
    /// @dev Positions store additional state for tracking tokens owed to the position
    library Position {
    // info stored for each user's position
    struct Info {
    // the amount of liquidity owned by this position
    uint128 liquidity;
    // the tokens owed to the position owner in token0/token1
    uint128 tokensOwed0;
    uint128 tokensOwed1;
    }
    /// @notice Returns the Info struct of a position, given an owner and position boundaries
    /// @param self The mapping containing all user positions
    /// @param owner The address of the position owner
    /// @param tickLower The lower tick boundary of the position
    /// @param tickUpper The upper tick boundary of the position
    /// @return position The position info struct of the given owners' position
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 22 of 30 : SafeCast.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Safe casting methods
    /// @notice Contains methods for safely casting between types
    library SafeCast {
    /// @notice Cast a uint256 to a uint160, revert on overflow
    /// @param y The uint256 to be downcasted
    /// @return z The downcasted integer, now type uint160
    function toUint160(uint256 y) internal pure returns (uint160 z) {
    require((z = uint160(y)) == y);
    }
    /// @notice Cast a int256 to a int128, revert on overflow or underflow
    /// @param y The int256 to be downcasted
    /// @return z The downcasted integer, now type int128
    function toInt128(int256 y) internal pure returns (int128 z) {
    require((z = int128(y)) == y);
    }
    /// @notice Cast a uint256 to a int256, revert on overflow
    /// @param y The uint256 to be casted
    /// @return z The casted integer, now type int256
    function toInt256(uint256 y) internal pure returns (int256 z) {
    require(y < 2**255);
    z = int256(y);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 23 of 30 : SqrtPriceMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    import './LowGasSafeMath.sol';
    import './SafeCast.sol';
    import './FullMath.sol';
    import './UnsafeMath.sol';
    import './FixedPoint96.sol';
    /// @title Functions based on Q64.96 sqrt price and liquidity
    /// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas
    library SqrtPriceMath {
    using LowGasSafeMath for uint256;
    using SafeCast for uint256;
    /// @notice Gets the next sqrt price given a delta of token0
    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least
    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the
    /// price less in order to not send too much output.
    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),
    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).
    /// @param sqrtPX96 The starting price, i.e. before accounting for the token0 delta
    /// @param liquidity The amount of usable liquidity
    /// @param amount How much of token0 to add or remove from virtual reserves
    /// @param add Whether to add or remove the amount of token0
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 24 of 30 : SwapMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    import './FullMath.sol';
    import './SqrtPriceMath.sol';
    /// @title Computes the result of a swap within ticks
    /// @notice Contains methods for computing the result of a swap within a single tick price range, i.e., a single tick.
    library SwapMath {
    /// @notice Computes the result of swapping some amount in, or amount out, given the parameters of the swap
    /// @dev The fee, plus the amount in, will never exceed the amount remaining if the swap's `amountSpecified` is positive
    /// @param sqrtRatioCurrentX96 The current sqrt price of the pool
    /// @param sqrtRatioTargetX96 The price that cannot be exceeded, from which the direction of the swap is inferred
    /// @param liquidity The usable liquidity
    /// @param amountRemaining How much input or output amount is remaining to be swapped in/out
    /// @param feePips The fee taken from the input amount, expressed in hundredths of a bip
    /// @return sqrtRatioNextX96 The price after swapping the amount in/out, not to exceed the price target
    /// @return amountIn The amount to be swapped in, of either token0 or token1, based on the direction of the swap
    /// @return amountOut The amount to be received, of either token0 or token1, based on the direction of the swap
    /// @return feeAmount The amount of input that will be taken as a fee
    function computeSwapStep(
    uint160 sqrtRatioCurrentX96,
    uint160 sqrtRatioTargetX96,
    uint128 liquidity,
    int256 amountRemaining,
    uint24 feePips
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 25 of 30 : Tick.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0 <0.8.0;
    import './LowGasSafeMath.sol';
    import './SafeCast.sol';
    import './TickMath.sol';
    import './LiquidityMath.sol';
    /// @title Tick
    /// @notice Contains functions for managing tick processes and relevant calculations
    library Tick {
    using LowGasSafeMath for int256;
    using SafeCast for int256;
    // info stored for each initialized individual tick
    struct Info {
    // the total position liquidity that references this tick
    uint128 liquidityGross;
    // amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left),
    int128 liquidityNet;
    // true iff the tick is initialized, i.e. the value is exactly equivalent to the expression liquidityGross != 0
    // these 8 bits are set to prevent fresh sstores when crossing newly initialized ticks
    bool initialized;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 26 of 30 : TickBitmap.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    import './BitMath.sol';
    /// @title Packed tick initialized state library
    /// @notice Stores a packed mapping of tick index to its initialized state
    /// @dev The mapping uses int16 for keys since ticks are represented as int24 and there are 256 (2^8) values per word.
    library TickBitmap {
    /// @notice Computes the position in the mapping where the initialized bit for a tick lives
    /// @param tick The tick for which to compute the position
    /// @return wordPos The key in the mapping containing the word in which the bit is stored
    /// @return bitPos The bit position in the word where the flag is stored
    function position(int24 tick) private pure returns (int16 wordPos, uint8 bitPos) {
    wordPos = int16(tick >> 8);
    bitPos = uint8(tick % 256);
    }
    /// @notice Flips the initialized state for a given tick from false to true, or vice versa
    /// @param self The mapping in which to flip the tick
    /// @param tick The tick to flip
    /// @param tickSpacing The spacing between usable ticks
    function flipTick(
    mapping(int16 => uint256) storage self,
    int24 tick,
    int24 tickSpacing
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 27 of 30 : TickMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0 <0.8.0;
    /// @title Math library for computing sqrt prices from ticks and vice versa
    /// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports
    /// prices between 2**-128 and 2**128
    library TickMath {
    /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128
    int24 internal constant MIN_TICK = -887272;
    /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128
    int24 internal constant MAX_TICK = -MIN_TICK;
    /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
    uint160 internal constant MIN_SQRT_RATIO = 4295128739;
    /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
    uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;
    /// @notice Calculates sqrt(1.0001^tick) * 2^96
    /// @dev Throws if |tick| > max tick
    /// @param tick The input tick for the above formula
    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)
    /// at the given tick
    function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {
    uint256 absTick = tick < 0 ? uint256(-int256(tick)) : uint256(int256(tick));
    require(absTick <= uint256(MAX_TICK), 'T');
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 28 of 30 : TransferHelper.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.6.0;
    import '../interfaces/IERC20Minimal.sol';
    /// @title TransferHelper
    /// @notice Contains helper methods for interacting with ERC20 tokens that do not consistently return true/false
    library TransferHelper {
    /// @notice Transfers tokens from the targeted address to the given destination
    /// @notice Errors with 'TF' if transfer fails
    /// @param token The contract address of the token to be transferred
    /// @param from The originating address from which the tokens will be transferred
    /// @param to The destination address of the transfer
    /// @param value The amount to be transferred
    function safeTransferFrom(address token, address from, address to, uint256 value) internal {
    (bool success, bytes memory data) = token.call(
    abi.encodeWithSelector(IERC20Minimal.transferFrom.selector, from, to, value)
    );
    require(success && (data.length == 0 || abi.decode(data, (bool))), 'TF');
    }
    /// @notice Transfers tokens from msg.sender to a recipient
    /// @dev Calls transfer on token contract, errors with TF if transfer fails
    /// @param token The contract address of the token which will be transferred
    /// @param to The recipient of the transfer
    /// @param value The value of the transfer
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 29 of 30 : UnsafeMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Math functions that do not check inputs or outputs
    /// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks
    library UnsafeMath {
    /// @notice Returns ceil(x / y)
    /// @dev division by 0 has unspecified behavior, and must be checked externally
    /// @param x The dividend
    /// @param y The divisor
    /// @return z The quotient, ceil(x / y)
    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {
    assembly {
    z := add(div(x, y), gt(mod(x, y), 0))
    }
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 30 of 30 : Validation.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0 <0.8.0;
    abstract contract Validation {
    modifier checkDeadline(uint256 deadline) {
    require(block.timestamp <= deadline, 'TO');
    _;
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Settings
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    {
    "optimizer": {
    "enabled": true,
    "runs": 800
    },
    "metadata": {
    "bytecodeHash": "none"
    },
    "outputSelection": {
    "*": {
    "*": [
    "evm.bytecode",
    "evm.deployedBytecode",
    "devdoc",
    "userdoc",
    "metadata",
    "abi"
    ]
    }
    },
    "libraries": {}
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Contract Security Audit

    Contract ABI

    API
    [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"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":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount0","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount1","type":"uint128"}],"name":"Collect","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount0","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount1","type":"uint128"}],"name":"CollectProtocol","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"},{"indexed":false,"internalType":"uint256","name":"paid0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paid1","type":"uint256"}],"name":"Flash","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint24","name":"feeOld","type":"uint24"},{"indexed":false,"internalType":"uint24","name":"feeNew","type":"uint24"}],"name":"SetFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"int256","name":"amount0","type":"int256"},{"indexed":false,"internalType":"int256","name":"amount1","type":"int256"},{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Swap","type":"event"},{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint256","name":"amount0Min","type":"uint256"},{"internalType":"uint256","name":"amount1Min","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amountToBurn","type":"uint128"},{"internalType":"uint128","name":"amount0ToCollect","type":"uint128"},{"internalType":"uint128","name":"amount1ToCollect","type":"uint128"}],"name":"burnAndCollect","outputs":[{"internalType":"uint256","name":"amount0FromBurn","type":"uint256"},{"internalType":"uint256","name":"amount1FromBurn","type":"uint256"},{"internalType":"uint128","name":"amount0Collected","type":"uint128"},{"internalType":"uint128","name":"amount1Collected","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amountToBurn","type":"uint128"},{"internalType":"uint256","name":"amount0FromBurnMin","type":"uint256"},{"internalType":"uint256","name":"amount1FromBurnMin","type":"uint256"},{"internalType":"uint128","name":"amount0ToCollect","type":"uint128"},{"internalType":"uint128","name":"amount1ToCollect","type":"uint128"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"burnAndCollect","outputs":[{"internalType":"uint256","name":"amount0FromBurn","type":"uint256"},{"internalType":"uint256","name":"amount1FromBurn","type":"uint256"},{"internalType":"uint128","name":"amount0Collected","type":"uint128"},{"internalType":"uint128","name":"amount1Collected","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount0Requested","type":"uint128"},{"internalType":"uint128","name":"amount1Requested","type":"uint128"}],"name":"collect","outputs":[{"internalType":"uint128","name":"amount0","type":"uint128"},{"internalType":"uint128","name":"amount1","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint128","name":"amount0Requested","type":"uint128"},{"internalType":"uint128","name":"amount1Requested","type":"uint128"}],"name":"collectProtocol","outputs":[{"internalType":"uint128","name":"amount0","type":"uint128"},{"internalType":"uint128","name":"amount1","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidity","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiquidityPerTick","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint256","name":"amount0Min","type":"uint256"},{"internalType":"uint256","name":"amount1Min","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint256","name":"amount0Min","type":"uint256"},{"internalType":"uint256","name":"amount1Min","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"poolFees","outputs":[{"internalType":"uint128","name":"token0","type":"uint128"},{"internalType":"uint128","name":"token1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"positions","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint128","name":"tokensOwed0","type":"uint128"},{"internalType":"uint128","name":"tokensOwed1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"name":"quoteSwap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"uint160","name":"sqrtPriceX96After","type":"uint160"},{"internalType":"int24","name":"tickAfter","type":"int24"},{"internalType":"uint128","name":"liquidityAfter","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slot0","outputs":[{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"uint256","name":"amountLimit","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"uint256","name":"amountLimit","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"trackingCode","type":"uint256"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"uint256","name":"trackingCode","type":"uint256"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"uint256","name":"amountLimit","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"uint256","name":"amountLimit","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"trackingCode","type":"uint256"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"trackingCode","type":"uint256"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int16","name":"","type":"int16"}],"name":"tickBitmap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"","type":"int24"}],"name":"ticks","outputs":[{"internalType":"uint128","name":"liquidityGross","type":"uint128"},{"internalType":"int128","name":"liquidityNet","type":"int128"},{"internalType":"bool","name":"initialized","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

    Deployed Bytecode

    0x608060405234801561001057600080fd5b506004361061020b5760003560e01c806375d39ecb1161012a578063b6dc010d116100bd578063d0c93a7c1161008c578063eabb562211610071578063eabb562214610c2e578063f30dba9314610c50578063f637731d14610c9d5761020b565b8063d0c93a7c14610c07578063d21220a714610c265761020b565b8063b6dc010d14610b0d578063b8cca34e14610b7a578063c31b8d7a14610bc3578063c45a015514610bff5761020b565b80639c421449116100f95780639c42144914610963578063a23ba09c146109ed578063a34123a714610a3d578063b034430414610a775761020b565b806375d39ecb146107ca57806382cee55c1461081457806385b667291461086f57806393ffcbb8146108ac5761020b565b8063460985e8116101a25780635339c296116101715780635339c296146106d15780635d41514b146107035780637074d2df1461077657806370cf754a146107c25761020b565b8063460985e814610566578063490e6cbc146105aa5780634f1eb3d814610638578063514ea4bf146106895761020b565b806333580959116101de57806333580959146103a95780633850c7bd146103e05780633c8a7d8d146104215780633f442864146104c35761020b565b80630c033b9b146102105780630dfe1681146102cb578063128acb08146102ef5780631a68650214610385575b600080fd5b6102b2600480360360e081101561022657600080fd5b6001600160a01b03823581169260208101351515926040820135926060830135169160808101359160a0820135919081019060e0810160c082013564010000000081111561027357600080fd5b82018360208201111561028557600080fd5b803590602001918460018302840111640100000000831117156102a757600080fd5b509092509050610cc3565b6040805192835260208301919091528051918290030190f35b6102d3610da7565b604080516001600160a01b039092168252519081900360200190f35b6102b2600480360360a081101561030557600080fd5b6001600160a01b0382358116926020810135151592604082013592606083013516919081019060a08101608082013564010000000081111561034657600080fd5b82018360208201111561035857600080fd5b8035906020019184600183028401116401000000008311171561037a57600080fd5b509092509050610dcb565b61038d610deb565b604080516001600160801b039092168252519081900360200190f35b6103b1610dfa565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b6103e8610e14565b604080516001600160a01b03909516855260029390930b602085015262ffffff9091168383015215156060830152519081900360800190f35b6102b2600480360360a081101561043757600080fd5b6001600160a01b03823516916020810135600290810b92604083013590910b916001600160801b036060820135169181019060a08101608082013564010000000081111561048457600080fd5b82018360208201111561049657600080fd5b803590602001918460018302840111640100000000831117156104b857600080fd5b509092509050610e47565b6102b260048036036101008110156104da57600080fd5b6001600160a01b03823581169260208101351515926040820135926060830135169160808101359160a0820135919081019060e0810160c082013564010000000081111561052757600080fd5b82018360208201111561053957600080fd5b8035906020019184600183028401116401000000008311171561055b57600080fd5b919350915035610e58565b6102b2600480360360a081101561057c57600080fd5b506001600160a01b038135811691602081013515159160408201359160608101359091169060800135610f3d565b610636600480360360808110156105c057600080fd5b6001600160a01b0382351691602081013591604082013591908101906080810160608201356401000000008111156105f757600080fd5b82018360208201111561060957600080fd5b8035906020019184600183028401116401000000008311171561062b57600080fd5b509092509050610f5a565b005b6103b1600480360360a081101561064e57600080fd5b506001600160a01b03813516906020810135600290810b91604081013590910b906001600160801b03606082013581169160800135166112be565b6106a66004803603602081101561069f57600080fd5b50356112ce565b604080516001600160801b039485168152928416602084015292168183015290519081900360600190f35b6106f1600480360360208110156106e757600080fd5b503560010b6112fe565b60408051918252519081900360200190f35b6107376004803603606081101561071957600080fd5b508035151590602081013590604001356001600160a01b0316611310565b6040805195865260208601949094526001600160a01b039092168484015260020b60608401526001600160801b03166080830152519081900360a00190f35b6102b2600480360360c081101561078c57600080fd5b508035600290810b91602081013590910b906001600160801b036040820135169060608101359060808101359060a001356117e6565b61038d611886565b6102b2600480360360c08110156107e057600080fd5b506001600160a01b038135811691602081013515159160408201359160608101359091169060808101359060a001356118aa565b6102b2600480360360e081101561082a57600080fd5b506001600160a01b03813516906020810135600290810b91604081013590910b906001600160801b036060820135169060808101359060a08101359060c0013561197e565b6103b16004803603606081101561088557600080fd5b506001600160a01b03813516906001600160801b0360208201358116916040013516611a20565b6102b260048036036101008110156108c357600080fd5b6001600160a01b03823516916020810135600290810b92604083013590910b916001600160801b036060820135169160808201359160a08101359160c08201359190810190610100810160e082013564010000000081111561092457600080fd5b82018360208201111561093657600080fd5b8035906020019184600183028401116401000000008311171561095857600080fd5b509092509050611d1c565b6109be600480360360c081101561097957600080fd5b506001600160a01b03813516906020810135600290810b91604081013590910b906001600160801b036060820135811691608081013582169160a09091013516611db3565b6040805194855260208501939093526001600160801b0391821684840152166060830152519081900360800190f35b6102b2600480360360e0811015610a0357600080fd5b506001600160a01b038135811691602081013515159160408201359160608101359091169060808101359060a08101359060c00135611de9565b6102b260048036036060811015610a5357600080fd5b508035600290810b91602081013590910b90604001356001600160801b0316611ebd565b6102b2600480360360c0811015610a8d57600080fd5b6001600160a01b0382358116926020810135151592604082013592606083013516919081019060a081016080820135640100000000811115610ace57600080fd5b820183602082011115610ae057600080fd5b80359060200191846001830284011164010000000083111715610b0257600080fd5b919350915035611ed7565b6109be6004803603610120811015610b2457600080fd5b506001600160a01b03813516906020810135600290810b91604081013590910b906001600160801b03606082013581169160808101359160a08201359160c081013582169160e082013516906101000135611ef8565b6102b260048036036080811015610b9057600080fd5b5080356001600160a01b0316906020810135600290810b91604081013590910b90606001356001600160801b0316611fb3565b6102b260048036036080811015610bd957600080fd5b506001600160a01b03813581169160208101351515916040820135916060013516611fcf565b6102d3611fde565b610c0f612002565b6040805160029290920b8252519081900360200190f35b6102d3612026565b61063660048036036020811015610c4457600080fd5b503562ffffff1661204a565b610c7060048036036020811015610c6657600080fd5b503560020b612210565b604080516001600160801b039094168452600f9290920b6020840152151582820152519081900360600190f35b61063660048036036020811015610cb357600080fd5b50356001600160a01b0316612242565b6000808480421115610d01576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b610d0f8b8b8b8b8989612396565b90935091508915610d5c5786826000031015610d57576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b610d99565b86836000031015610d99576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b509850989650505050505050565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b600080610ddc888888888888612396565b90999098509650505050505050565b6002546001600160801b031681565b6001546001600160801b0380821691600160801b90041682565b6000546001600160a01b03811690600160a01b810460020b90600160b81b810462ffffff1690600160d01b900460ff1684565b600080610ddc888888888888612628565b6000808580421115610e96576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b610ea48c8c8c8c8a8a612396565b90935091508a15610ef15787826000031015610eec576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b610f2e565b87836000031015610f2e576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b50995099975050505050505050565b600080610f4c878787876128e4565b909890975095505050505050565b600054600160d01b900460ff16610f9e576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b6000805460ff60d01b191690556002546001600160801b031680610fed576040805162461bcd60e51b81526020600482015260016024820152601360fa1b604482015290519081900360640190fd5b6000805461100c908790600160b81b900462ffffff16620f42406129f9565b600080549192509061102f908790600160b81b900462ffffff16620f42406129f9565b9050600061103b612a34565b90506000611047612b6d565b9050881561107a5761107a7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad388b8b612c05565b87156110ab576110ab7f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd8b8a612c05565b336001600160a01b0316634040682085858a8a6040518563ffffffff1660e01b815260040180858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b15801561112d57600080fd5b505af1158015611141573d6000803e3d6000fd5b50505050600061114f612a34565b9050600061115b612b6d565b9050816111688588612d53565b11156111a0576040805162461bcd60e51b8152602060048201526002602482015261046360f41b604482015290519081900360640190fd5b806111ab8487612d53565b11156111e3576040805162461bcd60e51b8152602060048201526002602482015261463160f01b604482015290519081900360640190fd5b838203838203811561121157600180546001600160801b038082168501166001600160801b03199091161790555b801561123857600180546001600160801b03600160801b8083048216850182160291161790555b8d6001600160a01b0316336001600160a01b03167fbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca6338f8f86866040518085815260200184815260200183815260200182815260200194505050505060405180910390a350506000805460ff60d01b1916600160d01b179055505050505050505050505050565b600080610f4c8787878787612d69565b600560205260009081526040902080546001909101546001600160801b0380831692600160801b90048116911683565b60046020526000908152604090205481565b6000808080808661134d576040805162461bcd60e51b8152602060048201526002602482015261415360f01b604482015290519081900360640190fd5b604080516080810182526000546001600160a01b0381168252600160a01b8104600290810b810b900b6020830152600160b81b810462ffffff1692820192909252600160d01b90910460ff1615156060820152886113eb5780600001516001600160a01b0316876001600160a01b03161180156113e6575073fffd8963efd1fc6a506488495d951d5263988d266001600160a01b038816105b61141d565b80600001516001600160a01b0316876001600160a01b031610801561141d57506401000276a36001600160a01b038816115b611454576040805162461bcd60e51b815260206004820152600360248201526214d41360ea1b604482015290519081900360640190fd5b600280546040805160c0810182528b81526000602080830182905286516001600160a01b0316938301939093529185015190930b60608401526001600160801b039091166080830181905260a0830182905291908a13905b8051158015906114d25750896001600160a01b031681604001516001600160a01b031614155b1561179a576114df6151fc565b816040015181600001906001600160a01b031690816001600160a01b03168152505061153d82606001517f00000000000000000000000000000000000000000000000000000000000000648f6004612f78909392919063ffffffff16565b15156040830152600290810b810b60208301819052620d89e719910b121561156e57620d89e719602082015261158d565b6020810151620d89e860029190910b131561158d57620d89e860208201525b61159a81602001516130ba565b6001600160a01b03166060820152604082015161160f908e6115d4578c6001600160a01b031683606001516001600160a01b0316116115ee565b8c6001600160a01b031683606001516001600160a01b0316105b6115fc5782606001516115fe565b8c5b6080850151855160408a01516133ec565b60c085015260a084015260808301526001600160a01b031660408301528215611671576116458160c001518260800151016135de565b825103825260a08101516116679061165c906135de565b6020840151906135f4565b60208301526116ac565b61167e8160a001516135de565b825101825260c081015160808201516116a69161169b91016135de565b60208401519061360a565b60208301525b60c081015160a0830180519091016001600160801b03169052606081015160408301516001600160a01b0391821691161415611759578060400151156117305760006117068260200151600361362090919063ffffffff16565b90508d15611712576000035b611720836080015182613644565b6001600160801b03166080840152505b8c61173f578060200151611748565b60018160200151035b600290810b900b6060830152611794565b80600001516001600160a01b031682604001516001600160a01b0316146117945761178782604001516136fa565b600290810b900b60608301525b506114ac565b8115158c1515146117b357602081015181518c036117c0565b80600001518b0381602001515b60408301516060840151608090940151929f919e509c50919a5098509650505050505050565b6000808280421115611824576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b61182f898989613a26565b90935091508583108015906118445750848210155b61187a576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b50965096945050505050565b7f000000000000000000000000000000000003b1762b13ec52766279d8d8a13b4e81565b60008082804211156118e8576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b6118f4898989896128e4565b90935091508715611941578482600003101561193c576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b61187a565b8483600003101561187a576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b60008082804211156119bc576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b6119c88a8a8a8a613ba2565b90935091508583108015906119dd5750848210155b611a13576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b5097509795505050505050565b600080548190600160d01b900460ff16611a67576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b6000805460ff60d01b19169055604080516331056e5760e21b8152905133917f000000000000000000000000777faca731b17e8847ebf175c94dbe9d81a8f6306001600160a01b03169163c415b95c91600480820192602092909190829003018186803b158015611ad757600080fd5b505afa158015611aeb573d6000803e3d6000fd5b505050506040513d6020811015611b0157600080fd5b50516001600160a01b031614611b43576040805162461bcd60e51b8152602060048201526002602482015261554160f01b604482015290519081900360640190fd5b6001546001600160801b0390811690851611611b5f5783611b6c565b6001546001600160801b03165b6001549092506001600160801b03600160801b909104811690841611611b925782611ba6565b600154600160801b90046001600160801b03165b90506001600160801b03821615611c27576001546001600160801b0383811691161415611bd557600019909101905b600180546001600160801b031981166001600160801b03918216859003821617909155611c27907f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad389087908516612c05565b6001600160801b03811615611cad576001546001600160801b03828116600160801b909204161415611c5857600019015b600180546001600160801b03600160801b808304821685900382160291811691909117909155611cad907f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd9087908416612c05565b604080516001600160801b0380851682528316602082015281516001600160a01b0388169233927f596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151929081900390910190a36000805460ff60d01b1916600160d01b1790559094909350915050565b6000808480421115611d5a576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b611d688c8c8c8c8989612628565b9093509150878310801590611d7d5750868210155b610f2e576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b600080600080611dc4898989613a26565b9094509250611dd68a8a8a8989612d69565b949b939a50985092965090945050505050565b6000808380421115611e27576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b611e338a8a8a8a6128e4565b90935091508815611e805785826000031015611e7b576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b611a13565b85836000031015611a13576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b600080611ecb858585613a26565b90969095509350505050565b600080611ee8898989898989612396565b909a909950975050505050505050565b6000806000808480421115611f39576040805162461bcd60e51b8152602060048201526002602482015261544f60f01b604482015290519081900360640190fd5b611f448d8d8d613a26565b9095509350898510801590611f595750888410155b611f8f576040805162461bcd60e51b8152602060048201526002602482015261105360f21b604482015290519081900360640190fd5b611f9c8e8e8e8b8b612d69565b959f949e509c50939a509198505050505050505050565b600080611fc286868686613ba2565b9097909650945050505050565b600080611fc2868686866128e4565b7f000000000000000000000000777faca731b17e8847ebf175c94dbe9d81a8f63081565b7f000000000000000000000000000000000000000000000000000000000000006481565b7f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd81565b600054600160d01b900460ff1661208e576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b6000805460ff60d01b191690556040805163bc8520d360e01b815233600482015290516001600160a01b037f000000000000000000000000777faca731b17e8847ebf175c94dbe9d81a8f630169163bc8520d3916024808301926020929190829003018186803b15801561210157600080fd5b505afa158015612115573d6000803e3d6000fd5b505050506040513d602081101561212b57600080fd5b5051600114612166576040805162461bcd60e51b8152602060048201526002602482015261554160f01b604482015290519081900360640190fd5b620186a08162ffffff16111561217b57600080fd5b6000805462ffffff838116600160b81b8181027fffffffffffff000000ffffffffffffffffffffffffffffffffffffffffffffff8516179094556040805194909304919091168084526020840191909152815190927f0eb63f4a36d6bdeee05aa00020a97d80c3e84f1b5b3ebf345fb67262e62b0f3392908290030190a150506000805460ff60d01b1916600160d01b179055565b600360205260009081526040902080546001909101546001600160801b03821691600160801b9004600f0b9060ff1683565b6000546001600160a01b031615612285576040805162461bcd60e51b8152602060048201526002602482015261414960f01b604482015290519081900360640190fd5b6000612290826136fa565b6000805460ff60d01b19600284900b62ffffff8116600160a01b0262ffffff60a01b196001600160a01b03891673ffffffffffffffffffffffffffffffffffffffff199095168517161791909116600160d01b1790925560408051918252602082019290925281519293507f98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95929081900390910190a15050565b60008082600281900b620d89e7198161233f57fe5b05029050600083600281900b620d89e88161235657fe5b0502905060008460020b83830360020b8161236d57fe5b0560010190508062ffffff166001600160801b0380168161238a57fe5b0493505050505b919050565b6000806123a588888888613d43565b909250905086156124de5760008112156123e7576123e77f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd8983600003612c05565b60006123f1612a34565b9050336001600160a01b0316633a1c453c848488886040518563ffffffff1660e01b815260040180858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b15801561247557600080fd5b505af1158015612489573d6000803e3d6000fd5b50505050612495612a34565b61249f8285612d53565b11156124d8576040805162461bcd60e51b815260206004820152600360248201526249494160e81b604482015290519081900360640190fd5b50612608565b6000821215612515576125157f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad388984600003612c05565b600061251f612b6d565b9050336001600160a01b0316633a1c453c848488886040518563ffffffff1660e01b815260040180858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b1580156125a357600080fd5b505af11580156125b7573d6000803e3d6000fd5b505050506125c3612b6d565b6125cd8284612d53565b1115612606576040805162461bcd60e51b815260206004820152600360248201526249494160e81b604482015290519081900360640190fd5b505b6000805460ff60d01b1916600160d01b1790559097909650945050505050565b600080548190600160d01b900460ff1661266f576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b6000805460ff60d01b191690556001600160801b03851661268f57600080fd5b6000806126dd60405180608001604052808c6001600160a01b031681526020018b60020b81526020018a60020b81526020016126d38a6001600160801b031661440d565b600f0b905261441e565b925092505081935080925060008060008611156126ff576126fc612a34565b91505b84156127105761270d612b6d565b90505b336001600160a01b0316634ced80a387878b8b6040518563ffffffff1660e01b815260040180858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b15801561279257600080fd5b505af11580156127a6573d6000803e3d6000fd5b5050505060008611156127fd576127bb612a34565b6127c58388612d53565b11156127fd576040805162461bcd60e51b815260206004820152600260248201526104d360f41b604482015290519081900360640190fd5b841561284d5761280b612b6d565b6128158287612d53565b111561284d576040805162461bcd60e51b81526020600482015260026024820152614d3160f01b604482015290519081900360640190fd5b8960020b8b60020b8d6001600160a01b03167f7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde338d8b8b60405180856001600160a01b03168152602001846001600160801b0316815260200183815260200182815260200194505050505060405180910390a450506000805460ff60d01b1916600160d01b17905550919890975095505050505050565b6000806128f386868686613d43565b9092509050841561296f576000821315612933576129337f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad383330856145c8565b600081121561296a5761296a7f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd8783600003612c05565b6129db565b60008113156129a4576129a47f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd3330846145c8565b60008212156129db576129db7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad388784600003612c05565b6000805460ff60d01b1916600160d01b179055909590945092505050565b6000612a0684848461471f565b905060008280612a1257fe5b8486091115612a2d576000198110612a2957600080fd5b6001015b9392505050565b604080513060248083019190915282518083039091018152604490910182526020810180516001600160e01b03166370a0823160e01b17815291518151600093849384936001600160a01b037f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad381693919290918291908083835b60208310612acd5780518252601f199092019160209182019101612aae565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114612b2d576040519150601f19603f3d011682016040523d82523d6000602084013e612b32565b606091505b5091509150818015612b4657506020815110155b612b4f57600080fd5b808060200190516020811015612b6457600080fd5b50519250505090565b604080513060248083019190915282518083039091018152604490910182526020810180516001600160e01b03166370a0823160e01b17815291518151600093849384936001600160a01b037f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd16939192909182919080838360208310612acd5780518252601f199092019160209182019101612aae565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1781529251825160009485949389169392918291908083835b60208310612c815780518252601f199092019160209182019101612c62565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612ce3576040519150601f19603f3d011682016040523d82523d6000602084013e612ce8565b606091505b5091509150818015612d16575080511580612d165750808060200190516020811015612d1357600080fd5b50515b612d4c576040805162461bcd60e51b81526020600482015260026024820152612a2360f11b604482015290519081900360640190fd5b5050505050565b80820182811015612d6357600080fd5b92915050565b600080548190600160d01b900460ff16612db0576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b6000805460ff60d01b19168155612dca60053389896147ce565b80549091506001600160801b03600160801b909104811690861611612def5784612e02565b8054600160801b90046001600160801b03165b60018201549093506001600160801b0390811690851611612e235783612e32565b60018101546001600160801b03165b91506001600160801b03831615612e955780546001600160801b03600160801b8083048216869003821602918116919091178255612e95907f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38908a908616612c05565b6001600160801b03821615612ef8576001810180546001600160801b031981166001600160801b03918216859003821617909155612ef8907f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd908a908516612c05565b604080516001600160a01b038a1681526001600160801b0380861660208301528416818301529051600288810b92908a900b9133917f70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0919081900360600190a4506000805460ff60d01b1916600160d01b17905590969095509350505050565b60008060008460020b8660020b81612f8c57fe5b05905060008660020b128015612fb357508460020b8660020b81612fac57fe5b0760020b15155b15612fbd57600019015b831561303257600080612fcf83614832565b600182810b810b600090815260208d9052604090205460ff83169190911b8001600019019081168015159750929450909250908561301457888360ff16860302613027565b8861301e82614844565b840360ff168603025b9650505050506130b0565b60008061304183600101614832565b91509150600060018260ff166001901b031990506000818b60008660010b60010b815260200190815260200160002054169050806000141595508561309357888360ff0360ff168660010101026130a9565b888361309e836148e4565b0360ff168660010101025b9650505050505b5094509492505050565b60008060008360020b126130d1578260020b6130d9565b8260020b6000035b9050620d89e8811115613117576040805162461bcd60e51b81526020600482015260016024820152601560fa1b604482015290519081900360640190fd5b60006001821661312b57600160801b61313d565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff1690506002821615613171576ffff97272373d413259a46990580e213a0260801c5b6004821615613190576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b60088216156131af576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b60108216156131ce576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156131ed576fff973b41fa98c081472e6896dfb254c00260801c5b604082161561320c576fff2ea16466c96a3843ec78b326b528610260801c5b608082161561322b576ffe5dee046a99a2a811c461f1969c30530260801c5b61010082161561324b576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b61020082161561326b576ff987a7253ac413176f2b074cf7815e540260801c5b61040082161561328b576ff3392b0822b70005940c7a398e4b70f30260801c5b6108008216156132ab576fe7159475a2c29b7443b29c7fa6e889d90260801c5b6110008216156132cb576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156132eb576fa9f746462d870fdf8a65dc1f90e061e50260801c5b61400082161561330b576f70d869a156d2a1b890bb3df62baf32f70260801c5b61800082161561332b576f31be135f97d08fd981231505542fcfa60260801c5b6201000082161561334c576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b6202000082161561336c576e5d6af8dedb81196699c329225ee6040260801c5b6204000082161561338b576d2216e584f5fa1ea926041bedfe980260801c5b620800008216156133a8576b048a170391f7dc42444e8fa20260801c5b60008460020b13156133c35780600019816133bf57fe5b0490505b6401000000008106156133d75760016133da565b60005b60ff16602082901c0192505050919050565b60008080806001600160a01b03808916908a1610158187128015906134715760006134258989620f42400362ffffff16620f424061471f565b90508261343e576134398c8c8c60016149ce565b61344b565b61344b8b8d8c6001614a49565b955085811061345c578a965061346b565b6134688c8b8386614b06565b96505b506134bb565b81613488576134838b8b8b6000614a49565b613495565b6134958a8c8b60006149ce565b93508388600003106134a9578995506134bb565b6134b88b8a8a60000385614b52565b95505b6001600160a01b038a811690871614821561351e578080156134da5750815b6134f0576134eb878d8c6001614a49565b6134f2565b855b95508080156134ff575081155b61351557613510878d8c60006149ce565b613517565b845b9450613568565b8080156135285750815b61353e576135398c888c60016149ce565b613540565b855b955080801561354d575081155b6135635761355e8c888c6000614a49565b613565565b845b94505b8115801561357857508860000385115b15613584578860000394505b8180156135a357508a6001600160a01b0316876001600160a01b031614155b156135b25785890393506135cf565b6135cc868962ffffff168a620f42400362ffffff166129f9565b93505b50505095509550955095915050565b6000600160ff1b82106135f057600080fd5b5090565b80820382811315600083121514612d6357600080fd5b81810182811215600083121514612d6357600080fd5b600290810b900b60009081526020919091526040902054600160801b9004600f0b90565b60008082600f0b12156136a957826001600160801b03168260000384039150816001600160801b0316106136a4576040805162461bcd60e51b81526020600482015260026024820152614c5360f01b604482015290519081900360640190fd5b612d63565b826001600160801b03168284019150816001600160801b03161015612d63576040805162461bcd60e51b81526020600482015260026024820152614c4160f01b604482015290519081900360640190fd5b60006401000276a36001600160a01b03831610801590613736575073fffd8963efd1fc6a506488495d951d5263988d266001600160a01b038316105b61376b576040805162461bcd60e51b81526020600482015260016024820152602960f91b604482015290519081900360640190fd5b77ffffffffffffffffffffffffffffffffffffffff00000000602083901b166001600160801b03811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c9790881196179094179092171790911717176080811061380c57607f810383901c9150613816565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d607f198f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581026f028f6481ab7f045a5af012a19d003aa9198101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b14613a1757886001600160a01b03166139fb826130ba565b6001600160a01b03161115613a105781613a12565b805b613a19565b815b9998505050505050505050565b600080548190600160d01b900460ff16613a6d576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b6000805460ff60d01b1916815560408051608081018252338152600288810b602083015287900b9181019190915281908190613ac69060608101613ab96001600160801b038a1661440d565b600003600f0b905261441e565b9250925092508160000394508060000393506000851180613ae75750600084115b15613b2b5782546001840180546001600160801b03818116880181166001600160801b031990921691909117909155600160801b8083048216880182160291161783555b604080516001600160801b0388168152602081018790528082018690529051600289810b92908b900b9133917f0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c919081900360600190a450506000805460ff60d01b1916600160d01b179055509094909350915050565b600080548190600160d01b900460ff16613be9576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b6000805460ff60d01b191690556001600160801b038316613c0957600080fd5b600080613c4d60405180608001604052808a6001600160a01b031681526020018960020b81526020018860020b81526020016126d3886001600160801b031661440d565b9095509350849250839150508115613c8b57613c8b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad383330876145c8565b8215613cbd57613cbd7f000000000000000000000000777cf5ba9c291a1a8f57ff14836f6f9dc5c0f9dd3330866145c8565b604080513381526001600160801b0387166020820152808201869052606081018590529051600288810b92908a900b916001600160a01b038c16917f7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde919081900360800190a450506000805460ff60d01b1916600160d01b179055909590945092505050565b60008083613d7d576040805162461bcd60e51b8152602060048201526002602482015261415360f01b604482015290519081900360640190fd5b604080516080810182526000546001600160a01b0381168252600160a01b8104600290810b810b900b6020830152600160b81b810462ffffff1692820192909252600160d01b90910460ff16151560608201819052613e09576040805162461bcd60e51b81526020600482015260036024820152624c4f4b60e81b604482015290519081900360640190fd5b85613e545780600001516001600160a01b0316846001600160a01b0316118015613e4f575073fffd8963efd1fc6a506488495d951d5263988d266001600160a01b038516105b613e86565b80600001516001600160a01b0316846001600160a01b0316108015613e8657506401000276a36001600160a01b038516115b613ebd576040805162461bcd60e51b815260206004820152600360248201526214d41360ea1b604482015290519081900360640190fd5b6000805460ff60d01b19168155600280546040805160c081018252898152602080820186905286516001600160a01b0316928201929092529085015190920b60608301526001600160801b03166080820181905260a08201839052918713905b805115801590613f435750866001600160a01b031681604001516001600160a01b031614155b156141d957613f506151fc565b60408201516001600160a01b031681526060820151613f93906004907f00000000000000000000000000000000000000000000000000000000000000648d612f78565b15156040830152600290810b810b60208301819052620d89e719910b1215613fc457620d89e7196020820152613fe3565b6020810151620d89e860029190910b1315613fe357620d89e860208201525b613ff081602001516130ba565b6001600160a01b031660608201526040820151614064908b61402a57896001600160a01b031683606001516001600160a01b031611614044565b896001600160a01b031683606001516001600160a01b0316105b6140525782606001516115fe565b896080850151855160408a01516133ec565b60c085015260a084015260808301526001600160a01b0316604083015282156140bb5761409a8160c001518260800151016135de565b825103825260a08101516140b19061165c906135de565b60208301526140eb565b6140c88160a001516135de565b825101825260c081015160808201516140e59161169b91016135de565b60208301525b60c081015160a0830180519091016001600160801b03169052606081015160408301516001600160a01b03918216911614156141985780604001511561416f5760006141458260200151600361362090919063ffffffff16565b90508a15614151576000035b61415f836080015182613644565b6001600160801b03166080840152505b8961417e578060200151614187565b60018160200151035b600290810b900b60608301526141d3565b80600001516001600160a01b031682604001516001600160a01b0316146141d3576141c682604001516136fa565b600290810b900b60608301525b50613f1d565b836020015160020b816060015160020b1461424c5760408101516060820151600080546001600160a01b0390931673ffffffffffffffffffffffffffffffffffffffff1960029390930b62ffffff16600160a01b0262ffffff60a01b19909416939093179190911691909117905561427e565b60408101516000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039092169190911790555b80608001516001600160801b0316836001600160801b0316146142c0576080810151600280546001600160801b0319166001600160801b039092169190911790555b88156143085760a08101516001600160801b0316156143035760a0810151600180546001600160801b031981166001600160801b03918216909301169190911790555b614346565b60a08101516001600160801b0316156143465760a0810151600180546001600160801b03808216600160801b92839004821690940116029190911790555b8115158915151461435f5760208101518151890361436c565b8060000151880381602001515b8096508197505050896001600160a01b0316336001600160a01b03167fc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67888885604001518660800151876060015160405180868152602001858152602001846001600160a01b03168152602001836001600160801b031681526020018260020b81526020019550505050505060405180910390a35050505094509492505050565b80600f81900b811461239157600080fd5b600080600061443584602001518560400151614b9e565b604080516080810182526000546001600160a01b0381168252600160a01b8104600290810b810b900b602080840191909152600160b81b820462ffffff1683850152600160d01b90910460ff161515606080840191909152875191880151938801519088015192936144a993909190614c67565b93508460600151600f0b6000146145c057846020015160020b816020015160020b12156144fe576144f76144e086602001516130ba565b6144ed87604001516130ba565b8760600151614d8e565b92506145c0565b846040015160020b816020015160020b121561459657600254815160408701516001600160801b03909216916145429190614538906130ba565b8860600151614d8e565b935061456061455487602001516130ba565b83516060890151614dd2565b9250614570818760600151613644565b600280546001600160801b0319166001600160801b0392909216919091179055506145c0565b6145bd6145a686602001516130ba565b6145b387604001516130ba565b8760600151614dd2565b91505b509193909250565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b178152925182516000948594938a169392918291908083835b6020831061464c5780518252601f19909201916020918201910161462d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146146ae576040519150601f19603f3d011682016040523d82523d6000602084013e6146b3565b606091505b50915091508180156146e15750805115806146e157508080602001905160208110156146de57600080fd5b50515b614717576040805162461bcd60e51b81526020600482015260026024820152612a2360f11b604482015290519081900360640190fd5b505050505050565b6000808060001985870986860292508281109083900303905080614755576000841161474a57600080fd5b508290049050612a2d565b80841161476157600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6040805160609490941b6bffffffffffffffffffffffff1916602080860191909152600293840b60e890811b60348701529290930b90911b60378401528051808403601a018152603a90930181528251928201929092206000908152929052902090565b60020b600881901d9161010090910790565b600080821161485257600080fd5b600160801b821061486557608091821c91015b68010000000000000000821061487d57604091821c91015b640100000000821061489157602091821c91015b6201000082106148a357601091821c91015b61010082106148b457600891821c91015b601082106148c457600491821c91015b600482106148d457600291821c91015b6002821061239157600101919050565b60008082116148f257600080fd5b5060ff6001600160801b0382161561490d57607f1901614915565b608082901c91505b67ffffffffffffffff82161561492e57603f1901614936565b604082901c91505b63ffffffff82161561494b57601f1901614953565b602082901c91505b61ffff82161561496657600f190161496e565b601082901c91505b60ff8216156149805760071901614988565b600882901c91505b600f82161561499a57600319016149a2565b600482901c91505b60038216156149b457600119016149bc565b600282901c91505b60018216156123915760001901919050565b6000836001600160a01b0316856001600160a01b031611156149ee579293925b81614a1b57614a16836001600160801b03168686036001600160a01b0316600160601b61471f565b614a3e565b614a3e836001600160801b03168686036001600160a01b0316600160601b6129f9565b90505b949350505050565b6000836001600160a01b0316856001600160a01b03161115614a69579293925b7bffffffffffffffffffffffffffffffff000000000000000000000000606084901b166001600160a01b038686038116908716614aa557600080fd5b83614ad557866001600160a01b0316614ac88383896001600160a01b031661471f565b81614acf57fe5b04614afb565b614afb614aec8383896001600160a01b03166129f9565b886001600160a01b0316614e01565b979650505050505050565b600080856001600160a01b031611614b1d57600080fd5b6000846001600160801b031611614b3357600080fd5b81614b4557614a168585856001614e0c565b614a3e8585856001614eed565b600080856001600160a01b031611614b6957600080fd5b6000846001600160801b031611614b7f57600080fd5b81614b9157614a168585856000614eed565b614a3e8585856000614e0c565b8060020b8260020b12614bde576040805162461bcd60e51b8152602060048201526003602482015262544c5560e81b604482015290519081900360640190fd5b620d89e719600283900b1215614c21576040805162461bcd60e51b8152602060048201526003602482015262544c4d60e81b604482015290519081900360640190fd5b620d89e8600282900b1315614c63576040805162461bcd60e51b815260206004820152600360248201526254554d60e81b604482015290519081900360640190fd5b5050565b6000614c7660058686866147ce565b905060008083600f0b600014614d4c57614cb56003878660007f000000000000000000000000000000000003b1762b13ec52766279d8d8a13b4e614fe2565b9150614ce66003868660017f000000000000000000000000000000000003b1762b13ec52766279d8d8a13b4e614fe2565b90508115614d1a57614d1a6004877f000000000000000000000000000000000000000000000000000000000000006461511b565b8015614d4c57614d4c6004867f000000000000000000000000000000000000000000000000000000000000006461511b565b614d568385615181565b600084600f0b1215614d84578115614d7357614d736003876151c0565b8015614d8457614d846003866151c0565b5050949350505050565b60008082600f0b12614db457614daf614daa8585856001614a49565b6135de565b614a41565b614dc7614daa8585856000036000614a49565b600003949350505050565b60008082600f0b12614dee57614daf614daa85858560016149ce565b614dc7614daa85858560000360006149ce565b808204910615150190565b60008115614e7f5760006001600160a01b03841115614e4257614e3d84600160601b876001600160801b031661471f565b614e5a565b6001600160801b038516606085901b81614e5857fe5b045b9050614e77614e726001600160a01b03881683612d53565b6151e6565b915050614a41565b60006001600160a01b03841115614ead57614ea884600160601b876001600160801b03166129f9565b614ec4565b614ec4606085901b6001600160801b038716614e01565b905080866001600160a01b031611614edb57600080fd5b6001600160a01b038616039050614a41565b600082614efb575083614a41565b7bffffffffffffffffffffffffffffffff000000000000000000000000606085901b168215614f9b576001600160a01b03861684810290858281614f3b57fe5b041415614f6c57818101828110614f6a57614f6083896001600160a01b0316836129f9565b9350505050614a41565b505b614f9282614f8d878a6001600160a01b03168681614f8657fe5b0490612d53565b614e01565b92505050614a41565b6001600160a01b03861684810290858281614fb257fe5b04148015614fbf57508082115b614fc857600080fd5b808203614f60614e72846001600160a01b038b16846129f9565b600284810b900b600090815260208690526040812080546001600160801b03168261500d8288613644565b9050846001600160801b0316816001600160801b0316111561505b576040805162461bcd60e51b81526020600482015260026024820152614c4f60f01b604482015290519081900360640190fd5b6001600160801b038281161590821615811415945015615086576001838101805460ff191690911790555b82546001600160801b0319166001600160801b038216178355856150cf5782546150ca906150c590600160801b9004600f90810b810b908a900b61360a565b61440d565b6150f0565b82546150f0906150c590600160801b9004600f90810b810b908a900b6135f4565b8354600f9190910b6001600160801b03908116600160801b0291161790925550909695505050505050565b8060020b8260020b8161512a57fe5b0760020b1561513857600080fd5b6000806151538360020b8560020b8161514d57fe5b05614832565b600191820b820b60009081526020979097526040909620805460ff9097169190911b90951890945550505050565b80600f0b600014614c635781546151a1906001600160801b031682613644565b82546001600160801b0319166001600160801b03919091161790915550565b600290810b900b600090815260209190915260408120908155600101805460ff19169055565b806001600160a01b038116811461239157600080fd5b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091529056fea164736f6c6343000706000a

    Block Age Transaction Gas Used Reward
    view all blocks ##produced##

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

    Validator Index Block Age Amount
    View All Withdrawals

    Transaction Hash Block Age Value Eth2 PubKey Valid
    View All Deposits
    [ Download: CSV Export  ]
    [ Download: CSV Export  ]

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