ETH Price: $3,821.58 (+0.92%)

Contract

0x630B63ae9bAD0460Cf59024E02124754A5a9c0a6

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

N/A
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
114254902025-09-18 4:05:0124 days ago1758168301  Contract Creation0 ETH

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
QueryZoraTicksSuperCompact

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
london EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import "../interface/IAlgebraPool.sol";
import "../interface/ICLPoolManager.sol";
import "../interface/IHooks.sol";
import "../interface/IHorizonPool.sol";
import "../interface/IPoolManager.sol";
import "../interface/IPositionManager.sol";
import "../interface/IStateView.sol";
import "../interface/IUniswapV3Pool.sol";
import "../interface/IZora.sol";
import "../interface/IZumiPool.sol";

library QueryZoraTicksSuperCompact {
    int24 internal constant MIN_TICK_MINUS_1 = -887_272 - 1;
    int24 internal constant MAX_TICK_PLUS_1 = 887_272 + 1;
    bytes32 public constant POOLS_SLOT = bytes32(uint256(6));
    address public constant PANCAKE_INFINITY_CLPOOLMANAGER = 0xa0FfB9c1CE1Fe56963B0321B32E7A0302114058b;
    address public constant PANCAKE_INFINITY_POSITION_MANAGER = 0x55f4c8abA71A1e923edC303eb4fEfF14608cC226;
    uint256 internal constant OFFSET_TICK_SPACING = 16;

    struct SuperVar {
        int24 tickSpacing;
        int24 currTick;
        int24 right;
        int24 left;
        int24 leftMost;
        int24 rightMost;
        uint256 initPoint;
        uint256 initPoint2;
    }

    function queryZoraTicksSuperCompact(
        address coin,
        uint256 len,
        address POOL_MANAGER,
        address STATE_VIEW,
        address POSITION_MANAGER
    ) public view returns (bytes memory) {
        SuperVar memory tmp;
        IZoraCoin.PoolKey memory poolkey = IZoraCoin(coin).getPoolKey();
        tmp.tickSpacing = poolkey.tickSpacing;
        bytes32 poolId = toId(poolkey);
        IStateView.PoolId statePoolId = IStateView.PoolId.wrap(poolId);

        {
            (uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee) =
                IStateView(STATE_VIEW).getSlot0(statePoolId);
            tmp.currTick = tick;
        }

        tmp.right = tmp.currTick / tmp.tickSpacing / int24(256);
        tmp.leftMost = -887_272 / tmp.tickSpacing / int24(256) - 2;
        tmp.rightMost = 887_272 / tmp.tickSpacing / int24(256) + 1;

        if (tmp.currTick < 0) {
            tmp.initPoint = uint256(
                int256(tmp.currTick) / int256(tmp.tickSpacing)
                    - (int256(tmp.currTick) / int256(tmp.tickSpacing) / 256 - 1) * 256
            ) % 256;
        } else {
            tmp.initPoint = (uint256(int256(tmp.currTick)) / uint256(int256(tmp.tickSpacing))) % 256;
        }
        tmp.initPoint2 = tmp.initPoint;

        if (tmp.currTick < 0) tmp.right--;

        bytes memory tickInfo;
        tmp.left = tmp.right;

        uint256 index = 0;

        while (index < len / 2 && tmp.right < tmp.rightMost) {
            uint256 res = IStateView(STATE_VIEW).getTickBitmap(statePoolId, int16(tmp.right));
            if (res > 0) {
                res = res >> tmp.initPoint;
                for (uint256 i = tmp.initPoint; i < 256 && index < len / 2; i++) {
                    uint256 isInit = res & 0x01;
                    if (isInit > 0) {
                        int256 tick = int256((256 * tmp.right + int256(i)) * tmp.tickSpacing);

                        (uint128 liquidityGross, int128 liquidityNet) =
                            IStateView(STATE_VIEW).getTickLiquidity(statePoolId, int24(int256(tick)));

                        int256 data = int256(uint256(int256(tick)) << 128)
                            + (int256(liquidityNet) & 0x00000000000000000000000000000000ffffffffffffffffffffffffffffffff);
                        tickInfo = bytes.concat(tickInfo, bytes32(uint256(data)));

                        index++;
                    }

                    res = res >> 1;
                }
            }
            tmp.initPoint = 0;
            tmp.right++;
        }

        bool isInitPoint = true;
        while (index < len && tmp.left > tmp.leftMost) {
            uint256 res = IStateView(STATE_VIEW).getTickBitmap(statePoolId, int16(tmp.left));
            if (res > 0 && tmp.initPoint2 != 0) {
                res = isInitPoint ? res << ((256 - tmp.initPoint2) % 256) : res;
                for (uint256 i = tmp.initPoint2 - 1; i >= 0 && index < len; i--) {
                    uint256 isInit = res & 0x8000000000000000000000000000000000000000000000000000000000000000;
                    if (isInit > 0) {
                        int256 tick = int256((256 * tmp.left + int256(i)) * tmp.tickSpacing);

                        (uint128 liquidityGross, int128 liquidityNet) =
                            IStateView(STATE_VIEW).getTickLiquidity(statePoolId, int24(int256(tick)));

                        int256 data = int256(uint256(int256(tick)) << 128)
                            + (int256(liquidityNet) & 0x00000000000000000000000000000000ffffffffffffffffffffffffffffffff);
                        tickInfo = bytes.concat(tickInfo, bytes32(uint256(data)));

                        index++;
                    }

                    res = res << 1;
                    if (i == 0) break;
                }
            }
            isInitPoint = false;
            tmp.initPoint2 = 256;
            tmp.left--;
        }
        return tickInfo;
    }
    // General function for all v4 pools

    function toId(IZoraCoin.PoolKey memory poolKey) public pure returns (bytes32 poolId) {
        assembly ("memory-safe") {
            // 0xa0 represents the total size of the poolKey struct (5 slots of 32 bytes)
            poolId := keccak256(poolKey, 0xa0)
        }
    }

    // Specifically for Zora
    function getPoolKeyOfZora(address coin, address POOL_MANAGER, address STATE_VIEW, address POSITION_MANAGER)
        public
        view
        returns (IZoraCoin.PoolKey memory)
    {
        IZoraCoin.PoolKey memory poolKey = IZoraCoin(coin).getPoolKey();
        return poolKey;
    }

    // Specifically for Zora
    function getSlot0OfZora(address coin, address POOL_MANAGER, address STATE_VIEW, address POSITION_MANAGER)
        public
        view
        returns (int256 liquidity, uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee)
    {
        IZoraCoin.PoolKey memory poolKey = IZoraCoin(coin).getPoolKey();
        bytes32 poolId = toId(poolKey);
        bytes32 slot = _getPoolStateSlot(poolId);
        bytes32[] memory slot0 = IPoolManager(POOL_MANAGER).extsload(slot, 4);
        bytes32 data = slot0[0];
        liquidity = int256(uint256(slot0[3]));

        //   24 bits  |24bits|24bits      |24 bits|160 bits
        // 0x000000   |000bb8|000000      |ffff75 |0000000000000000fe3aa841ba359daa0ea9eff7
        // ---------- | fee  |protocolfee | tick  | sqrtPriceX96
        assembly ("memory-safe") {
            // bottom 160 bits of data
            sqrtPriceX96 := and(data, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)
            // next 24 bits of data
            tick := signextend(2, shr(160, data))
            // next 24 bits of data
            protocolFee := and(shr(184, data), 0xFFFFFF)
            // last 24 bits of data
            lpFee := and(shr(208, data), 0xFFFFFF)
        }
    }

    function _getPoolStateSlot(bytes32 poolId) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(poolId, POOLS_SLOT));
    }
}

