Interface CanonicalInitialPrice

The canonical raw-token ratio and its TickMath-compatible Q64.96 encoding.

interface CanonicalInitialPrice {
    token0: `0x${string}`;
    token1: `0x${string}`;
    amount0Raw: bigint;
    amount1Raw: bigint;
    sqrtPriceX96: bigint;
    baseTokenIsToken0: boolean;
}

Hierarchy (View Summary)

Properties

token0: `0x${string}`
token1: `0x${string}`
amount0Raw: bigint
amount1Raw: bigint
sqrtPriceX96: bigint
baseTokenIsToken0: boolean