Coda by Ian Macalinao
    Preparing search index...

    Module @macalinao/clients-meteora-damm-v2

    @macalinao/clients-meteora-damm-v2

    npm version

    TypeScript client for the Meteora DAMM V2 (CP-AMM) program, generated using Coda CLI.

    bun add @macalinao/clients-meteora-damm-v2
    
    import {
    getSwapInstructionAsync,
    fetchPool,
    findPoolPda,
    } from "@macalinao/clients-meteora-damm-v2";

    // Find and fetch a pool
    const [poolAddress] = await findPoolPda({
    config: configAddress,
    tokenAMint: tokenAMintAddress,
    tokenBMint: tokenBMintAddress,
    });
    const pool = await fetchPool(rpc, poolAddress);

    // Create a swap instruction (accounts are auto-derived)
    const ix = await getSwapInstructionAsync({
    pool: poolAddress,
    inputTokenMint: tokenAMintAddress,
    outputTokenMint: tokenBMintAddress,
    userInputToken: userTokenAAccount,
    userOutputToken: userTokenBAccount,
    user: userSigner,
    amountIn: 1000000n,
    minimumAmountOut: 0n,
    });

    Copyright © 2025 Ian Macalinao

    Licensed under the Apache License, Version 2.0

    Enumerations

    CpAmmAccount
    CpAmmInstruction

    Interfaces

    AddLiquidityAsyncInput
    AddLiquidityInput
    AddLiquidityInstructionData
    AddLiquidityInstructionDataArgs
    AddLiquidityParameters
    AddLiquidityParametersArgs
    BaseFeeConfig
    BaseFeeConfigArgs
    BaseFeeParameters
    BaseFeeParametersArgs
    BaseFeeStruct
    BaseFeeStructArgs
    ClaimFeeOperator
    ClaimFeeOperatorArgs
    ClaimFeeOperatorSeeds
    ClaimPartnerFeeAsyncInput
    ClaimPartnerFeeInput
    ClaimPartnerFeeInstructionData
    ClaimPartnerFeeInstructionDataArgs
    ClaimPositionFeeAsyncInput
    ClaimPositionFeeInput
    ClaimPositionFeeInstructionData
    ClaimPositionFeeInstructionDataArgs
    ClaimProtocolFeeAsyncInput
    ClaimProtocolFeeInput
    ClaimProtocolFeeInstructionData
    ClaimProtocolFeeInstructionDataArgs
    ClaimRewardAsyncInput
    ClaimRewardInput
    ClaimRewardInstructionData
    ClaimRewardInstructionDataArgs
    CloseClaimFeeOperatorAsyncInput
    CloseClaimFeeOperatorInput
    CloseClaimFeeOperatorInstructionData
    CloseClaimFeeOperatorInstructionDataArgs
    CloseConfigAsyncInput
    CloseConfigInput
    CloseConfigInstructionData
    CloseConfigInstructionDataArgs
    ClosePositionAsyncInput
    ClosePositionInput
    ClosePositionInstructionData
    ClosePositionInstructionDataArgs
    CloseTokenBadgeAsyncInput
    CloseTokenBadgeInput
    CloseTokenBadgeInstructionData
    CloseTokenBadgeInstructionDataArgs
    Config
    ConfigArgs
    ConfigSeeds
    CreateClaimFeeOperatorAsyncInput
    CreateClaimFeeOperatorInput
    CreateClaimFeeOperatorInstructionData
    CreateClaimFeeOperatorInstructionDataArgs
    CreateConfigAsyncInput
    CreateConfigInput
    CreateConfigInstructionData
    CreateConfigInstructionDataArgs
    CreateDynamicConfigAsyncInput
    CreateDynamicConfigInput
    CreateDynamicConfigInstructionData
    CreateDynamicConfigInstructionDataArgs
    CreatePositionAsyncInput
    CreatePositionInput
    CreatePositionInstructionData
    CreatePositionInstructionDataArgs
    CreateTokenBadgeAsyncInput
    CreateTokenBadgeInput
    CreateTokenBadgeInstructionData
    CreateTokenBadgeInstructionDataArgs
    CustomizablePoolSeeds
    DynamicConfigParameters
    DynamicFeeConfig
    DynamicFeeConfigArgs
    DynamicFeeParameters
    DynamicFeeParametersArgs
    DynamicFeeStruct
    DynamicFeeStructArgs
    EvtAddLiquidity
    EvtAddLiquidityArgs
    EvtClaimPartnerFee
    EvtClaimPartnerFeeArgs
    EvtClaimPositionFee
    EvtClaimPositionFeeArgs
    EvtClaimProtocolFee
    EvtClaimProtocolFeeArgs
    EvtClaimReward
    EvtClaimRewardArgs
    EvtCloseClaimFeeOperator
    EvtCloseConfig
    EvtClosePosition
    EvtCreateClaimFeeOperator
    EvtCreateConfig
    EvtCreateConfigArgs
    EvtCreateDynamicConfig
    EvtCreateDynamicConfigArgs
    EvtCreatePosition
    EvtCreateTokenBadge
    EvtFundReward
    EvtFundRewardArgs
    EvtInitializePool
    EvtInitializePoolArgs
    EvtInitializeReward
    EvtInitializeRewardArgs
    EvtLiquidityChange
    EvtLiquidityChangeArgs
    EvtLockPosition
    EvtLockPositionArgs
    EvtPermanentLockPosition
    EvtPermanentLockPositionArgs
    EvtRemoveLiquidity
    EvtRemoveLiquidityArgs
    EvtSetPoolStatus
    EvtSplitPosition2
    EvtSplitPosition2Args
    EvtSwap
    EvtSwap2
    EvtSwap2Args
    EvtSwapArgs
    EvtUpdateRewardDuration
    EvtUpdateRewardDurationArgs
    EvtUpdateRewardFunder
    EvtWithdrawIneligibleReward
    EvtWithdrawIneligibleRewardArgs
    FundRewardAsyncInput
    FundRewardInput
    FundRewardInstructionData
    FundRewardInstructionDataArgs
    InitializeCustomizablePoolAsyncInput
    InitializeCustomizablePoolInput
    InitializeCustomizablePoolInstructionData
    InitializeCustomizablePoolInstructionDataArgs
    InitializeCustomizablePoolParameters
    InitializeCustomizablePoolParametersArgs
    InitializePoolAsyncInput
    InitializePoolInput
    InitializePoolInstructionData
    InitializePoolInstructionDataArgs
    InitializePoolParameters
    InitializePoolParametersArgs
    InitializePoolWithDynamicConfigAsyncInput
    InitializePoolWithDynamicConfigInput
    InitializePoolWithDynamicConfigInstructionData
    InitializePoolWithDynamicConfigInstructionDataArgs
    InitializeRewardAsyncInput
    InitializeRewardInput
    InitializeRewardInstructionData
    InitializeRewardInstructionDataArgs
    LockPositionAsyncInput
    LockPositionInput
    LockPositionInstructionData
    LockPositionInstructionDataArgs
    ParsedAddLiquidityInstruction
    ParsedClaimPartnerFeeInstruction
    ParsedClaimPositionFeeInstruction
    ParsedClaimProtocolFeeInstruction
    ParsedClaimRewardInstruction
    ParsedCloseClaimFeeOperatorInstruction
    ParsedCloseConfigInstruction
    ParsedClosePositionInstruction
    ParsedCloseTokenBadgeInstruction
    ParsedCreateClaimFeeOperatorInstruction
    ParsedCreateConfigInstruction
    ParsedCreateDynamicConfigInstruction
    ParsedCreatePositionInstruction
    ParsedCreateTokenBadgeInstruction
    ParsedFundRewardInstruction
    ParsedInitializeCustomizablePoolInstruction
    ParsedInitializePoolInstruction
    ParsedInitializePoolWithDynamicConfigInstruction
    ParsedInitializeRewardInstruction
    ParsedLockPositionInstruction
    ParsedPermanentLockPositionInstruction
    ParsedRefreshVestingInstruction
    ParsedRemoveAllLiquidityInstruction
    ParsedRemoveLiquidityInstruction
    ParsedSetPoolStatusInstruction
    ParsedSplitPosition2Instruction
    ParsedSplitPositionInstruction
    ParsedSwap2Instruction
    ParsedSwapInstruction
    ParsedUpdateRewardDurationInstruction
    ParsedUpdateRewardFunderInstruction
    ParsedWithdrawIneligibleRewardInstruction
    PermanentLockPositionAsyncInput
    PermanentLockPositionInput
    PermanentLockPositionInstructionData
    PermanentLockPositionInstructionDataArgs
    Pool
    PoolArgs
    PoolFeeParameters
    PoolFeeParametersArgs
    PoolFeesConfig
    PoolFeesConfigArgs
    PoolFeesStruct
    PoolFeesStructArgs
    PoolMetrics
    PoolMetricsArgs
    PoolSeeds
    Position
    PositionArgs
    PositionMetrics
    PositionMetricsArgs
    PositionNftAccountSeeds
    PositionSeeds
    RefreshVestingInput
    RefreshVestingInstructionData
    RefreshVestingInstructionDataArgs
    RemoveAllLiquidityAsyncInput
    RemoveAllLiquidityInput
    RemoveAllLiquidityInstructionData
    RemoveAllLiquidityInstructionDataArgs
    RemoveLiquidityAsyncInput
    RemoveLiquidityInput
    RemoveLiquidityInstructionData
    RemoveLiquidityInstructionDataArgs
    RemoveLiquidityParameters
    RemoveLiquidityParametersArgs
    RewardInfo
    RewardInfoArgs
    RewardVaultSeeds
    SetPoolStatusAsyncInput
    SetPoolStatusInput
    SetPoolStatusInstructionData
    SetPoolStatusInstructionDataArgs
    SplitAmountInfo
    SplitAmountInfoArgs
    SplitPosition2AsyncInput
    SplitPosition2Input
    SplitPosition2InstructionData
    SplitPosition2InstructionDataArgs
    SplitPositionAsyncInput
    SplitPositionInfo
    SplitPositionInfoArgs
    SplitPositionInput
    SplitPositionInstructionData
    SplitPositionInstructionDataArgs
    SplitPositionParameters
    SplitPositionParameters2
    StaticConfigParameters
    StaticConfigParametersArgs
    Swap2AsyncInput
    Swap2Input
    Swap2InstructionData
    Swap2InstructionDataArgs
    SwapAsyncInput
    SwapInput
    SwapInstructionData
    SwapInstructionDataArgs
    SwapParameters
    SwapParameters2
    SwapParameters2Args
    SwapParametersArgs
    SwapResult
    SwapResult2
    SwapResult2Args
    SwapResultArgs
    TokenBadge
    TokenBadgeArgs
    TokenBadgeSeeds
    TokenVaultSeeds
    UpdateRewardDurationAsyncInput
    UpdateRewardDurationInput
    UpdateRewardDurationInstructionData
    UpdateRewardDurationInstructionDataArgs
    UpdateRewardFunderAsyncInput
    UpdateRewardFunderInput
    UpdateRewardFunderInstructionData
    UpdateRewardFunderInstructionDataArgs
    UserRewardInfo
    UserRewardInfoArgs
    Vesting
    VestingArgs
    VestingParameters
    VestingParametersArgs
    WithdrawIneligibleRewardAsyncInput
    WithdrawIneligibleRewardInput
    WithdrawIneligibleRewardInstructionData
    WithdrawIneligibleRewardInstructionDataArgs

    Type Aliases

    AddLiquidityInstruction
    ClaimPartnerFeeInstruction
    ClaimPositionFeeInstruction
    ClaimProtocolFeeInstruction
    ClaimRewardInstruction
    CloseClaimFeeOperatorInstruction
    CloseConfigInstruction
    ClosePositionInstruction
    CloseTokenBadgeInstruction
    CpAmmError
    CreateClaimFeeOperatorInstruction
    CreateConfigInstruction
    CreateDynamicConfigInstruction
    CreatePositionInstruction
    CreateTokenBadgeInstruction
    DynamicConfigParametersArgs
    EvtCloseClaimFeeOperatorArgs
    EvtCloseConfigArgs
    EvtClosePositionArgs
    EvtCreateClaimFeeOperatorArgs
    EvtCreatePositionArgs
    EvtCreateTokenBadgeArgs
    EvtSetPoolStatusArgs
    EvtUpdateRewardFunderArgs
    FundRewardInstruction
    InitializeCustomizablePoolInstruction
    InitializePoolInstruction
    InitializePoolWithDynamicConfigInstruction
    InitializeRewardInstruction
    LockPositionInstruction
    ParsedCpAmmInstruction
    PermanentLockPositionInstruction
    RefreshVestingInstruction
    RemoveAllLiquidityInstruction
    RemoveLiquidityInstruction
    SetPoolStatusInstruction
    SplitPosition2Instruction
    SplitPositionInstruction
    SplitPositionParameters2Args
    SplitPositionParametersArgs
    Swap2Instruction
    SwapInstruction
    UpdateRewardDurationInstruction
    UpdateRewardFunderInstruction
    WithdrawIneligibleRewardInstruction

    Variables

    ADD_LIQUIDITY_DISCRIMINATOR
    CLAIM_FEE_OPERATOR_DISCRIMINATOR
    CLAIM_PARTNER_FEE_DISCRIMINATOR
    CLAIM_POSITION_FEE_DISCRIMINATOR
    CLAIM_PROTOCOL_FEE_DISCRIMINATOR
    CLAIM_REWARD_DISCRIMINATOR
    CLOSE_CLAIM_FEE_OPERATOR_DISCRIMINATOR
    CLOSE_CONFIG_DISCRIMINATOR
    CLOSE_POSITION_DISCRIMINATOR
    CLOSE_TOKEN_BADGE_DISCRIMINATOR
    CONFIG_DISCRIMINATOR
    CP_AMM_ERROR__AMOUNT_IS_ZERO
    CP_AMM_ERROR__CANNOT_CREATE_TOKEN_BADGE_ON_SUPPORTED_MINT
    CP_AMM_ERROR__EXCEED_MAX_FEE_BPS
    CP_AMM_ERROR__EXCEEDED_SLIPPAGE
    CP_AMM_ERROR__FAIL_TO_VALIDATE_SINGLE_SWAP_INSTRUCTION
    CP_AMM_ERROR__FEE_INVERSE_IS_INCORRECT
    CP_AMM_ERROR__IDENTICAL_FUNDER
    CP_AMM_ERROR__IDENTICAL_REWARD_DURATION
    CP_AMM_ERROR__INSUFFICIENT_LIQUIDITY
    CP_AMM_ERROR__INVALID_ACTIVATION_POINT
    CP_AMM_ERROR__INVALID_ACTIVATION_TYPE
    CP_AMM_ERROR__INVALID_ADMIN
    CP_AMM_ERROR__INVALID_AUTHORITY_TO_CREATE_THE_POOL
    CP_AMM_ERROR__INVALID_BASE_FEE_MODE
    CP_AMM_ERROR__INVALID_COLLECT_FEE_MODE
    CP_AMM_ERROR__INVALID_CONFIG_TYPE
    CP_AMM_ERROR__INVALID_FEE
    CP_AMM_ERROR__INVALID_FEE_CURVE
    CP_AMM_ERROR__INVALID_FEE_RATE_LIMITER
    CP_AMM_ERROR__INVALID_FEE_SCHEDULER
    CP_AMM_ERROR__INVALID_FUNDER
    CP_AMM_ERROR__INVALID_INPUT
    CP_AMM_ERROR__INVALID_MINIMUM_LIQUIDITY
    CP_AMM_ERROR__INVALID_PARAMETERS
    CP_AMM_ERROR__INVALID_POOL_CREATOR
    CP_AMM_ERROR__INVALID_POOL_CREATOR_AUTHORITY
    CP_AMM_ERROR__INVALID_POOL_STATUS
    CP_AMM_ERROR__INVALID_POOL_VERSION
    CP_AMM_ERROR__INVALID_PRICE_RANGE
    CP_AMM_ERROR__INVALID_QUOTE_MINT
    CP_AMM_ERROR__INVALID_REWARD_DURATION
    CP_AMM_ERROR__INVALID_REWARD_INDEX
    CP_AMM_ERROR__INVALID_REWARD_VAULT
    CP_AMM_ERROR__INVALID_SPLIT_POSITION_PARAMETERS
    CP_AMM_ERROR__INVALID_TOKEN_BADGE
    CP_AMM_ERROR__INVALID_VESTING_ACCOUNT
    CP_AMM_ERROR__INVALID_VESTING_INFO
    CP_AMM_ERROR__MATH_OVERFLOW
    CP_AMM_ERROR__MUST_WITHDRAWN_INELIGIBLE_REWARD
    CP_AMM_ERROR__POOL_DISABLED
    CP_AMM_ERROR__POSITION_IS_NOT_EMPTY
    CP_AMM_ERROR__PRICE_RANGE_VIOLATION
    CP_AMM_ERROR__REWARD_CAMPAIGN_IN_PROGRESS
    CP_AMM_ERROR__REWARD_INITIALIZED
    CP_AMM_ERROR__REWARD_NOT_ENDED
    CP_AMM_ERROR__REWARD_UNINITIALIZED
    CP_AMM_ERROR__REWARD_VAULT_FROZEN_SKIP_REQUIRED
    CP_AMM_ERROR__SAME_POSITION
    CP_AMM_ERROR__TYPE_CAST_FAILED
    CP_AMM_ERROR__UNABLE_TO_MODIFY_ACTIVATION_POINT
    CP_AMM_ERROR__UNDETERMINED_ERROR
    CP_AMM_ERROR__UNSUPPORT_NATIVE_MINT_TOKEN2022
    CP_AMM_ERROR__UNSUPPORT_POSITION_HAS_VESTING_LOCK
    CP_AMM_PROGRAM_ADDRESS
    CREATE_CLAIM_FEE_OPERATOR_DISCRIMINATOR
    CREATE_CONFIG_DISCRIMINATOR
    CREATE_DYNAMIC_CONFIG_DISCRIMINATOR
    CREATE_POSITION_DISCRIMINATOR
    CREATE_TOKEN_BADGE_DISCRIMINATOR
    FUND_REWARD_DISCRIMINATOR
    INITIALIZE_CUSTOMIZABLE_POOL_DISCRIMINATOR
    INITIALIZE_POOL_DISCRIMINATOR
    INITIALIZE_POOL_WITH_DYNAMIC_CONFIG_DISCRIMINATOR
    INITIALIZE_REWARD_DISCRIMINATOR
    LOCK_POSITION_DISCRIMINATOR
    PERMANENT_LOCK_POSITION_DISCRIMINATOR
    POOL_DISCRIMINATOR
    POSITION_DISCRIMINATOR
    REFRESH_VESTING_DISCRIMINATOR
    REMOVE_ALL_LIQUIDITY_DISCRIMINATOR
    REMOVE_LIQUIDITY_DISCRIMINATOR
    SET_POOL_STATUS_DISCRIMINATOR
    SPLIT_POSITION_DISCRIMINATOR
    SPLIT_POSITION2_DISCRIMINATOR
    SWAP_DISCRIMINATOR
    SWAP2_DISCRIMINATOR
    TOKEN_BADGE_DISCRIMINATOR
    UPDATE_REWARD_DURATION_DISCRIMINATOR
    UPDATE_REWARD_FUNDER_DISCRIMINATOR
    VESTING_DISCRIMINATOR
    WITHDRAW_INELIGIBLE_REWARD_DISCRIMINATOR

    Functions

    decodeClaimFeeOperator
    decodeConfig
    decodePool
    decodePosition
    decodeTokenBadge
    decodeVesting
    fetchAllClaimFeeOperator
    fetchAllConfig
    fetchAllMaybeClaimFeeOperator
    fetchAllMaybeConfig
    fetchAllMaybePool
    fetchAllMaybePosition
    fetchAllMaybeTokenBadge
    fetchAllMaybeVesting
    fetchAllPool
    fetchAllPosition
    fetchAllTokenBadge
    fetchAllVesting
    fetchClaimFeeOperator
    fetchConfig
    fetchMaybeClaimFeeOperator
    fetchMaybeConfig
    fetchMaybePool
    fetchMaybePosition
    fetchMaybeTokenBadge
    fetchMaybeVesting
    fetchPool
    fetchPosition
    fetchTokenBadge
    fetchVesting
    findClaimFeeOperatorPda
    findConfigPda
    findCustomizablePoolPda
    findEventAuthorityPda
    findPoolAuthorityPda
    findPoolPda
    findPositionNftAccountPda
    findPositionPda
    findRewardVaultPda
    findTokenBadgePda
    findTokenVaultPda
    getAddLiquidityDiscriminatorBytes
    getAddLiquidityInstruction
    getAddLiquidityInstructionAsync
    getAddLiquidityInstructionDataCodec
    getAddLiquidityInstructionDataDecoder
    getAddLiquidityInstructionDataEncoder
    getAddLiquidityParametersCodec
    getAddLiquidityParametersDecoder
    getAddLiquidityParametersEncoder
    getBaseFeeConfigCodec
    getBaseFeeConfigDecoder
    getBaseFeeConfigEncoder
    getBaseFeeParametersCodec
    getBaseFeeParametersDecoder
    getBaseFeeParametersEncoder
    getBaseFeeStructCodec
    getBaseFeeStructDecoder
    getBaseFeeStructEncoder
    getClaimFeeOperatorCodec
    getClaimFeeOperatorDecoder
    getClaimFeeOperatorDiscriminatorBytes
    getClaimFeeOperatorEncoder
    getClaimPartnerFeeDiscriminatorBytes
    getClaimPartnerFeeInstruction
    getClaimPartnerFeeInstructionAsync
    getClaimPartnerFeeInstructionDataCodec
    getClaimPartnerFeeInstructionDataDecoder
    getClaimPartnerFeeInstructionDataEncoder
    getClaimPositionFeeDiscriminatorBytes
    getClaimPositionFeeInstruction
    getClaimPositionFeeInstructionAsync
    getClaimPositionFeeInstructionDataCodec
    getClaimPositionFeeInstructionDataDecoder
    getClaimPositionFeeInstructionDataEncoder
    getClaimProtocolFeeDiscriminatorBytes
    getClaimProtocolFeeInstruction
    getClaimProtocolFeeInstructionAsync
    getClaimProtocolFeeInstructionDataCodec
    getClaimProtocolFeeInstructionDataDecoder
    getClaimProtocolFeeInstructionDataEncoder
    getClaimRewardDiscriminatorBytes
    getClaimRewardInstruction
    getClaimRewardInstructionAsync
    getClaimRewardInstructionDataCodec
    getClaimRewardInstructionDataDecoder
    getClaimRewardInstructionDataEncoder
    getCloseClaimFeeOperatorDiscriminatorBytes
    getCloseClaimFeeOperatorInstruction
    getCloseClaimFeeOperatorInstructionAsync
    getCloseClaimFeeOperatorInstructionDataCodec
    getCloseClaimFeeOperatorInstructionDataDecoder
    getCloseClaimFeeOperatorInstructionDataEncoder
    getCloseConfigDiscriminatorBytes
    getCloseConfigInstruction
    getCloseConfigInstructionAsync
    getCloseConfigInstructionDataCodec
    getCloseConfigInstructionDataDecoder
    getCloseConfigInstructionDataEncoder
    getClosePositionDiscriminatorBytes
    getClosePositionInstruction
    getClosePositionInstructionAsync
    getClosePositionInstructionDataCodec
    getClosePositionInstructionDataDecoder
    getClosePositionInstructionDataEncoder
    getCloseTokenBadgeDiscriminatorBytes
    getCloseTokenBadgeInstruction
    getCloseTokenBadgeInstructionAsync
    getCloseTokenBadgeInstructionDataCodec
    getCloseTokenBadgeInstructionDataDecoder
    getCloseTokenBadgeInstructionDataEncoder
    getConfigCodec
    getConfigDecoder
    getConfigDiscriminatorBytes
    getConfigEncoder
    getCpAmmErrorMessage
    getCreateClaimFeeOperatorDiscriminatorBytes
    getCreateClaimFeeOperatorInstruction
    getCreateClaimFeeOperatorInstructionAsync
    getCreateClaimFeeOperatorInstructionDataCodec
    getCreateClaimFeeOperatorInstructionDataDecoder
    getCreateClaimFeeOperatorInstructionDataEncoder
    getCreateConfigDiscriminatorBytes
    getCreateConfigInstruction
    getCreateConfigInstructionAsync
    getCreateConfigInstructionDataCodec
    getCreateConfigInstructionDataDecoder
    getCreateConfigInstructionDataEncoder
    getCreateDynamicConfigDiscriminatorBytes
    getCreateDynamicConfigInstruction
    getCreateDynamicConfigInstructionAsync
    getCreateDynamicConfigInstructionDataCodec
    getCreateDynamicConfigInstructionDataDecoder
    getCreateDynamicConfigInstructionDataEncoder
    getCreatePositionDiscriminatorBytes
    getCreatePositionInstruction
    getCreatePositionInstructionAsync
    getCreatePositionInstructionDataCodec
    getCreatePositionInstructionDataDecoder
    getCreatePositionInstructionDataEncoder
    getCreateTokenBadgeDiscriminatorBytes
    getCreateTokenBadgeInstruction
    getCreateTokenBadgeInstructionAsync
    getCreateTokenBadgeInstructionDataCodec
    getCreateTokenBadgeInstructionDataDecoder
    getCreateTokenBadgeInstructionDataEncoder
    getDynamicConfigParametersCodec
    getDynamicConfigParametersDecoder
    getDynamicConfigParametersEncoder
    getDynamicFeeConfigCodec
    getDynamicFeeConfigDecoder
    getDynamicFeeConfigEncoder
    getDynamicFeeParametersCodec
    getDynamicFeeParametersDecoder
    getDynamicFeeParametersEncoder
    getDynamicFeeStructCodec
    getDynamicFeeStructDecoder
    getDynamicFeeStructEncoder
    getEvtAddLiquidityCodec
    getEvtAddLiquidityDecoder
    getEvtAddLiquidityEncoder
    getEvtClaimPartnerFeeCodec
    getEvtClaimPartnerFeeDecoder
    getEvtClaimPartnerFeeEncoder
    getEvtClaimPositionFeeCodec
    getEvtClaimPositionFeeDecoder
    getEvtClaimPositionFeeEncoder
    getEvtClaimProtocolFeeCodec
    getEvtClaimProtocolFeeDecoder
    getEvtClaimProtocolFeeEncoder
    getEvtClaimRewardCodec
    getEvtClaimRewardDecoder
    getEvtClaimRewardEncoder
    getEvtCloseClaimFeeOperatorCodec
    getEvtCloseClaimFeeOperatorDecoder
    getEvtCloseClaimFeeOperatorEncoder
    getEvtCloseConfigCodec
    getEvtCloseConfigDecoder
    getEvtCloseConfigEncoder
    getEvtClosePositionCodec
    getEvtClosePositionDecoder
    getEvtClosePositionEncoder
    getEvtCreateClaimFeeOperatorCodec
    getEvtCreateClaimFeeOperatorDecoder
    getEvtCreateClaimFeeOperatorEncoder
    getEvtCreateConfigCodec
    getEvtCreateConfigDecoder
    getEvtCreateConfigEncoder
    getEvtCreateDynamicConfigCodec
    getEvtCreateDynamicConfigDecoder
    getEvtCreateDynamicConfigEncoder
    getEvtCreatePositionCodec
    getEvtCreatePositionDecoder
    getEvtCreatePositionEncoder
    getEvtCreateTokenBadgeCodec
    getEvtCreateTokenBadgeDecoder
    getEvtCreateTokenBadgeEncoder
    getEvtFundRewardCodec
    getEvtFundRewardDecoder
    getEvtFundRewardEncoder
    getEvtInitializePoolCodec
    getEvtInitializePoolDecoder
    getEvtInitializePoolEncoder
    getEvtInitializeRewardCodec
    getEvtInitializeRewardDecoder
    getEvtInitializeRewardEncoder
    getEvtLiquidityChangeCodec
    getEvtLiquidityChangeDecoder
    getEvtLiquidityChangeEncoder
    getEvtLockPositionCodec
    getEvtLockPositionDecoder
    getEvtLockPositionEncoder
    getEvtPermanentLockPositionCodec
    getEvtPermanentLockPositionDecoder
    getEvtPermanentLockPositionEncoder
    getEvtRemoveLiquidityCodec
    getEvtRemoveLiquidityDecoder
    getEvtRemoveLiquidityEncoder
    getEvtSetPoolStatusCodec
    getEvtSetPoolStatusDecoder
    getEvtSetPoolStatusEncoder
    getEvtSplitPosition2Codec
    getEvtSplitPosition2Decoder
    getEvtSplitPosition2Encoder
    getEvtSwap2Codec
    getEvtSwap2Decoder
    getEvtSwap2Encoder
    getEvtSwapCodec
    getEvtSwapDecoder
    getEvtSwapEncoder
    getEvtUpdateRewardDurationCodec
    getEvtUpdateRewardDurationDecoder
    getEvtUpdateRewardDurationEncoder
    getEvtUpdateRewardFunderCodec
    getEvtUpdateRewardFunderDecoder
    getEvtUpdateRewardFunderEncoder
    getEvtWithdrawIneligibleRewardCodec
    getEvtWithdrawIneligibleRewardDecoder
    getEvtWithdrawIneligibleRewardEncoder
    getFundRewardDiscriminatorBytes
    getFundRewardInstruction
    getFundRewardInstructionAsync
    getFundRewardInstructionDataCodec
    getFundRewardInstructionDataDecoder
    getFundRewardInstructionDataEncoder
    getInitializeCustomizablePoolDiscriminatorBytes
    getInitializeCustomizablePoolInstruction
    getInitializeCustomizablePoolInstructionAsync
    getInitializeCustomizablePoolInstructionDataCodec
    getInitializeCustomizablePoolInstructionDataDecoder
    getInitializeCustomizablePoolInstructionDataEncoder
    getInitializeCustomizablePoolParametersCodec
    getInitializeCustomizablePoolParametersDecoder
    getInitializeCustomizablePoolParametersEncoder
    getInitializePoolDiscriminatorBytes
    getInitializePoolInstruction
    getInitializePoolInstructionAsync
    getInitializePoolInstructionDataCodec
    getInitializePoolInstructionDataDecoder
    getInitializePoolInstructionDataEncoder
    getInitializePoolParametersCodec
    getInitializePoolParametersDecoder
    getInitializePoolParametersEncoder
    getInitializePoolWithDynamicConfigDiscriminatorBytes
    getInitializePoolWithDynamicConfigInstruction
    getInitializePoolWithDynamicConfigInstructionAsync
    getInitializePoolWithDynamicConfigInstructionDataCodec
    getInitializePoolWithDynamicConfigInstructionDataDecoder
    getInitializePoolWithDynamicConfigInstructionDataEncoder
    getInitializeRewardDiscriminatorBytes
    getInitializeRewardInstruction
    getInitializeRewardInstructionAsync
    getInitializeRewardInstructionDataCodec
    getInitializeRewardInstructionDataDecoder
    getInitializeRewardInstructionDataEncoder
    getLockPositionDiscriminatorBytes
    getLockPositionInstruction
    getLockPositionInstructionAsync
    getLockPositionInstructionDataCodec
    getLockPositionInstructionDataDecoder
    getLockPositionInstructionDataEncoder
    getPermanentLockPositionDiscriminatorBytes
    getPermanentLockPositionInstruction
    getPermanentLockPositionInstructionAsync
    getPermanentLockPositionInstructionDataCodec
    getPermanentLockPositionInstructionDataDecoder
    getPermanentLockPositionInstructionDataEncoder
    getPoolCodec
    getPoolDecoder
    getPoolDiscriminatorBytes
    getPoolEncoder
    getPoolFeeParametersCodec
    getPoolFeeParametersDecoder
    getPoolFeeParametersEncoder
    getPoolFeesConfigCodec
    getPoolFeesConfigDecoder
    getPoolFeesConfigEncoder
    getPoolFeesStructCodec
    getPoolFeesStructDecoder
    getPoolFeesStructEncoder
    getPoolMetricsCodec
    getPoolMetricsDecoder
    getPoolMetricsEncoder
    getPositionCodec
    getPositionDecoder
    getPositionDiscriminatorBytes
    getPositionEncoder
    getPositionMetricsCodec
    getPositionMetricsDecoder
    getPositionMetricsEncoder
    getRefreshVestingDiscriminatorBytes
    getRefreshVestingInstruction
    getRefreshVestingInstructionDataCodec
    getRefreshVestingInstructionDataDecoder
    getRefreshVestingInstructionDataEncoder
    getRemoveAllLiquidityDiscriminatorBytes
    getRemoveAllLiquidityInstruction
    getRemoveAllLiquidityInstructionAsync
    getRemoveAllLiquidityInstructionDataCodec
    getRemoveAllLiquidityInstructionDataDecoder
    getRemoveAllLiquidityInstructionDataEncoder
    getRemoveLiquidityDiscriminatorBytes
    getRemoveLiquidityInstruction
    getRemoveLiquidityInstructionAsync
    getRemoveLiquidityInstructionDataCodec
    getRemoveLiquidityInstructionDataDecoder
    getRemoveLiquidityInstructionDataEncoder
    getRemoveLiquidityParametersCodec
    getRemoveLiquidityParametersDecoder
    getRemoveLiquidityParametersEncoder
    getRewardInfoCodec
    getRewardInfoDecoder
    getRewardInfoEncoder
    getSetPoolStatusDiscriminatorBytes
    getSetPoolStatusInstruction
    getSetPoolStatusInstructionAsync
    getSetPoolStatusInstructionDataCodec
    getSetPoolStatusInstructionDataDecoder
    getSetPoolStatusInstructionDataEncoder
    getSplitAmountInfoCodec
    getSplitAmountInfoDecoder
    getSplitAmountInfoEncoder
    getSplitPosition2DiscriminatorBytes
    getSplitPosition2Instruction
    getSplitPosition2InstructionAsync
    getSplitPosition2InstructionDataCodec
    getSplitPosition2InstructionDataDecoder
    getSplitPosition2InstructionDataEncoder
    getSplitPositionDiscriminatorBytes
    getSplitPositionInfoCodec
    getSplitPositionInfoDecoder
    getSplitPositionInfoEncoder
    getSplitPositionInstruction
    getSplitPositionInstructionAsync
    getSplitPositionInstructionDataCodec
    getSplitPositionInstructionDataDecoder
    getSplitPositionInstructionDataEncoder
    getSplitPositionParameters2Codec
    getSplitPositionParameters2Decoder
    getSplitPositionParameters2Encoder
    getSplitPositionParametersCodec
    getSplitPositionParametersDecoder
    getSplitPositionParametersEncoder
    getStaticConfigParametersCodec
    getStaticConfigParametersDecoder
    getStaticConfigParametersEncoder
    getSwap2DiscriminatorBytes
    getSwap2Instruction
    getSwap2InstructionAsync
    getSwap2InstructionDataCodec
    getSwap2InstructionDataDecoder
    getSwap2InstructionDataEncoder
    getSwapDiscriminatorBytes
    getSwapInstruction
    getSwapInstructionAsync
    getSwapInstructionDataCodec
    getSwapInstructionDataDecoder
    getSwapInstructionDataEncoder
    getSwapParameters2Codec
    getSwapParameters2Decoder
    getSwapParameters2Encoder
    getSwapParametersCodec
    getSwapParametersDecoder
    getSwapParametersEncoder
    getSwapResult2Codec
    getSwapResult2Decoder
    getSwapResult2Encoder
    getSwapResultCodec
    getSwapResultDecoder
    getSwapResultEncoder
    getTokenBadgeCodec
    getTokenBadgeDecoder
    getTokenBadgeDiscriminatorBytes
    getTokenBadgeEncoder
    getUpdateRewardDurationDiscriminatorBytes
    getUpdateRewardDurationInstruction
    getUpdateRewardDurationInstructionAsync
    getUpdateRewardDurationInstructionDataCodec
    getUpdateRewardDurationInstructionDataDecoder
    getUpdateRewardDurationInstructionDataEncoder
    getUpdateRewardFunderDiscriminatorBytes
    getUpdateRewardFunderInstruction
    getUpdateRewardFunderInstructionAsync
    getUpdateRewardFunderInstructionDataCodec
    getUpdateRewardFunderInstructionDataDecoder
    getUpdateRewardFunderInstructionDataEncoder
    getUserRewardInfoCodec
    getUserRewardInfoDecoder
    getUserRewardInfoEncoder
    getVestingCodec
    getVestingDecoder
    getVestingDiscriminatorBytes
    getVestingEncoder
    getVestingParametersCodec
    getVestingParametersDecoder
    getVestingParametersEncoder
    getWithdrawIneligibleRewardDiscriminatorBytes
    getWithdrawIneligibleRewardInstruction
    getWithdrawIneligibleRewardInstructionAsync
    getWithdrawIneligibleRewardInstructionDataCodec
    getWithdrawIneligibleRewardInstructionDataDecoder
    getWithdrawIneligibleRewardInstructionDataEncoder
    identifyCpAmmAccount
    identifyCpAmmInstruction
    isCpAmmError
    parseAddLiquidityInstruction
    parseClaimPartnerFeeInstruction
    parseClaimPositionFeeInstruction
    parseClaimProtocolFeeInstruction
    parseClaimRewardInstruction
    parseCloseClaimFeeOperatorInstruction
    parseCloseConfigInstruction
    parseClosePositionInstruction
    parseCloseTokenBadgeInstruction
    parseCreateClaimFeeOperatorInstruction
    parseCreateConfigInstruction
    parseCreateDynamicConfigInstruction
    parseCreatePositionInstruction
    parseCreateTokenBadgeInstruction
    parseFundRewardInstruction
    parseInitializeCustomizablePoolInstruction
    parseInitializePoolInstruction
    parseInitializePoolWithDynamicConfigInstruction
    parseInitializeRewardInstruction
    parseLockPositionInstruction
    parsePermanentLockPositionInstruction
    parseRefreshVestingInstruction
    parseRemoveAllLiquidityInstruction
    parseRemoveLiquidityInstruction
    parseSetPoolStatusInstruction
    parseSplitPosition2Instruction
    parseSplitPositionInstruction
    parseSwap2Instruction
    parseSwapInstruction
    parseUpdateRewardDurationInstruction
    parseUpdateRewardFunderInstruction
    parseWithdrawIneligibleRewardInstruction