interface IAlgebraPool {
    function globalState()
        external
        view
        returns (
            uint160 price,
            int24 tick,
            int24 prevInitializedTick,
            uint16 fee,
            uint16 timepointIndex,
            uint8 communityFee,
            bool unlocked
        );

    function tickSpacing() external view returns (int24);

    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityTotal,
            int128 liquidityDelta,
            uint256 outerFeeGrowth0Token,
            uint256 outerFeeGrowth1Token,
            int24 prevTick,
            int24 nextTick,
            uint160 outerSecondsPerLiquidity,
            uint32 outerSecondsSpent,
            bool hasLimitOrders
        );

    function tickTable(int16 wordPosition) external view returns (uint256);
    function prevInitializedTick() external view returns (int24);
}

interface IAlgebraPoolV1_9 {
    function globalState()
        external
        view
        returns (
            uint160 price,
            int24 tick,
            int24 prevInitializedTick,
            uint16 fee,
            uint16 timepointIndex,
            uint8 communityFee,
            bool unlocked
        );

    function tickSpacing() external view returns (int24);
    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityTotal,
            int128 liquidityDelta,
            uint256 outerFeeGrowth0Token,
            uint256 outerFeeGrowth1Token,
            int56 outerTickCumulative,
            uint160 outerSecondsPerLiquidity,
            uint32 outerSecondsSpent,
            bool initialized
        );
    function tickTable(int16 wordPosition) external view returns (uint256);
}

/// @notice Tick info library for Pancake Infinity
library Tick {
    struct Info {
        uint128 liquidityGross;
        int128 liquidityNet;
        uint256 feeGrowthOutside0X128;
        uint256 feeGrowthOutside1X128;
    }
}

interface ICLPoolManager {
    type PoolId is bytes32;

    /// @notice Get the tick info about a specific tick in the pool
    function getPoolTickInfo(PoolId id, int24 tick) external view returns (Tick.Info memory);

    /// @notice Get the tick bitmap info about a specific range (a word range) in the pool
    function getPoolBitmapInfo(PoolId id, int16 word) external view returns (uint256 tickBitmap);

    /// @notice Get Slot0 of the pool: sqrtPriceX96, tick, protocolFee, lpFee
    function getSlot0(PoolId id)
        external
        view
        returns (uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee);
}

File 4 of 13 : IHooks.sol
interface IHooks {}

interface IHorizonPool {
    function tickDistance() external view returns (int24);

    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityGross,
            int128 liquidityNet,
            uint256 feeGrowthOutside,
            uint128 secondsPerLiquidityOutside
        );

    function initializedTicks(int24 tick) external view returns (int24 previous, int24 next);

    function getPoolState()
        external
        view
        returns (uint160 sqrtP, int24 currentTick, int24 nearestCurrentTick, bool locked);
}

interface IPoolManager {
    function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory);
}

import "./IHooks.sol";

interface IPositionManager {
    type Currency is address;

    /// @notice Returns the key for identifying a pool
    struct PoolKey {
        /// @notice The lower currency of the pool, sorted numerically
        Currency currency0;
        /// @notice The higher currency of the pool, sorted numerically
        Currency currency1;
        /// @notice The pool LP fee, capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000
        uint24 fee;
        /// @notice Ticks that involve positions must be a multiple of tick spacing
        int24 tickSpacing;
        /// @notice The hooks of the pool
        IHooks hooks;
    }

    function poolKeys(bytes25 poolId) external view returns (PoolKey memory);
}

interface IStateView {
    type PoolId is bytes32;

    /// @notice Retrieves the tick bitmap of a pool at a specific tick.
    /// @dev Corresponds to pools[poolId].tickBitmap[tick]
    /// @param poolId The ID of the pool.
    /// @param tick The tick to retrieve the bitmap for.
    /// @return tickBitmap The bitmap of the tick.
    function getTickBitmap(PoolId poolId, int16 tick) external view returns (uint256 tickBitmap);

    /// @notice Retrieves the liquidity information of a pool at a specific tick.
    /// @dev Corresponds to pools[poolId].ticks[tick].liquidityGross and pools[poolId].ticks[tick].liquidityNet. A more gas efficient version of getTickInfo
    /// @param poolId The ID of the pool.
    /// @param tick The tick to retrieve liquidity for.
    /// @return liquidityGross The total position liquidity that references this tick
    /// @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)
    function getTickLiquidity(PoolId poolId, int24 tick)
        external
        view
        returns (uint128 liquidityGross, int128 liquidityNet);

