• The initial pool sqrt_price_x64 Genesis computes at graduation from the deployed token amounts: sqrt(amount_1 * 2^128 / amount_0). Exact port of the on-chain compute_sqrt_price_x64; combine with getTickAtSqrtPrice to predict the graduation anchor tick off-chain.

    Parameters

    • amount0: bigint
    • amount1: bigint

    Returns bigint

Generated using TypeDoc