Documentation
    Preparing search index...

    Module @orca-so/whirlpools-client

    Orca Whirlpools Client SDK

    This package provides developers with low-level functionalities for interacting with the Whirlpool Program on Solana. It serves as a foundational tool that allows developers to manage and integrate detailed operations into their Typescript projects, particularly those related to Orca's Whirlpool Program. While a high-level SDK is available for easier integration, @orca-so/whirlpools, this package offers more granular control for advanced use cases.

    Note: This SDK uses Solana Kit. It is not compatible with Solana Web3.js.

    • Codama Client: The package includes a set of generated client code based on the Whirlpool Program IDL. This ensures all the necessary program information is easily accessible in a structured format and handles all decoding and encoding of instructions and account data, making it much easier to interact with the program.
    • GPA (Get Program Accounts) Filters: This feature contains utilities to add filters to program accounts, allowing developers to fetch program account data more selectively and efficiently.
    • PDA (Program Derived Addresses) Utilities: This feature contains utility functions that help derive Program Derived Addresses (PDAs) for accounts within the Whirlpool Program, simplifying address generation for developers.

    You can install the package via npm:

    npm install @orca-so/whirlpools-client
    

    Here are some basic examples of how to use the package.

    The following example demonstrates how to fetch Whirlpools accounts based on specific filters, using the GPA utilities:

    import { createSolanaRpc, address, devnet } from '@solana/kit';
    import { fetchAllWhirlpoolWithFilter, whirlpoolTokenMintAFilter } from "@orca-so/whirlpools-client";

    const rpc = createSolanaRpc(devnet("https://api.devnet.solana.com"));

    const tokenMintA = address("BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k"); //DevUSDC
    const filter = whirlpoolTokenMintAFilter(tokenMintA);

    const accounts = await fetchAllWhirlpoolWithFilter(rpc, filter);
    console.log(accounts);

    To derive a PDA for a Whirlpool account, you can use the getWhirlpoolAddress PDA utility.

    import { getWhirlpoolAddress } from "@orca-so/whirlpools-client";
    import { address } from '@solana/kit';

    const whirlpoolConfigAddress = address("FcrweFY1G9HJAHG5inkGB6pKg1HZ6x9UC2WioAfWrGkR");
    const tokenMintA = address("So11111111111111111111111111111111111111112"); //wSOL
    const tokenMintB = address("BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k"); //DevUSDC
    const tickSpacing = 64;

    const whirlpoolPda = await getWhirlpoolAddress(
    whirlpoolConfigAddress,
    tokenMintA,
    tokenMintB,
    tickSpacing,
    );
    console.log(whirlpoolPda);

    The following example demonstrates how to create an InitializePool instruction using the Codama-IDL autogenerated code:

    import { getInitializePoolV2Instruction, getTokenBadgeAddress, getWhirlpoolAddress, getFeeTierAddress } from "@orca-so/whirlpools-client";
    import { address, generateKeyPairSigner } from '@solana/kit';

    const whirlpoolConfigAddress = address("FcrweFY1G9HJAHG5inkGB6pKg1HZ6x9UC2WioAfWrGkR");
    const tokenMintA = address("So11111111111111111111111111111111111111112"); // wSOL
    const tokenMintB = address("BRjpCHtyQLNCo8gqRUr8jtdAj5AjPYQaoqbvcZiHok1k"); // DevUSDC
    const tokenBadgeA = await getTokenBadgeAddress(whirlpoolConfigAddress, tokenMintA)
    const tokenBadgeB = await getTokenBadgeAddress(whirlpoolConfigAddress, tokenMintB)
    const wallet = await generateKeyPairSigner(); // CAUTION: this wallet is not persistent
    const tickSpacing = 8;
    const whirlpool = await getWhirlpoolAddress(whirlpoolConfigAddress, tokenMintA, tokenMintB, tickSpacing);
    const tokenVaultA = await generateKeyPairSigner();
    const tokenVaultB = await generateKeyPairSigner();
    const feeTier = await getFeeTierAddress(whirlpoolConfigAddress, tickSpacing);
    const tokenProgramA = address("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
    const tokenProgramB = address("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
    const initialSqrtPrice = BigInt(7459106261056563200n);

    const initializePoolInstruction = getInitializePoolV2Instruction({
    whirlpoolsConfig: whirlpoolConfigAddress,
    tokenMintA,
    tokenMintB,
    tokenBadgeA,
    tokenBadgeB,
    funder: wallet,
    whirlpool,
    tokenVaultA,
    tokenVaultB,
    feeTier,
    whirlpoolBump: 1,
    tickSpacing,
    tokenProgramA,
    tokenProgramB,
    initialSqrtPrice
    });

    console.log(initializePoolInstruction);

    Enumerations

    AccountsType
    LockType
    LockTypeLabel
    WhirlpoolAccount
    WhirlpoolInstruction

    Type Aliases

    AccountsTypeArgs
    AdaptiveFeeConstants
    AdaptiveFeeConstantsArgs
    AdaptiveFeeTier
    AdaptiveFeeTierArgs
    AdaptiveFeeVariables
    AdaptiveFeeVariablesArgs
    CloseBundledPositionInput
    CloseBundledPositionInstruction
    CloseBundledPositionInstructionData
    CloseBundledPositionInstructionDataArgs
    ClosePositionInput
    ClosePositionInstruction
    ClosePositionInstructionData
    ClosePositionInstructionDataArgs
    ClosePositionWithTokenExtensionsInput
    ClosePositionWithTokenExtensionsInstruction
    ClosePositionWithTokenExtensionsInstructionData
    ClosePositionWithTokenExtensionsInstructionDataArgs
    CollectFeesInput
    CollectFeesInstruction
    CollectFeesInstructionData
    CollectFeesInstructionDataArgs
    CollectFeesV2Input
    CollectFeesV2Instruction
    CollectFeesV2InstructionData
    CollectFeesV2InstructionDataArgs
    CollectProtocolFeesInput
    CollectProtocolFeesInstruction
    CollectProtocolFeesInstructionData
    CollectProtocolFeesInstructionDataArgs
    CollectProtocolFeesV2Input
    CollectProtocolFeesV2Instruction
    CollectProtocolFeesV2InstructionData
    CollectProtocolFeesV2InstructionDataArgs
    CollectRewardInput
    CollectRewardInstruction
    CollectRewardInstructionData
    CollectRewardInstructionDataArgs
    CollectRewardV2Input
    CollectRewardV2Instruction
    CollectRewardV2InstructionData
    CollectRewardV2InstructionDataArgs
    DecreaseLiquidityInput
    DecreaseLiquidityInstruction
    DecreaseLiquidityInstructionData
    DecreaseLiquidityInstructionDataArgs
    DecreaseLiquidityV2Input
    DecreaseLiquidityV2Instruction
    DecreaseLiquidityV2InstructionData
    DecreaseLiquidityV2InstructionDataArgs
    DeletePositionBundleInput
    DeletePositionBundleInstruction
    DeletePositionBundleInstructionData
    DeletePositionBundleInstructionDataArgs
    DeleteTokenBadgeInput
    DeleteTokenBadgeInstruction
    DeleteTokenBadgeInstructionData
    DeleteTokenBadgeInstructionDataArgs
    FeeTier
    FeeTierArgs
    IncreaseLiquidityInput
    IncreaseLiquidityInstruction
    IncreaseLiquidityInstructionData
    IncreaseLiquidityInstructionDataArgs
    IncreaseLiquidityV2Input
    IncreaseLiquidityV2Instruction
    IncreaseLiquidityV2InstructionData
    IncreaseLiquidityV2InstructionDataArgs
    InitializeAdaptiveFeeTierInput
    InitializeAdaptiveFeeTierInstruction
    InitializeAdaptiveFeeTierInstructionData
    InitializeAdaptiveFeeTierInstructionDataArgs
    InitializeConfigExtensionInput
    InitializeConfigExtensionInstruction
    InitializeConfigExtensionInstructionData
    InitializeConfigExtensionInstructionDataArgs
    InitializeConfigInput
    InitializeConfigInstruction
    InitializeConfigInstructionData
    InitializeConfigInstructionDataArgs
    InitializeFeeTierInput
    InitializeFeeTierInstruction
    InitializeFeeTierInstructionData
    InitializeFeeTierInstructionDataArgs
    InitializePoolInput
    InitializePoolInstruction
    InitializePoolInstructionData
    InitializePoolInstructionDataArgs
    InitializePoolV2Input
    InitializePoolV2Instruction
    InitializePoolV2InstructionData
    InitializePoolV2InstructionDataArgs
    InitializePoolWithAdaptiveFeeInput
    InitializePoolWithAdaptiveFeeInstruction
    InitializePoolWithAdaptiveFeeInstructionData
    InitializePoolWithAdaptiveFeeInstructionDataArgs
    InitializePositionBundleInput
    InitializePositionBundleInstruction
    InitializePositionBundleInstructionData
    InitializePositionBundleInstructionDataArgs
    InitializePositionBundleWithMetadataInput
    InitializePositionBundleWithMetadataInstruction
    InitializePositionBundleWithMetadataInstructionData
    InitializePositionBundleWithMetadataInstructionDataArgs
    InitializeRewardInput
    InitializeRewardInstruction
    InitializeRewardInstructionData
    InitializeRewardInstructionDataArgs
    InitializeRewardV2Input
    InitializeRewardV2Instruction
    InitializeRewardV2InstructionData
    InitializeRewardV2InstructionDataArgs
    InitializeTickArrayInput
    InitializeTickArrayInstruction
    InitializeTickArrayInstructionData
    InitializeTickArrayInstructionDataArgs
    InitializeTokenBadgeInput
    InitializeTokenBadgeInstruction
    InitializeTokenBadgeInstructionData
    InitializeTokenBadgeInstructionDataArgs
    LockConfig
    LockConfigArgs
    LockPositionInput
    LockPositionInstruction
    LockPositionInstructionData
    LockPositionInstructionDataArgs
    LockTypeArgs
    LockTypeLabelArgs
    OpenBundledPositionInput
    OpenBundledPositionInstruction
    OpenBundledPositionInstructionData
    OpenBundledPositionInstructionDataArgs
    OpenPositionInput
    OpenPositionInstruction
    OpenPositionInstructionData
    OpenPositionInstructionDataArgs
    OpenPositionWithMetadataInput
    OpenPositionWithMetadataInstruction
    OpenPositionWithMetadataInstructionData
    OpenPositionWithMetadataInstructionDataArgs
    OpenPositionWithTokenExtensionsInput
    OpenPositionWithTokenExtensionsInstruction
    OpenPositionWithTokenExtensionsInstructionData
    OpenPositionWithTokenExtensionsInstructionDataArgs
    Oracle
    OracleArgs
    ParsedCloseBundledPositionInstruction
    ParsedClosePositionInstruction
    ParsedClosePositionWithTokenExtensionsInstruction
    ParsedCollectFeesInstruction
    ParsedCollectFeesV2Instruction
    ParsedCollectProtocolFeesInstruction
    ParsedCollectProtocolFeesV2Instruction
    ParsedCollectRewardInstruction
    ParsedCollectRewardV2Instruction
    ParsedDecreaseLiquidityInstruction
    ParsedDecreaseLiquidityV2Instruction
    ParsedDeletePositionBundleInstruction
    ParsedDeleteTokenBadgeInstruction
    ParsedIncreaseLiquidityInstruction
    ParsedIncreaseLiquidityV2Instruction
    ParsedInitializeAdaptiveFeeTierInstruction
    ParsedInitializeConfigExtensionInstruction
    ParsedInitializeConfigInstruction
    ParsedInitializeFeeTierInstruction
    ParsedInitializePoolInstruction
    ParsedInitializePoolV2Instruction
    ParsedInitializePoolWithAdaptiveFeeInstruction
    ParsedInitializePositionBundleInstruction
    ParsedInitializePositionBundleWithMetadataInstruction
    ParsedInitializeRewardInstruction
    ParsedInitializeRewardV2Instruction
    ParsedInitializeTickArrayInstruction
    ParsedInitializeTokenBadgeInstruction
    ParsedLockPositionInstruction
    ParsedOpenBundledPositionInstruction
    ParsedOpenPositionInstruction
    ParsedOpenPositionWithMetadataInstruction
    ParsedOpenPositionWithTokenExtensionsInstruction
    ParsedResetPositionRangeInstruction
    ParsedSetCollectProtocolFeesAuthorityInstruction
    ParsedSetConfigExtensionAuthorityInstruction
    ParsedSetDefaultBaseFeeRateInstruction
    ParsedSetDefaultFeeRateInstruction
    ParsedSetDefaultProtocolFeeRateInstruction
    ParsedSetDelegatedFeeAuthorityInstruction
    ParsedSetFeeAuthorityInstruction
    ParsedSetFeeRateByDelegatedFeeAuthorityInstruction
    ParsedSetFeeRateInstruction
    ParsedSetInitializePoolAuthorityInstruction
    ParsedSetPresetAdaptiveFeeConstantsInstruction
    ParsedSetProtocolFeeRateInstruction
    ParsedSetRewardAuthorityBySuperAuthorityInstruction
    ParsedSetRewardAuthorityInstruction
    ParsedSetRewardEmissionsInstruction
    ParsedSetRewardEmissionsSuperAuthorityInstruction
    ParsedSetRewardEmissionsV2Instruction
    ParsedSetTokenBadgeAuthorityInstruction
    ParsedSwapInstruction
    ParsedSwapV2Instruction
    ParsedTransferLockedPositionInstruction
    ParsedTwoHopSwapInstruction
    ParsedTwoHopSwapV2Instruction
    ParsedUpdateFeesAndRewardsInstruction
    ParsedWhirlpoolInstruction
    Position
    PositionArgs
    PositionBundle
    PositionBundleArgs
    PositionBundleFilter
    PositionRewardInfo
    PositionRewardInfoArgs
    RemainingAccountsInfo
    RemainingAccountsInfoArgs
    RemainingAccountsSlice
    RemainingAccountsSliceArgs
    ResetPositionRangeInput
    ResetPositionRangeInstruction
    ResetPositionRangeInstructionData
    ResetPositionRangeInstructionDataArgs
    SetCollectProtocolFeesAuthorityInput
    SetCollectProtocolFeesAuthorityInstruction
    SetCollectProtocolFeesAuthorityInstructionData
    SetCollectProtocolFeesAuthorityInstructionDataArgs
    SetConfigExtensionAuthorityInput
    SetConfigExtensionAuthorityInstruction
    SetConfigExtensionAuthorityInstructionData
    SetConfigExtensionAuthorityInstructionDataArgs
    SetDefaultBaseFeeRateInput
    SetDefaultBaseFeeRateInstruction
    SetDefaultBaseFeeRateInstructionData
    SetDefaultBaseFeeRateInstructionDataArgs
    SetDefaultFeeRateInput
    SetDefaultFeeRateInstruction
    SetDefaultFeeRateInstructionData
    SetDefaultFeeRateInstructionDataArgs
    SetDefaultProtocolFeeRateInput
    SetDefaultProtocolFeeRateInstruction
    SetDefaultProtocolFeeRateInstructionData
    SetDefaultProtocolFeeRateInstructionDataArgs
    SetDelegatedFeeAuthorityInput
    SetDelegatedFeeAuthorityInstruction
    SetDelegatedFeeAuthorityInstructionData
    SetDelegatedFeeAuthorityInstructionDataArgs
    SetFeeAuthorityInput
    SetFeeAuthorityInstruction
    SetFeeAuthorityInstructionData
    SetFeeAuthorityInstructionDataArgs
    SetFeeRateByDelegatedFeeAuthorityInput
    SetFeeRateByDelegatedFeeAuthorityInstruction
    SetFeeRateByDelegatedFeeAuthorityInstructionData
    SetFeeRateByDelegatedFeeAuthorityInstructionDataArgs
    SetFeeRateInput
    SetFeeRateInstruction
    SetFeeRateInstructionData
    SetFeeRateInstructionDataArgs
    SetInitializePoolAuthorityInput
    SetInitializePoolAuthorityInstruction
    SetInitializePoolAuthorityInstructionData
    SetInitializePoolAuthorityInstructionDataArgs
    SetPresetAdaptiveFeeConstantsInput
    SetPresetAdaptiveFeeConstantsInstruction
    SetPresetAdaptiveFeeConstantsInstructionData
    SetPresetAdaptiveFeeConstantsInstructionDataArgs
    SetProtocolFeeRateInput
    SetProtocolFeeRateInstruction
    SetProtocolFeeRateInstructionData
    SetProtocolFeeRateInstructionDataArgs
    SetRewardAuthorityBySuperAuthorityInput
    SetRewardAuthorityBySuperAuthorityInstruction
    SetRewardAuthorityBySuperAuthorityInstructionData
    SetRewardAuthorityBySuperAuthorityInstructionDataArgs
    SetRewardAuthorityInput
    SetRewardAuthorityInstruction
    SetRewardAuthorityInstructionData
    SetRewardAuthorityInstructionDataArgs
    SetRewardEmissionsInput
    SetRewardEmissionsInstruction
    SetRewardEmissionsInstructionData
    SetRewardEmissionsInstructionDataArgs
    SetRewardEmissionsSuperAuthorityInput
    SetRewardEmissionsSuperAuthorityInstruction
    SetRewardEmissionsSuperAuthorityInstructionData
    SetRewardEmissionsSuperAuthorityInstructionDataArgs
    SetRewardEmissionsV2Input
    SetRewardEmissionsV2Instruction
    SetRewardEmissionsV2InstructionData
    SetRewardEmissionsV2InstructionDataArgs
    SetTokenBadgeAuthorityInput
    SetTokenBadgeAuthorityInstruction
    SetTokenBadgeAuthorityInstructionData
    SetTokenBadgeAuthorityInstructionDataArgs
    SwapInput
    SwapInstruction
    SwapInstructionData
    SwapInstructionDataArgs
    SwapV2Input
    SwapV2Instruction
    SwapV2InstructionData
    SwapV2InstructionDataArgs
    Tick
    TickArgs
    TickArray
    TickArrayArgs
    TickArrayFilter
    TokenBadge
    TokenBadgeArgs
    TokenBadgeFilter
    TransferLockedPositionInput
    TransferLockedPositionInstruction
    TransferLockedPositionInstructionData
    TransferLockedPositionInstructionDataArgs
    TwoHopSwapInput
    TwoHopSwapInstruction
    TwoHopSwapInstructionData
    TwoHopSwapInstructionDataArgs
    TwoHopSwapV2Input
    TwoHopSwapV2Instruction
    TwoHopSwapV2InstructionData
    TwoHopSwapV2InstructionDataArgs
    UpdateFeesAndRewardsInput
    UpdateFeesAndRewardsInstruction
    UpdateFeesAndRewardsInstructionData
    UpdateFeesAndRewardsInstructionDataArgs
    Whirlpool
    WhirlpoolArgs
    WhirlpoolError
    WhirlpoolFilter
    WhirlpoolRewardInfo
    WhirlpoolRewardInfoArgs
    WhirlpoolsConfig
    WhirlpoolsConfigArgs
    WhirlpoolsConfigExtension
    WhirlpoolsConfigExtensionArgs
    WhirlpoolsConfigExtensionFilter
    WhirlpoolsConfigFilter

    Variables

    ADAPTIVE_FEE_TIER_DISCRIMINATOR
    CLOSE_BUNDLED_POSITION_DISCRIMINATOR
    CLOSE_POSITION_DISCRIMINATOR
    CLOSE_POSITION_WITH_TOKEN_EXTENSIONS_DISCRIMINATOR
    COLLECT_FEES_DISCRIMINATOR
    COLLECT_FEES_V2_DISCRIMINATOR
    COLLECT_PROTOCOL_FEES_DISCRIMINATOR
    COLLECT_PROTOCOL_FEES_V2_DISCRIMINATOR
    COLLECT_REWARD_DISCRIMINATOR
    COLLECT_REWARD_V2_DISCRIMINATOR
    DECREASE_LIQUIDITY_DISCRIMINATOR
    DECREASE_LIQUIDITY_V2_DISCRIMINATOR
    DELETE_POSITION_BUNDLE_DISCRIMINATOR
    DELETE_TOKEN_BADGE_DISCRIMINATOR
    FEE_TIER_DISCRIMINATOR
    INCREASE_LIQUIDITY_DISCRIMINATOR
    INCREASE_LIQUIDITY_V2_DISCRIMINATOR
    INITIALIZE_ADAPTIVE_FEE_TIER_DISCRIMINATOR
    INITIALIZE_CONFIG_DISCRIMINATOR
    INITIALIZE_CONFIG_EXTENSION_DISCRIMINATOR
    INITIALIZE_FEE_TIER_DISCRIMINATOR
    INITIALIZE_POOL_DISCRIMINATOR
    INITIALIZE_POOL_V2_DISCRIMINATOR
    INITIALIZE_POOL_WITH_ADAPTIVE_FEE_DISCRIMINATOR
    INITIALIZE_POSITION_BUNDLE_DISCRIMINATOR
    INITIALIZE_POSITION_BUNDLE_WITH_METADATA_DISCRIMINATOR
    INITIALIZE_REWARD_DISCRIMINATOR
    INITIALIZE_REWARD_V2_DISCRIMINATOR
    INITIALIZE_TICK_ARRAY_DISCRIMINATOR
    INITIALIZE_TOKEN_BADGE_DISCRIMINATOR
    LOCK_CONFIG_DISCRIMINATOR
    LOCK_POSITION_DISCRIMINATOR
    OPEN_BUNDLED_POSITION_DISCRIMINATOR
    OPEN_POSITION_DISCRIMINATOR
    OPEN_POSITION_WITH_METADATA_DISCRIMINATOR
    OPEN_POSITION_WITH_TOKEN_EXTENSIONS_DISCRIMINATOR
    ORACLE_DISCRIMINATOR
    POSITION_BUNDLE_DISCRIMINATOR
    POSITION_DISCRIMINATOR
    RESET_POSITION_RANGE_DISCRIMINATOR
    SET_COLLECT_PROTOCOL_FEES_AUTHORITY_DISCRIMINATOR
    SET_CONFIG_EXTENSION_AUTHORITY_DISCRIMINATOR
    SET_DEFAULT_BASE_FEE_RATE_DISCRIMINATOR
    SET_DEFAULT_FEE_RATE_DISCRIMINATOR
    SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR
    SET_DELEGATED_FEE_AUTHORITY_DISCRIMINATOR
    SET_FEE_AUTHORITY_DISCRIMINATOR
    SET_FEE_RATE_BY_DELEGATED_FEE_AUTHORITY_DISCRIMINATOR
    SET_FEE_RATE_DISCRIMINATOR
    SET_INITIALIZE_POOL_AUTHORITY_DISCRIMINATOR
    SET_PRESET_ADAPTIVE_FEE_CONSTANTS_DISCRIMINATOR
    SET_PROTOCOL_FEE_RATE_DISCRIMINATOR
    SET_REWARD_AUTHORITY_BY_SUPER_AUTHORITY_DISCRIMINATOR
    SET_REWARD_AUTHORITY_DISCRIMINATOR
    SET_REWARD_EMISSIONS_DISCRIMINATOR
    SET_REWARD_EMISSIONS_SUPER_AUTHORITY_DISCRIMINATOR
    SET_REWARD_EMISSIONS_V2_DISCRIMINATOR
    SET_TOKEN_BADGE_AUTHORITY_DISCRIMINATOR
    SWAP_DISCRIMINATOR
    SWAP_V2_DISCRIMINATOR
    TICK_ARRAY_DISCRIMINATOR
    TOKEN_BADGE_DISCRIMINATOR
    TRANSFER_LOCKED_POSITION_DISCRIMINATOR
    TWO_HOP_SWAP_DISCRIMINATOR
    TWO_HOP_SWAP_V2_DISCRIMINATOR
    UPDATE_FEES_AND_REWARDS_DISCRIMINATOR
    WHIRLPOOL_DISCRIMINATOR
    WHIRLPOOL_ERROR__AMOUNT_CALC_OVERFLOW
    WHIRLPOOL_ERROR__AMOUNT_IN_ABOVE_MAXIMUM
    WHIRLPOOL_ERROR__AMOUNT_OUT_BELOW_MINIMUM
    WHIRLPOOL_ERROR__AMOUNT_REMAINING_OVERFLOW
    WHIRLPOOL_ERROR__BUNDLED_POSITION_ALREADY_CLOSED
    WHIRLPOOL_ERROR__BUNDLED_POSITION_ALREADY_OPENED
    WHIRLPOOL_ERROR__CLOSE_POSITION_NOT_EMPTY
    WHIRLPOOL_ERROR__DIFFERENT_WHIRLPOOL_TICK_ARRAY_ACCOUNT
    WHIRLPOOL_ERROR__DIVIDE_BY_ZERO
    WHIRLPOOL_ERROR__DUPLICATE_TWO_HOP_POOL
    WHIRLPOOL_ERROR__FEE_RATE_MAX_EXCEEDED
    WHIRLPOOL_ERROR__FULL_RANGE_ONLY_POOL
    WHIRLPOOL_ERROR__INTERMEDIATE_TOKEN_AMOUNT_MISMATCH
    WHIRLPOOL_ERROR__INVALID_ADAPTIVE_FEE_CONSTANTS
    WHIRLPOOL_ERROR__INVALID_BUNDLE_INDEX
    WHIRLPOOL_ERROR__INVALID_ENUM
    WHIRLPOOL_ERROR__INVALID_FEE_TIER_INDEX
    WHIRLPOOL_ERROR__INVALID_INTERMEDIARY_MINT
    WHIRLPOOL_ERROR__INVALID_POSITION_TOKEN_AMOUNT
    WHIRLPOOL_ERROR__INVALID_REWARD_INDEX
    WHIRLPOOL_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION
    WHIRLPOOL_ERROR__INVALID_START_TICK
    WHIRLPOOL_ERROR__INVALID_TICK_ARRAY_SEQUENCE
    WHIRLPOOL_ERROR__INVALID_TICK_INDEX
    WHIRLPOOL_ERROR__INVALID_TICK_SPACING
    WHIRLPOOL_ERROR__INVALID_TIMESTAMP
    WHIRLPOOL_ERROR__INVALID_TIMESTAMP_CONVERSION
    WHIRLPOOL_ERROR__INVALID_TOKEN_MINT_ORDER
    WHIRLPOOL_ERROR__INVALID_TRADE_ENABLE_TIMESTAMP
    WHIRLPOOL_ERROR__LIQUIDITY_NET_ERROR
    WHIRLPOOL_ERROR__LIQUIDITY_OVERFLOW
    WHIRLPOOL_ERROR__LIQUIDITY_TOO_HIGH
    WHIRLPOOL_ERROR__LIQUIDITY_UNDERFLOW
    WHIRLPOOL_ERROR__LIQUIDITY_ZERO
    WHIRLPOOL_ERROR__MISSING_OR_INVALID_DELEGATE
    WHIRLPOOL_ERROR__MUL_DIV_INVALID_INPUT
    WHIRLPOOL_ERROR__MUL_DIV_OVERFLOW
    WHIRLPOOL_ERROR__MULTIPLICATION_OVERFLOW
    WHIRLPOOL_ERROR__MULTIPLICATION_SHIFT_RIGHT_OVERFLOW
    WHIRLPOOL_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK
    WHIRLPOOL_ERROR__NUMBER_CAST_ERROR
    WHIRLPOOL_ERROR__NUMBER_DOWN_CAST_ERROR
    WHIRLPOOL_ERROR__OPERATION_NOT_ALLOWED_ON_LOCKED_POSITION
    WHIRLPOOL_ERROR__PARTIAL_FILL_ERROR
    WHIRLPOOL_ERROR__POSITION_BUNDLE_NOT_DELETABLE
    WHIRLPOOL_ERROR__POSITION_NOT_LOCKABLE
    WHIRLPOOL_ERROR__PROTOCOL_FEE_RATE_MAX_EXCEEDED
    WHIRLPOOL_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE
    WHIRLPOOL_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT
    WHIRLPOOL_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE
    WHIRLPOOL_ERROR__REWARD_NOT_INITIALIZED
    WHIRLPOOL_ERROR__REWARD_VAULT_AMOUNT_INSUFFICIENT
    WHIRLPOOL_ERROR__SAME_TICK_RANGE_NOT_ALLOWED
    WHIRLPOOL_ERROR__SQRT_PRICE_OUT_OF_BOUNDS
    WHIRLPOOL_ERROR__TICK_ARRAY_EXIST_IN_POOL
    WHIRLPOOL_ERROR__TICK_ARRAY_INDEX_OUTOF_BOUNDS
    WHIRLPOOL_ERROR__TICK_ARRAY_SEQUENCE_INVALID_INDEX
    WHIRLPOOL_ERROR__TICK_NOT_FOUND
    WHIRLPOOL_ERROR__TOKEN_MAX_EXCEEDED
    WHIRLPOOL_ERROR__TOKEN_MIN_SUBCEEDED
    WHIRLPOOL_ERROR__TOO_MANY_SUPPLEMENTAL_TICK_ARRAYS
    WHIRLPOOL_ERROR__TRADE_IS_NOT_ENABLED
    WHIRLPOOL_ERROR__TRANSFER_FEE_CALCULATION_ERROR
    WHIRLPOOL_ERROR__UNSUPPORTED_TOKEN_MINT
    WHIRLPOOL_ERROR__ZERO_TRADABLE_AMOUNT
    WHIRLPOOL_PROGRAM_ADDRESS
    WHIRLPOOLS_CONFIG_DISCRIMINATOR
    WHIRLPOOLS_CONFIG_EXTENSION_DISCRIMINATOR

    Functions

    adaptiveFeeTierAdaptiveFeeControlFactorFilter
    adaptiveFeeTierDecayPeriodFilter
    adaptiveFeeTierDefaultBaseFeeRateFilter
    adaptiveFeeTierDelegatedFeeAuthorityFilter
    adaptiveFeeTierFeeTierIndexFilter
    adaptiveFeeTierFilterPeriodFilter
    adaptiveFeeTierInitializePoolAuthorityFilter
    adaptiveFeeTierMajorSwapThresholdTicksFilter
    adaptiveFeeTierMaxVolatilityFilter
    adaptiveFeeTierReductionFactorFilter
    adaptiveFeeTierTickGroupSizeFilter
    adaptiveFeeTierTickSpacingFilter
    adaptiveFeeTierWhirlpoolsConfigFilter
    decodeAdaptiveFeeTier
    decodeFeeTier
    decodeLockConfig
    decodeOracle
    decodePosition
    decodePositionBundle
    decodeTickArray
    decodeTokenBadge
    decodeWhirlpool
    decodeWhirlpoolsConfig
    decodeWhirlpoolsConfigExtension
    feeTierFeeRateFilter
    feeTierTickSpacingFilter
    feeTierWhirlpoolsConfigFilter
    fetchAdaptiveFeeTier
    fetchAllAdaptiveFeeTier
    fetchAllAdaptiveFeeTierWithFilter
    fetchAllFeeTier
    fetchAllFeeTierWithFilter
    fetchAllLockConfig
    fetchAllMaybeAdaptiveFeeTier
    fetchAllMaybeFeeTier
    fetchAllMaybeLockConfig
    fetchAllMaybeOracle
    fetchAllMaybePosition
    fetchAllMaybePositionBundle
    fetchAllMaybeTickArray
    fetchAllMaybeTokenBadge
    fetchAllMaybeWhirlpool
    fetchAllMaybeWhirlpoolsConfig
    fetchAllMaybeWhirlpoolsConfigExtension
    fetchAllOracle
    fetchAllOracleWithFilter
    fetchAllPosition
    fetchAllPositionBundle
    fetchAllPositionBundleWithFilter
    fetchAllPositionWithFilter
    fetchAllTickArray
    fetchAllTickArrayWithFilter
    fetchAllTokenBadge
    fetchAllTokenBadgeWithFilter
    fetchAllWhirlpool
    fetchAllWhirlpoolsConfig
    fetchAllWhirlpoolsConfigExtension
    fetchAllWhirlpoolsConfigExtensionWithFilter
    fetchAllWhirlpoolsConfigWithFilter
    fetchAllWhirlpoolWithFilter
    fetchFeeTier
    fetchLockConfig
    fetchMaybeAdaptiveFeeTier
    fetchMaybeFeeTier
    fetchMaybeLockConfig
    fetchMaybeOracle
    fetchMaybePosition
    fetchMaybePositionBundle
    fetchMaybeTickArray
    fetchMaybeTokenBadge
    fetchMaybeWhirlpool
    fetchMaybeWhirlpoolsConfig
    fetchMaybeWhirlpoolsConfigExtension
    fetchOracle
    fetchPosition
    fetchPositionBundle
    fetchTickArray
    fetchTokenBadge
    fetchWhirlpool
    fetchWhirlpoolsConfig
    fetchWhirlpoolsConfigExtension
    getAccountsTypeCodec
    getAccountsTypeDecoder
    getAccountsTypeEncoder
    getAdaptiveFeeConstantsCodec
    getAdaptiveFeeConstantsDecoder
    getAdaptiveFeeConstantsEncoder
    getAdaptiveFeeTierCodec
    getAdaptiveFeeTierDecoder
    getAdaptiveFeeTierDiscriminatorBytes
    getAdaptiveFeeTierEncoder
    getAdaptiveFeeTierSize
    getAdaptiveFeeVariablesCodec
    getAdaptiveFeeVariablesDecoder
    getAdaptiveFeeVariablesEncoder
    getBundledPositionAddress
    getCloseBundledPositionDiscriminatorBytes
    getCloseBundledPositionInstruction
    getCloseBundledPositionInstructionDataCodec
    getCloseBundledPositionInstructionDataDecoder
    getCloseBundledPositionInstructionDataEncoder
    getClosePositionDiscriminatorBytes
    getClosePositionInstruction
    getClosePositionInstructionDataCodec
    getClosePositionInstructionDataDecoder
    getClosePositionInstructionDataEncoder
    getClosePositionWithTokenExtensionsDiscriminatorBytes
    getClosePositionWithTokenExtensionsInstruction
    getClosePositionWithTokenExtensionsInstructionDataCodec
    getClosePositionWithTokenExtensionsInstructionDataDecoder
    getClosePositionWithTokenExtensionsInstructionDataEncoder
    getCollectFeesDiscriminatorBytes
    getCollectFeesInstruction
    getCollectFeesInstructionDataCodec
    getCollectFeesInstructionDataDecoder
    getCollectFeesInstructionDataEncoder
    getCollectFeesV2DiscriminatorBytes
    getCollectFeesV2Instruction
    getCollectFeesV2InstructionDataCodec
    getCollectFeesV2InstructionDataDecoder
    getCollectFeesV2InstructionDataEncoder
    getCollectProtocolFeesDiscriminatorBytes
    getCollectProtocolFeesInstruction
    getCollectProtocolFeesInstructionDataCodec
    getCollectProtocolFeesInstructionDataDecoder
    getCollectProtocolFeesInstructionDataEncoder
    getCollectProtocolFeesV2DiscriminatorBytes
    getCollectProtocolFeesV2Instruction
    getCollectProtocolFeesV2InstructionDataCodec
    getCollectProtocolFeesV2InstructionDataDecoder
    getCollectProtocolFeesV2InstructionDataEncoder
    getCollectRewardDiscriminatorBytes
    getCollectRewardInstruction
    getCollectRewardInstructionDataCodec
    getCollectRewardInstructionDataDecoder
    getCollectRewardInstructionDataEncoder
    getCollectRewardV2DiscriminatorBytes
    getCollectRewardV2Instruction
    getCollectRewardV2InstructionDataCodec
    getCollectRewardV2InstructionDataDecoder
    getCollectRewardV2InstructionDataEncoder
    getDecreaseLiquidityDiscriminatorBytes
    getDecreaseLiquidityInstruction
    getDecreaseLiquidityInstructionDataCodec
    getDecreaseLiquidityInstructionDataDecoder
    getDecreaseLiquidityInstructionDataEncoder
    getDecreaseLiquidityV2DiscriminatorBytes
    getDecreaseLiquidityV2Instruction
    getDecreaseLiquidityV2InstructionDataCodec
    getDecreaseLiquidityV2InstructionDataDecoder
    getDecreaseLiquidityV2InstructionDataEncoder
    getDeletePositionBundleDiscriminatorBytes
    getDeletePositionBundleInstruction
    getDeletePositionBundleInstructionDataCodec
    getDeletePositionBundleInstructionDataDecoder
    getDeletePositionBundleInstructionDataEncoder
    getDeleteTokenBadgeDiscriminatorBytes
    getDeleteTokenBadgeInstruction
    getDeleteTokenBadgeInstructionDataCodec
    getDeleteTokenBadgeInstructionDataDecoder
    getDeleteTokenBadgeInstructionDataEncoder
    getFeeTierAddress
    getFeeTierCodec
    getFeeTierDecoder
    getFeeTierDiscriminatorBytes
    getFeeTierEncoder
    getFeeTierSize
    getIncreaseLiquidityDiscriminatorBytes
    getIncreaseLiquidityInstruction
    getIncreaseLiquidityInstructionDataCodec
    getIncreaseLiquidityInstructionDataDecoder
    getIncreaseLiquidityInstructionDataEncoder
    getIncreaseLiquidityV2DiscriminatorBytes
    getIncreaseLiquidityV2Instruction
    getIncreaseLiquidityV2InstructionDataCodec
    getIncreaseLiquidityV2InstructionDataDecoder
    getIncreaseLiquidityV2InstructionDataEncoder
    getInitializeAdaptiveFeeTierDiscriminatorBytes
    getInitializeAdaptiveFeeTierInstruction
    getInitializeAdaptiveFeeTierInstructionDataCodec
    getInitializeAdaptiveFeeTierInstructionDataDecoder
    getInitializeAdaptiveFeeTierInstructionDataEncoder
    getInitializeConfigDiscriminatorBytes
    getInitializeConfigExtensionDiscriminatorBytes
    getInitializeConfigExtensionInstruction
    getInitializeConfigExtensionInstructionDataCodec
    getInitializeConfigExtensionInstructionDataDecoder
    getInitializeConfigExtensionInstructionDataEncoder
    getInitializeConfigInstruction
    getInitializeConfigInstructionDataCodec
    getInitializeConfigInstructionDataDecoder
    getInitializeConfigInstructionDataEncoder
    getInitializeFeeTierDiscriminatorBytes
    getInitializeFeeTierInstruction
    getInitializeFeeTierInstructionDataCodec
    getInitializeFeeTierInstructionDataDecoder
    getInitializeFeeTierInstructionDataEncoder
    getInitializePoolDiscriminatorBytes
    getInitializePoolInstruction
    getInitializePoolInstructionDataCodec
    getInitializePoolInstructionDataDecoder
    getInitializePoolInstructionDataEncoder
    getInitializePoolV2DiscriminatorBytes
    getInitializePoolV2Instruction
    getInitializePoolV2InstructionDataCodec
    getInitializePoolV2InstructionDataDecoder
    getInitializePoolV2InstructionDataEncoder
    getInitializePoolWithAdaptiveFeeDiscriminatorBytes
    getInitializePoolWithAdaptiveFeeInstruction
    getInitializePoolWithAdaptiveFeeInstructionDataCodec
    getInitializePoolWithAdaptiveFeeInstructionDataDecoder
    getInitializePoolWithAdaptiveFeeInstructionDataEncoder
    getInitializePositionBundleDiscriminatorBytes
    getInitializePositionBundleInstruction
    getInitializePositionBundleInstructionDataCodec
    getInitializePositionBundleInstructionDataDecoder
    getInitializePositionBundleInstructionDataEncoder
    getInitializePositionBundleWithMetadataDiscriminatorBytes
    getInitializePositionBundleWithMetadataInstruction
    getInitializePositionBundleWithMetadataInstructionDataCodec
    getInitializePositionBundleWithMetadataInstructionDataDecoder
    getInitializePositionBundleWithMetadataInstructionDataEncoder
    getInitializeRewardDiscriminatorBytes
    getInitializeRewardInstruction
    getInitializeRewardInstructionDataCodec
    getInitializeRewardInstructionDataDecoder
    getInitializeRewardInstructionDataEncoder
    getInitializeRewardV2DiscriminatorBytes
    getInitializeRewardV2Instruction
    getInitializeRewardV2InstructionDataCodec
    getInitializeRewardV2InstructionDataDecoder
    getInitializeRewardV2InstructionDataEncoder
    getInitializeTickArrayDiscriminatorBytes
    getInitializeTickArrayInstruction
    getInitializeTickArrayInstructionDataCodec
    getInitializeTickArrayInstructionDataDecoder
    getInitializeTickArrayInstructionDataEncoder
    getInitializeTokenBadgeDiscriminatorBytes
    getInitializeTokenBadgeInstruction
    getInitializeTokenBadgeInstructionDataCodec
    getInitializeTokenBadgeInstructionDataDecoder
    getInitializeTokenBadgeInstructionDataEncoder
    getLockConfigCodec
    getLockConfigDecoder
    getLockConfigDiscriminatorBytes
    getLockConfigEncoder
    getLockConfigSize
    getLockPositionDiscriminatorBytes
    getLockPositionInstruction
    getLockPositionInstructionDataCodec
    getLockPositionInstructionDataDecoder
    getLockPositionInstructionDataEncoder
    getLockTypeCodec
    getLockTypeDecoder
    getLockTypeEncoder
    getLockTypeLabelCodec
    getLockTypeLabelDecoder
    getLockTypeLabelEncoder
    getOpenBundledPositionDiscriminatorBytes
    getOpenBundledPositionInstruction
    getOpenBundledPositionInstructionDataCodec
    getOpenBundledPositionInstructionDataDecoder
    getOpenBundledPositionInstructionDataEncoder
    getOpenPositionDiscriminatorBytes
    getOpenPositionInstruction
    getOpenPositionInstructionDataCodec
    getOpenPositionInstructionDataDecoder
    getOpenPositionInstructionDataEncoder
    getOpenPositionWithMetadataDiscriminatorBytes
    getOpenPositionWithMetadataInstruction
    getOpenPositionWithMetadataInstructionDataCodec
    getOpenPositionWithMetadataInstructionDataDecoder
    getOpenPositionWithMetadataInstructionDataEncoder
    getOpenPositionWithTokenExtensionsDiscriminatorBytes
    getOpenPositionWithTokenExtensionsInstruction
    getOpenPositionWithTokenExtensionsInstructionDataCodec
    getOpenPositionWithTokenExtensionsInstructionDataDecoder
    getOpenPositionWithTokenExtensionsInstructionDataEncoder
    getOracleAddress
    getOracleCodec
    getOracleDecoder
    getOracleDiscriminatorBytes
    getOracleEncoder
    getOracleSize
    getPositionAddress
    getPositionBundleAddress
    getPositionBundleCodec
    getPositionBundleDecoder
    getPositionBundleDiscriminatorBytes
    getPositionBundleEncoder
    getPositionBundleSize
    getPositionCodec
    getPositionDecoder
    getPositionDiscriminatorBytes
    getPositionEncoder
    getPositionRewardInfoCodec
    getPositionRewardInfoDecoder
    getPositionRewardInfoEncoder
    getPositionSize
    getRemainingAccountsInfoCodec
    getRemainingAccountsInfoDecoder
    getRemainingAccountsInfoEncoder
    getRemainingAccountsSliceCodec
    getRemainingAccountsSliceDecoder
    getRemainingAccountsSliceEncoder
    getResetPositionRangeDiscriminatorBytes
    getResetPositionRangeInstruction
    getResetPositionRangeInstructionDataCodec
    getResetPositionRangeInstructionDataDecoder
    getResetPositionRangeInstructionDataEncoder
    getSetCollectProtocolFeesAuthorityDiscriminatorBytes
    getSetCollectProtocolFeesAuthorityInstruction
    getSetCollectProtocolFeesAuthorityInstructionDataCodec
    getSetCollectProtocolFeesAuthorityInstructionDataDecoder
    getSetCollectProtocolFeesAuthorityInstructionDataEncoder
    getSetConfigExtensionAuthorityDiscriminatorBytes
    getSetConfigExtensionAuthorityInstruction
    getSetConfigExtensionAuthorityInstructionDataCodec
    getSetConfigExtensionAuthorityInstructionDataDecoder
    getSetConfigExtensionAuthorityInstructionDataEncoder
    getSetDefaultBaseFeeRateDiscriminatorBytes
    getSetDefaultBaseFeeRateInstruction
    getSetDefaultBaseFeeRateInstructionDataCodec
    getSetDefaultBaseFeeRateInstructionDataDecoder
    getSetDefaultBaseFeeRateInstructionDataEncoder
    getSetDefaultFeeRateDiscriminatorBytes
    getSetDefaultFeeRateInstruction
    getSetDefaultFeeRateInstructionDataCodec
    getSetDefaultFeeRateInstructionDataDecoder
    getSetDefaultFeeRateInstructionDataEncoder
    getSetDefaultProtocolFeeRateDiscriminatorBytes
    getSetDefaultProtocolFeeRateInstruction
    getSetDefaultProtocolFeeRateInstructionDataCodec
    getSetDefaultProtocolFeeRateInstructionDataDecoder
    getSetDefaultProtocolFeeRateInstructionDataEncoder
    getSetDelegatedFeeAuthorityDiscriminatorBytes
    getSetDelegatedFeeAuthorityInstruction
    getSetDelegatedFeeAuthorityInstructionDataCodec
    getSetDelegatedFeeAuthorityInstructionDataDecoder
    getSetDelegatedFeeAuthorityInstructionDataEncoder
    getSetFeeAuthorityDiscriminatorBytes
    getSetFeeAuthorityInstruction
    getSetFeeAuthorityInstructionDataCodec
    getSetFeeAuthorityInstructionDataDecoder
    getSetFeeAuthorityInstructionDataEncoder
    getSetFeeRateByDelegatedFeeAuthorityDiscriminatorBytes
    getSetFeeRateByDelegatedFeeAuthorityInstruction
    getSetFeeRateByDelegatedFeeAuthorityInstructionDataCodec
    getSetFeeRateByDelegatedFeeAuthorityInstructionDataDecoder
    getSetFeeRateByDelegatedFeeAuthorityInstructionDataEncoder
    getSetFeeRateDiscriminatorBytes
    getSetFeeRateInstruction
    getSetFeeRateInstructionDataCodec
    getSetFeeRateInstructionDataDecoder
    getSetFeeRateInstructionDataEncoder
    getSetInitializePoolAuthorityDiscriminatorBytes
    getSetInitializePoolAuthorityInstruction
    getSetInitializePoolAuthorityInstructionDataCodec
    getSetInitializePoolAuthorityInstructionDataDecoder
    getSetInitializePoolAuthorityInstructionDataEncoder
    getSetPresetAdaptiveFeeConstantsDiscriminatorBytes
    getSetPresetAdaptiveFeeConstantsInstruction
    getSetPresetAdaptiveFeeConstantsInstructionDataCodec
    getSetPresetAdaptiveFeeConstantsInstructionDataDecoder
    getSetPresetAdaptiveFeeConstantsInstructionDataEncoder
    getSetProtocolFeeRateDiscriminatorBytes
    getSetProtocolFeeRateInstruction
    getSetProtocolFeeRateInstructionDataCodec
    getSetProtocolFeeRateInstructionDataDecoder
    getSetProtocolFeeRateInstructionDataEncoder
    getSetRewardAuthorityBySuperAuthorityDiscriminatorBytes
    getSetRewardAuthorityBySuperAuthorityInstruction
    getSetRewardAuthorityBySuperAuthorityInstructionDataCodec
    getSetRewardAuthorityBySuperAuthorityInstructionDataDecoder
    getSetRewardAuthorityBySuperAuthorityInstructionDataEncoder
    getSetRewardAuthorityDiscriminatorBytes
    getSetRewardAuthorityInstruction
    getSetRewardAuthorityInstructionDataCodec
    getSetRewardAuthorityInstructionDataDecoder
    getSetRewardAuthorityInstructionDataEncoder
    getSetRewardEmissionsDiscriminatorBytes
    getSetRewardEmissionsInstruction
    getSetRewardEmissionsInstructionDataCodec
    getSetRewardEmissionsInstructionDataDecoder
    getSetRewardEmissionsInstructionDataEncoder
    getSetRewardEmissionsSuperAuthorityDiscriminatorBytes
    getSetRewardEmissionsSuperAuthorityInstruction
    getSetRewardEmissionsSuperAuthorityInstructionDataCodec
    getSetRewardEmissionsSuperAuthorityInstructionDataDecoder
    getSetRewardEmissionsSuperAuthorityInstructionDataEncoder
    getSetRewardEmissionsV2DiscriminatorBytes
    getSetRewardEmissionsV2Instruction
    getSetRewardEmissionsV2InstructionDataCodec
    getSetRewardEmissionsV2InstructionDataDecoder
    getSetRewardEmissionsV2InstructionDataEncoder
    getSetTokenBadgeAuthorityDiscriminatorBytes
    getSetTokenBadgeAuthorityInstruction
    getSetTokenBadgeAuthorityInstructionDataCodec
    getSetTokenBadgeAuthorityInstructionDataDecoder
    getSetTokenBadgeAuthorityInstructionDataEncoder
    getSwapDiscriminatorBytes
    getSwapInstruction
    getSwapInstructionDataCodec
    getSwapInstructionDataDecoder
    getSwapInstructionDataEncoder
    getSwapV2DiscriminatorBytes
    getSwapV2Instruction
    getSwapV2InstructionDataCodec
    getSwapV2InstructionDataDecoder
    getSwapV2InstructionDataEncoder
    getTickArrayAddress
    getTickArrayCodec
    getTickArrayDecoder
    getTickArrayDiscriminatorBytes
    getTickArrayEncoder
    getTickArraySize
    getTickCodec
    getTickDecoder
    getTickEncoder
    getTokenBadgeAddress
    getTokenBadgeCodec
    getTokenBadgeDecoder
    getTokenBadgeDiscriminatorBytes
    getTokenBadgeEncoder
    getTokenBadgeSize
    getTransferLockedPositionDiscriminatorBytes
    getTransferLockedPositionInstruction
    getTransferLockedPositionInstructionDataCodec
    getTransferLockedPositionInstructionDataDecoder
    getTransferLockedPositionInstructionDataEncoder
    getTwoHopSwapDiscriminatorBytes
    getTwoHopSwapInstruction
    getTwoHopSwapInstructionDataCodec
    getTwoHopSwapInstructionDataDecoder
    getTwoHopSwapInstructionDataEncoder
    getTwoHopSwapV2DiscriminatorBytes
    getTwoHopSwapV2Instruction
    getTwoHopSwapV2InstructionDataCodec
    getTwoHopSwapV2InstructionDataDecoder
    getTwoHopSwapV2InstructionDataEncoder
    getUpdateFeesAndRewardsDiscriminatorBytes
    getUpdateFeesAndRewardsInstruction
    getUpdateFeesAndRewardsInstructionDataCodec
    getUpdateFeesAndRewardsInstructionDataDecoder
    getUpdateFeesAndRewardsInstructionDataEncoder
    getWhirlpoolAddress
    getWhirlpoolCodec
    getWhirlpoolDecoder
    getWhirlpoolDiscriminatorBytes
    getWhirlpoolEncoder
    getWhirlpoolErrorMessage
    getWhirlpoolRewardInfoCodec
    getWhirlpoolRewardInfoDecoder
    getWhirlpoolRewardInfoEncoder
    getWhirlpoolsConfigCodec
    getWhirlpoolsConfigDecoder
    getWhirlpoolsConfigDiscriminatorBytes
    getWhirlpoolsConfigEncoder
    getWhirlpoolsConfigExtensionAddress
    getWhirlpoolsConfigExtensionCodec
    getWhirlpoolsConfigExtensionDecoder
    getWhirlpoolsConfigExtensionDiscriminatorBytes
    getWhirlpoolsConfigExtensionEncoder
    getWhirlpoolsConfigExtensionSize
    getWhirlpoolsConfigSize
    getWhirlpoolSize
    identifyWhirlpoolAccount
    identifyWhirlpoolInstruction
    isWhirlpoolError
    oracleAdaptiveFeeControlFactorFilter
    oracleDecayPeriodFilter
    oracleFilterPeriodFilter
    oracleMajorSwapThresholdTicksFilter
    oracleMaxVolatilityFilter
    oracleReductionFactorFilter
    oracleTickGroupSizeFilter
    oracleTradeEnableTimestampFilter
    oracleWhirlpoolFilter
    parseCloseBundledPositionInstruction
    parseClosePositionInstruction
    parseClosePositionWithTokenExtensionsInstruction
    parseCollectFeesInstruction
    parseCollectFeesV2Instruction
    parseCollectProtocolFeesInstruction
    parseCollectProtocolFeesV2Instruction
    parseCollectRewardInstruction
    parseCollectRewardV2Instruction
    parseDecreaseLiquidityInstruction
    parseDecreaseLiquidityV2Instruction
    parseDeletePositionBundleInstruction
    parseDeleteTokenBadgeInstruction
    parseIncreaseLiquidityInstruction
    parseIncreaseLiquidityV2Instruction
    parseInitializeAdaptiveFeeTierInstruction
    parseInitializeConfigExtensionInstruction
    parseInitializeConfigInstruction
    parseInitializeFeeTierInstruction
    parseInitializePoolInstruction
    parseInitializePoolV2Instruction
    parseInitializePoolWithAdaptiveFeeInstruction
    parseInitializePositionBundleInstruction
    parseInitializePositionBundleWithMetadataInstruction
    parseInitializeRewardInstruction
    parseInitializeRewardV2Instruction
    parseInitializeTickArrayInstruction
    parseInitializeTokenBadgeInstruction
    parseLockPositionInstruction
    parseOpenBundledPositionInstruction
    parseOpenPositionInstruction
    parseOpenPositionWithMetadataInstruction
    parseOpenPositionWithTokenExtensionsInstruction
    parseResetPositionRangeInstruction
    parseSetCollectProtocolFeesAuthorityInstruction
    parseSetConfigExtensionAuthorityInstruction
    parseSetDefaultBaseFeeRateInstruction
    parseSetDefaultFeeRateInstruction
    parseSetDefaultProtocolFeeRateInstruction
    parseSetDelegatedFeeAuthorityInstruction
    parseSetFeeAuthorityInstruction
    parseSetFeeRateByDelegatedFeeAuthorityInstruction
    parseSetFeeRateInstruction
    parseSetInitializePoolAuthorityInstruction
    parseSetPresetAdaptiveFeeConstantsInstruction
    parseSetProtocolFeeRateInstruction
    parseSetRewardAuthorityBySuperAuthorityInstruction
    parseSetRewardAuthorityInstruction
    parseSetRewardEmissionsInstruction
    parseSetRewardEmissionsSuperAuthorityInstruction
    parseSetRewardEmissionsV2Instruction
    parseSetTokenBadgeAuthorityInstruction
    parseSwapInstruction
    parseSwapV2Instruction
    parseTransferLockedPositionInstruction
    parseTwoHopSwapInstruction
    parseTwoHopSwapV2Instruction
    parseUpdateFeesAndRewardsInstruction
    positionBundleMintFilter
    positionMintFilter
    positionTickLowerIndexFilter
    positionTickUpperIndexFilter
    positionWhirlpoolFilter
    tickArrayStartTickIndexFilter
    tickArrayWhirlpoolFilter
    tokenBadgeTokenMintFilter
    tokenBadgeWhirlpoolsConfigFilter
    whirlpoolFeeRateFilter
    whirlpoolProtocolFeeRateFilter
    whirlpoolRewardMint1Filter
    whirlpoolRewardMint2Filter
    whirlpoolRewardMint3Filter
    whirlpoolRewardVault1Filter
    whirlpoolRewardVault2Filter
    whirlpoolRewardVault3Filter
    whirlpoolsConfigCollectProtocolFeesAuthorityFilter
    whirlpoolsConfigDefaultProtocolFeeRateFilter
    whirlpoolsConfigExtensionConfigExtensionAuthorityFilter
    whirlpoolsConfigExtensionConfigTokenBadgeAuthorityFilter
    whirlpoolsConfigExtensionWhirlpoolsConfigFilter
    whirlpoolsConfigFeeAuthorityFilter
    whirlpoolsConfigRewardEmissionsSuperAuthorityFilter
    whirlpoolTickSpacingFilter
    whirlpoolTokenMintAFilter
    whirlpoolTokenMintBFilter
    whirlpoolTokenVaultAFilter
    whirlpoolTokenVaultBFilter
    whirlpoolWhirlpoolConfigFilter