    /// @notice Get Slot0 of the pool: sqrtPriceX96, tick, protocolFee, lpFee
    /// @dev Corresponds to pools[poolId].slot0
    /// @param poolId The ID of the pool.
    /// @return sqrtPriceX96 The square root of the price of the pool, in Q96 precision.
    /// @return tick The current tick of the pool.
    /// @return protocolFee The protocol fee of the pool.
    /// @return lpFee The swap fee of the pool.
    function getSlot0(PoolId poolId)
        external
        view
        returns (uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee);
}

File 9 of 13 : IUniswapV3Pool.sol
import "./IUniswapV3PoolImmutables.sol";
import "./IUniswapV3PoolState.sol";
/// @title The interface for a Uniswap V3 Pool
/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
/// to the ERC20 specification
/// @dev The pool interface is broken up into many smaller pieces

interface IUniswapV3Pool is IUniswapV3PoolImmutables, IUniswapV3PoolState {}

import "./IHooks.sol";

interface IZoraCoin {
    type Currency is address;

    struct PoolKey {
        /// @notice The lower currency of the pool, sorted numerically
        Currency currency0;
        /// @notice The higher currency of the pool, sorted numerically
        Currency currency1;
        /// @notice The pool LP fee, capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000
        uint24 fee;
        /// @notice Ticks that involve positions must be a multiple of tick spacing
        int24 tickSpacing;
        /// @notice The hooks of the pool
        IHooks hooks;
    }

    function getPoolKey() external view returns (PoolKey memory);
}

interface IZumiPool {
    function points(int24 tick) external view returns (uint256, int128, uint256, uint256, bool);

    function pointDelta() external view returns (int24);

    function orderOrEndpoint(int24 tick) external view returns (int24);

    function limitOrderData(int24 point)
        external
        view
        returns (
            uint128 sellingX,
            uint128 earnY,
            uint256 accEarnY,
            uint256 legacyAccEarnY,
            uint128 legacyEarnY,
            uint128 sellingY,
            uint128 earnX,
            uint128 legacyEarnX,
            uint256 accEarnX,
            uint256 legacyAccEarnX
        );

    function pointBitmap(int16 tick) external view returns (uint256);

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

// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

/// @title Pool state that never changes
/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
interface IUniswapV3PoolImmutables {
    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface
    /// @return The contract address
    function factory() external view returns (address);

    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);

    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);

    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6
    /// @return The fee
    function fee() external view returns (uint24);

    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    /// @return The tick spacing
    function tickSpacing() external view returns (int24);

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

// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

/// @title Pool state that can change
/// @notice These methods compose the pool's state, and can change with any frequency including multiple times
/// per transaction
interface IUniswapV3PoolState {
    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
    /// when accessed externally.
    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.
    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
    /// boundary.
    /// observationIndex The index of the last oracle observation that was written,
    /// observationCardinality The current maximum number of observations stored in the pool,
    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.
    /// feeProtocol The protocol fee for both tokens of the pool.
    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0
    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.
    /// unlocked Whether the pool is currently locked to reentrancy
    function slot0()
        external
        view
        returns (
            uint160 sqrtPriceX96,
            int24 tick,
            uint16 observationIndex,
            uint16 observationCardinality,
            uint16 observationCardinalityNext,
            uint8 feeProtocol,
            bool unlocked
        );

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

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

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

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

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

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

