Other

  • Parameters

    • sqrtPriceX64: BN
    • tickSpacing: number
    • whirlpool: PublicKey
    • programId: PublicKey
    • tickArrayOffset: number = 0

    Returns PDA

  • Get the PDA of the tick array containing tickIndex. tickArrayOffset can be used to get neighboring tick arrays.

    Parameters

    • tickIndex: number
    • tickSpacing: number
    • whirlpool: PublicKey
    • programId: PublicKey
    • tickArrayOffset: number = 0

    Returns PDA

  • Parameters

    • programId: PublicKey
    • whirlpoolsConfigKey: PublicKey
    • tokenMintAKey: PublicKey
    • tokenMintBKey: PublicKey
    • tickSpacing: number

    Returns PDA

Program Derived Addresses

  • Parameters

    • programId: PublicKey
    • positionBundleMintKey: PublicKey
    • bundleIndex: number

    Returns PDA

  • Parameters

    • programId: PublicKey
    • whirlpoolsConfigAddress: PublicKey

    Returns PDA

  • Parameters

    • programId: PublicKey
    • whirlpoolsConfigAddress: PublicKey
    • tickSpacing: number

    Returns PDA

  • Parameters

    • programId: PublicKey
    • whirlpoolAddress: PublicKey

    Returns PDA

  • Parameters

    • programId: PublicKey
    • positionMintKey: PublicKey

    Returns PDA

  • Parameters

    • programId: PublicKey
    • positionBundleMintKey: PublicKey

    Returns PDA

  • Parameters

    • positionBundleMintKey: PublicKey

    Returns PDA

  • Parameters

    • programId: PublicKey
    • whirlpoolAddress: PublicKey
    • startTick: number

    Returns PDA

  • Parameters

    • programId: PublicKey
    • whirlpoolsConfigAddress: PublicKey
    • tokenMintKey: PublicKey

    Returns PDA