    /// @notice Returns the information about a position by the position's key
    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper
    /// @return _liquidity The amount of liquidity in the position,
    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,
    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,
    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,
    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke
    function positions(bytes32 key)
        external
        view
        returns (
            uint128 _liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );

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

Settings
{
  "remappings": [
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/",
    "ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",
    "openzeppelin/=lib/openzeppelin-contracts-upgradeable/contracts/"
  ],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "viaIR": false
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"PANCAKE_INFINITY_CLPOOLMANAGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PANCAKE_INFINITY_POSITION_MANAGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOLS_SLOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"coin","type":"address"},{"internalType":"address","name":"POOL_MANAGER","type":"address"},{"internalType":"address","name":"STATE_VIEW","type":"address"},{"internalType":"address","name":"POSITION_MANAGER","type":"address"}],"name":"getPoolKeyOfZora","outputs":[{"components":[{"internalType":"IZoraCoin.Currency","name":"currency0","type":"address"},{"internalType":"IZoraCoin.Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"IHooks"}],"internalType":"struct IZoraCoin.PoolKey","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"coin","type":"address"},{"internalType":"address","name":"POOL_MANAGER","type":"address"},{"internalType":"address","name":"STATE_VIEW","type":"address"},{"internalType":"address","name":"POSITION_MANAGER","type":"address"}],"name":"getSlot0OfZora","outputs":[{"internalType":"int256","name":"liquidity","type":"int256"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint24","name":"protocolFee","type":"uint24"},{"internalType":"uint24","name":"lpFee","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"coin","type":"address"},{"internalType":"uint256","name":"len","type":"uint256"},{"internalType":"address","name":"POOL_MANAGER","type":"address"},{"internalType":"address","name":"STATE_VIEW","type":"address"},{"internalType":"address","name":"POSITION_MANAGER","type":"address"}],"name":"queryZoraTicksSuperCompact","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"IZoraCoin.Currency","name":"currency0","type":"address"},{"internalType":"IZoraCoin.Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"IHooks"}],"internalType":"struct IZoraCoin.PoolKey","name":"poolKey","type":"tuple"}],"name":"toId","outputs":[{"internalType":"bytes32","name":"poolId","type":"bytes32"}],"stateMutability":"pure","type":"function"}]

611eb0610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c8063609971071161006557806360997107146100f8578063728bbdb3146101165780637a4aeed714610146578063aa5d0ea11461017a57610087565b80634421ab4b1461008c5780634e482816146100aa57806357eb1da7146100da575b600080fd5b6100946101aa565b6040516100a19190610dc1565b60405180910390f35b6100c460048036038101906100bf9190610e1c565b6101c2565b6040516100d19190610fa5565b60405180910390f35b6100e2610249565b6040516100ef9190610fd9565b60405180910390f35b610100610251565b60405161010d9190610dc1565b60405180910390f35b610130600480360381019061012b919061102a565b610269565b60405161013d9190611135565b60405180910390f35b610160600480360381019061015b9190610e1c565b610aca565b60405161017195949392919061119d565b60405180910390f35b610194600480360381019061018f91906113be565b610c6d565b6040516101a19190610fd9565b60405180910390f35b73a0ffb9c1ce1fe56963b0321b32e7a0302114058b81565b6101ca610cb0565b60008573ffffffffffffffffffffffffffffffffffffffff1663683e76e06040518163ffffffff1660e01b815260040160a060405180830381865afa158015610217573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023b91906114cb565b905080915050949350505050565b600660001b81565b7355f4c8aba71a1e923edc303eb4feff14608cc22681565b6060610273610d29565b60008773ffffffffffffffffffffffffffffffffffffffff1663683e76e06040518163ffffffff1660e01b815260040160a060405180830381865afa1580156102c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e491906114cb565b90508060600151826000019060020b908160020b81525050600061030782610c6d565b905060008190506000806000808a73ffffffffffffffffffffffffffffffffffffffff1663c815641c866040518263ffffffff1660e01b815260040161034d9190611519565b608060405180830381865afa15801561036a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038e9190611560565b935093509350935082886020019060020b908160020b8152505050505050610100846000015185602001516103c39190611625565b6103cd9190611625565b846040019060020b908160020b81525050600261010085600001517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff276186104139190611625565b61041d9190611625565b610427919061168f565b846080019060020b908160020b8152505060016101008560000151620d89e86104509190611625565b61045a9190611625565b61046491906116ea565b8460a0019060020b908160020b815250506000846020015160020b121561050257610100806001610100876000015160020b886020015160020b6104a89190611745565b6104b29190611745565b6104bc91906117af565b6104c691906117f2565b856000015160020b866020015160020b6104e09190611745565b6104ea91906117af565b6104f4919061186a565b8460c0018181525050610533565b610100846000015160020b856020015160020b61051f919061189b565b610529919061186a565b8460c00181815250505b8360c001518460e00181815250506000846020015160020b121561056e57836040018051809190610563906118cc565b60020b60020b815250505b60608460400151856060019060020b908160020b8152505060005b60028b610596919061189b565b811080156105b157508560a0015160020b866040015160020b125b156107ee5760008973ffffffffffffffffffffffffffffffffffffffff16631c7ccb4c8589604001516040518363ffffffff1660e01b81526004016105f7929190611930565b602060405180830381865afa158015610614573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610638919061196e565b905060008111156107c1578660c0015181901c905060008760c0015190505b61010081108015610673575060028d610670919061189b565b83105b156107bf57600060018316905060008111156107a4576000896000015160020b838b604001516101006106a6919061199b565b60020b6106b391906119d8565b6106bd91906117f2565b90506000808e73ffffffffffffffffffffffffffffffffffffffff1663caedab548a856040518363ffffffff1660e01b81526004016106fd929190611a2b565b6040805180830381865afa158015610719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073d9190611ad5565b9150915060006fffffffffffffffffffffffffffffffff82600f0b16608085901b61076891906119d8565b9050888160001b604051602001610780929190611b72565b6040516020818303038152906040529850878061079c90611b9a565b985050505050505b600183901c92505080806107b790611b9a565b915050610657565b505b60008760c00181815250508660400180518091906107de90611be2565b60020b60020b8152505050610589565b6000600190505b8b821080156108115750866080015160020b876060015160020b135b15610ab75760008a73ffffffffffffffffffffffffffffffffffffffff16631c7ccb4c868a606001516040518363ffffffff1660e01b8152600401610857929190611930565b602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610898919061196e565b90506000811180156108af575060008860e0015114155b15610a8557816108bf57806108e2565b6101008860e001516101006108d49190611c0d565b6108de919061186a565b81901b5b9050600060018960e001516108f79190611c0d565b90505b6000811015801561090a57508d84105b15610a835760007f8000000000000000000000000000000000000000000000000000000000000000831690506000811115610a5a5760008a6000015160020b838c6060015161010061095c919061199b565b60020b61096991906119d8565b61097391906117f2565b90506000808f73ffffffffffffffffffffffffffffffffffffffff1663caedab548b856040518363ffffffff1660e01b81526004016109b3929190611a2b565b6040805180830381865afa1580156109cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f39190611ad5565b9150915060006fffffffffffffffffffffffffffffffff82600f0b16608085901b610a1e91906119d8565b9050898160001b604051602001610a36929190611b72565b60405160208183030381529060405299508880610a5290611b9a565b995050505050505b600183901b925060008203610a6f5750610a83565b508080610a7b90611c41565b9150506108fa565b505b600091506101008860e0018181525050876060018051809190610aa7906118cc565b60020b60020b81525050506107f5565b8297505050505050505095945050505050565b6000806000806000808973ffffffffffffffffffffffffffffffffffffffff1663683e76e06040518163ffffffff1660e01b815260040160a060405180830381865afa158015610b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4291906114cb565b90506000610b4f82610c6d565b90506000610b5c82610c7a565b905060008b73ffffffffffffffffffffffffffffffffffffffff166335fd631a8360046040518363ffffffff1660e01b8152600401610b9c929190611cb4565b600060405180830381865afa158015610bb9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610be29190611dd6565b9050600081600081518110610bfa57610bf9611e1f565b5b6020026020010151905081600381518110610c1857610c17611e1f565b5b602002602001015160001c995073ffffffffffffffffffffffffffffffffffffffff811698508060a01c60020b975062ffffff8160b81c16965062ffffff8160d01c1695505050505050945094509450945094565b600060a082209050919050565b600081600660001b604051602001610c93929190611e4e565b604051602081830303815290604052805190602001209050919050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600062ffffff168152602001600060020b8152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b604051806101000160405280600060020b8152602001600060020b8152602001600060020b8152602001600060020b8152602001600060020b8152602001600060020b815260200160008152602001600081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610dab82610d80565b9050919050565b610dbb81610da0565b82525050565b6000602082019050610dd66000830184610db2565b92915050565b6000604051905090565b600080fd5b600080fd5b610df981610da0565b8114610e0457600080fd5b50565b600081359050610e1681610df0565b92915050565b60008060008060808587031215610e3657610e35610de6565b5b6000610e4487828801610e07565b9450506020610e5587828801610e07565b9350506040610e6687828801610e07565b9250506060610e7787828801610e07565b91505092959194509250565b6000819050919050565b6000610ea8610ea3610e9e84610d80565b610e83565b610d80565b9050919050565b6000610eba82610e8d565b9050919050565b6000610ecc82610eaf565b9050919050565b610edc81610ec1565b82525050565b600062ffffff82169050919050565b610efa81610ee2565b82525050565b60008160020b9050919050565b610f1681610f00565b82525050565b6000610f2782610eaf565b9050919050565b610f3781610f1c565b82525050565b60a082016000820151610f536000850182610ed3565b506020820151610f666020850182610ed3565b506040820151610f796040850182610ef1565b506060820151610f8c6060850182610f0d565b506080820151610f9f6080850182610f2e565b50505050565b600060a082019050610fba6000830184610f3d565b92915050565b6000819050919050565b610fd381610fc0565b82525050565b6000602082019050610fee6000830184610fca565b92915050565b6000819050919050565b61100781610ff4565b811461101257600080fd5b50565b60008135905061102481610ffe565b92915050565b600080600080600060a0868803121561104657611045610de6565b5b600061105488828901610e07565b955050602061106588828901611015565b945050604061107688828901610e07565b935050606061108788828901610e07565b925050608061109888828901610e07565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b838110156110df5780820151818401526020810190506110c4565b60008484015250505050565b6000601f19601f8301169050919050565b6000611107826110a5565b61111181856110b0565b93506111218185602086016110c1565b61112a816110eb565b840191505092915050565b6000602082019050818103600083015261114f81846110fc565b905092915050565b6000819050919050565b61116a81611157565b82525050565b61117981610d80565b82525050565b61118881610f00565b82525050565b61119781610ee2565b82525050565b600060a0820190506111b26000830188611161565b6111bf6020830187611170565b6111cc604083018661117f565b6111d9606083018561118e565b6111e6608083018461118e565b9695505050505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61122d826110eb565b810181811067ffffffffffffffff8211171561124c5761124b6111f5565b5b80604052505050565b600061125f610ddc565b905061126b8282611224565b919050565b61127981610da0565b811461128457600080fd5b50565b60008135905061129681611270565b92915050565b6112a581610ee2565b81146112b057600080fd5b50565b6000813590506112c28161129c565b92915050565b6112d181610f00565b81146112dc57600080fd5b50565b6000813590506112ee816112c8565b92915050565b60006112ff82610da0565b9050919050565b61130f816112f4565b811461131a57600080fd5b50565b60008135905061132c81611306565b92915050565b600060a08284031215611348576113476111f0565b5b61135260a0611255565b9050600061136284828501611287565b600083015250602061137684828501611287565b602083015250604061138a848285016112b3565b604083015250606061139e848285016112df565b60608301525060806113b28482850161131d565b60808301525092915050565b600060a082840312156113d4576113d3610de6565b5b60006113e284828501611332565b91505092915050565b6000815190506113fa81611270565b92915050565b60008151905061140f8161129c565b92915050565b600081519050611424816112c8565b92915050565b60008151905061143981611306565b92915050565b600060a08284031215611455576114546111f0565b5b61145f60a0611255565b9050600061146f848285016113eb565b6000830152506020611483848285016113eb565b602083015250604061149784828501611400565b60408301525060606114ab84828501611415565b60608301525060806114bf8482850161142a565b60808301525092915050565b600060a082840312156114e1576114e0610de6565b5b60006114ef8482850161143f565b91505092915050565b600061150382610fc0565b9050919050565b611513816114f8565b82525050565b600060208201905061152e600083018461150a565b92915050565b61153d81610d80565b811461154857600080fd5b50565b60008151905061155a81611534565b92915050565b6000806000806080858703121561157a57611579610de6565b5b60006115888782880161154b565b945050602061159987828801611415565b93505060406115aa87828801611400565b92505060606115bb87828801611400565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061163082610f00565b915061163b83610f00565b92508261164b5761164a6115c7565b5b600160000383147fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000083141615611684576116836115f6565b5b828205905092915050565b600061169a82610f00565b91506116a583610f00565b92508282039050627fffff81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000821217156116e4576116e36115f6565b5b92915050565b60006116f582610f00565b915061170083610f00565b925082820190507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000008112627fffff8213171561173f5761173e6115f6565b5b92915050565b600061175082611157565b915061175b83611157565b92508261176b5761176a6115c7565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156117a4576117a36115f6565b5b828205905092915050565b60006117ba82611157565b91506117c583611157565b92508282039050818112600084121682821360008512151617156117ec576117eb6115f6565b5b92915050565b60006117fd82611157565b915061180883611157565b925082820261181681611157565b91507f8000000000000000000000000000000000000000000000000000000000000000841460008412161561184e5761184d6115f6565b5b8282058414831517611863576118626115f6565b5b5092915050565b600061187582610ff4565b915061188083610ff4565b9250826118905761188f6115c7565b5b828206905092915050565b60006118a682610ff4565b91506118b183610ff4565b9250826118c1576118c06115c7565b5b828204905092915050565b60006118d782610f00565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000008203611909576119086115f6565b5b600182039050919050565b60008160010b9050919050565b61192a81611914565b82525050565b6000604082019050611945600083018561150a565b6119526020830184611921565b9392505050565b60008151905061196881610ffe565b92915050565b60006020828403121561198457611983610de6565b5b600061199284828501611959565b91505092915050565b60006119a682610f00565b91506119b183610f00565b92508282026119bf81610f00565b91508082146119d1576119d06115f6565b5b5092915050565b60006119e382611157565b91506119ee83611157565b925082820190508281121560008312168382126000841215161715611a1657611a156115f6565b5b92915050565b611a2581610f00565b82525050565b6000604082019050611a40600083018561150a565b611a4d6020830184611a1c565b9392505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b611a7981611a54565b8114611a8457600080fd5b50565b600081519050611a9681611a70565b92915050565b600081600f0b9050919050565b611ab281611a9c565b8114611abd57600080fd5b50565b600081519050611acf81611aa9565b92915050565b60008060408385031215611aec57611aeb610de6565b5b6000611afa85828601611a87565b9250506020611b0b85828601611ac0565b9150509250929050565b600081905092915050565b6000611b2b826110a5565b611b358185611b15565b9350611b458185602086016110c1565b80840191505092915050565b6000819050919050565b611b6c611b6782610fc0565b611b51565b82525050565b6000611b7e8285611b20565b9150611b8a8284611b5b565b6020820191508190509392505050565b6000611ba582610ff4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611bd757611bd66115f6565b5b600182019050919050565b6000611bed82610f00565b9150627fffff8203611c0257611c016115f6565b5b600182019050919050565b6000611c1882610ff4565b9150611c2383610ff4565b9250828203905081811115611c3b57611c3a6115f6565b5b92915050565b6000611c4c82610ff4565b915060008203611c5f57611c5e6115f6565b5b600182039050919050565b611c7381610fc0565b82525050565b6000819050919050565b6000611c9e611c99611c9484611c79565b610e83565b610ff4565b9050919050565b611cae81611c83565b82525050565b6000604082019050611cc96000830185611c6a565b611cd66020830184611ca5565b9392505050565b600080fd5b600067ffffffffffffffff821115611cfd57611cfc6111f5565b5b602082029050602081019050919050565b600080fd5b611d1c81610fc0565b8114611d2757600080fd5b50565b600081519050611d3981611d13565b92915050565b6000611d52611d4d84611ce2565b611255565b90508083825260208201905060208402830185811115611d7557611d74611d0e565b5b835b81811015611d9e5780611d8a8882611d2a565b845260208401935050602081019050611d77565b5050509392505050565b600082601f830112611dbd57611dbc611cdd565b5b8151611dcd848260208601611d3f565b91505092915050565b600060208284031215611dec57611deb610de6565b5b600082015167ffffffffffffffff811115611e0a57611e09610deb565b5b611e1684828501611da8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611e5a8285611b5b565b602082019150611e6a8284611b5b565b602082019150819050939250505056fea26469706673582212207cf34ae3e29a967c2455788f81016e472c30126aa6c4016b7eb421a23c8246cf64736f6c63430008110033

Deployed Bytecode

0x73630b63ae9bad0460cf59024e02124754a5a9c0a630146080604052600436106100875760003560e01c8063609971071161006557806360997107146100f8578063728bbdb3146101165780637a4aeed714610146578063aa5d0ea11461017a57610087565b80634421ab4b1461008c5780634e482816146100aa57806357eb1da7146100da575b600080fd5b6100946101aa565b6040516100a19190610dc1565b60405180910390f35b6100c460048036038101906100bf9190610e1c565b6101c2565b6040516100d19190610fa5565b60405180910390f35b6100e2610249565b6040516100ef9190610fd9565b60405180910390f35b610100610251565b60405161010d9190610dc1565b60405180910390f35b610130600480360381019061012b919061102a565b610269565b60405161013d9190611135565b60405180910390f35b610160600480360381019061015b9190610e1c565b610aca565b60405161017195949392919061119d565b60405180910390f35b610194600480360381019061018f91906113be565b610c6d565b6040516101a19190610fd9565b60405180910390f35b73a0ffb9c1ce1fe56963b0321b32e7a0302114058b81565b6101ca610cb0565b60008573ffffffffffffffffffffffffffffffffffffffff1663683e76e06040518163ffffffff1660e01b815260040160a060405180830381865afa158015610217573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023b91906114cb565b905080915050949350505050565b600660001b81565b7355f4c8aba71a1e923edc303eb4feff14608cc22681565b6060610273610d29565b60008773ffffffffffffffffffffffffffffffffffffffff1663683e76e06040518163ffffffff1660e01b815260040160a060405180830381865afa1580156102c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e491906114cb565b90508060600151826000019060020b908160020b81525050600061030782610c6d565b905060008190506000806000808a73ffffffffffffffffffffffffffffffffffffffff1663c815641c866040518263ffffffff1660e01b815260040161034d9190611519565b608060405180830381865afa15801561036a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038e9190611560565b935093509350935082886020019060020b908160020b8152505050505050610100846000015185602001516103c39190611625565b6103cd9190611625565b846040019060020b908160020b81525050600261010085600001517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff276186104139190611625565b61041d9190611625565b610427919061168f565b846080019060020b908160020b8152505060016101008560000151620d89e86104509190611625565b61045a9190611625565b61046491906116ea565b8460a0019060020b908160020b815250506000846020015160020b121561050257610100806001610100876000015160020b886020015160020b6104a89190611745565b6104b29190611745565b6104bc91906117af565b6104c691906117f2565b856000015160020b866020015160020b6104e09190611745565b6104ea91906117af565b6104f4919061186a565b8460c0018181525050610533565b610100846000015160020b856020015160020b61051f919061189b565b610529919061186a565b8460c00181815250505b8360c001518460e00181815250506000846020015160020b121561056e57836040018051809190610563906118cc565b60020b60020b815250505b60608460400151856060019060020b908160020b8152505060005b60028b610596919061189b565b811080156105b157508560a0015160020b866040015160020b125b156107ee5760008973ffffffffffffffffffffffffffffffffffffffff16631c7ccb4c8589604001516040518363ffffffff1660e01b81526004016105f7929190611930565b602060405180830381865afa158015610614573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610638919061196e565b905060008111156107c1578660c0015181901c905060008760c0015190505b61010081108015610673575060028d610670919061189b565b83105b156107bf57600060018316905060008111156107a4576000896000015160020b838b604001516101006106a6919061199b565b60020b6106b391906119d8565b6106bd91906117f2565b90506000808e73ffffffffffffffffffffffffffffffffffffffff1663caedab548a856040518363ffffffff1660e01b81526004016106fd929190611a2b565b6040805180830381865afa158015610719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073d9190611ad5565b9150915060006fffffffffffffffffffffffffffffffff82600f0b16608085901b61076891906119d8565b9050888160001b604051602001610780929190611b72565b6040516020818303038152906040529850878061079c90611b9a565b985050505050505b600183901c92505080806107b790611b9a565b915050610657565b505b60008760c00181815250508660400180518091906107de90611be2565b60020b60020b8152505050610589565b6000600190505b8b821080156108115750866080015160020b876060015160020b135b15610ab75760008a73ffffffffffffffffffffffffffffffffffffffff16631c7ccb4c868a606001516040518363ffffffff1660e01b8152600401610857929190611930565b602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610898919061196e565b90506000811180156108af575060008860e0015114155b15610a8557816108bf57806108e2565b6101008860e001516101006108d49190611c0d565b6108de919061186a565b81901b5b9050600060018960e001516108f79190611c0d565b90505b6000811015801561090a57508d84105b15610a835760007f8000000000000000000000000000000000000000000000000000000000000000831690506000811115610a5a5760008a6000015160020b838c6060015161010061095c919061199b565b60020b61096991906119d8565b61097391906117f2565b90506000808f73ffffffffffffffffffffffffffffffffffffffff1663caedab548b856040518363ffffffff1660e01b81526004016109b3929190611a2b565b6040805180830381865afa1580156109cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f39190611ad5565b9150915060006fffffffffffffffffffffffffffffffff82600f0b16608085901b610a1e91906119d8565b9050898160001b604051602001610a36929190611b72565b60405160208183030381529060405299508880610a5290611b9a565b995050505050505b600183901b925060008203610a6f5750610a83565b508080610a7b90611c41565b9150506108fa565b505b600091506101008860e0018181525050876060018051809190610aa7906118cc565b60020b60020b81525050506107f5565b8297505050505050505095945050505050565b6000806000806000808973ffffffffffffffffffffffffffffffffffffffff1663683e76e06040518163ffffffff1660e01b815260040160a060405180830381865afa158015610b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4291906114cb565b90506000610b4f82610c6d565b90506000610b5c82610c7a565b905060008b73ffffffffffffffffffffffffffffffffffffffff166335fd631a8360046040518363ffffffff1660e01b8152600401610b9c929190611cb4565b600060405180830381865afa158015610bb9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610be29190611dd6565b9050600081600081518110610bfa57610bf9611e1f565b5b6020026020010151905081600381518110610c1857610c17611e1f565b5b602002602001015160001c995073ffffffffffffffffffffffffffffffffffffffff811698508060a01c60020b975062ffffff8160b81c16965062ffffff8160d01c1695505050505050945094509450945094565b600060a082209050919050565b600081600660001b604051602001610c93929190611e4e565b604051602081830303815290604052805190602001209050919050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600062ffffff168152602001600060020b8152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b604051806101000160405280600060020b8152602001600060020b8152602001600060020b8152602001600060020b8152602001600060020b8152602001600060020b815260200160008152602001600081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610dab82610d80565b9050919050565b610dbb81610da0565b82525050565b6000602082019050610dd66000830184610db2565b92915050565b6000604051905090565b600080fd5b600080fd5b610df981610da0565b8114610e0457600080fd5b50565b600081359050610e1681610df0565b92915050565b60008060008060808587031215610e3657610e35610de6565b5b6000610e4487828801610e07565b9450506020610e5587828801610e07565b9350506040610e6687828801610e07565b9250506060610e7787828801610e07565b91505092959194509250565b6000819050919050565b6000610ea8610ea3610e9e84610d80565b610e83565b610d80565b9050919050565b6000610eba82610e8d565b9050919050565b6000610ecc82610eaf565b9050919050565b610edc81610ec1565b82525050565b600062ffffff82169050919050565b610efa81610ee2565b82525050565b60008160020b9050919050565b610f1681610f00565b82525050565b6000610f2782610eaf565b9050919050565b610f3781610f1c565b82525050565b60a082016000820151610f536000850182610ed3565b506020820151610f666020850182610ed3565b506040820151610f796040850182610ef1565b506060820151610f8c6060850182610f0d565b506080820151610f9f6080850182610f2e565b50505050565b600060a082019050610fba6000830184610f3d565b92915050565b6000819050919050565b610fd381610fc0565b82525050565b6000602082019050610fee6000830184610fca565b92915050565b6000819050919050565b61100781610ff4565b811461101257600080fd5b50565b60008135905061102481610ffe565b92915050565b600080600080600060a0868803121561104657611045610de6565b5b600061105488828901610e07565b955050602061106588828901611015565b945050604061107688828901610e07565b935050606061108788828901610e07565b925050608061109888828901610e07565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b838110156110df5780820151818401526020810190506110c4565b60008484015250505050565b6000601f19601f8301169050919050565b6000611107826110a5565b61111181856110b0565b93506111218185602086016110c1565b61112a816110eb565b840191505092915050565b6000602082019050818103600083015261114f81846110fc565b905092915050565b6000819050919050565b61116a81611157565b82525050565b61117981610d80565b82525050565b61118881610f00565b82525050565b61119781610ee2565b82525050565b600060a0820190506111b26000830188611161565b6111bf6020830187611170565b6111cc604083018661117f565b6111d9606083018561118e565b6111e6608083018461118e565b9695505050505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61122d826110eb565b810181811067ffffffffffffffff8211171561124c5761124b6111f5565b5b80604052505050565b600061125f610ddc565b905061126b8282611224565b919050565b61127981610da0565b811461128457600080fd5b50565b60008135905061129681611270565b92915050565b6112a581610ee2565b81146112b057600080fd5b50565b6000813590506112c28161129c565b92915050565b6112d181610f00565b81146112dc57600080fd5b50565b6000813590506112ee816112c8565b92915050565b60006112ff82610da0565b9050919050565b61130f816112f4565b811461131a57600080fd5b50565b60008135905061132c81611306565b92915050565b600060a08284031215611348576113476111f0565b5b61135260a0611255565b9050600061136284828501611287565b600083015250602061137684828501611287565b602083015250604061138a848285016112b3565b604083015250606061139e848285016112df565b60608301525060806113b28482850161131d565b60808301525092915050565b600060a082840312156113d4576113d3610de6565b5b60006113e284828501611332565b91505092915050565b6000815190506113fa81611270565b92915050565b60008151905061140f8161129c565b92915050565b600081519050611424816112c8565b92915050565b60008151905061143981611306565b92915050565b600060a08284031215611455576114546111f0565b5b61145f60a0611255565b9050600061146f848285016113eb565b6000830152506020611483848285016113eb565b602083015250604061149784828501611400565b60408301525060606114ab84828501611415565b60608301525060806114bf8482850161142a565b60808301525092915050565b600060a082840312156114e1576114e0610de6565b5b60006114ef8482850161143f565b91505092915050565b600061150382610fc0565b9050919050565b611513816114f8565b82525050565b600060208201905061152e600083018461150a565b92915050565b61153d81610d80565b811461154857600080fd5b50565b60008151905061155a81611534565b92915050565b6000806000806080858703121561157a57611579610de6565b5b60006115888782880161154b565b945050602061159987828801611415565b93505060406115aa87828801611400565b92505060606115bb87828801611400565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061163082610f00565b915061163b83610f00565b92508261164b5761164a6115c7565b5b600160000383147fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000083141615611684576116836115f6565b5b828205905092915050565b600061169a82610f00565b91506116a583610f00565b92508282039050627fffff81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800000821217156116e4576116e36115f6565b5b92915050565b60006116f582610f00565b915061170083610f00565b925082820190507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000008112627fffff8213171561173f5761173e6115f6565b5b92915050565b600061175082611157565b915061175b83611157565b92508261176b5761176a6115c7565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156117a4576117a36115f6565b5b828205905092915050565b60006117ba82611157565b91506117c583611157565b92508282039050818112600084121682821360008512151617156117ec576117eb6115f6565b5b92915050565b60006117fd82611157565b915061180883611157565b925082820261181681611157565b91507f8000000000000000000000000000000000000000000000000000000000000000841460008412161561184e5761184d6115f6565b5b8282058414831517611863576118626115f6565b5b5092915050565b600061187582610ff4565b915061188083610ff4565b9250826118905761188f6115c7565b5b828206905092915050565b60006118a682610ff4565b91506118b183610ff4565b9250826118c1576118c06115c7565b5b828204905092915050565b60006118d782610f00565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000008203611909576119086115f6565b5b600182039050919050565b60008160010b9050919050565b61192a81611914565b82525050565b6000604082019050611945600083018561150a565b6119526020830184611921565b9392505050565b60008151905061196881610ffe565b92915050565b60006020828403121561198457611983610de6565b5b600061199284828501611959565b91505092915050565b60006119a682610f00565b91506119b183610f00565b92508282026119bf81610f00565b91508082146119d1576119d06115f6565b5b5092915050565b60006119e382611157565b91506119ee83611157565b925082820190508281121560008312168382126000841215161715611a1657611a156115f6565b5b92915050565b611a2581610f00565b82525050565b6000604082019050611a40600083018561150a565b611a4d6020830184611a1c565b9392505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b611a7981611a54565b8114611a8457600080fd5b50565b600081519050611a9681611a70565b92915050565b600081600f0b9050919050565b611ab281611a9c565b8114611abd57600080fd5b50565b600081519050611acf81611aa9565b92915050565b60008060408385031215611aec57611aeb610de6565b5b6000611afa85828601611a87565b9250506020611b0b85828601611ac0565b9150509250929050565b600081905092915050565b6000611b2b826110a5565b611b358185611b15565b9350611b458185602086016110c1565b80840191505092915050565b6000819050919050565b611b6c611b6782610fc0565b611b51565b82525050565b6000611b7e8285611b20565b9150611b8a8284611b5b565b6020820191508190509392505050565b6000611ba582610ff4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611bd757611bd66115f6565b5b600182019050919050565b6000611bed82610f00565b9150627fffff8203611c0257611c016115f6565b5b600182019050919050565b6000611c1882610ff4565b9150611c2383610ff4565b9250828203905081811115611c3b57611c3a6115f6565b5b92915050565b6000611c4c82610ff4565b915060008203611c5f57611c5e6115f6565b5b600182039050919050565b611c7381610fc0565b82525050565b6000819050919050565b6000611c9e611c99611c9484611c79565b610e83565b610ff4565b9050919050565b611cae81611c83565b82525050565b6000604082019050611cc96000830185611c6a565b611cd66020830184611ca5565b9392505050565b600080fd5b600067ffffffffffffffff821115611cfd57611cfc6111f5565b5b602082029050602081019050919050565b600080fd5b611d1c81610fc0565b8114611d2757600080fd5b50565b600081519050611d3981611d13565b92915050565b6000611d52611d4d84611ce2565b611255565b90508083825260208201905060208402830185811115611d7557611d74611d0e565b5b835b81811015611d9e5780611d8a8882611d2a565b845260208401935050602081019050611d77565b5050509392505050565b600082601f830112611dbd57611dbc611cdd565b5b8151611dcd848260208601611d3f565b91505092915050565b600060208284031215611dec57611deb610de6565b5b600082015167ffffffffffffffff811115611e0a57611e09610deb565b5b611e1684828501611da8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611e5a8285611b5b565b602082019150611e6a8284611b5b565b602082019150819050939250505056fea26469706673582212207cf34ae3e29a967c2455788f81016e472c30126aa6c4016b7eb421a23c8246cf64736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
0x630B63ae9bAD0460Cf59024E02124754A5a9c0a6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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