@lp-ag/meteora-dlmm-solana-client 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { Encoder, Decoder, Codec, GetDiscriminatedUnionVariant, GetDiscriminatedUnionVariantContent, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, ReadonlyUint8Array, Option, OptionOrNullable, Address, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, Instruction, InstructionWithData, AccountMeta, InstructionWithAccounts, WritableAccount, ReadonlyAccount, ReadonlySignerAccount, AccountSignerMeta, TransactionSigner, WritableSignerAccount, ProgramDerivedAddress } from '@solana/kit';
1
+ import { Encoder, Decoder, Codec, GetDiscriminatedUnionVariant, GetDiscriminatedUnionVariantContent, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, ReadonlyUint8Array, Option, OptionOrNullable, Address, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, Instruction, InstructionWithData, AccountMeta, InstructionWithAccounts, WritableAccount, ReadonlyAccount, ReadonlySignerAccount, AccountSignerMeta, TransactionSigner, WritableSignerAccount, ProgramDerivedAddress, GetProgramAccountsMemcmpFilter, Rpc, GetProgramAccountsApi } from '@solana/kit';
2
2
 
3
3
  /**
4
4
  * This code was AUTOGENERATED using the Codama library.
@@ -8687,51 +8687,34 @@ declare function findPresetParameterPda(seeds: {
8687
8687
  programAddress?: Address;
8688
8688
  }): Promise<ProgramDerivedAddress>;
8689
8689
 
8690
+ type LbPairFilter = GetProgramAccountsMemcmpFilter & {
8691
+ readonly __kind: unique symbol;
8692
+ };
8693
+ declare function lbPairTokenXMintFilter(tokenXMint: Address): LbPairFilter;
8694
+ declare function lbPairTokenYMintFilter(tokenYMint: Address): LbPairFilter;
8695
+ declare function fetchAllLbPairWithFilter(rpc: Rpc<GetProgramAccountsApi>, filters: LbPairFilter[], programAddress?: Address): Promise<Account<LbPair>[]>;
8696
+
8690
8697
  declare const MAX_BIN_PER_ARRAY = 70;
8691
8698
  declare const BASIS_POINT_MAX = 10000;
8699
+ declare const MAX_RESIZE_LENGTH = 70;
8700
+ declare const POSITION_MAX_LENGTH = 1400;
8701
+ declare const NUM_REWARDS = 2;
8702
+ declare const MAX_BIN_STEP = 400;
8692
8703
  declare const MIN_BIN_ID = -443636;
8693
8704
  declare const MAX_BIN_ID = 443636;
8694
8705
  declare const ONE_Q64: bigint;
8695
8706
  /**
8696
- * Exact Q64.64 exponentiation. Ports `u64x64_math::pow`.
8697
- * Returns `null` on overflow (mirrors Rust's `Option<u128>`).
8698
- */
8699
- declare function powQ64(base: bigint, exp: number): bigint | null;
8700
- /**
8701
- * Exact Q64.64 price of a bin. Ports `price_math::get_price_from_id`.
8702
- * Returns the on-chain raw price (lamport_Y / lamport_X) as a Q64.64 u128.
8703
- * Throws if the (binId, binStep) combination overflows the fixed-point range.
8707
+ * Convert a human-scale price (number) into a bin id.
8704
8708
  */
8705
- declare function getPriceFromId(binId: number, binStep: number): bigint;
8709
+ declare function priceToBinId(price: string | number, binStep: number, min: boolean, decimalsX?: number, decimalsY?: number): number;
8706
8710
  /**
8707
- * Largest bin id whose Q64.64 price is ≤ `priceQ64`. Exact inverse of
8708
- * `getPriceFromId` via binary search — no on-chain equivalent exists; the
8709
- * program only ever takes `active_id` as input.
8710
- *
8711
- * Saturates to MIN_BIN_ID / MAX_BIN_ID when `priceQ64` is out of representable
8712
- * range.
8713
- */
8714
- declare function getIdFromPrice(priceQ64: bigint, binStep: number): number;
8715
- /**
8716
- * Convert a human-scale price (Number) into a Q64.64 raw lamport-ratio price.
8717
- *
8718
- * Lossy: bounded by Number's ~16-digit mantissa. For exact pipelines, work in
8719
- * Q64.64 directly via {@link getPriceFromId} / {@link getIdFromPrice}.
8720
- */
8721
- declare function priceToPriceQ64(price: number, decimalsX: number, decimalsY: number): bigint;
8722
- /**
8723
- * Convert a Q64.64 raw lamport-ratio price into a human-scale Number.
8724
- *
8725
- * Lossy by Number precision; use only for display or for round-tripping when
8726
- * exact equality is not required.
8711
+ * Convert a bin id to a human-scale price (number).
8727
8712
  */
8728
- declare function priceQ64ToPrice(priceQ64: bigint, decimalsX: number, decimalsY: number): number;
8729
- declare function priceToBinId(price: number, binStep: number, decimalsX: number, decimalsY: number): number;
8730
- declare function binIdToPrice(binId: number, binStep: number, decimalsX: number, decimalsY: number): number;
8713
+ declare function binIdToPrice(binId: number, binStep: number, decimalsX?: number, decimalsY?: number): number;
8731
8714
  declare function binIdToBinArrayIndex(binId: number): bigint;
8732
8715
  declare function binArrayIndexToBinIdRange(index: bigint | number): {
8733
8716
  lower: number;
8734
8717
  upper: number;
8735
8718
  };
8736
8719
 
8737
- export { ADD_LIQUIDITY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT2_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT_DISCRIMINATOR, ADD_LIQUIDITY_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR, type AccountsType, type AccountsTypeArgs, ActivationType, type ActivationTypeArgs, type AddLiquidity2AsyncInput, type AddLiquidity2Input, type AddLiquidity2Instruction, type AddLiquidity2InstructionData, type AddLiquidity2InstructionDataArgs, type AddLiquidityAsyncInput, type AddLiquidityByStrategy2AsyncInput, type AddLiquidityByStrategy2Input, type AddLiquidityByStrategy2Instruction, type AddLiquidityByStrategy2InstructionData, type AddLiquidityByStrategy2InstructionDataArgs, type AddLiquidityByStrategyAsyncInput, type AddLiquidityByStrategyInput, type AddLiquidityByStrategyInstruction, type AddLiquidityByStrategyInstructionData, type AddLiquidityByStrategyInstructionDataArgs, type AddLiquidityByStrategyOneSideAsyncInput, type AddLiquidityByStrategyOneSideInput, type AddLiquidityByStrategyOneSideInstruction, type AddLiquidityByStrategyOneSideInstructionData, type AddLiquidityByStrategyOneSideInstructionDataArgs, type AddLiquidityByWeight2AsyncInput, type AddLiquidityByWeight2Input, type AddLiquidityByWeight2Instruction, type AddLiquidityByWeight2InstructionData, type AddLiquidityByWeight2InstructionDataArgs, type AddLiquidityByWeightAsyncInput, type AddLiquidityByWeightInput, type AddLiquidityByWeightInstruction, type AddLiquidityByWeightInstructionData, type AddLiquidityByWeightInstructionDataArgs, type AddLiquidityInput, type AddLiquidityInstruction, type AddLiquidityInstructionData, type AddLiquidityInstructionDataArgs, type AddLiquidityOneSideAsyncInput, type AddLiquidityOneSideInput, type AddLiquidityOneSideInstruction, type AddLiquidityOneSideInstructionData, type AddLiquidityOneSideInstructionDataArgs, type AddLiquidityOneSidePrecise2AsyncInput, type AddLiquidityOneSidePrecise2Input, type AddLiquidityOneSidePrecise2Instruction, type AddLiquidityOneSidePrecise2InstructionData, type AddLiquidityOneSidePrecise2InstructionDataArgs, type AddLiquidityOneSidePreciseAsyncInput, type AddLiquidityOneSidePreciseInput, type AddLiquidityOneSidePreciseInstruction, type AddLiquidityOneSidePreciseInstructionData, type AddLiquidityOneSidePreciseInstructionDataArgs, type AddLiquidityParams, type AddLiquidityParamsArgs, BASIS_POINT_MAX, BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, BIN_ARRAY_DISCRIMINATOR, type Bin, type BinArgs, type BinArray, type BinArrayArgs, type BinArrayBitmapExtension, type BinArrayBitmapExtensionArgs, type BinArrayBitmapExtensionSeeds, type BinArraySeeds, type BinLimitOrderAmount, type BinLimitOrderAmountArgs, type BinLiquidityDistribution, type BinLiquidityDistributionArgs, type BinLiquidityDistributionByWeight, type BinLiquidityDistributionByWeightArgs, type BinLiquidityReduction, type BinLiquidityReductionArgs, CANCEL_LIMIT_ORDER_DISCRIMINATOR, CLAIM_FEE2_DISCRIMINATOR, CLAIM_FEE_DISCRIMINATOR, CLAIM_FEE_OPERATOR_DISCRIMINATOR, CLAIM_REWARD2_DISCRIMINATOR, CLAIM_REWARD_DISCRIMINATOR, CLOSE_BIN_ARRAY_DISCRIMINATOR, CLOSE_CLAIM_FEE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_LIMIT_ORDER_IF_EMPTY_DISCRIMINATOR, CLOSE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_POSITION2_DISCRIMINATOR, CLOSE_POSITION_DISCRIMINATOR, CLOSE_POSITION_IF_EMPTY_DISCRIMINATOR, CLOSE_PRESET_PARAMETER2_DISCRIMINATOR, CLOSE_PRESET_PARAMETER_DISCRIMINATOR, CLOSE_TOKEN_BADGE_DISCRIMINATOR, CREATE_OPERATOR_ACCOUNT_DISCRIMINATOR, type CancelLimitOrderAsyncInput, type CancelLimitOrderInput, type CancelLimitOrderInstruction, type CancelLimitOrderInstructionData, type CancelLimitOrderInstructionDataArgs, type ClaimFee2AsyncInput, type ClaimFee2Input, type ClaimFee2Instruction, type ClaimFee2InstructionData, type ClaimFee2InstructionDataArgs, type ClaimFeeAsyncInput, type ClaimFeeInput, type ClaimFeeInstruction, type ClaimFeeInstructionData, type ClaimFeeInstructionDataArgs, type ClaimFeeOperator, type ClaimFeeOperatorArgs, type ClaimReward2AsyncInput, type ClaimReward2Input, type ClaimReward2Instruction, type ClaimReward2InstructionData, type ClaimReward2InstructionDataArgs, type ClaimRewardAsyncInput, type ClaimRewardInput, type ClaimRewardInstruction, type ClaimRewardInstructionData, type ClaimRewardInstructionDataArgs, type CloseBinArrayInput, type CloseBinArrayInstruction, type CloseBinArrayInstructionData, type CloseBinArrayInstructionDataArgs, type CloseClaimFeeOperatorAccountInput, type CloseClaimFeeOperatorAccountInstruction, type CloseClaimFeeOperatorAccountInstructionData, type CloseClaimFeeOperatorAccountInstructionDataArgs, type CloseLimitOrderIfEmptyAsyncInput, type CloseLimitOrderIfEmptyInput, type CloseLimitOrderIfEmptyInstruction, type CloseLimitOrderIfEmptyInstructionData, type CloseLimitOrderIfEmptyInstructionDataArgs, type CloseOperatorAccountInput, type CloseOperatorAccountInstruction, type CloseOperatorAccountInstructionData, type CloseOperatorAccountInstructionDataArgs, type ClosePosition2AsyncInput, type ClosePosition2Input, type ClosePosition2Instruction, type ClosePosition2InstructionData, type ClosePosition2InstructionDataArgs, type ClosePositionAsyncInput, type ClosePositionIfEmptyAsyncInput, type ClosePositionIfEmptyInput, type ClosePositionIfEmptyInstruction, type ClosePositionIfEmptyInstructionData, type ClosePositionIfEmptyInstructionDataArgs, type ClosePositionInput, type ClosePositionInstruction, type ClosePositionInstructionData, type ClosePositionInstructionDataArgs, type ClosePresetParameter2Input, type ClosePresetParameter2Instruction, type ClosePresetParameter2InstructionData, type ClosePresetParameter2InstructionDataArgs, type ClosePresetParameterInput, type ClosePresetParameterInstruction, type ClosePresetParameterInstructionData, type ClosePresetParameterInstructionDataArgs, type CloseTokenBadgeInput, type CloseTokenBadgeInstruction, type CloseTokenBadgeInstructionData, type CloseTokenBadgeInstructionDataArgs, type CompressedBinDepositAmount, type CompressedBinDepositAmountArgs, type CreateOperatorAccountAsyncInput, type CreateOperatorAccountInput, type CreateOperatorAccountInstruction, type CreateOperatorAccountInstructionData, type CreateOperatorAccountInstructionDataArgs, type CustomizableParams, type CustomizableParamsArgs, DECREASE_POSITION_LENGTH_DISCRIMINATOR, DUMMY_ZC_ACCOUNT_DISCRIMINATOR, type DecreasePositionLengthAsyncInput, type DecreasePositionLengthInput, type DecreasePositionLengthInstruction, type DecreasePositionLengthInstructionData, type DecreasePositionLengthInstructionDataArgs, type DummyZcAccount, type DummyZcAccountArgs, FOR_IDL_TYPE_GENERATION_DO_NOT_CALL_DISCRIMINATOR, FUND_REWARD_DISCRIMINATOR, type FeeInfo, type FeeInfoArgs, type ForIdlTypeGenerationDoNotCallInput, type ForIdlTypeGenerationDoNotCallInstruction, type ForIdlTypeGenerationDoNotCallInstructionData, type ForIdlTypeGenerationDoNotCallInstructionDataArgs, type FundRewardAsyncInput, type FundRewardInput, type FundRewardInstruction, type FundRewardInstructionData, type FundRewardInstructionDataArgs, GO_TO_A_BIN_DISCRIMINATOR, type GoToABinAsyncInput, type GoToABinInput, type GoToABinInstruction, type GoToABinInstructionData, type GoToABinInstructionDataArgs, INCREASE_ORACLE_LENGTH_DISCRIMINATOR, INCREASE_POSITION_LENGTH2_DISCRIMINATOR, INCREASE_POSITION_LENGTH_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR2_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR_DISCRIMINATOR, INITIALIZE_LB_PAIR2_DISCRIMINATOR, INITIALIZE_LB_PAIR_DISCRIMINATOR, INITIALIZE_PERMISSION_LB_PAIR_DISCRIMINATOR, INITIALIZE_POSITION2_DISCRIMINATOR, INITIALIZE_POSITION_BY_OPERATOR_DISCRIMINATOR, INITIALIZE_POSITION_DISCRIMINATOR, INITIALIZE_POSITION_PDA_DISCRIMINATOR, INITIALIZE_PRESET_PARAMETER_DISCRIMINATOR, INITIALIZE_REWARD_DISCRIMINATOR, INITIALIZE_TOKEN_BADGE_DISCRIMINATOR, type IncreaseOracleLengthAsyncInput, type IncreaseOracleLengthInput, type IncreaseOracleLengthInstruction, type IncreaseOracleLengthInstructionData, type IncreaseOracleLengthInstructionDataArgs, type IncreasePositionLength2AsyncInput, type IncreasePositionLength2Input, type IncreasePositionLength2Instruction, type IncreasePositionLength2InstructionData, type IncreasePositionLength2InstructionDataArgs, type IncreasePositionLengthAsyncInput, type IncreasePositionLengthInput, type IncreasePositionLengthInstruction, type IncreasePositionLengthInstructionData, type IncreasePositionLengthInstructionDataArgs, type InitializeBinArrayAsyncInput, type InitializeBinArrayBitmapExtensionAsyncInput, type InitializeBinArrayBitmapExtensionInput, type InitializeBinArrayBitmapExtensionInstruction, type InitializeBinArrayBitmapExtensionInstructionData, type InitializeBinArrayBitmapExtensionInstructionDataArgs, type InitializeBinArrayInput, type InitializeBinArrayInstruction, type InitializeBinArrayInstructionData, type InitializeBinArrayInstructionDataArgs, type InitializeCustomizablePermissionlessLbPair2AsyncInput, type InitializeCustomizablePermissionlessLbPair2Input, type InitializeCustomizablePermissionlessLbPair2Instruction, type InitializeCustomizablePermissionlessLbPair2InstructionData, type InitializeCustomizablePermissionlessLbPair2InstructionDataArgs, type InitializeCustomizablePermissionlessLbPairAsyncInput, type InitializeCustomizablePermissionlessLbPairInput, type InitializeCustomizablePermissionlessLbPairInstruction, type InitializeCustomizablePermissionlessLbPairInstructionData, type InitializeCustomizablePermissionlessLbPairInstructionDataArgs, type InitializeLbPair2AsyncInput, type InitializeLbPair2Input, type InitializeLbPair2Instruction, type InitializeLbPair2InstructionData, type InitializeLbPair2InstructionDataArgs, type InitializeLbPairAsyncInput, type InitializeLbPairInput, type InitializeLbPairInstruction, type InitializeLbPairInstructionData, type InitializeLbPairInstructionDataArgs, type InitializePermissionLbPairAsyncInput, type InitializePermissionLbPairInput, type InitializePermissionLbPairInstruction, type InitializePermissionLbPairInstructionData, type InitializePermissionLbPairInstructionDataArgs, type InitializePosition2AsyncInput, type InitializePosition2Input, type InitializePosition2Instruction, type InitializePosition2InstructionData, type InitializePosition2InstructionDataArgs, type InitializePositionAsyncInput, type InitializePositionByOperatorAsyncInput, type InitializePositionByOperatorInput, type InitializePositionByOperatorInstruction, type InitializePositionByOperatorInstructionData, type InitializePositionByOperatorInstructionDataArgs, type InitializePositionInput, type InitializePositionInstruction, type InitializePositionInstructionData, type InitializePositionInstructionDataArgs, type InitializePositionPdaAsyncInput, type InitializePositionPdaInput, type InitializePositionPdaInstruction, type InitializePositionPdaInstructionData, type InitializePositionPdaInstructionDataArgs, type InitializePresetParameterInput, type InitializePresetParameterInstruction, type InitializePresetParameterInstructionData, type InitializePresetParameterInstructionDataArgs, type InitializeRewardAsyncInput, type InitializeRewardInput, type InitializeRewardInstruction, type InitializeRewardInstructionData, type InitializeRewardInstructionDataArgs, type InitializeTokenBadgeAsyncInput, type InitializeTokenBadgeInput, type InitializeTokenBadgeInstruction, type InitializeTokenBadgeInstructionData, type InitializeTokenBadgeInstructionDataArgs, LB_CLMM_ERROR__ALREADY_PASS_ACTIVATION_POINT, LB_CLMM_ERROR__ALREADY_PASS_PRE_ACTIVATION_SWAP_POINT, LB_CLMM_ERROR__AMOUNT_X_IS_NEGATIVE, LB_CLMM_ERROR__AMOUNT_Y_IS_NEGATIVE, LB_CLMM_ERROR__BIN_ARRAY_NOT_FOUND, LB_CLMM_ERROR__BIN_ID_OUT_OF_BOUND, LB_CLMM_ERROR__BIN_RANGE_IS_NOT_EMPTY, LB_CLMM_ERROR__BITMAP_EXTENSION_ACCOUNT_IS_NOT_PROVIDED, LB_CLMM_ERROR__CANCEL_NON_EMPTY_LIMIT_ORDER, LB_CLMM_ERROR__CANNOT_FIND_LIMIT_ORDER_BY_BIN_ID, LB_CLMM_ERROR__CANNOT_FIND_NON_ZERO_LIQUIDITY_BIN_ARRAY_ID, LB_CLMM_ERROR__COMPOSITION_FACTOR_FLAWED, LB_CLMM_ERROR__CPI_DISABLED, LB_CLMM_ERROR__DUPLICATED_REMAINING_ACCOUNT_TYPES, LB_CLMM_ERROR__EXCEEDED_AMOUNT_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_BIN_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_MAX_ORACLE_LENGTH, LB_CLMM_ERROR__EXCEED_MAX_SWAPPED_AMOUNT, LB_CLMM_ERROR__EXCEED_MAX_WHITELIST, LB_CLMM_ERROR__EXCESSIVE_FEE_UPDATE, LB_CLMM_ERROR__IDENTICAL_FEE_OWNER, LB_CLMM_ERROR__IDENTICAL_FUNDER, LB_CLMM_ERROR__IDENTICAL_REWARD_DURATION, LB_CLMM_ERROR__INCORRECT_A_T_A, LB_CLMM_ERROR__INSUFFICIENT_IN_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_OUT_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_REMAINING_ACCOUNTS, LB_CLMM_ERROR__INSUFFICIENT_SAMPLE, LB_CLMM_ERROR__INVALID_ACCOUNT_FOR_SINGLE_DEPOSIT, LB_CLMM_ERROR__INVALID_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_ACTIVATION_TYPE, LB_CLMM_ERROR__INVALID_ADMIN, LB_CLMM_ERROR__INVALID_BASE_FEE, LB_CLMM_ERROR__INVALID_BASE_FEE_MANTISSA, LB_CLMM_ERROR__INVALID_BIN_ARRAY, LB_CLMM_ERROR__INVALID_BIN_ID, LB_CLMM_ERROR__INVALID_BIN_STEP, LB_CLMM_ERROR__INVALID_BPS, LB_CLMM_ERROR__INVALID_CANCEL_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_COLLECT_FEE_MODE, LB_CLMM_ERROR__INVALID_FEE_OWNER, LB_CLMM_ERROR__INVALID_FEE_PARAMETER, LB_CLMM_ERROR__INVALID_FEE_WITHDRAW_AMOUNT, LB_CLMM_ERROR__INVALID_FUNCTION_TYPE, LB_CLMM_ERROR__INVALID_INDEX, LB_CLMM_ERROR__INVALID_INPUT, LB_CLMM_ERROR__INVALID_LIMIT_ORDER_OWNER, LB_CLMM_ERROR__INVALID_LOOKUP_TIMESTAMP, LB_CLMM_ERROR__INVALID_MINIMUM_LIQUIDITY, LB_CLMM_ERROR__INVALID_PERMISSION, LB_CLMM_ERROR__INVALID_PLACE_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_POOL_ADDRESS, LB_CLMM_ERROR__INVALID_POOL_CREATOR, LB_CLMM_ERROR__INVALID_POOL_TYPE, LB_CLMM_ERROR__INVALID_POSITION, LB_CLMM_ERROR__INVALID_POSITION_OWNER, LB_CLMM_ERROR__INVALID_POSITION_WIDTH, LB_CLMM_ERROR__INVALID_PRE_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_QUOTE_TOKEN, LB_CLMM_ERROR__INVALID_REBALANCE_PARAMETERS, LB_CLMM_ERROR__INVALID_REMAINING_ACCOUNT_SLICE, LB_CLMM_ERROR__INVALID_RESIZE_LENGTH, LB_CLMM_ERROR__INVALID_REWARD_ACCOUNTS, LB_CLMM_ERROR__INVALID_REWARD_DURATION, LB_CLMM_ERROR__INVALID_REWARD_INDEX, LB_CLMM_ERROR__INVALID_REWARD_VAULT, LB_CLMM_ERROR__INVALID_SIDE, LB_CLMM_ERROR__INVALID_START_BIN_INDEX, LB_CLMM_ERROR__INVALID_STATUS, LB_CLMM_ERROR__INVALID_STRATEGY_PARAMETERS, LB_CLMM_ERROR__INVALID_TOKEN_BADGE_TYPE, LB_CLMM_ERROR__INVALID_TOKEN_MINT, LB_CLMM_ERROR__INVALID_TRANSFER_HOOK_AUTHORITY, LB_CLMM_ERROR__INVALID_WITHDRAW_PROTOCOL_FEE_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_OUT_PARAMETERS, LB_CLMM_ERROR__LIQUIDITY_LOCKED, LB_CLMM_ERROR__MATH_OVERFLOW, LB_CLMM_ERROR__MINT_RESTRICTED_FROM_ZAP, LB_CLMM_ERROR__MISSING_ORACLE, LB_CLMM_ERROR__MISSING_REMAINING_ACCOUNT_FOR_TRANSFER_HOOK, LB_CLMM_ERROR__MISSING_TOKEN_AMOUNT_AS_TOKEN_LAUNCH_PROOF, LB_CLMM_ERROR__MISSING_ZAP_OUT_INSTRUCTION, LB_CLMM_ERROR__MUST_WITHDRAWN_INELIGIBLE_REWARD, LB_CLMM_ERROR__NON_CONTINUOUS_BIN_ARRAYS, LB_CLMM_ERROR__NON_EMPTY_POSITION, LB_CLMM_ERROR__NON_PRESET_BIN_STEP, LB_CLMM_ERROR__NOT_EXACT_AMOUNT_OUT, LB_CLMM_ERROR__NOT_SUPPORT_AT_THE_MOMENT, LB_CLMM_ERROR__NOT_SUPPORT_MINT, LB_CLMM_ERROR__NO_TRANSFER_HOOK_PROGRAM, LB_CLMM_ERROR__OPERATORS_ARE_THE_SAME, LB_CLMM_ERROR__PAIR_INSUFFICIENT_LIQUIDITY, LB_CLMM_ERROR__POOL_DISABLED, LB_CLMM_ERROR__REALLOC_EXCEED_MAX_LENGTH_PER_INSTRUCTION, LB_CLMM_ERROR__REWARD_CAMPAIGN_IN_PROGRESS, LB_CLMM_ERROR__REWARD_INITIALIZED, LB_CLMM_ERROR__REWARD_NOT_ENDED, LB_CLMM_ERROR__REWARD_UNINITIALIZED, LB_CLMM_ERROR__TYPE_CAST_FAILED, LB_CLMM_ERROR__UNAUTHORIZED_ACCESS, LB_CLMM_ERROR__UNAUTHORIZED_ADDRESS, LB_CLMM_ERROR__UNDETERMINED_ERROR, LB_CLMM_ERROR__UNMATCH_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORTED_MINT_EXTENSION, LB_CLMM_ERROR__UNSUPPORTED_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORT_NATIVE_MINT_TOKEN2022, LB_CLMM_ERROR__WITHDRAW_TO_WRONG_TOKEN_ACCOUNT, LB_CLMM_ERROR__WRONG_RENT_RECEIVER, LB_CLMM_ERROR__ZERO_FUNDED_AMOUNT, LB_CLMM_ERROR__ZERO_LIQUIDITY, LB_CLMM_PROGRAM_ADDRESS, LB_PAIR_DISCRIMINATOR, LIMIT_ORDER_DISCRIMINATOR, LbClmmAccount, type LbClmmError, LbClmmInstruction, type LbPair, type LbPairArgs, type LimitOrder, type LimitOrderArgs, type LimitOrderBinData, type LimitOrderBinDataArgs, type LiquidityParameter, type LiquidityParameterArgs, type LiquidityParameterByStrategy, type LiquidityParameterByStrategyArgs, type LiquidityParameterByWeight, type LiquidityParameterByWeightArgs, MAX_BIN_ID, MAX_BIN_PER_ARRAY, MIN_BIN_ID, ONE_Q64, OPERATOR_DISCRIMINATOR, ORACLE_DISCRIMINATOR, type Operator, type OperatorArgs, type OperatorSeeds, type Oracle, type OracleArgs, type OracleSeeds, PLACE_LIMIT_ORDER_DISCRIMINATOR, POSITION_V2_DISCRIMINATOR, PRESET_PARAMETER2_DISCRIMINATOR, PRESET_PARAMETER2_SEED, PRESET_PARAMETER_DISCRIMINATOR, PairStatus, type PairStatusArgs, PairType, type PairTypeArgs, type ParsedAddLiquidity2Instruction, type ParsedAddLiquidityByStrategy2Instruction, type ParsedAddLiquidityByStrategyInstruction, type ParsedAddLiquidityByStrategyOneSideInstruction, type ParsedAddLiquidityByWeight2Instruction, type ParsedAddLiquidityByWeightInstruction, type ParsedAddLiquidityInstruction, type ParsedAddLiquidityOneSideInstruction, type ParsedAddLiquidityOneSidePrecise2Instruction, type ParsedAddLiquidityOneSidePreciseInstruction, type ParsedCancelLimitOrderInstruction, type ParsedClaimFee2Instruction, type ParsedClaimFeeInstruction, type ParsedClaimReward2Instruction, type ParsedClaimRewardInstruction, type ParsedCloseBinArrayInstruction, type ParsedCloseClaimFeeOperatorAccountInstruction, type ParsedCloseLimitOrderIfEmptyInstruction, type ParsedCloseOperatorAccountInstruction, type ParsedClosePosition2Instruction, type ParsedClosePositionIfEmptyInstruction, type ParsedClosePositionInstruction, type ParsedClosePresetParameter2Instruction, type ParsedClosePresetParameterInstruction, type ParsedCloseTokenBadgeInstruction, type ParsedCreateOperatorAccountInstruction, type ParsedDecreasePositionLengthInstruction, type ParsedForIdlTypeGenerationDoNotCallInstruction, type ParsedFundRewardInstruction, type ParsedGoToABinInstruction, type ParsedIncreaseOracleLengthInstruction, type ParsedIncreasePositionLength2Instruction, type ParsedIncreasePositionLengthInstruction, type ParsedInitializeBinArrayBitmapExtensionInstruction, type ParsedInitializeBinArrayInstruction, type ParsedInitializeCustomizablePermissionlessLbPair2Instruction, type ParsedInitializeCustomizablePermissionlessLbPairInstruction, type ParsedInitializeLbPair2Instruction, type ParsedInitializeLbPairInstruction, type ParsedInitializePermissionLbPairInstruction, type ParsedInitializePosition2Instruction, type ParsedInitializePositionByOperatorInstruction, type ParsedInitializePositionInstruction, type ParsedInitializePositionPdaInstruction, type ParsedInitializePresetParameterInstruction, type ParsedInitializeRewardInstruction, type ParsedInitializeTokenBadgeInstruction, type ParsedLbClmmInstruction, type ParsedPlaceLimitOrderInstruction, type ParsedRebalanceLiquidityInstruction, type ParsedRemoveAllLiquidityInstruction, type ParsedRemoveLiquidity2Instruction, type ParsedRemoveLiquidityByRange2Instruction, type ParsedRemoveLiquidityByRangeInstruction, type ParsedRemoveLiquidityInstruction, type ParsedSetActivationPointInstruction, type ParsedSetPairStatusInstruction, type ParsedSetPairStatusPermissionlessInstruction, type ParsedSetPermissionlessOperationBitsInstruction, type ParsedSetPreActivationDurationInstruction, type ParsedSetPreActivationSwapAddressInstruction, type ParsedSwap2Instruction, type ParsedSwapExactOut2Instruction, type ParsedSwapExactOutInstruction, type ParsedSwapInstruction, type ParsedSwapWithPriceImpact2Instruction, type ParsedSwapWithPriceImpactInstruction, type ParsedUpdateBaseFeeParametersInstruction, type ParsedUpdateDynamicFeeParametersInstruction, type ParsedUpdateFeesAndReward2Instruction, type ParsedUpdateFeesAndRewardsInstruction, type ParsedUpdatePositionOperatorInstruction, type ParsedUpdateRewardDurationInstruction, type ParsedUpdateRewardFunderInstruction, type ParsedWithdrawIneligibleRewardInstruction, type ParsedWithdrawProtocolFeeInstruction, type ParsedZapProtocolFeeInstruction, type PlaceLimitOrderAsyncInput, type PlaceLimitOrderInput, type PlaceLimitOrderInstruction, type PlaceLimitOrderInstructionData, type PlaceLimitOrderInstructionDataArgs, type PlaceLimitOrderParams, type PlaceLimitOrderParamsArgs, type PositionBinData, type PositionBinDataArgs, type PositionSeeds, type PositionV2, type PositionV2Args, type PresetParameter, type PresetParameter2, type PresetParameter2Args, type PresetParameterArgs, type ProtocolFee, type ProtocolFeeArgs, REBALANCE_LIQUIDITY_DISCRIMINATOR, REMOVE_ALL_LIQUIDITY_DISCRIMINATOR, REMOVE_LIQUIDITY2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE_DISCRIMINATOR, REMOVE_LIQUIDITY_DISCRIMINATOR, type RebalanceLiquidityAsyncInput, type RebalanceLiquidityInput, type RebalanceLiquidityInstruction, type RebalanceLiquidityInstructionData, type RebalanceLiquidityInstructionDataArgs, type RelativeBin, type RelativeBinArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RemoveAllLiquidityAsyncInput, type RemoveAllLiquidityInput, type RemoveAllLiquidityInstruction, type RemoveAllLiquidityInstructionData, type RemoveAllLiquidityInstructionDataArgs, type RemoveLiquidity2AsyncInput, type RemoveLiquidity2Input, type RemoveLiquidity2Instruction, type RemoveLiquidity2InstructionData, type RemoveLiquidity2InstructionDataArgs, type RemoveLiquidityAsyncInput, type RemoveLiquidityByRange2AsyncInput, type RemoveLiquidityByRange2Input, type RemoveLiquidityByRange2Instruction, type RemoveLiquidityByRange2InstructionData, type RemoveLiquidityByRange2InstructionDataArgs, type RemoveLiquidityByRangeAsyncInput, type RemoveLiquidityByRangeInput, type RemoveLiquidityByRangeInstruction, type RemoveLiquidityByRangeInstructionData, type RemoveLiquidityByRangeInstructionDataArgs, type RemoveLiquidityInput, type RemoveLiquidityInstruction, type RemoveLiquidityInstructionData, type RemoveLiquidityInstructionDataArgs, type RemoveLiquidityParams, type RemoveLiquidityParamsArgs, type ReserveXSeeds, type ReserveYSeeds, ResizeSide, type ResizeSideArgs, type RewardInfo, type RewardInfoArgs, type RewardVaultSeeds, Rounding, type RoundingArgs, SET_ACTIVATION_POINT_DISCRIMINATOR, SET_PAIR_STATUS_DISCRIMINATOR, SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR, SET_PERMISSIONLESS_OPERATION_BITS_DISCRIMINATOR, SET_PRE_ACTIVATION_DURATION_DISCRIMINATOR, SET_PRE_ACTIVATION_SWAP_ADDRESS_DISCRIMINATOR, SWAP2_DISCRIMINATOR, SWAP_DISCRIMINATOR, SWAP_EXACT_OUT2_DISCRIMINATOR, SWAP_EXACT_OUT_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT2_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT_DISCRIMINATOR, type SetActivationPointInput, type SetActivationPointInstruction, type SetActivationPointInstructionData, type SetActivationPointInstructionDataArgs, type SetPairStatusInput, type SetPairStatusInstruction, type SetPairStatusInstructionData, type SetPairStatusInstructionDataArgs, type SetPairStatusPermissionlessInput, type SetPairStatusPermissionlessInstruction, type SetPairStatusPermissionlessInstructionData, type SetPairStatusPermissionlessInstructionDataArgs, type SetPermissionlessOperationBitsAsyncInput, type SetPermissionlessOperationBitsInput, type SetPermissionlessOperationBitsInstruction, type SetPermissionlessOperationBitsInstructionData, type SetPermissionlessOperationBitsInstructionDataArgs, type SetPreActivationDurationInput, type SetPreActivationDurationInstruction, type SetPreActivationDurationInstructionData, type SetPreActivationDurationInstructionDataArgs, type SetPreActivationSwapAddressInput, type SetPreActivationSwapAddressInstruction, type SetPreActivationSwapAddressInstructionData, type SetPreActivationSwapAddressInstructionDataArgs, type StaticParameters, type StaticParametersArgs, type StrategyParameters, type StrategyParametersArgs, StrategyType, type StrategyTypeArgs, type Swap2AsyncInput, type Swap2Input, type Swap2Instruction, type Swap2InstructionData, type Swap2InstructionDataArgs, type SwapAsyncInput, type SwapExactOut2AsyncInput, type SwapExactOut2Input, type SwapExactOut2Instruction, type SwapExactOut2InstructionData, type SwapExactOut2InstructionDataArgs, type SwapExactOutAsyncInput, type SwapExactOutInput, type SwapExactOutInstruction, type SwapExactOutInstructionData, type SwapExactOutInstructionDataArgs, type SwapInput, type SwapInstruction, type SwapInstructionData, type SwapInstructionDataArgs, type SwapWithPriceImpact2AsyncInput, type SwapWithPriceImpact2Input, type SwapWithPriceImpact2Instruction, type SwapWithPriceImpact2InstructionData, type SwapWithPriceImpact2InstructionDataArgs, type SwapWithPriceImpactAsyncInput, type SwapWithPriceImpactInput, type SwapWithPriceImpactInstruction, type SwapWithPriceImpactInstructionData, type SwapWithPriceImpactInstructionDataArgs, TOKEN_BADGE_DISCRIMINATOR, type TokenBadge, type TokenBadgeArgs, type TokenBadgeSeeds, TokenProgramFlags, type TokenProgramFlagsArgs, UPDATE_BASE_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_DYNAMIC_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_FEES_AND_REWARD2_DISCRIMINATOR, UPDATE_FEES_AND_REWARDS_DISCRIMINATOR, UPDATE_POSITION_OPERATOR_DISCRIMINATOR, UPDATE_REWARD_DURATION_DISCRIMINATOR, UPDATE_REWARD_FUNDER_DISCRIMINATOR, type UpdateBaseFeeParametersAsyncInput, type UpdateBaseFeeParametersInput, type UpdateBaseFeeParametersInstruction, type UpdateBaseFeeParametersInstructionData, type UpdateBaseFeeParametersInstructionDataArgs, type UpdateDynamicFeeParametersAsyncInput, type UpdateDynamicFeeParametersInput, type UpdateDynamicFeeParametersInstruction, type UpdateDynamicFeeParametersInstructionData, type UpdateDynamicFeeParametersInstructionDataArgs, type UpdateFeesAndReward2Input, type UpdateFeesAndReward2Instruction, type UpdateFeesAndReward2InstructionData, type UpdateFeesAndReward2InstructionDataArgs, type UpdateFeesAndRewardsInput, type UpdateFeesAndRewardsInstruction, type UpdateFeesAndRewardsInstructionData, type UpdateFeesAndRewardsInstructionDataArgs, type UpdatePositionOperatorAsyncInput, type UpdatePositionOperatorInput, type UpdatePositionOperatorInstruction, type UpdatePositionOperatorInstructionData, type UpdatePositionOperatorInstructionDataArgs, type UpdateRewardDurationAsyncInput, type UpdateRewardDurationInput, type UpdateRewardDurationInstruction, type UpdateRewardDurationInstructionData, type UpdateRewardDurationInstructionDataArgs, type UpdateRewardFunderAsyncInput, type UpdateRewardFunderInput, type UpdateRewardFunderInstruction, type UpdateRewardFunderInstructionData, type UpdateRewardFunderInstructionDataArgs, type UserRewardInfo, type UserRewardInfoArgs, type VariableParameters, type VariableParametersArgs, WITHDRAW_INELIGIBLE_REWARD_DISCRIMINATOR, WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR, type WithdrawIneligibleRewardAsyncInput, type WithdrawIneligibleRewardInput, type WithdrawIneligibleRewardInstruction, type WithdrawIneligibleRewardInstructionData, type WithdrawIneligibleRewardInstructionDataArgs, type WithdrawProtocolFeeInput, type WithdrawProtocolFeeInstruction, type WithdrawProtocolFeeInstructionData, type WithdrawProtocolFeeInstructionDataArgs, ZAP_PROTOCOL_FEE_DISCRIMINATOR, type ZapProtocolFeeInput, type ZapProtocolFeeInstruction, type ZapProtocolFeeInstructionData, type ZapProtocolFeeInstructionDataArgs, accountsType, binArrayIndexToBinIdRange, binIdToBinArrayIndex, binIdToPrice, decodeBinArray, decodeBinArrayBitmapExtension, decodeClaimFeeOperator, decodeDummyZcAccount, decodeLbPair, decodeLimitOrder, decodeOperator, decodeOracle, decodePositionV2, decodePresetParameter, decodePresetParameter2, decodeTokenBadge, fetchAllBinArray, fetchAllBinArrayBitmapExtension, fetchAllClaimFeeOperator, fetchAllDummyZcAccount, fetchAllLbPair, fetchAllLimitOrder, fetchAllMaybeBinArray, fetchAllMaybeBinArrayBitmapExtension, fetchAllMaybeClaimFeeOperator, fetchAllMaybeDummyZcAccount, fetchAllMaybeLbPair, fetchAllMaybeLimitOrder, fetchAllMaybeOperator, fetchAllMaybeOracle, fetchAllMaybePositionV2, fetchAllMaybePresetParameter, fetchAllMaybePresetParameter2, fetchAllMaybeTokenBadge, fetchAllOperator, fetchAllOracle, fetchAllPositionV2, fetchAllPresetParameter, fetchAllPresetParameter2, fetchAllTokenBadge, fetchBinArray, fetchBinArrayBitmapExtension, fetchClaimFeeOperator, fetchDummyZcAccount, fetchLbPair, fetchLimitOrder, fetchMaybeBinArray, fetchMaybeBinArrayBitmapExtension, fetchMaybeClaimFeeOperator, fetchMaybeDummyZcAccount, fetchMaybeLbPair, fetchMaybeLimitOrder, fetchMaybeOperator, fetchMaybeOracle, fetchMaybePositionV2, fetchMaybePresetParameter, fetchMaybePresetParameter2, fetchMaybeTokenBadge, fetchOperator, fetchOracle, fetchPositionV2, fetchPresetParameter, fetchPresetParameter2, fetchTokenBadge, findBinArrayBitmapExtensionPda, findBinArrayPda, findEventAuthorityPda, findLbPairPda, findOperatorPda, findOraclePda, findPositionPda, findPresetParameterPda, findReserveXPda, findReserveYPda, findRewardVaultPda, findTokenBadgePda, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getActivationTypeCodec, getActivationTypeDecoder, getActivationTypeEncoder, getAddLiquidity2DiscriminatorBytes, getAddLiquidity2Instruction, getAddLiquidity2InstructionAsync, getAddLiquidity2InstructionDataCodec, getAddLiquidity2InstructionDataDecoder, getAddLiquidity2InstructionDataEncoder, getAddLiquidityByStrategy2DiscriminatorBytes, getAddLiquidityByStrategy2Instruction, getAddLiquidityByStrategy2InstructionAsync, getAddLiquidityByStrategy2InstructionDataCodec, getAddLiquidityByStrategy2InstructionDataDecoder, getAddLiquidityByStrategy2InstructionDataEncoder, getAddLiquidityByStrategyDiscriminatorBytes, getAddLiquidityByStrategyInstruction, getAddLiquidityByStrategyInstructionAsync, getAddLiquidityByStrategyInstructionDataCodec, getAddLiquidityByStrategyInstructionDataDecoder, getAddLiquidityByStrategyInstructionDataEncoder, getAddLiquidityByStrategyOneSideDiscriminatorBytes, getAddLiquidityByStrategyOneSideInstruction, getAddLiquidityByStrategyOneSideInstructionAsync, getAddLiquidityByStrategyOneSideInstructionDataCodec, getAddLiquidityByStrategyOneSideInstructionDataDecoder, getAddLiquidityByStrategyOneSideInstructionDataEncoder, getAddLiquidityByWeight2DiscriminatorBytes, getAddLiquidityByWeight2Instruction, getAddLiquidityByWeight2InstructionAsync, getAddLiquidityByWeight2InstructionDataCodec, getAddLiquidityByWeight2InstructionDataDecoder, getAddLiquidityByWeight2InstructionDataEncoder, getAddLiquidityByWeightDiscriminatorBytes, getAddLiquidityByWeightInstruction, getAddLiquidityByWeightInstructionAsync, getAddLiquidityByWeightInstructionDataCodec, getAddLiquidityByWeightInstructionDataDecoder, getAddLiquidityByWeightInstructionDataEncoder, getAddLiquidityDiscriminatorBytes, getAddLiquidityInstruction, getAddLiquidityInstructionAsync, getAddLiquidityInstructionDataCodec, getAddLiquidityInstructionDataDecoder, getAddLiquidityInstructionDataEncoder, getAddLiquidityOneSideDiscriminatorBytes, getAddLiquidityOneSideInstruction, getAddLiquidityOneSideInstructionAsync, getAddLiquidityOneSideInstructionDataCodec, getAddLiquidityOneSideInstructionDataDecoder, getAddLiquidityOneSideInstructionDataEncoder, getAddLiquidityOneSidePrecise2DiscriminatorBytes, getAddLiquidityOneSidePrecise2Instruction, getAddLiquidityOneSidePrecise2InstructionAsync, getAddLiquidityOneSidePrecise2InstructionDataCodec, getAddLiquidityOneSidePrecise2InstructionDataDecoder, getAddLiquidityOneSidePrecise2InstructionDataEncoder, getAddLiquidityOneSidePreciseDiscriminatorBytes, getAddLiquidityOneSidePreciseInstruction, getAddLiquidityOneSidePreciseInstructionAsync, getAddLiquidityOneSidePreciseInstructionDataCodec, getAddLiquidityOneSidePreciseInstructionDataDecoder, getAddLiquidityOneSidePreciseInstructionDataEncoder, getAddLiquidityParamsCodec, getAddLiquidityParamsDecoder, getAddLiquidityParamsEncoder, getBinArrayBitmapExtensionCodec, getBinArrayBitmapExtensionDecoder, getBinArrayBitmapExtensionDiscriminatorBytes, getBinArrayBitmapExtensionEncoder, getBinArrayBitmapExtensionSize, getBinArrayCodec, getBinArrayDecoder, getBinArrayDiscriminatorBytes, getBinArrayEncoder, getBinArraySize, getBinCodec, getBinDecoder, getBinEncoder, getBinLimitOrderAmountCodec, getBinLimitOrderAmountDecoder, getBinLimitOrderAmountEncoder, getBinLiquidityDistributionByWeightCodec, getBinLiquidityDistributionByWeightDecoder, getBinLiquidityDistributionByWeightEncoder, getBinLiquidityDistributionCodec, getBinLiquidityDistributionDecoder, getBinLiquidityDistributionEncoder, getBinLiquidityReductionCodec, getBinLiquidityReductionDecoder, getBinLiquidityReductionEncoder, getCancelLimitOrderDiscriminatorBytes, getCancelLimitOrderInstruction, getCancelLimitOrderInstructionAsync, getCancelLimitOrderInstructionDataCodec, getCancelLimitOrderInstructionDataDecoder, getCancelLimitOrderInstructionDataEncoder, getClaimFee2DiscriminatorBytes, getClaimFee2Instruction, getClaimFee2InstructionAsync, getClaimFee2InstructionDataCodec, getClaimFee2InstructionDataDecoder, getClaimFee2InstructionDataEncoder, getClaimFeeDiscriminatorBytes, getClaimFeeInstruction, getClaimFeeInstructionAsync, getClaimFeeInstructionDataCodec, getClaimFeeInstructionDataDecoder, getClaimFeeInstructionDataEncoder, getClaimFeeOperatorCodec, getClaimFeeOperatorDecoder, getClaimFeeOperatorDiscriminatorBytes, getClaimFeeOperatorEncoder, getClaimFeeOperatorSize, getClaimReward2DiscriminatorBytes, getClaimReward2Instruction, getClaimReward2InstructionAsync, getClaimReward2InstructionDataCodec, getClaimReward2InstructionDataDecoder, getClaimReward2InstructionDataEncoder, getClaimRewardDiscriminatorBytes, getClaimRewardInstruction, getClaimRewardInstructionAsync, getClaimRewardInstructionDataCodec, getClaimRewardInstructionDataDecoder, getClaimRewardInstructionDataEncoder, getCloseBinArrayDiscriminatorBytes, getCloseBinArrayInstruction, getCloseBinArrayInstructionDataCodec, getCloseBinArrayInstructionDataDecoder, getCloseBinArrayInstructionDataEncoder, getCloseClaimFeeOperatorAccountDiscriminatorBytes, getCloseClaimFeeOperatorAccountInstruction, getCloseClaimFeeOperatorAccountInstructionDataCodec, getCloseClaimFeeOperatorAccountInstructionDataDecoder, getCloseClaimFeeOperatorAccountInstructionDataEncoder, getCloseLimitOrderIfEmptyDiscriminatorBytes, getCloseLimitOrderIfEmptyInstruction, getCloseLimitOrderIfEmptyInstructionAsync, getCloseLimitOrderIfEmptyInstructionDataCodec, getCloseLimitOrderIfEmptyInstructionDataDecoder, getCloseLimitOrderIfEmptyInstructionDataEncoder, getCloseOperatorAccountDiscriminatorBytes, getCloseOperatorAccountInstruction, getCloseOperatorAccountInstructionDataCodec, getCloseOperatorAccountInstructionDataDecoder, getCloseOperatorAccountInstructionDataEncoder, getClosePosition2DiscriminatorBytes, getClosePosition2Instruction, getClosePosition2InstructionAsync, getClosePosition2InstructionDataCodec, getClosePosition2InstructionDataDecoder, getClosePosition2InstructionDataEncoder, getClosePositionDiscriminatorBytes, getClosePositionIfEmptyDiscriminatorBytes, getClosePositionIfEmptyInstruction, getClosePositionIfEmptyInstructionAsync, getClosePositionIfEmptyInstructionDataCodec, getClosePositionIfEmptyInstructionDataDecoder, getClosePositionIfEmptyInstructionDataEncoder, getClosePositionInstruction, getClosePositionInstructionAsync, getClosePositionInstructionDataCodec, getClosePositionInstructionDataDecoder, getClosePositionInstructionDataEncoder, getClosePresetParameter2DiscriminatorBytes, getClosePresetParameter2Instruction, getClosePresetParameter2InstructionDataCodec, getClosePresetParameter2InstructionDataDecoder, getClosePresetParameter2InstructionDataEncoder, getClosePresetParameterDiscriminatorBytes, getClosePresetParameterInstruction, getClosePresetParameterInstructionDataCodec, getClosePresetParameterInstructionDataDecoder, getClosePresetParameterInstructionDataEncoder, getCloseTokenBadgeDiscriminatorBytes, getCloseTokenBadgeInstruction, getCloseTokenBadgeInstructionDataCodec, getCloseTokenBadgeInstructionDataDecoder, getCloseTokenBadgeInstructionDataEncoder, getCompressedBinDepositAmountCodec, getCompressedBinDepositAmountDecoder, getCompressedBinDepositAmountEncoder, getCreateOperatorAccountDiscriminatorBytes, getCreateOperatorAccountInstruction, getCreateOperatorAccountInstructionAsync, getCreateOperatorAccountInstructionDataCodec, getCreateOperatorAccountInstructionDataDecoder, getCreateOperatorAccountInstructionDataEncoder, getCustomizableParamsCodec, getCustomizableParamsDecoder, getCustomizableParamsEncoder, getDecreasePositionLengthDiscriminatorBytes, getDecreasePositionLengthInstruction, getDecreasePositionLengthInstructionAsync, getDecreasePositionLengthInstructionDataCodec, getDecreasePositionLengthInstructionDataDecoder, getDecreasePositionLengthInstructionDataEncoder, getDummyZcAccountCodec, getDummyZcAccountDecoder, getDummyZcAccountDiscriminatorBytes, getDummyZcAccountEncoder, getDummyZcAccountSize, getFeeInfoCodec, getFeeInfoDecoder, getFeeInfoEncoder, getForIdlTypeGenerationDoNotCallDiscriminatorBytes, getForIdlTypeGenerationDoNotCallInstruction, getForIdlTypeGenerationDoNotCallInstructionDataCodec, getForIdlTypeGenerationDoNotCallInstructionDataDecoder, getForIdlTypeGenerationDoNotCallInstructionDataEncoder, getFundRewardDiscriminatorBytes, getFundRewardInstruction, getFundRewardInstructionAsync, getFundRewardInstructionDataCodec, getFundRewardInstructionDataDecoder, getFundRewardInstructionDataEncoder, getGoToABinDiscriminatorBytes, getGoToABinInstruction, getGoToABinInstructionAsync, getGoToABinInstructionDataCodec, getGoToABinInstructionDataDecoder, getGoToABinInstructionDataEncoder, getIdFromPrice, getIncreaseOracleLengthDiscriminatorBytes, getIncreaseOracleLengthInstruction, getIncreaseOracleLengthInstructionAsync, getIncreaseOracleLengthInstructionDataCodec, getIncreaseOracleLengthInstructionDataDecoder, getIncreaseOracleLengthInstructionDataEncoder, getIncreasePositionLength2DiscriminatorBytes, getIncreasePositionLength2Instruction, getIncreasePositionLength2InstructionAsync, getIncreasePositionLength2InstructionDataCodec, getIncreasePositionLength2InstructionDataDecoder, getIncreasePositionLength2InstructionDataEncoder, getIncreasePositionLengthDiscriminatorBytes, getIncreasePositionLengthInstruction, getIncreasePositionLengthInstructionAsync, getIncreasePositionLengthInstructionDataCodec, getIncreasePositionLengthInstructionDataDecoder, getIncreasePositionLengthInstructionDataEncoder, getInitializeBinArrayBitmapExtensionDiscriminatorBytes, getInitializeBinArrayBitmapExtensionInstruction, getInitializeBinArrayBitmapExtensionInstructionAsync, getInitializeBinArrayBitmapExtensionInstructionDataCodec, getInitializeBinArrayBitmapExtensionInstructionDataDecoder, getInitializeBinArrayBitmapExtensionInstructionDataEncoder, getInitializeBinArrayDiscriminatorBytes, getInitializeBinArrayInstruction, getInitializeBinArrayInstructionAsync, getInitializeBinArrayInstructionDataCodec, getInitializeBinArrayInstructionDataDecoder, getInitializeBinArrayInstructionDataEncoder, getInitializeCustomizablePermissionlessLbPair2DiscriminatorBytes, getInitializeCustomizablePermissionlessLbPair2Instruction, getInitializeCustomizablePermissionlessLbPair2InstructionAsync, getInitializeCustomizablePermissionlessLbPair2InstructionDataCodec, getInitializeCustomizablePermissionlessLbPair2InstructionDataDecoder, getInitializeCustomizablePermissionlessLbPair2InstructionDataEncoder, getInitializeCustomizablePermissionlessLbPairDiscriminatorBytes, getInitializeCustomizablePermissionlessLbPairInstruction, getInitializeCustomizablePermissionlessLbPairInstructionAsync, getInitializeCustomizablePermissionlessLbPairInstructionDataCodec, getInitializeCustomizablePermissionlessLbPairInstructionDataDecoder, getInitializeCustomizablePermissionlessLbPairInstructionDataEncoder, getInitializeLbPair2DiscriminatorBytes, getInitializeLbPair2Instruction, getInitializeLbPair2InstructionAsync, getInitializeLbPair2InstructionDataCodec, getInitializeLbPair2InstructionDataDecoder, getInitializeLbPair2InstructionDataEncoder, getInitializeLbPairDiscriminatorBytes, getInitializeLbPairInstruction, getInitializeLbPairInstructionAsync, getInitializeLbPairInstructionDataCodec, getInitializeLbPairInstructionDataDecoder, getInitializeLbPairInstructionDataEncoder, getInitializePermissionLbPairDiscriminatorBytes, getInitializePermissionLbPairInstruction, getInitializePermissionLbPairInstructionAsync, getInitializePermissionLbPairInstructionDataCodec, getInitializePermissionLbPairInstructionDataDecoder, getInitializePermissionLbPairInstructionDataEncoder, getInitializePosition2DiscriminatorBytes, getInitializePosition2Instruction, getInitializePosition2InstructionAsync, getInitializePosition2InstructionDataCodec, getInitializePosition2InstructionDataDecoder, getInitializePosition2InstructionDataEncoder, getInitializePositionByOperatorDiscriminatorBytes, getInitializePositionByOperatorInstruction, getInitializePositionByOperatorInstructionAsync, getInitializePositionByOperatorInstructionDataCodec, getInitializePositionByOperatorInstructionDataDecoder, getInitializePositionByOperatorInstructionDataEncoder, getInitializePositionDiscriminatorBytes, getInitializePositionInstruction, getInitializePositionInstructionAsync, getInitializePositionInstructionDataCodec, getInitializePositionInstructionDataDecoder, getInitializePositionInstructionDataEncoder, getInitializePositionPdaDiscriminatorBytes, getInitializePositionPdaInstruction, getInitializePositionPdaInstructionAsync, getInitializePositionPdaInstructionDataCodec, getInitializePositionPdaInstructionDataDecoder, getInitializePositionPdaInstructionDataEncoder, getInitializePresetParameterDiscriminatorBytes, getInitializePresetParameterInstruction, getInitializePresetParameterInstructionDataCodec, getInitializePresetParameterInstructionDataDecoder, getInitializePresetParameterInstructionDataEncoder, getInitializeRewardDiscriminatorBytes, getInitializeRewardInstruction, getInitializeRewardInstructionAsync, getInitializeRewardInstructionDataCodec, getInitializeRewardInstructionDataDecoder, getInitializeRewardInstructionDataEncoder, getInitializeTokenBadgeDiscriminatorBytes, getInitializeTokenBadgeInstruction, getInitializeTokenBadgeInstructionAsync, getInitializeTokenBadgeInstructionDataCodec, getInitializeTokenBadgeInstructionDataDecoder, getInitializeTokenBadgeInstructionDataEncoder, getLbClmmErrorMessage, getLbPairCodec, getLbPairDecoder, getLbPairDiscriminatorBytes, getLbPairEncoder, getLbPairSize, getLimitOrderBinDataCodec, getLimitOrderBinDataDecoder, getLimitOrderBinDataEncoder, getLimitOrderCodec, getLimitOrderDecoder, getLimitOrderDiscriminatorBytes, getLimitOrderEncoder, getLimitOrderSize, getLiquidityParameterByStrategyCodec, getLiquidityParameterByStrategyDecoder, getLiquidityParameterByStrategyEncoder, getLiquidityParameterByWeightCodec, getLiquidityParameterByWeightDecoder, getLiquidityParameterByWeightEncoder, getLiquidityParameterCodec, getLiquidityParameterDecoder, getLiquidityParameterEncoder, getOperatorCodec, getOperatorDecoder, getOperatorDiscriminatorBytes, getOperatorEncoder, getOperatorSize, getOracleCodec, getOracleDecoder, getOracleDiscriminatorBytes, getOracleEncoder, getOracleSize, getPairStatusCodec, getPairStatusDecoder, getPairStatusEncoder, getPairTypeCodec, getPairTypeDecoder, getPairTypeEncoder, getPlaceLimitOrderDiscriminatorBytes, getPlaceLimitOrderInstruction, getPlaceLimitOrderInstructionAsync, getPlaceLimitOrderInstructionDataCodec, getPlaceLimitOrderInstructionDataDecoder, getPlaceLimitOrderInstructionDataEncoder, getPlaceLimitOrderParamsCodec, getPlaceLimitOrderParamsDecoder, getPlaceLimitOrderParamsEncoder, getPositionBinDataCodec, getPositionBinDataDecoder, getPositionBinDataEncoder, getPositionV2Codec, getPositionV2Decoder, getPositionV2DiscriminatorBytes, getPositionV2Encoder, getPositionV2Size, getPresetParameter2Codec, getPresetParameter2Decoder, getPresetParameter2DiscriminatorBytes, getPresetParameter2Encoder, getPresetParameter2Size, getPresetParameterCodec, getPresetParameterDecoder, getPresetParameterDiscriminatorBytes, getPresetParameterEncoder, getPresetParameterSize, getPriceFromId, getProtocolFeeCodec, getProtocolFeeDecoder, getProtocolFeeEncoder, getRebalanceLiquidityDiscriminatorBytes, getRebalanceLiquidityInstruction, getRebalanceLiquidityInstructionAsync, getRebalanceLiquidityInstructionDataCodec, getRebalanceLiquidityInstructionDataDecoder, getRebalanceLiquidityInstructionDataEncoder, getRelativeBinCodec, getRelativeBinDecoder, getRelativeBinEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveAllLiquidityDiscriminatorBytes, getRemoveAllLiquidityInstruction, getRemoveAllLiquidityInstructionAsync, getRemoveAllLiquidityInstructionDataCodec, getRemoveAllLiquidityInstructionDataDecoder, getRemoveAllLiquidityInstructionDataEncoder, getRemoveLiquidity2DiscriminatorBytes, getRemoveLiquidity2Instruction, getRemoveLiquidity2InstructionAsync, getRemoveLiquidity2InstructionDataCodec, getRemoveLiquidity2InstructionDataDecoder, getRemoveLiquidity2InstructionDataEncoder, getRemoveLiquidityByRange2DiscriminatorBytes, getRemoveLiquidityByRange2Instruction, getRemoveLiquidityByRange2InstructionAsync, getRemoveLiquidityByRange2InstructionDataCodec, getRemoveLiquidityByRange2InstructionDataDecoder, getRemoveLiquidityByRange2InstructionDataEncoder, getRemoveLiquidityByRangeDiscriminatorBytes, getRemoveLiquidityByRangeInstruction, getRemoveLiquidityByRangeInstructionAsync, getRemoveLiquidityByRangeInstructionDataCodec, getRemoveLiquidityByRangeInstructionDataDecoder, getRemoveLiquidityByRangeInstructionDataEncoder, getRemoveLiquidityDiscriminatorBytes, getRemoveLiquidityInstruction, getRemoveLiquidityInstructionAsync, getRemoveLiquidityInstructionDataCodec, getRemoveLiquidityInstructionDataDecoder, getRemoveLiquidityInstructionDataEncoder, getRemoveLiquidityParamsCodec, getRemoveLiquidityParamsDecoder, getRemoveLiquidityParamsEncoder, getResizeSideCodec, getResizeSideDecoder, getResizeSideEncoder, getRewardInfoCodec, getRewardInfoDecoder, getRewardInfoEncoder, getRoundingCodec, getRoundingDecoder, getRoundingEncoder, getSetActivationPointDiscriminatorBytes, getSetActivationPointInstruction, getSetActivationPointInstructionDataCodec, getSetActivationPointInstructionDataDecoder, getSetActivationPointInstructionDataEncoder, getSetPairStatusDiscriminatorBytes, getSetPairStatusInstruction, getSetPairStatusInstructionDataCodec, getSetPairStatusInstructionDataDecoder, getSetPairStatusInstructionDataEncoder, getSetPairStatusPermissionlessDiscriminatorBytes, getSetPairStatusPermissionlessInstruction, getSetPairStatusPermissionlessInstructionDataCodec, getSetPairStatusPermissionlessInstructionDataDecoder, getSetPairStatusPermissionlessInstructionDataEncoder, getSetPermissionlessOperationBitsDiscriminatorBytes, getSetPermissionlessOperationBitsInstruction, getSetPermissionlessOperationBitsInstructionAsync, getSetPermissionlessOperationBitsInstructionDataCodec, getSetPermissionlessOperationBitsInstructionDataDecoder, getSetPermissionlessOperationBitsInstructionDataEncoder, getSetPreActivationDurationDiscriminatorBytes, getSetPreActivationDurationInstruction, getSetPreActivationDurationInstructionDataCodec, getSetPreActivationDurationInstructionDataDecoder, getSetPreActivationDurationInstructionDataEncoder, getSetPreActivationSwapAddressDiscriminatorBytes, getSetPreActivationSwapAddressInstruction, getSetPreActivationSwapAddressInstructionDataCodec, getSetPreActivationSwapAddressInstructionDataDecoder, getSetPreActivationSwapAddressInstructionDataEncoder, getStaticParametersCodec, getStaticParametersDecoder, getStaticParametersEncoder, getStrategyParametersCodec, getStrategyParametersDecoder, getStrategyParametersEncoder, getStrategyTypeCodec, getStrategyTypeDecoder, getStrategyTypeEncoder, getSwap2DiscriminatorBytes, getSwap2Instruction, getSwap2InstructionAsync, getSwap2InstructionDataCodec, getSwap2InstructionDataDecoder, getSwap2InstructionDataEncoder, getSwapDiscriminatorBytes, getSwapExactOut2DiscriminatorBytes, getSwapExactOut2Instruction, getSwapExactOut2InstructionAsync, getSwapExactOut2InstructionDataCodec, getSwapExactOut2InstructionDataDecoder, getSwapExactOut2InstructionDataEncoder, getSwapExactOutDiscriminatorBytes, getSwapExactOutInstruction, getSwapExactOutInstructionAsync, getSwapExactOutInstructionDataCodec, getSwapExactOutInstructionDataDecoder, getSwapExactOutInstructionDataEncoder, getSwapInstruction, getSwapInstructionAsync, getSwapInstructionDataCodec, getSwapInstructionDataDecoder, getSwapInstructionDataEncoder, getSwapWithPriceImpact2DiscriminatorBytes, getSwapWithPriceImpact2Instruction, getSwapWithPriceImpact2InstructionAsync, getSwapWithPriceImpact2InstructionDataCodec, getSwapWithPriceImpact2InstructionDataDecoder, getSwapWithPriceImpact2InstructionDataEncoder, getSwapWithPriceImpactDiscriminatorBytes, getSwapWithPriceImpactInstruction, getSwapWithPriceImpactInstructionAsync, getSwapWithPriceImpactInstructionDataCodec, getSwapWithPriceImpactInstructionDataDecoder, getSwapWithPriceImpactInstructionDataEncoder, getTokenBadgeCodec, getTokenBadgeDecoder, getTokenBadgeDiscriminatorBytes, getTokenBadgeEncoder, getTokenBadgeSize, getTokenProgramFlagsCodec, getTokenProgramFlagsDecoder, getTokenProgramFlagsEncoder, getUpdateBaseFeeParametersDiscriminatorBytes, getUpdateBaseFeeParametersInstruction, getUpdateBaseFeeParametersInstructionAsync, getUpdateBaseFeeParametersInstructionDataCodec, getUpdateBaseFeeParametersInstructionDataDecoder, getUpdateBaseFeeParametersInstructionDataEncoder, getUpdateDynamicFeeParametersDiscriminatorBytes, getUpdateDynamicFeeParametersInstruction, getUpdateDynamicFeeParametersInstructionAsync, getUpdateDynamicFeeParametersInstructionDataCodec, getUpdateDynamicFeeParametersInstructionDataDecoder, getUpdateDynamicFeeParametersInstructionDataEncoder, getUpdateFeesAndReward2DiscriminatorBytes, getUpdateFeesAndReward2Instruction, getUpdateFeesAndReward2InstructionDataCodec, getUpdateFeesAndReward2InstructionDataDecoder, getUpdateFeesAndReward2InstructionDataEncoder, getUpdateFeesAndRewardsDiscriminatorBytes, getUpdateFeesAndRewardsInstruction, getUpdateFeesAndRewardsInstructionDataCodec, getUpdateFeesAndRewardsInstructionDataDecoder, getUpdateFeesAndRewardsInstructionDataEncoder, getUpdatePositionOperatorDiscriminatorBytes, getUpdatePositionOperatorInstruction, getUpdatePositionOperatorInstructionAsync, getUpdatePositionOperatorInstructionDataCodec, getUpdatePositionOperatorInstructionDataDecoder, getUpdatePositionOperatorInstructionDataEncoder, getUpdateRewardDurationDiscriminatorBytes, getUpdateRewardDurationInstruction, getUpdateRewardDurationInstructionAsync, getUpdateRewardDurationInstructionDataCodec, getUpdateRewardDurationInstructionDataDecoder, getUpdateRewardDurationInstructionDataEncoder, getUpdateRewardFunderDiscriminatorBytes, getUpdateRewardFunderInstruction, getUpdateRewardFunderInstructionAsync, getUpdateRewardFunderInstructionDataCodec, getUpdateRewardFunderInstructionDataDecoder, getUpdateRewardFunderInstructionDataEncoder, getUserRewardInfoCodec, getUserRewardInfoDecoder, getUserRewardInfoEncoder, getVariableParametersCodec, getVariableParametersDecoder, getVariableParametersEncoder, getWithdrawIneligibleRewardDiscriminatorBytes, getWithdrawIneligibleRewardInstruction, getWithdrawIneligibleRewardInstructionAsync, getWithdrawIneligibleRewardInstructionDataCodec, getWithdrawIneligibleRewardInstructionDataDecoder, getWithdrawIneligibleRewardInstructionDataEncoder, getWithdrawProtocolFeeDiscriminatorBytes, getWithdrawProtocolFeeInstruction, getWithdrawProtocolFeeInstructionDataCodec, getWithdrawProtocolFeeInstructionDataDecoder, getWithdrawProtocolFeeInstructionDataEncoder, getZapProtocolFeeDiscriminatorBytes, getZapProtocolFeeInstruction, getZapProtocolFeeInstructionDataCodec, getZapProtocolFeeInstructionDataDecoder, getZapProtocolFeeInstructionDataEncoder, identifyLbClmmAccount, identifyLbClmmInstruction, isAccountsType, isLbClmmError, parseAddLiquidity2Instruction, parseAddLiquidityByStrategy2Instruction, parseAddLiquidityByStrategyInstruction, parseAddLiquidityByStrategyOneSideInstruction, parseAddLiquidityByWeight2Instruction, parseAddLiquidityByWeightInstruction, parseAddLiquidityInstruction, parseAddLiquidityOneSideInstruction, parseAddLiquidityOneSidePrecise2Instruction, parseAddLiquidityOneSidePreciseInstruction, parseCancelLimitOrderInstruction, parseClaimFee2Instruction, parseClaimFeeInstruction, parseClaimReward2Instruction, parseClaimRewardInstruction, parseCloseBinArrayInstruction, parseCloseClaimFeeOperatorAccountInstruction, parseCloseLimitOrderIfEmptyInstruction, parseCloseOperatorAccountInstruction, parseClosePosition2Instruction, parseClosePositionIfEmptyInstruction, parseClosePositionInstruction, parseClosePresetParameter2Instruction, parseClosePresetParameterInstruction, parseCloseTokenBadgeInstruction, parseCreateOperatorAccountInstruction, parseDecreasePositionLengthInstruction, parseForIdlTypeGenerationDoNotCallInstruction, parseFundRewardInstruction, parseGoToABinInstruction, parseIncreaseOracleLengthInstruction, parseIncreasePositionLength2Instruction, parseIncreasePositionLengthInstruction, parseInitializeBinArrayBitmapExtensionInstruction, parseInitializeBinArrayInstruction, parseInitializeCustomizablePermissionlessLbPair2Instruction, parseInitializeCustomizablePermissionlessLbPairInstruction, parseInitializeLbPair2Instruction, parseInitializeLbPairInstruction, parseInitializePermissionLbPairInstruction, parseInitializePosition2Instruction, parseInitializePositionByOperatorInstruction, parseInitializePositionInstruction, parseInitializePositionPdaInstruction, parseInitializePresetParameterInstruction, parseInitializeRewardInstruction, parseInitializeTokenBadgeInstruction, parseLbClmmInstruction, parsePlaceLimitOrderInstruction, parseRebalanceLiquidityInstruction, parseRemoveAllLiquidityInstruction, parseRemoveLiquidity2Instruction, parseRemoveLiquidityByRange2Instruction, parseRemoveLiquidityByRangeInstruction, parseRemoveLiquidityInstruction, parseSetActivationPointInstruction, parseSetPairStatusInstruction, parseSetPairStatusPermissionlessInstruction, parseSetPermissionlessOperationBitsInstruction, parseSetPreActivationDurationInstruction, parseSetPreActivationSwapAddressInstruction, parseSwap2Instruction, parseSwapExactOut2Instruction, parseSwapExactOutInstruction, parseSwapInstruction, parseSwapWithPriceImpact2Instruction, parseSwapWithPriceImpactInstruction, parseUpdateBaseFeeParametersInstruction, parseUpdateDynamicFeeParametersInstruction, parseUpdateFeesAndReward2Instruction, parseUpdateFeesAndRewardsInstruction, parseUpdatePositionOperatorInstruction, parseUpdateRewardDurationInstruction, parseUpdateRewardFunderInstruction, parseWithdrawIneligibleRewardInstruction, parseWithdrawProtocolFeeInstruction, parseZapProtocolFeeInstruction, powQ64, priceQ64ToPrice, priceToBinId, priceToPriceQ64 };
8720
+ export { ADD_LIQUIDITY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT2_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT_DISCRIMINATOR, ADD_LIQUIDITY_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR, type AccountsType, type AccountsTypeArgs, ActivationType, type ActivationTypeArgs, type AddLiquidity2AsyncInput, type AddLiquidity2Input, type AddLiquidity2Instruction, type AddLiquidity2InstructionData, type AddLiquidity2InstructionDataArgs, type AddLiquidityAsyncInput, type AddLiquidityByStrategy2AsyncInput, type AddLiquidityByStrategy2Input, type AddLiquidityByStrategy2Instruction, type AddLiquidityByStrategy2InstructionData, type AddLiquidityByStrategy2InstructionDataArgs, type AddLiquidityByStrategyAsyncInput, type AddLiquidityByStrategyInput, type AddLiquidityByStrategyInstruction, type AddLiquidityByStrategyInstructionData, type AddLiquidityByStrategyInstructionDataArgs, type AddLiquidityByStrategyOneSideAsyncInput, type AddLiquidityByStrategyOneSideInput, type AddLiquidityByStrategyOneSideInstruction, type AddLiquidityByStrategyOneSideInstructionData, type AddLiquidityByStrategyOneSideInstructionDataArgs, type AddLiquidityByWeight2AsyncInput, type AddLiquidityByWeight2Input, type AddLiquidityByWeight2Instruction, type AddLiquidityByWeight2InstructionData, type AddLiquidityByWeight2InstructionDataArgs, type AddLiquidityByWeightAsyncInput, type AddLiquidityByWeightInput, type AddLiquidityByWeightInstruction, type AddLiquidityByWeightInstructionData, type AddLiquidityByWeightInstructionDataArgs, type AddLiquidityInput, type AddLiquidityInstruction, type AddLiquidityInstructionData, type AddLiquidityInstructionDataArgs, type AddLiquidityOneSideAsyncInput, type AddLiquidityOneSideInput, type AddLiquidityOneSideInstruction, type AddLiquidityOneSideInstructionData, type AddLiquidityOneSideInstructionDataArgs, type AddLiquidityOneSidePrecise2AsyncInput, type AddLiquidityOneSidePrecise2Input, type AddLiquidityOneSidePrecise2Instruction, type AddLiquidityOneSidePrecise2InstructionData, type AddLiquidityOneSidePrecise2InstructionDataArgs, type AddLiquidityOneSidePreciseAsyncInput, type AddLiquidityOneSidePreciseInput, type AddLiquidityOneSidePreciseInstruction, type AddLiquidityOneSidePreciseInstructionData, type AddLiquidityOneSidePreciseInstructionDataArgs, type AddLiquidityParams, type AddLiquidityParamsArgs, BASIS_POINT_MAX, BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, BIN_ARRAY_DISCRIMINATOR, type Bin, type BinArgs, type BinArray, type BinArrayArgs, type BinArrayBitmapExtension, type BinArrayBitmapExtensionArgs, type BinArrayBitmapExtensionSeeds, type BinArraySeeds, type BinLimitOrderAmount, type BinLimitOrderAmountArgs, type BinLiquidityDistribution, type BinLiquidityDistributionArgs, type BinLiquidityDistributionByWeight, type BinLiquidityDistributionByWeightArgs, type BinLiquidityReduction, type BinLiquidityReductionArgs, CANCEL_LIMIT_ORDER_DISCRIMINATOR, CLAIM_FEE2_DISCRIMINATOR, CLAIM_FEE_DISCRIMINATOR, CLAIM_FEE_OPERATOR_DISCRIMINATOR, CLAIM_REWARD2_DISCRIMINATOR, CLAIM_REWARD_DISCRIMINATOR, CLOSE_BIN_ARRAY_DISCRIMINATOR, CLOSE_CLAIM_FEE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_LIMIT_ORDER_IF_EMPTY_DISCRIMINATOR, CLOSE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_POSITION2_DISCRIMINATOR, CLOSE_POSITION_DISCRIMINATOR, CLOSE_POSITION_IF_EMPTY_DISCRIMINATOR, CLOSE_PRESET_PARAMETER2_DISCRIMINATOR, CLOSE_PRESET_PARAMETER_DISCRIMINATOR, CLOSE_TOKEN_BADGE_DISCRIMINATOR, CREATE_OPERATOR_ACCOUNT_DISCRIMINATOR, type CancelLimitOrderAsyncInput, type CancelLimitOrderInput, type CancelLimitOrderInstruction, type CancelLimitOrderInstructionData, type CancelLimitOrderInstructionDataArgs, type ClaimFee2AsyncInput, type ClaimFee2Input, type ClaimFee2Instruction, type ClaimFee2InstructionData, type ClaimFee2InstructionDataArgs, type ClaimFeeAsyncInput, type ClaimFeeInput, type ClaimFeeInstruction, type ClaimFeeInstructionData, type ClaimFeeInstructionDataArgs, type ClaimFeeOperator, type ClaimFeeOperatorArgs, type ClaimReward2AsyncInput, type ClaimReward2Input, type ClaimReward2Instruction, type ClaimReward2InstructionData, type ClaimReward2InstructionDataArgs, type ClaimRewardAsyncInput, type ClaimRewardInput, type ClaimRewardInstruction, type ClaimRewardInstructionData, type ClaimRewardInstructionDataArgs, type CloseBinArrayInput, type CloseBinArrayInstruction, type CloseBinArrayInstructionData, type CloseBinArrayInstructionDataArgs, type CloseClaimFeeOperatorAccountInput, type CloseClaimFeeOperatorAccountInstruction, type CloseClaimFeeOperatorAccountInstructionData, type CloseClaimFeeOperatorAccountInstructionDataArgs, type CloseLimitOrderIfEmptyAsyncInput, type CloseLimitOrderIfEmptyInput, type CloseLimitOrderIfEmptyInstruction, type CloseLimitOrderIfEmptyInstructionData, type CloseLimitOrderIfEmptyInstructionDataArgs, type CloseOperatorAccountInput, type CloseOperatorAccountInstruction, type CloseOperatorAccountInstructionData, type CloseOperatorAccountInstructionDataArgs, type ClosePosition2AsyncInput, type ClosePosition2Input, type ClosePosition2Instruction, type ClosePosition2InstructionData, type ClosePosition2InstructionDataArgs, type ClosePositionAsyncInput, type ClosePositionIfEmptyAsyncInput, type ClosePositionIfEmptyInput, type ClosePositionIfEmptyInstruction, type ClosePositionIfEmptyInstructionData, type ClosePositionIfEmptyInstructionDataArgs, type ClosePositionInput, type ClosePositionInstruction, type ClosePositionInstructionData, type ClosePositionInstructionDataArgs, type ClosePresetParameter2Input, type ClosePresetParameter2Instruction, type ClosePresetParameter2InstructionData, type ClosePresetParameter2InstructionDataArgs, type ClosePresetParameterInput, type ClosePresetParameterInstruction, type ClosePresetParameterInstructionData, type ClosePresetParameterInstructionDataArgs, type CloseTokenBadgeInput, type CloseTokenBadgeInstruction, type CloseTokenBadgeInstructionData, type CloseTokenBadgeInstructionDataArgs, type CompressedBinDepositAmount, type CompressedBinDepositAmountArgs, type CreateOperatorAccountAsyncInput, type CreateOperatorAccountInput, type CreateOperatorAccountInstruction, type CreateOperatorAccountInstructionData, type CreateOperatorAccountInstructionDataArgs, type CustomizableParams, type CustomizableParamsArgs, DECREASE_POSITION_LENGTH_DISCRIMINATOR, DUMMY_ZC_ACCOUNT_DISCRIMINATOR, type DecreasePositionLengthAsyncInput, type DecreasePositionLengthInput, type DecreasePositionLengthInstruction, type DecreasePositionLengthInstructionData, type DecreasePositionLengthInstructionDataArgs, type DummyZcAccount, type DummyZcAccountArgs, FOR_IDL_TYPE_GENERATION_DO_NOT_CALL_DISCRIMINATOR, FUND_REWARD_DISCRIMINATOR, type FeeInfo, type FeeInfoArgs, type ForIdlTypeGenerationDoNotCallInput, type ForIdlTypeGenerationDoNotCallInstruction, type ForIdlTypeGenerationDoNotCallInstructionData, type ForIdlTypeGenerationDoNotCallInstructionDataArgs, type FundRewardAsyncInput, type FundRewardInput, type FundRewardInstruction, type FundRewardInstructionData, type FundRewardInstructionDataArgs, GO_TO_A_BIN_DISCRIMINATOR, type GoToABinAsyncInput, type GoToABinInput, type GoToABinInstruction, type GoToABinInstructionData, type GoToABinInstructionDataArgs, INCREASE_ORACLE_LENGTH_DISCRIMINATOR, INCREASE_POSITION_LENGTH2_DISCRIMINATOR, INCREASE_POSITION_LENGTH_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR2_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR_DISCRIMINATOR, INITIALIZE_LB_PAIR2_DISCRIMINATOR, INITIALIZE_LB_PAIR_DISCRIMINATOR, INITIALIZE_PERMISSION_LB_PAIR_DISCRIMINATOR, INITIALIZE_POSITION2_DISCRIMINATOR, INITIALIZE_POSITION_BY_OPERATOR_DISCRIMINATOR, INITIALIZE_POSITION_DISCRIMINATOR, INITIALIZE_POSITION_PDA_DISCRIMINATOR, INITIALIZE_PRESET_PARAMETER_DISCRIMINATOR, INITIALIZE_REWARD_DISCRIMINATOR, INITIALIZE_TOKEN_BADGE_DISCRIMINATOR, type IncreaseOracleLengthAsyncInput, type IncreaseOracleLengthInput, type IncreaseOracleLengthInstruction, type IncreaseOracleLengthInstructionData, type IncreaseOracleLengthInstructionDataArgs, type IncreasePositionLength2AsyncInput, type IncreasePositionLength2Input, type IncreasePositionLength2Instruction, type IncreasePositionLength2InstructionData, type IncreasePositionLength2InstructionDataArgs, type IncreasePositionLengthAsyncInput, type IncreasePositionLengthInput, type IncreasePositionLengthInstruction, type IncreasePositionLengthInstructionData, type IncreasePositionLengthInstructionDataArgs, type InitializeBinArrayAsyncInput, type InitializeBinArrayBitmapExtensionAsyncInput, type InitializeBinArrayBitmapExtensionInput, type InitializeBinArrayBitmapExtensionInstruction, type InitializeBinArrayBitmapExtensionInstructionData, type InitializeBinArrayBitmapExtensionInstructionDataArgs, type InitializeBinArrayInput, type InitializeBinArrayInstruction, type InitializeBinArrayInstructionData, type InitializeBinArrayInstructionDataArgs, type InitializeCustomizablePermissionlessLbPair2AsyncInput, type InitializeCustomizablePermissionlessLbPair2Input, type InitializeCustomizablePermissionlessLbPair2Instruction, type InitializeCustomizablePermissionlessLbPair2InstructionData, type InitializeCustomizablePermissionlessLbPair2InstructionDataArgs, type InitializeCustomizablePermissionlessLbPairAsyncInput, type InitializeCustomizablePermissionlessLbPairInput, type InitializeCustomizablePermissionlessLbPairInstruction, type InitializeCustomizablePermissionlessLbPairInstructionData, type InitializeCustomizablePermissionlessLbPairInstructionDataArgs, type InitializeLbPair2AsyncInput, type InitializeLbPair2Input, type InitializeLbPair2Instruction, type InitializeLbPair2InstructionData, type InitializeLbPair2InstructionDataArgs, type InitializeLbPairAsyncInput, type InitializeLbPairInput, type InitializeLbPairInstruction, type InitializeLbPairInstructionData, type InitializeLbPairInstructionDataArgs, type InitializePermissionLbPairAsyncInput, type InitializePermissionLbPairInput, type InitializePermissionLbPairInstruction, type InitializePermissionLbPairInstructionData, type InitializePermissionLbPairInstructionDataArgs, type InitializePosition2AsyncInput, type InitializePosition2Input, type InitializePosition2Instruction, type InitializePosition2InstructionData, type InitializePosition2InstructionDataArgs, type InitializePositionAsyncInput, type InitializePositionByOperatorAsyncInput, type InitializePositionByOperatorInput, type InitializePositionByOperatorInstruction, type InitializePositionByOperatorInstructionData, type InitializePositionByOperatorInstructionDataArgs, type InitializePositionInput, type InitializePositionInstruction, type InitializePositionInstructionData, type InitializePositionInstructionDataArgs, type InitializePositionPdaAsyncInput, type InitializePositionPdaInput, type InitializePositionPdaInstruction, type InitializePositionPdaInstructionData, type InitializePositionPdaInstructionDataArgs, type InitializePresetParameterInput, type InitializePresetParameterInstruction, type InitializePresetParameterInstructionData, type InitializePresetParameterInstructionDataArgs, type InitializeRewardAsyncInput, type InitializeRewardInput, type InitializeRewardInstruction, type InitializeRewardInstructionData, type InitializeRewardInstructionDataArgs, type InitializeTokenBadgeAsyncInput, type InitializeTokenBadgeInput, type InitializeTokenBadgeInstruction, type InitializeTokenBadgeInstructionData, type InitializeTokenBadgeInstructionDataArgs, LB_CLMM_ERROR__ALREADY_PASS_ACTIVATION_POINT, LB_CLMM_ERROR__ALREADY_PASS_PRE_ACTIVATION_SWAP_POINT, LB_CLMM_ERROR__AMOUNT_X_IS_NEGATIVE, LB_CLMM_ERROR__AMOUNT_Y_IS_NEGATIVE, LB_CLMM_ERROR__BIN_ARRAY_NOT_FOUND, LB_CLMM_ERROR__BIN_ID_OUT_OF_BOUND, LB_CLMM_ERROR__BIN_RANGE_IS_NOT_EMPTY, LB_CLMM_ERROR__BITMAP_EXTENSION_ACCOUNT_IS_NOT_PROVIDED, LB_CLMM_ERROR__CANCEL_NON_EMPTY_LIMIT_ORDER, LB_CLMM_ERROR__CANNOT_FIND_LIMIT_ORDER_BY_BIN_ID, LB_CLMM_ERROR__CANNOT_FIND_NON_ZERO_LIQUIDITY_BIN_ARRAY_ID, LB_CLMM_ERROR__COMPOSITION_FACTOR_FLAWED, LB_CLMM_ERROR__CPI_DISABLED, LB_CLMM_ERROR__DUPLICATED_REMAINING_ACCOUNT_TYPES, LB_CLMM_ERROR__EXCEEDED_AMOUNT_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_BIN_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_MAX_ORACLE_LENGTH, LB_CLMM_ERROR__EXCEED_MAX_SWAPPED_AMOUNT, LB_CLMM_ERROR__EXCEED_MAX_WHITELIST, LB_CLMM_ERROR__EXCESSIVE_FEE_UPDATE, LB_CLMM_ERROR__IDENTICAL_FEE_OWNER, LB_CLMM_ERROR__IDENTICAL_FUNDER, LB_CLMM_ERROR__IDENTICAL_REWARD_DURATION, LB_CLMM_ERROR__INCORRECT_A_T_A, LB_CLMM_ERROR__INSUFFICIENT_IN_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_OUT_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_REMAINING_ACCOUNTS, LB_CLMM_ERROR__INSUFFICIENT_SAMPLE, LB_CLMM_ERROR__INVALID_ACCOUNT_FOR_SINGLE_DEPOSIT, LB_CLMM_ERROR__INVALID_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_ACTIVATION_TYPE, LB_CLMM_ERROR__INVALID_ADMIN, LB_CLMM_ERROR__INVALID_BASE_FEE, LB_CLMM_ERROR__INVALID_BASE_FEE_MANTISSA, LB_CLMM_ERROR__INVALID_BIN_ARRAY, LB_CLMM_ERROR__INVALID_BIN_ID, LB_CLMM_ERROR__INVALID_BIN_STEP, LB_CLMM_ERROR__INVALID_BPS, LB_CLMM_ERROR__INVALID_CANCEL_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_COLLECT_FEE_MODE, LB_CLMM_ERROR__INVALID_FEE_OWNER, LB_CLMM_ERROR__INVALID_FEE_PARAMETER, LB_CLMM_ERROR__INVALID_FEE_WITHDRAW_AMOUNT, LB_CLMM_ERROR__INVALID_FUNCTION_TYPE, LB_CLMM_ERROR__INVALID_INDEX, LB_CLMM_ERROR__INVALID_INPUT, LB_CLMM_ERROR__INVALID_LIMIT_ORDER_OWNER, LB_CLMM_ERROR__INVALID_LOOKUP_TIMESTAMP, LB_CLMM_ERROR__INVALID_MINIMUM_LIQUIDITY, LB_CLMM_ERROR__INVALID_PERMISSION, LB_CLMM_ERROR__INVALID_PLACE_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_POOL_ADDRESS, LB_CLMM_ERROR__INVALID_POOL_CREATOR, LB_CLMM_ERROR__INVALID_POOL_TYPE, LB_CLMM_ERROR__INVALID_POSITION, LB_CLMM_ERROR__INVALID_POSITION_OWNER, LB_CLMM_ERROR__INVALID_POSITION_WIDTH, LB_CLMM_ERROR__INVALID_PRE_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_QUOTE_TOKEN, LB_CLMM_ERROR__INVALID_REBALANCE_PARAMETERS, LB_CLMM_ERROR__INVALID_REMAINING_ACCOUNT_SLICE, LB_CLMM_ERROR__INVALID_RESIZE_LENGTH, LB_CLMM_ERROR__INVALID_REWARD_ACCOUNTS, LB_CLMM_ERROR__INVALID_REWARD_DURATION, LB_CLMM_ERROR__INVALID_REWARD_INDEX, LB_CLMM_ERROR__INVALID_REWARD_VAULT, LB_CLMM_ERROR__INVALID_SIDE, LB_CLMM_ERROR__INVALID_START_BIN_INDEX, LB_CLMM_ERROR__INVALID_STATUS, LB_CLMM_ERROR__INVALID_STRATEGY_PARAMETERS, LB_CLMM_ERROR__INVALID_TOKEN_BADGE_TYPE, LB_CLMM_ERROR__INVALID_TOKEN_MINT, LB_CLMM_ERROR__INVALID_TRANSFER_HOOK_AUTHORITY, LB_CLMM_ERROR__INVALID_WITHDRAW_PROTOCOL_FEE_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_OUT_PARAMETERS, LB_CLMM_ERROR__LIQUIDITY_LOCKED, LB_CLMM_ERROR__MATH_OVERFLOW, LB_CLMM_ERROR__MINT_RESTRICTED_FROM_ZAP, LB_CLMM_ERROR__MISSING_ORACLE, LB_CLMM_ERROR__MISSING_REMAINING_ACCOUNT_FOR_TRANSFER_HOOK, LB_CLMM_ERROR__MISSING_TOKEN_AMOUNT_AS_TOKEN_LAUNCH_PROOF, LB_CLMM_ERROR__MISSING_ZAP_OUT_INSTRUCTION, LB_CLMM_ERROR__MUST_WITHDRAWN_INELIGIBLE_REWARD, LB_CLMM_ERROR__NON_CONTINUOUS_BIN_ARRAYS, LB_CLMM_ERROR__NON_EMPTY_POSITION, LB_CLMM_ERROR__NON_PRESET_BIN_STEP, LB_CLMM_ERROR__NOT_EXACT_AMOUNT_OUT, LB_CLMM_ERROR__NOT_SUPPORT_AT_THE_MOMENT, LB_CLMM_ERROR__NOT_SUPPORT_MINT, LB_CLMM_ERROR__NO_TRANSFER_HOOK_PROGRAM, LB_CLMM_ERROR__OPERATORS_ARE_THE_SAME, LB_CLMM_ERROR__PAIR_INSUFFICIENT_LIQUIDITY, LB_CLMM_ERROR__POOL_DISABLED, LB_CLMM_ERROR__REALLOC_EXCEED_MAX_LENGTH_PER_INSTRUCTION, LB_CLMM_ERROR__REWARD_CAMPAIGN_IN_PROGRESS, LB_CLMM_ERROR__REWARD_INITIALIZED, LB_CLMM_ERROR__REWARD_NOT_ENDED, LB_CLMM_ERROR__REWARD_UNINITIALIZED, LB_CLMM_ERROR__TYPE_CAST_FAILED, LB_CLMM_ERROR__UNAUTHORIZED_ACCESS, LB_CLMM_ERROR__UNAUTHORIZED_ADDRESS, LB_CLMM_ERROR__UNDETERMINED_ERROR, LB_CLMM_ERROR__UNMATCH_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORTED_MINT_EXTENSION, LB_CLMM_ERROR__UNSUPPORTED_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORT_NATIVE_MINT_TOKEN2022, LB_CLMM_ERROR__WITHDRAW_TO_WRONG_TOKEN_ACCOUNT, LB_CLMM_ERROR__WRONG_RENT_RECEIVER, LB_CLMM_ERROR__ZERO_FUNDED_AMOUNT, LB_CLMM_ERROR__ZERO_LIQUIDITY, LB_CLMM_PROGRAM_ADDRESS, LB_PAIR_DISCRIMINATOR, LIMIT_ORDER_DISCRIMINATOR, LbClmmAccount, type LbClmmError, LbClmmInstruction, type LbPair, type LbPairArgs, type LbPairFilter, type LimitOrder, type LimitOrderArgs, type LimitOrderBinData, type LimitOrderBinDataArgs, type LiquidityParameter, type LiquidityParameterArgs, type LiquidityParameterByStrategy, type LiquidityParameterByStrategyArgs, type LiquidityParameterByWeight, type LiquidityParameterByWeightArgs, MAX_BIN_ID, MAX_BIN_PER_ARRAY, MAX_BIN_STEP, MAX_RESIZE_LENGTH, MIN_BIN_ID, NUM_REWARDS, ONE_Q64, OPERATOR_DISCRIMINATOR, ORACLE_DISCRIMINATOR, type Operator, type OperatorArgs, type OperatorSeeds, type Oracle, type OracleArgs, type OracleSeeds, PLACE_LIMIT_ORDER_DISCRIMINATOR, POSITION_MAX_LENGTH, POSITION_V2_DISCRIMINATOR, PRESET_PARAMETER2_DISCRIMINATOR, PRESET_PARAMETER2_SEED, PRESET_PARAMETER_DISCRIMINATOR, PairStatus, type PairStatusArgs, PairType, type PairTypeArgs, type ParsedAddLiquidity2Instruction, type ParsedAddLiquidityByStrategy2Instruction, type ParsedAddLiquidityByStrategyInstruction, type ParsedAddLiquidityByStrategyOneSideInstruction, type ParsedAddLiquidityByWeight2Instruction, type ParsedAddLiquidityByWeightInstruction, type ParsedAddLiquidityInstruction, type ParsedAddLiquidityOneSideInstruction, type ParsedAddLiquidityOneSidePrecise2Instruction, type ParsedAddLiquidityOneSidePreciseInstruction, type ParsedCancelLimitOrderInstruction, type ParsedClaimFee2Instruction, type ParsedClaimFeeInstruction, type ParsedClaimReward2Instruction, type ParsedClaimRewardInstruction, type ParsedCloseBinArrayInstruction, type ParsedCloseClaimFeeOperatorAccountInstruction, type ParsedCloseLimitOrderIfEmptyInstruction, type ParsedCloseOperatorAccountInstruction, type ParsedClosePosition2Instruction, type ParsedClosePositionIfEmptyInstruction, type ParsedClosePositionInstruction, type ParsedClosePresetParameter2Instruction, type ParsedClosePresetParameterInstruction, type ParsedCloseTokenBadgeInstruction, type ParsedCreateOperatorAccountInstruction, type ParsedDecreasePositionLengthInstruction, type ParsedForIdlTypeGenerationDoNotCallInstruction, type ParsedFundRewardInstruction, type ParsedGoToABinInstruction, type ParsedIncreaseOracleLengthInstruction, type ParsedIncreasePositionLength2Instruction, type ParsedIncreasePositionLengthInstruction, type ParsedInitializeBinArrayBitmapExtensionInstruction, type ParsedInitializeBinArrayInstruction, type ParsedInitializeCustomizablePermissionlessLbPair2Instruction, type ParsedInitializeCustomizablePermissionlessLbPairInstruction, type ParsedInitializeLbPair2Instruction, type ParsedInitializeLbPairInstruction, type ParsedInitializePermissionLbPairInstruction, type ParsedInitializePosition2Instruction, type ParsedInitializePositionByOperatorInstruction, type ParsedInitializePositionInstruction, type ParsedInitializePositionPdaInstruction, type ParsedInitializePresetParameterInstruction, type ParsedInitializeRewardInstruction, type ParsedInitializeTokenBadgeInstruction, type ParsedLbClmmInstruction, type ParsedPlaceLimitOrderInstruction, type ParsedRebalanceLiquidityInstruction, type ParsedRemoveAllLiquidityInstruction, type ParsedRemoveLiquidity2Instruction, type ParsedRemoveLiquidityByRange2Instruction, type ParsedRemoveLiquidityByRangeInstruction, type ParsedRemoveLiquidityInstruction, type ParsedSetActivationPointInstruction, type ParsedSetPairStatusInstruction, type ParsedSetPairStatusPermissionlessInstruction, type ParsedSetPermissionlessOperationBitsInstruction, type ParsedSetPreActivationDurationInstruction, type ParsedSetPreActivationSwapAddressInstruction, type ParsedSwap2Instruction, type ParsedSwapExactOut2Instruction, type ParsedSwapExactOutInstruction, type ParsedSwapInstruction, type ParsedSwapWithPriceImpact2Instruction, type ParsedSwapWithPriceImpactInstruction, type ParsedUpdateBaseFeeParametersInstruction, type ParsedUpdateDynamicFeeParametersInstruction, type ParsedUpdateFeesAndReward2Instruction, type ParsedUpdateFeesAndRewardsInstruction, type ParsedUpdatePositionOperatorInstruction, type ParsedUpdateRewardDurationInstruction, type ParsedUpdateRewardFunderInstruction, type ParsedWithdrawIneligibleRewardInstruction, type ParsedWithdrawProtocolFeeInstruction, type ParsedZapProtocolFeeInstruction, type PlaceLimitOrderAsyncInput, type PlaceLimitOrderInput, type PlaceLimitOrderInstruction, type PlaceLimitOrderInstructionData, type PlaceLimitOrderInstructionDataArgs, type PlaceLimitOrderParams, type PlaceLimitOrderParamsArgs, type PositionBinData, type PositionBinDataArgs, type PositionSeeds, type PositionV2, type PositionV2Args, type PresetParameter, type PresetParameter2, type PresetParameter2Args, type PresetParameterArgs, type ProtocolFee, type ProtocolFeeArgs, REBALANCE_LIQUIDITY_DISCRIMINATOR, REMOVE_ALL_LIQUIDITY_DISCRIMINATOR, REMOVE_LIQUIDITY2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE_DISCRIMINATOR, REMOVE_LIQUIDITY_DISCRIMINATOR, type RebalanceLiquidityAsyncInput, type RebalanceLiquidityInput, type RebalanceLiquidityInstruction, type RebalanceLiquidityInstructionData, type RebalanceLiquidityInstructionDataArgs, type RelativeBin, type RelativeBinArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RemoveAllLiquidityAsyncInput, type RemoveAllLiquidityInput, type RemoveAllLiquidityInstruction, type RemoveAllLiquidityInstructionData, type RemoveAllLiquidityInstructionDataArgs, type RemoveLiquidity2AsyncInput, type RemoveLiquidity2Input, type RemoveLiquidity2Instruction, type RemoveLiquidity2InstructionData, type RemoveLiquidity2InstructionDataArgs, type RemoveLiquidityAsyncInput, type RemoveLiquidityByRange2AsyncInput, type RemoveLiquidityByRange2Input, type RemoveLiquidityByRange2Instruction, type RemoveLiquidityByRange2InstructionData, type RemoveLiquidityByRange2InstructionDataArgs, type RemoveLiquidityByRangeAsyncInput, type RemoveLiquidityByRangeInput, type RemoveLiquidityByRangeInstruction, type RemoveLiquidityByRangeInstructionData, type RemoveLiquidityByRangeInstructionDataArgs, type RemoveLiquidityInput, type RemoveLiquidityInstruction, type RemoveLiquidityInstructionData, type RemoveLiquidityInstructionDataArgs, type RemoveLiquidityParams, type RemoveLiquidityParamsArgs, type ReserveXSeeds, type ReserveYSeeds, ResizeSide, type ResizeSideArgs, type RewardInfo, type RewardInfoArgs, type RewardVaultSeeds, Rounding, type RoundingArgs, SET_ACTIVATION_POINT_DISCRIMINATOR, SET_PAIR_STATUS_DISCRIMINATOR, SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR, SET_PERMISSIONLESS_OPERATION_BITS_DISCRIMINATOR, SET_PRE_ACTIVATION_DURATION_DISCRIMINATOR, SET_PRE_ACTIVATION_SWAP_ADDRESS_DISCRIMINATOR, SWAP2_DISCRIMINATOR, SWAP_DISCRIMINATOR, SWAP_EXACT_OUT2_DISCRIMINATOR, SWAP_EXACT_OUT_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT2_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT_DISCRIMINATOR, type SetActivationPointInput, type SetActivationPointInstruction, type SetActivationPointInstructionData, type SetActivationPointInstructionDataArgs, type SetPairStatusInput, type SetPairStatusInstruction, type SetPairStatusInstructionData, type SetPairStatusInstructionDataArgs, type SetPairStatusPermissionlessInput, type SetPairStatusPermissionlessInstruction, type SetPairStatusPermissionlessInstructionData, type SetPairStatusPermissionlessInstructionDataArgs, type SetPermissionlessOperationBitsAsyncInput, type SetPermissionlessOperationBitsInput, type SetPermissionlessOperationBitsInstruction, type SetPermissionlessOperationBitsInstructionData, type SetPermissionlessOperationBitsInstructionDataArgs, type SetPreActivationDurationInput, type SetPreActivationDurationInstruction, type SetPreActivationDurationInstructionData, type SetPreActivationDurationInstructionDataArgs, type SetPreActivationSwapAddressInput, type SetPreActivationSwapAddressInstruction, type SetPreActivationSwapAddressInstructionData, type SetPreActivationSwapAddressInstructionDataArgs, type StaticParameters, type StaticParametersArgs, type StrategyParameters, type StrategyParametersArgs, StrategyType, type StrategyTypeArgs, type Swap2AsyncInput, type Swap2Input, type Swap2Instruction, type Swap2InstructionData, type Swap2InstructionDataArgs, type SwapAsyncInput, type SwapExactOut2AsyncInput, type SwapExactOut2Input, type SwapExactOut2Instruction, type SwapExactOut2InstructionData, type SwapExactOut2InstructionDataArgs, type SwapExactOutAsyncInput, type SwapExactOutInput, type SwapExactOutInstruction, type SwapExactOutInstructionData, type SwapExactOutInstructionDataArgs, type SwapInput, type SwapInstruction, type SwapInstructionData, type SwapInstructionDataArgs, type SwapWithPriceImpact2AsyncInput, type SwapWithPriceImpact2Input, type SwapWithPriceImpact2Instruction, type SwapWithPriceImpact2InstructionData, type SwapWithPriceImpact2InstructionDataArgs, type SwapWithPriceImpactAsyncInput, type SwapWithPriceImpactInput, type SwapWithPriceImpactInstruction, type SwapWithPriceImpactInstructionData, type SwapWithPriceImpactInstructionDataArgs, TOKEN_BADGE_DISCRIMINATOR, type TokenBadge, type TokenBadgeArgs, type TokenBadgeSeeds, TokenProgramFlags, type TokenProgramFlagsArgs, UPDATE_BASE_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_DYNAMIC_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_FEES_AND_REWARD2_DISCRIMINATOR, UPDATE_FEES_AND_REWARDS_DISCRIMINATOR, UPDATE_POSITION_OPERATOR_DISCRIMINATOR, UPDATE_REWARD_DURATION_DISCRIMINATOR, UPDATE_REWARD_FUNDER_DISCRIMINATOR, type UpdateBaseFeeParametersAsyncInput, type UpdateBaseFeeParametersInput, type UpdateBaseFeeParametersInstruction, type UpdateBaseFeeParametersInstructionData, type UpdateBaseFeeParametersInstructionDataArgs, type UpdateDynamicFeeParametersAsyncInput, type UpdateDynamicFeeParametersInput, type UpdateDynamicFeeParametersInstruction, type UpdateDynamicFeeParametersInstructionData, type UpdateDynamicFeeParametersInstructionDataArgs, type UpdateFeesAndReward2Input, type UpdateFeesAndReward2Instruction, type UpdateFeesAndReward2InstructionData, type UpdateFeesAndReward2InstructionDataArgs, type UpdateFeesAndRewardsInput, type UpdateFeesAndRewardsInstruction, type UpdateFeesAndRewardsInstructionData, type UpdateFeesAndRewardsInstructionDataArgs, type UpdatePositionOperatorAsyncInput, type UpdatePositionOperatorInput, type UpdatePositionOperatorInstruction, type UpdatePositionOperatorInstructionData, type UpdatePositionOperatorInstructionDataArgs, type UpdateRewardDurationAsyncInput, type UpdateRewardDurationInput, type UpdateRewardDurationInstruction, type UpdateRewardDurationInstructionData, type UpdateRewardDurationInstructionDataArgs, type UpdateRewardFunderAsyncInput, type UpdateRewardFunderInput, type UpdateRewardFunderInstruction, type UpdateRewardFunderInstructionData, type UpdateRewardFunderInstructionDataArgs, type UserRewardInfo, type UserRewardInfoArgs, type VariableParameters, type VariableParametersArgs, WITHDRAW_INELIGIBLE_REWARD_DISCRIMINATOR, WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR, type WithdrawIneligibleRewardAsyncInput, type WithdrawIneligibleRewardInput, type WithdrawIneligibleRewardInstruction, type WithdrawIneligibleRewardInstructionData, type WithdrawIneligibleRewardInstructionDataArgs, type WithdrawProtocolFeeInput, type WithdrawProtocolFeeInstruction, type WithdrawProtocolFeeInstructionData, type WithdrawProtocolFeeInstructionDataArgs, ZAP_PROTOCOL_FEE_DISCRIMINATOR, type ZapProtocolFeeInput, type ZapProtocolFeeInstruction, type ZapProtocolFeeInstructionData, type ZapProtocolFeeInstructionDataArgs, accountsType, binArrayIndexToBinIdRange, binIdToBinArrayIndex, binIdToPrice, decodeBinArray, decodeBinArrayBitmapExtension, decodeClaimFeeOperator, decodeDummyZcAccount, decodeLbPair, decodeLimitOrder, decodeOperator, decodeOracle, decodePositionV2, decodePresetParameter, decodePresetParameter2, decodeTokenBadge, fetchAllBinArray, fetchAllBinArrayBitmapExtension, fetchAllClaimFeeOperator, fetchAllDummyZcAccount, fetchAllLbPair, fetchAllLbPairWithFilter, fetchAllLimitOrder, fetchAllMaybeBinArray, fetchAllMaybeBinArrayBitmapExtension, fetchAllMaybeClaimFeeOperator, fetchAllMaybeDummyZcAccount, fetchAllMaybeLbPair, fetchAllMaybeLimitOrder, fetchAllMaybeOperator, fetchAllMaybeOracle, fetchAllMaybePositionV2, fetchAllMaybePresetParameter, fetchAllMaybePresetParameter2, fetchAllMaybeTokenBadge, fetchAllOperator, fetchAllOracle, fetchAllPositionV2, fetchAllPresetParameter, fetchAllPresetParameter2, fetchAllTokenBadge, fetchBinArray, fetchBinArrayBitmapExtension, fetchClaimFeeOperator, fetchDummyZcAccount, fetchLbPair, fetchLimitOrder, fetchMaybeBinArray, fetchMaybeBinArrayBitmapExtension, fetchMaybeClaimFeeOperator, fetchMaybeDummyZcAccount, fetchMaybeLbPair, fetchMaybeLimitOrder, fetchMaybeOperator, fetchMaybeOracle, fetchMaybePositionV2, fetchMaybePresetParameter, fetchMaybePresetParameter2, fetchMaybeTokenBadge, fetchOperator, fetchOracle, fetchPositionV2, fetchPresetParameter, fetchPresetParameter2, fetchTokenBadge, findBinArrayBitmapExtensionPda, findBinArrayPda, findEventAuthorityPda, findLbPairPda, findOperatorPda, findOraclePda, findPositionPda, findPresetParameterPda, findReserveXPda, findReserveYPda, findRewardVaultPda, findTokenBadgePda, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getActivationTypeCodec, getActivationTypeDecoder, getActivationTypeEncoder, getAddLiquidity2DiscriminatorBytes, getAddLiquidity2Instruction, getAddLiquidity2InstructionAsync, getAddLiquidity2InstructionDataCodec, getAddLiquidity2InstructionDataDecoder, getAddLiquidity2InstructionDataEncoder, getAddLiquidityByStrategy2DiscriminatorBytes, getAddLiquidityByStrategy2Instruction, getAddLiquidityByStrategy2InstructionAsync, getAddLiquidityByStrategy2InstructionDataCodec, getAddLiquidityByStrategy2InstructionDataDecoder, getAddLiquidityByStrategy2InstructionDataEncoder, getAddLiquidityByStrategyDiscriminatorBytes, getAddLiquidityByStrategyInstruction, getAddLiquidityByStrategyInstructionAsync, getAddLiquidityByStrategyInstructionDataCodec, getAddLiquidityByStrategyInstructionDataDecoder, getAddLiquidityByStrategyInstructionDataEncoder, getAddLiquidityByStrategyOneSideDiscriminatorBytes, getAddLiquidityByStrategyOneSideInstruction, getAddLiquidityByStrategyOneSideInstructionAsync, getAddLiquidityByStrategyOneSideInstructionDataCodec, getAddLiquidityByStrategyOneSideInstructionDataDecoder, getAddLiquidityByStrategyOneSideInstructionDataEncoder, getAddLiquidityByWeight2DiscriminatorBytes, getAddLiquidityByWeight2Instruction, getAddLiquidityByWeight2InstructionAsync, getAddLiquidityByWeight2InstructionDataCodec, getAddLiquidityByWeight2InstructionDataDecoder, getAddLiquidityByWeight2InstructionDataEncoder, getAddLiquidityByWeightDiscriminatorBytes, getAddLiquidityByWeightInstruction, getAddLiquidityByWeightInstructionAsync, getAddLiquidityByWeightInstructionDataCodec, getAddLiquidityByWeightInstructionDataDecoder, getAddLiquidityByWeightInstructionDataEncoder, getAddLiquidityDiscriminatorBytes, getAddLiquidityInstruction, getAddLiquidityInstructionAsync, getAddLiquidityInstructionDataCodec, getAddLiquidityInstructionDataDecoder, getAddLiquidityInstructionDataEncoder, getAddLiquidityOneSideDiscriminatorBytes, getAddLiquidityOneSideInstruction, getAddLiquidityOneSideInstructionAsync, getAddLiquidityOneSideInstructionDataCodec, getAddLiquidityOneSideInstructionDataDecoder, getAddLiquidityOneSideInstructionDataEncoder, getAddLiquidityOneSidePrecise2DiscriminatorBytes, getAddLiquidityOneSidePrecise2Instruction, getAddLiquidityOneSidePrecise2InstructionAsync, getAddLiquidityOneSidePrecise2InstructionDataCodec, getAddLiquidityOneSidePrecise2InstructionDataDecoder, getAddLiquidityOneSidePrecise2InstructionDataEncoder, getAddLiquidityOneSidePreciseDiscriminatorBytes, getAddLiquidityOneSidePreciseInstruction, getAddLiquidityOneSidePreciseInstructionAsync, getAddLiquidityOneSidePreciseInstructionDataCodec, getAddLiquidityOneSidePreciseInstructionDataDecoder, getAddLiquidityOneSidePreciseInstructionDataEncoder, getAddLiquidityParamsCodec, getAddLiquidityParamsDecoder, getAddLiquidityParamsEncoder, getBinArrayBitmapExtensionCodec, getBinArrayBitmapExtensionDecoder, getBinArrayBitmapExtensionDiscriminatorBytes, getBinArrayBitmapExtensionEncoder, getBinArrayBitmapExtensionSize, getBinArrayCodec, getBinArrayDecoder, getBinArrayDiscriminatorBytes, getBinArrayEncoder, getBinArraySize, getBinCodec, getBinDecoder, getBinEncoder, getBinLimitOrderAmountCodec, getBinLimitOrderAmountDecoder, getBinLimitOrderAmountEncoder, getBinLiquidityDistributionByWeightCodec, getBinLiquidityDistributionByWeightDecoder, getBinLiquidityDistributionByWeightEncoder, getBinLiquidityDistributionCodec, getBinLiquidityDistributionDecoder, getBinLiquidityDistributionEncoder, getBinLiquidityReductionCodec, getBinLiquidityReductionDecoder, getBinLiquidityReductionEncoder, getCancelLimitOrderDiscriminatorBytes, getCancelLimitOrderInstruction, getCancelLimitOrderInstructionAsync, getCancelLimitOrderInstructionDataCodec, getCancelLimitOrderInstructionDataDecoder, getCancelLimitOrderInstructionDataEncoder, getClaimFee2DiscriminatorBytes, getClaimFee2Instruction, getClaimFee2InstructionAsync, getClaimFee2InstructionDataCodec, getClaimFee2InstructionDataDecoder, getClaimFee2InstructionDataEncoder, getClaimFeeDiscriminatorBytes, getClaimFeeInstruction, getClaimFeeInstructionAsync, getClaimFeeInstructionDataCodec, getClaimFeeInstructionDataDecoder, getClaimFeeInstructionDataEncoder, getClaimFeeOperatorCodec, getClaimFeeOperatorDecoder, getClaimFeeOperatorDiscriminatorBytes, getClaimFeeOperatorEncoder, getClaimFeeOperatorSize, getClaimReward2DiscriminatorBytes, getClaimReward2Instruction, getClaimReward2InstructionAsync, getClaimReward2InstructionDataCodec, getClaimReward2InstructionDataDecoder, getClaimReward2InstructionDataEncoder, getClaimRewardDiscriminatorBytes, getClaimRewardInstruction, getClaimRewardInstructionAsync, getClaimRewardInstructionDataCodec, getClaimRewardInstructionDataDecoder, getClaimRewardInstructionDataEncoder, getCloseBinArrayDiscriminatorBytes, getCloseBinArrayInstruction, getCloseBinArrayInstructionDataCodec, getCloseBinArrayInstructionDataDecoder, getCloseBinArrayInstructionDataEncoder, getCloseClaimFeeOperatorAccountDiscriminatorBytes, getCloseClaimFeeOperatorAccountInstruction, getCloseClaimFeeOperatorAccountInstructionDataCodec, getCloseClaimFeeOperatorAccountInstructionDataDecoder, getCloseClaimFeeOperatorAccountInstructionDataEncoder, getCloseLimitOrderIfEmptyDiscriminatorBytes, getCloseLimitOrderIfEmptyInstruction, getCloseLimitOrderIfEmptyInstructionAsync, getCloseLimitOrderIfEmptyInstructionDataCodec, getCloseLimitOrderIfEmptyInstructionDataDecoder, getCloseLimitOrderIfEmptyInstructionDataEncoder, getCloseOperatorAccountDiscriminatorBytes, getCloseOperatorAccountInstruction, getCloseOperatorAccountInstructionDataCodec, getCloseOperatorAccountInstructionDataDecoder, getCloseOperatorAccountInstructionDataEncoder, getClosePosition2DiscriminatorBytes, getClosePosition2Instruction, getClosePosition2InstructionAsync, getClosePosition2InstructionDataCodec, getClosePosition2InstructionDataDecoder, getClosePosition2InstructionDataEncoder, getClosePositionDiscriminatorBytes, getClosePositionIfEmptyDiscriminatorBytes, getClosePositionIfEmptyInstruction, getClosePositionIfEmptyInstructionAsync, getClosePositionIfEmptyInstructionDataCodec, getClosePositionIfEmptyInstructionDataDecoder, getClosePositionIfEmptyInstructionDataEncoder, getClosePositionInstruction, getClosePositionInstructionAsync, getClosePositionInstructionDataCodec, getClosePositionInstructionDataDecoder, getClosePositionInstructionDataEncoder, getClosePresetParameter2DiscriminatorBytes, getClosePresetParameter2Instruction, getClosePresetParameter2InstructionDataCodec, getClosePresetParameter2InstructionDataDecoder, getClosePresetParameter2InstructionDataEncoder, getClosePresetParameterDiscriminatorBytes, getClosePresetParameterInstruction, getClosePresetParameterInstructionDataCodec, getClosePresetParameterInstructionDataDecoder, getClosePresetParameterInstructionDataEncoder, getCloseTokenBadgeDiscriminatorBytes, getCloseTokenBadgeInstruction, getCloseTokenBadgeInstructionDataCodec, getCloseTokenBadgeInstructionDataDecoder, getCloseTokenBadgeInstructionDataEncoder, getCompressedBinDepositAmountCodec, getCompressedBinDepositAmountDecoder, getCompressedBinDepositAmountEncoder, getCreateOperatorAccountDiscriminatorBytes, getCreateOperatorAccountInstruction, getCreateOperatorAccountInstructionAsync, getCreateOperatorAccountInstructionDataCodec, getCreateOperatorAccountInstructionDataDecoder, getCreateOperatorAccountInstructionDataEncoder, getCustomizableParamsCodec, getCustomizableParamsDecoder, getCustomizableParamsEncoder, getDecreasePositionLengthDiscriminatorBytes, getDecreasePositionLengthInstruction, getDecreasePositionLengthInstructionAsync, getDecreasePositionLengthInstructionDataCodec, getDecreasePositionLengthInstructionDataDecoder, getDecreasePositionLengthInstructionDataEncoder, getDummyZcAccountCodec, getDummyZcAccountDecoder, getDummyZcAccountDiscriminatorBytes, getDummyZcAccountEncoder, getDummyZcAccountSize, getFeeInfoCodec, getFeeInfoDecoder, getFeeInfoEncoder, getForIdlTypeGenerationDoNotCallDiscriminatorBytes, getForIdlTypeGenerationDoNotCallInstruction, getForIdlTypeGenerationDoNotCallInstructionDataCodec, getForIdlTypeGenerationDoNotCallInstructionDataDecoder, getForIdlTypeGenerationDoNotCallInstructionDataEncoder, getFundRewardDiscriminatorBytes, getFundRewardInstruction, getFundRewardInstructionAsync, getFundRewardInstructionDataCodec, getFundRewardInstructionDataDecoder, getFundRewardInstructionDataEncoder, getGoToABinDiscriminatorBytes, getGoToABinInstruction, getGoToABinInstructionAsync, getGoToABinInstructionDataCodec, getGoToABinInstructionDataDecoder, getGoToABinInstructionDataEncoder, getIncreaseOracleLengthDiscriminatorBytes, getIncreaseOracleLengthInstruction, getIncreaseOracleLengthInstructionAsync, getIncreaseOracleLengthInstructionDataCodec, getIncreaseOracleLengthInstructionDataDecoder, getIncreaseOracleLengthInstructionDataEncoder, getIncreasePositionLength2DiscriminatorBytes, getIncreasePositionLength2Instruction, getIncreasePositionLength2InstructionAsync, getIncreasePositionLength2InstructionDataCodec, getIncreasePositionLength2InstructionDataDecoder, getIncreasePositionLength2InstructionDataEncoder, getIncreasePositionLengthDiscriminatorBytes, getIncreasePositionLengthInstruction, getIncreasePositionLengthInstructionAsync, getIncreasePositionLengthInstructionDataCodec, getIncreasePositionLengthInstructionDataDecoder, getIncreasePositionLengthInstructionDataEncoder, getInitializeBinArrayBitmapExtensionDiscriminatorBytes, getInitializeBinArrayBitmapExtensionInstruction, getInitializeBinArrayBitmapExtensionInstructionAsync, getInitializeBinArrayBitmapExtensionInstructionDataCodec, getInitializeBinArrayBitmapExtensionInstructionDataDecoder, getInitializeBinArrayBitmapExtensionInstructionDataEncoder, getInitializeBinArrayDiscriminatorBytes, getInitializeBinArrayInstruction, getInitializeBinArrayInstructionAsync, getInitializeBinArrayInstructionDataCodec, getInitializeBinArrayInstructionDataDecoder, getInitializeBinArrayInstructionDataEncoder, getInitializeCustomizablePermissionlessLbPair2DiscriminatorBytes, getInitializeCustomizablePermissionlessLbPair2Instruction, getInitializeCustomizablePermissionlessLbPair2InstructionAsync, getInitializeCustomizablePermissionlessLbPair2InstructionDataCodec, getInitializeCustomizablePermissionlessLbPair2InstructionDataDecoder, getInitializeCustomizablePermissionlessLbPair2InstructionDataEncoder, getInitializeCustomizablePermissionlessLbPairDiscriminatorBytes, getInitializeCustomizablePermissionlessLbPairInstruction, getInitializeCustomizablePermissionlessLbPairInstructionAsync, getInitializeCustomizablePermissionlessLbPairInstructionDataCodec, getInitializeCustomizablePermissionlessLbPairInstructionDataDecoder, getInitializeCustomizablePermissionlessLbPairInstructionDataEncoder, getInitializeLbPair2DiscriminatorBytes, getInitializeLbPair2Instruction, getInitializeLbPair2InstructionAsync, getInitializeLbPair2InstructionDataCodec, getInitializeLbPair2InstructionDataDecoder, getInitializeLbPair2InstructionDataEncoder, getInitializeLbPairDiscriminatorBytes, getInitializeLbPairInstruction, getInitializeLbPairInstructionAsync, getInitializeLbPairInstructionDataCodec, getInitializeLbPairInstructionDataDecoder, getInitializeLbPairInstructionDataEncoder, getInitializePermissionLbPairDiscriminatorBytes, getInitializePermissionLbPairInstruction, getInitializePermissionLbPairInstructionAsync, getInitializePermissionLbPairInstructionDataCodec, getInitializePermissionLbPairInstructionDataDecoder, getInitializePermissionLbPairInstructionDataEncoder, getInitializePosition2DiscriminatorBytes, getInitializePosition2Instruction, getInitializePosition2InstructionAsync, getInitializePosition2InstructionDataCodec, getInitializePosition2InstructionDataDecoder, getInitializePosition2InstructionDataEncoder, getInitializePositionByOperatorDiscriminatorBytes, getInitializePositionByOperatorInstruction, getInitializePositionByOperatorInstructionAsync, getInitializePositionByOperatorInstructionDataCodec, getInitializePositionByOperatorInstructionDataDecoder, getInitializePositionByOperatorInstructionDataEncoder, getInitializePositionDiscriminatorBytes, getInitializePositionInstruction, getInitializePositionInstructionAsync, getInitializePositionInstructionDataCodec, getInitializePositionInstructionDataDecoder, getInitializePositionInstructionDataEncoder, getInitializePositionPdaDiscriminatorBytes, getInitializePositionPdaInstruction, getInitializePositionPdaInstructionAsync, getInitializePositionPdaInstructionDataCodec, getInitializePositionPdaInstructionDataDecoder, getInitializePositionPdaInstructionDataEncoder, getInitializePresetParameterDiscriminatorBytes, getInitializePresetParameterInstruction, getInitializePresetParameterInstructionDataCodec, getInitializePresetParameterInstructionDataDecoder, getInitializePresetParameterInstructionDataEncoder, getInitializeRewardDiscriminatorBytes, getInitializeRewardInstruction, getInitializeRewardInstructionAsync, getInitializeRewardInstructionDataCodec, getInitializeRewardInstructionDataDecoder, getInitializeRewardInstructionDataEncoder, getInitializeTokenBadgeDiscriminatorBytes, getInitializeTokenBadgeInstruction, getInitializeTokenBadgeInstructionAsync, getInitializeTokenBadgeInstructionDataCodec, getInitializeTokenBadgeInstructionDataDecoder, getInitializeTokenBadgeInstructionDataEncoder, getLbClmmErrorMessage, getLbPairCodec, getLbPairDecoder, getLbPairDiscriminatorBytes, getLbPairEncoder, getLbPairSize, getLimitOrderBinDataCodec, getLimitOrderBinDataDecoder, getLimitOrderBinDataEncoder, getLimitOrderCodec, getLimitOrderDecoder, getLimitOrderDiscriminatorBytes, getLimitOrderEncoder, getLimitOrderSize, getLiquidityParameterByStrategyCodec, getLiquidityParameterByStrategyDecoder, getLiquidityParameterByStrategyEncoder, getLiquidityParameterByWeightCodec, getLiquidityParameterByWeightDecoder, getLiquidityParameterByWeightEncoder, getLiquidityParameterCodec, getLiquidityParameterDecoder, getLiquidityParameterEncoder, getOperatorCodec, getOperatorDecoder, getOperatorDiscriminatorBytes, getOperatorEncoder, getOperatorSize, getOracleCodec, getOracleDecoder, getOracleDiscriminatorBytes, getOracleEncoder, getOracleSize, getPairStatusCodec, getPairStatusDecoder, getPairStatusEncoder, getPairTypeCodec, getPairTypeDecoder, getPairTypeEncoder, getPlaceLimitOrderDiscriminatorBytes, getPlaceLimitOrderInstruction, getPlaceLimitOrderInstructionAsync, getPlaceLimitOrderInstructionDataCodec, getPlaceLimitOrderInstructionDataDecoder, getPlaceLimitOrderInstructionDataEncoder, getPlaceLimitOrderParamsCodec, getPlaceLimitOrderParamsDecoder, getPlaceLimitOrderParamsEncoder, getPositionBinDataCodec, getPositionBinDataDecoder, getPositionBinDataEncoder, getPositionV2Codec, getPositionV2Decoder, getPositionV2DiscriminatorBytes, getPositionV2Encoder, getPositionV2Size, getPresetParameter2Codec, getPresetParameter2Decoder, getPresetParameter2DiscriminatorBytes, getPresetParameter2Encoder, getPresetParameter2Size, getPresetParameterCodec, getPresetParameterDecoder, getPresetParameterDiscriminatorBytes, getPresetParameterEncoder, getPresetParameterSize, getProtocolFeeCodec, getProtocolFeeDecoder, getProtocolFeeEncoder, getRebalanceLiquidityDiscriminatorBytes, getRebalanceLiquidityInstruction, getRebalanceLiquidityInstructionAsync, getRebalanceLiquidityInstructionDataCodec, getRebalanceLiquidityInstructionDataDecoder, getRebalanceLiquidityInstructionDataEncoder, getRelativeBinCodec, getRelativeBinDecoder, getRelativeBinEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveAllLiquidityDiscriminatorBytes, getRemoveAllLiquidityInstruction, getRemoveAllLiquidityInstructionAsync, getRemoveAllLiquidityInstructionDataCodec, getRemoveAllLiquidityInstructionDataDecoder, getRemoveAllLiquidityInstructionDataEncoder, getRemoveLiquidity2DiscriminatorBytes, getRemoveLiquidity2Instruction, getRemoveLiquidity2InstructionAsync, getRemoveLiquidity2InstructionDataCodec, getRemoveLiquidity2InstructionDataDecoder, getRemoveLiquidity2InstructionDataEncoder, getRemoveLiquidityByRange2DiscriminatorBytes, getRemoveLiquidityByRange2Instruction, getRemoveLiquidityByRange2InstructionAsync, getRemoveLiquidityByRange2InstructionDataCodec, getRemoveLiquidityByRange2InstructionDataDecoder, getRemoveLiquidityByRange2InstructionDataEncoder, getRemoveLiquidityByRangeDiscriminatorBytes, getRemoveLiquidityByRangeInstruction, getRemoveLiquidityByRangeInstructionAsync, getRemoveLiquidityByRangeInstructionDataCodec, getRemoveLiquidityByRangeInstructionDataDecoder, getRemoveLiquidityByRangeInstructionDataEncoder, getRemoveLiquidityDiscriminatorBytes, getRemoveLiquidityInstruction, getRemoveLiquidityInstructionAsync, getRemoveLiquidityInstructionDataCodec, getRemoveLiquidityInstructionDataDecoder, getRemoveLiquidityInstructionDataEncoder, getRemoveLiquidityParamsCodec, getRemoveLiquidityParamsDecoder, getRemoveLiquidityParamsEncoder, getResizeSideCodec, getResizeSideDecoder, getResizeSideEncoder, getRewardInfoCodec, getRewardInfoDecoder, getRewardInfoEncoder, getRoundingCodec, getRoundingDecoder, getRoundingEncoder, getSetActivationPointDiscriminatorBytes, getSetActivationPointInstruction, getSetActivationPointInstructionDataCodec, getSetActivationPointInstructionDataDecoder, getSetActivationPointInstructionDataEncoder, getSetPairStatusDiscriminatorBytes, getSetPairStatusInstruction, getSetPairStatusInstructionDataCodec, getSetPairStatusInstructionDataDecoder, getSetPairStatusInstructionDataEncoder, getSetPairStatusPermissionlessDiscriminatorBytes, getSetPairStatusPermissionlessInstruction, getSetPairStatusPermissionlessInstructionDataCodec, getSetPairStatusPermissionlessInstructionDataDecoder, getSetPairStatusPermissionlessInstructionDataEncoder, getSetPermissionlessOperationBitsDiscriminatorBytes, getSetPermissionlessOperationBitsInstruction, getSetPermissionlessOperationBitsInstructionAsync, getSetPermissionlessOperationBitsInstructionDataCodec, getSetPermissionlessOperationBitsInstructionDataDecoder, getSetPermissionlessOperationBitsInstructionDataEncoder, getSetPreActivationDurationDiscriminatorBytes, getSetPreActivationDurationInstruction, getSetPreActivationDurationInstructionDataCodec, getSetPreActivationDurationInstructionDataDecoder, getSetPreActivationDurationInstructionDataEncoder, getSetPreActivationSwapAddressDiscriminatorBytes, getSetPreActivationSwapAddressInstruction, getSetPreActivationSwapAddressInstructionDataCodec, getSetPreActivationSwapAddressInstructionDataDecoder, getSetPreActivationSwapAddressInstructionDataEncoder, getStaticParametersCodec, getStaticParametersDecoder, getStaticParametersEncoder, getStrategyParametersCodec, getStrategyParametersDecoder, getStrategyParametersEncoder, getStrategyTypeCodec, getStrategyTypeDecoder, getStrategyTypeEncoder, getSwap2DiscriminatorBytes, getSwap2Instruction, getSwap2InstructionAsync, getSwap2InstructionDataCodec, getSwap2InstructionDataDecoder, getSwap2InstructionDataEncoder, getSwapDiscriminatorBytes, getSwapExactOut2DiscriminatorBytes, getSwapExactOut2Instruction, getSwapExactOut2InstructionAsync, getSwapExactOut2InstructionDataCodec, getSwapExactOut2InstructionDataDecoder, getSwapExactOut2InstructionDataEncoder, getSwapExactOutDiscriminatorBytes, getSwapExactOutInstruction, getSwapExactOutInstructionAsync, getSwapExactOutInstructionDataCodec, getSwapExactOutInstructionDataDecoder, getSwapExactOutInstructionDataEncoder, getSwapInstruction, getSwapInstructionAsync, getSwapInstructionDataCodec, getSwapInstructionDataDecoder, getSwapInstructionDataEncoder, getSwapWithPriceImpact2DiscriminatorBytes, getSwapWithPriceImpact2Instruction, getSwapWithPriceImpact2InstructionAsync, getSwapWithPriceImpact2InstructionDataCodec, getSwapWithPriceImpact2InstructionDataDecoder, getSwapWithPriceImpact2InstructionDataEncoder, getSwapWithPriceImpactDiscriminatorBytes, getSwapWithPriceImpactInstruction, getSwapWithPriceImpactInstructionAsync, getSwapWithPriceImpactInstructionDataCodec, getSwapWithPriceImpactInstructionDataDecoder, getSwapWithPriceImpactInstructionDataEncoder, getTokenBadgeCodec, getTokenBadgeDecoder, getTokenBadgeDiscriminatorBytes, getTokenBadgeEncoder, getTokenBadgeSize, getTokenProgramFlagsCodec, getTokenProgramFlagsDecoder, getTokenProgramFlagsEncoder, getUpdateBaseFeeParametersDiscriminatorBytes, getUpdateBaseFeeParametersInstruction, getUpdateBaseFeeParametersInstructionAsync, getUpdateBaseFeeParametersInstructionDataCodec, getUpdateBaseFeeParametersInstructionDataDecoder, getUpdateBaseFeeParametersInstructionDataEncoder, getUpdateDynamicFeeParametersDiscriminatorBytes, getUpdateDynamicFeeParametersInstruction, getUpdateDynamicFeeParametersInstructionAsync, getUpdateDynamicFeeParametersInstructionDataCodec, getUpdateDynamicFeeParametersInstructionDataDecoder, getUpdateDynamicFeeParametersInstructionDataEncoder, getUpdateFeesAndReward2DiscriminatorBytes, getUpdateFeesAndReward2Instruction, getUpdateFeesAndReward2InstructionDataCodec, getUpdateFeesAndReward2InstructionDataDecoder, getUpdateFeesAndReward2InstructionDataEncoder, getUpdateFeesAndRewardsDiscriminatorBytes, getUpdateFeesAndRewardsInstruction, getUpdateFeesAndRewardsInstructionDataCodec, getUpdateFeesAndRewardsInstructionDataDecoder, getUpdateFeesAndRewardsInstructionDataEncoder, getUpdatePositionOperatorDiscriminatorBytes, getUpdatePositionOperatorInstruction, getUpdatePositionOperatorInstructionAsync, getUpdatePositionOperatorInstructionDataCodec, getUpdatePositionOperatorInstructionDataDecoder, getUpdatePositionOperatorInstructionDataEncoder, getUpdateRewardDurationDiscriminatorBytes, getUpdateRewardDurationInstruction, getUpdateRewardDurationInstructionAsync, getUpdateRewardDurationInstructionDataCodec, getUpdateRewardDurationInstructionDataDecoder, getUpdateRewardDurationInstructionDataEncoder, getUpdateRewardFunderDiscriminatorBytes, getUpdateRewardFunderInstruction, getUpdateRewardFunderInstructionAsync, getUpdateRewardFunderInstructionDataCodec, getUpdateRewardFunderInstructionDataDecoder, getUpdateRewardFunderInstructionDataEncoder, getUserRewardInfoCodec, getUserRewardInfoDecoder, getUserRewardInfoEncoder, getVariableParametersCodec, getVariableParametersDecoder, getVariableParametersEncoder, getWithdrawIneligibleRewardDiscriminatorBytes, getWithdrawIneligibleRewardInstruction, getWithdrawIneligibleRewardInstructionAsync, getWithdrawIneligibleRewardInstructionDataCodec, getWithdrawIneligibleRewardInstructionDataDecoder, getWithdrawIneligibleRewardInstructionDataEncoder, getWithdrawProtocolFeeDiscriminatorBytes, getWithdrawProtocolFeeInstruction, getWithdrawProtocolFeeInstructionDataCodec, getWithdrawProtocolFeeInstructionDataDecoder, getWithdrawProtocolFeeInstructionDataEncoder, getZapProtocolFeeDiscriminatorBytes, getZapProtocolFeeInstruction, getZapProtocolFeeInstructionDataCodec, getZapProtocolFeeInstructionDataDecoder, getZapProtocolFeeInstructionDataEncoder, identifyLbClmmAccount, identifyLbClmmInstruction, isAccountsType, isLbClmmError, lbPairTokenXMintFilter, lbPairTokenYMintFilter, parseAddLiquidity2Instruction, parseAddLiquidityByStrategy2Instruction, parseAddLiquidityByStrategyInstruction, parseAddLiquidityByStrategyOneSideInstruction, parseAddLiquidityByWeight2Instruction, parseAddLiquidityByWeightInstruction, parseAddLiquidityInstruction, parseAddLiquidityOneSideInstruction, parseAddLiquidityOneSidePrecise2Instruction, parseAddLiquidityOneSidePreciseInstruction, parseCancelLimitOrderInstruction, parseClaimFee2Instruction, parseClaimFeeInstruction, parseClaimReward2Instruction, parseClaimRewardInstruction, parseCloseBinArrayInstruction, parseCloseClaimFeeOperatorAccountInstruction, parseCloseLimitOrderIfEmptyInstruction, parseCloseOperatorAccountInstruction, parseClosePosition2Instruction, parseClosePositionIfEmptyInstruction, parseClosePositionInstruction, parseClosePresetParameter2Instruction, parseClosePresetParameterInstruction, parseCloseTokenBadgeInstruction, parseCreateOperatorAccountInstruction, parseDecreasePositionLengthInstruction, parseForIdlTypeGenerationDoNotCallInstruction, parseFundRewardInstruction, parseGoToABinInstruction, parseIncreaseOracleLengthInstruction, parseIncreasePositionLength2Instruction, parseIncreasePositionLengthInstruction, parseInitializeBinArrayBitmapExtensionInstruction, parseInitializeBinArrayInstruction, parseInitializeCustomizablePermissionlessLbPair2Instruction, parseInitializeCustomizablePermissionlessLbPairInstruction, parseInitializeLbPair2Instruction, parseInitializeLbPairInstruction, parseInitializePermissionLbPairInstruction, parseInitializePosition2Instruction, parseInitializePositionByOperatorInstruction, parseInitializePositionInstruction, parseInitializePositionPdaInstruction, parseInitializePresetParameterInstruction, parseInitializeRewardInstruction, parseInitializeTokenBadgeInstruction, parseLbClmmInstruction, parsePlaceLimitOrderInstruction, parseRebalanceLiquidityInstruction, parseRemoveAllLiquidityInstruction, parseRemoveLiquidity2Instruction, parseRemoveLiquidityByRange2Instruction, parseRemoveLiquidityByRangeInstruction, parseRemoveLiquidityInstruction, parseSetActivationPointInstruction, parseSetPairStatusInstruction, parseSetPairStatusPermissionlessInstruction, parseSetPermissionlessOperationBitsInstruction, parseSetPreActivationDurationInstruction, parseSetPreActivationSwapAddressInstruction, parseSwap2Instruction, parseSwapExactOut2Instruction, parseSwapExactOutInstruction, parseSwapInstruction, parseSwapWithPriceImpact2Instruction, parseSwapWithPriceImpactInstruction, parseUpdateBaseFeeParametersInstruction, parseUpdateDynamicFeeParametersInstruction, parseUpdateFeesAndReward2Instruction, parseUpdateFeesAndRewardsInstruction, parseUpdatePositionOperatorInstruction, parseUpdateRewardDurationInstruction, parseUpdateRewardFunderInstruction, parseWithdrawIneligibleRewardInstruction, parseWithdrawProtocolFeeInstruction, parseZapProtocolFeeInstruction, priceToBinId };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Encoder, Decoder, Codec, GetDiscriminatedUnionVariant, GetDiscriminatedUnionVariantContent, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, ReadonlyUint8Array, Option, OptionOrNullable, Address, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, Instruction, InstructionWithData, AccountMeta, InstructionWithAccounts, WritableAccount, ReadonlyAccount, ReadonlySignerAccount, AccountSignerMeta, TransactionSigner, WritableSignerAccount, ProgramDerivedAddress } from '@solana/kit';
1
+ import { Encoder, Decoder, Codec, GetDiscriminatedUnionVariant, GetDiscriminatedUnionVariantContent, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, ReadonlyUint8Array, Option, OptionOrNullable, Address, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, Instruction, InstructionWithData, AccountMeta, InstructionWithAccounts, WritableAccount, ReadonlyAccount, ReadonlySignerAccount, AccountSignerMeta, TransactionSigner, WritableSignerAccount, ProgramDerivedAddress, GetProgramAccountsMemcmpFilter, Rpc, GetProgramAccountsApi } from '@solana/kit';
2
2
 
3
3
  /**
4
4
  * This code was AUTOGENERATED using the Codama library.
@@ -8687,51 +8687,34 @@ declare function findPresetParameterPda(seeds: {
8687
8687
  programAddress?: Address;
8688
8688
  }): Promise<ProgramDerivedAddress>;
8689
8689
 
8690
+ type LbPairFilter = GetProgramAccountsMemcmpFilter & {
8691
+ readonly __kind: unique symbol;
8692
+ };
8693
+ declare function lbPairTokenXMintFilter(tokenXMint: Address): LbPairFilter;
8694
+ declare function lbPairTokenYMintFilter(tokenYMint: Address): LbPairFilter;
8695
+ declare function fetchAllLbPairWithFilter(rpc: Rpc<GetProgramAccountsApi>, filters: LbPairFilter[], programAddress?: Address): Promise<Account<LbPair>[]>;
8696
+
8690
8697
  declare const MAX_BIN_PER_ARRAY = 70;
8691
8698
  declare const BASIS_POINT_MAX = 10000;
8699
+ declare const MAX_RESIZE_LENGTH = 70;
8700
+ declare const POSITION_MAX_LENGTH = 1400;
8701
+ declare const NUM_REWARDS = 2;
8702
+ declare const MAX_BIN_STEP = 400;
8692
8703
  declare const MIN_BIN_ID = -443636;
8693
8704
  declare const MAX_BIN_ID = 443636;
8694
8705
  declare const ONE_Q64: bigint;
8695
8706
  /**
8696
- * Exact Q64.64 exponentiation. Ports `u64x64_math::pow`.
8697
- * Returns `null` on overflow (mirrors Rust's `Option<u128>`).
8698
- */
8699
- declare function powQ64(base: bigint, exp: number): bigint | null;
8700
- /**
8701
- * Exact Q64.64 price of a bin. Ports `price_math::get_price_from_id`.
8702
- * Returns the on-chain raw price (lamport_Y / lamport_X) as a Q64.64 u128.
8703
- * Throws if the (binId, binStep) combination overflows the fixed-point range.
8707
+ * Convert a human-scale price (number) into a bin id.
8704
8708
  */
8705
- declare function getPriceFromId(binId: number, binStep: number): bigint;
8709
+ declare function priceToBinId(price: string | number, binStep: number, min: boolean, decimalsX?: number, decimalsY?: number): number;
8706
8710
  /**
8707
- * Largest bin id whose Q64.64 price is ≤ `priceQ64`. Exact inverse of
8708
- * `getPriceFromId` via binary search — no on-chain equivalent exists; the
8709
- * program only ever takes `active_id` as input.
8710
- *
8711
- * Saturates to MIN_BIN_ID / MAX_BIN_ID when `priceQ64` is out of representable
8712
- * range.
8713
- */
8714
- declare function getIdFromPrice(priceQ64: bigint, binStep: number): number;
8715
- /**
8716
- * Convert a human-scale price (Number) into a Q64.64 raw lamport-ratio price.
8717
- *
8718
- * Lossy: bounded by Number's ~16-digit mantissa. For exact pipelines, work in
8719
- * Q64.64 directly via {@link getPriceFromId} / {@link getIdFromPrice}.
8720
- */
8721
- declare function priceToPriceQ64(price: number, decimalsX: number, decimalsY: number): bigint;
8722
- /**
8723
- * Convert a Q64.64 raw lamport-ratio price into a human-scale Number.
8724
- *
8725
- * Lossy by Number precision; use only for display or for round-tripping when
8726
- * exact equality is not required.
8711
+ * Convert a bin id to a human-scale price (number).
8727
8712
  */
8728
- declare function priceQ64ToPrice(priceQ64: bigint, decimalsX: number, decimalsY: number): number;
8729
- declare function priceToBinId(price: number, binStep: number, decimalsX: number, decimalsY: number): number;
8730
- declare function binIdToPrice(binId: number, binStep: number, decimalsX: number, decimalsY: number): number;
8713
+ declare function binIdToPrice(binId: number, binStep: number, decimalsX?: number, decimalsY?: number): number;
8731
8714
  declare function binIdToBinArrayIndex(binId: number): bigint;
8732
8715
  declare function binArrayIndexToBinIdRange(index: bigint | number): {
8733
8716
  lower: number;
8734
8717
  upper: number;
8735
8718
  };
8736
8719
 
8737
- export { ADD_LIQUIDITY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT2_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT_DISCRIMINATOR, ADD_LIQUIDITY_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR, type AccountsType, type AccountsTypeArgs, ActivationType, type ActivationTypeArgs, type AddLiquidity2AsyncInput, type AddLiquidity2Input, type AddLiquidity2Instruction, type AddLiquidity2InstructionData, type AddLiquidity2InstructionDataArgs, type AddLiquidityAsyncInput, type AddLiquidityByStrategy2AsyncInput, type AddLiquidityByStrategy2Input, type AddLiquidityByStrategy2Instruction, type AddLiquidityByStrategy2InstructionData, type AddLiquidityByStrategy2InstructionDataArgs, type AddLiquidityByStrategyAsyncInput, type AddLiquidityByStrategyInput, type AddLiquidityByStrategyInstruction, type AddLiquidityByStrategyInstructionData, type AddLiquidityByStrategyInstructionDataArgs, type AddLiquidityByStrategyOneSideAsyncInput, type AddLiquidityByStrategyOneSideInput, type AddLiquidityByStrategyOneSideInstruction, type AddLiquidityByStrategyOneSideInstructionData, type AddLiquidityByStrategyOneSideInstructionDataArgs, type AddLiquidityByWeight2AsyncInput, type AddLiquidityByWeight2Input, type AddLiquidityByWeight2Instruction, type AddLiquidityByWeight2InstructionData, type AddLiquidityByWeight2InstructionDataArgs, type AddLiquidityByWeightAsyncInput, type AddLiquidityByWeightInput, type AddLiquidityByWeightInstruction, type AddLiquidityByWeightInstructionData, type AddLiquidityByWeightInstructionDataArgs, type AddLiquidityInput, type AddLiquidityInstruction, type AddLiquidityInstructionData, type AddLiquidityInstructionDataArgs, type AddLiquidityOneSideAsyncInput, type AddLiquidityOneSideInput, type AddLiquidityOneSideInstruction, type AddLiquidityOneSideInstructionData, type AddLiquidityOneSideInstructionDataArgs, type AddLiquidityOneSidePrecise2AsyncInput, type AddLiquidityOneSidePrecise2Input, type AddLiquidityOneSidePrecise2Instruction, type AddLiquidityOneSidePrecise2InstructionData, type AddLiquidityOneSidePrecise2InstructionDataArgs, type AddLiquidityOneSidePreciseAsyncInput, type AddLiquidityOneSidePreciseInput, type AddLiquidityOneSidePreciseInstruction, type AddLiquidityOneSidePreciseInstructionData, type AddLiquidityOneSidePreciseInstructionDataArgs, type AddLiquidityParams, type AddLiquidityParamsArgs, BASIS_POINT_MAX, BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, BIN_ARRAY_DISCRIMINATOR, type Bin, type BinArgs, type BinArray, type BinArrayArgs, type BinArrayBitmapExtension, type BinArrayBitmapExtensionArgs, type BinArrayBitmapExtensionSeeds, type BinArraySeeds, type BinLimitOrderAmount, type BinLimitOrderAmountArgs, type BinLiquidityDistribution, type BinLiquidityDistributionArgs, type BinLiquidityDistributionByWeight, type BinLiquidityDistributionByWeightArgs, type BinLiquidityReduction, type BinLiquidityReductionArgs, CANCEL_LIMIT_ORDER_DISCRIMINATOR, CLAIM_FEE2_DISCRIMINATOR, CLAIM_FEE_DISCRIMINATOR, CLAIM_FEE_OPERATOR_DISCRIMINATOR, CLAIM_REWARD2_DISCRIMINATOR, CLAIM_REWARD_DISCRIMINATOR, CLOSE_BIN_ARRAY_DISCRIMINATOR, CLOSE_CLAIM_FEE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_LIMIT_ORDER_IF_EMPTY_DISCRIMINATOR, CLOSE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_POSITION2_DISCRIMINATOR, CLOSE_POSITION_DISCRIMINATOR, CLOSE_POSITION_IF_EMPTY_DISCRIMINATOR, CLOSE_PRESET_PARAMETER2_DISCRIMINATOR, CLOSE_PRESET_PARAMETER_DISCRIMINATOR, CLOSE_TOKEN_BADGE_DISCRIMINATOR, CREATE_OPERATOR_ACCOUNT_DISCRIMINATOR, type CancelLimitOrderAsyncInput, type CancelLimitOrderInput, type CancelLimitOrderInstruction, type CancelLimitOrderInstructionData, type CancelLimitOrderInstructionDataArgs, type ClaimFee2AsyncInput, type ClaimFee2Input, type ClaimFee2Instruction, type ClaimFee2InstructionData, type ClaimFee2InstructionDataArgs, type ClaimFeeAsyncInput, type ClaimFeeInput, type ClaimFeeInstruction, type ClaimFeeInstructionData, type ClaimFeeInstructionDataArgs, type ClaimFeeOperator, type ClaimFeeOperatorArgs, type ClaimReward2AsyncInput, type ClaimReward2Input, type ClaimReward2Instruction, type ClaimReward2InstructionData, type ClaimReward2InstructionDataArgs, type ClaimRewardAsyncInput, type ClaimRewardInput, type ClaimRewardInstruction, type ClaimRewardInstructionData, type ClaimRewardInstructionDataArgs, type CloseBinArrayInput, type CloseBinArrayInstruction, type CloseBinArrayInstructionData, type CloseBinArrayInstructionDataArgs, type CloseClaimFeeOperatorAccountInput, type CloseClaimFeeOperatorAccountInstruction, type CloseClaimFeeOperatorAccountInstructionData, type CloseClaimFeeOperatorAccountInstructionDataArgs, type CloseLimitOrderIfEmptyAsyncInput, type CloseLimitOrderIfEmptyInput, type CloseLimitOrderIfEmptyInstruction, type CloseLimitOrderIfEmptyInstructionData, type CloseLimitOrderIfEmptyInstructionDataArgs, type CloseOperatorAccountInput, type CloseOperatorAccountInstruction, type CloseOperatorAccountInstructionData, type CloseOperatorAccountInstructionDataArgs, type ClosePosition2AsyncInput, type ClosePosition2Input, type ClosePosition2Instruction, type ClosePosition2InstructionData, type ClosePosition2InstructionDataArgs, type ClosePositionAsyncInput, type ClosePositionIfEmptyAsyncInput, type ClosePositionIfEmptyInput, type ClosePositionIfEmptyInstruction, type ClosePositionIfEmptyInstructionData, type ClosePositionIfEmptyInstructionDataArgs, type ClosePositionInput, type ClosePositionInstruction, type ClosePositionInstructionData, type ClosePositionInstructionDataArgs, type ClosePresetParameter2Input, type ClosePresetParameter2Instruction, type ClosePresetParameter2InstructionData, type ClosePresetParameter2InstructionDataArgs, type ClosePresetParameterInput, type ClosePresetParameterInstruction, type ClosePresetParameterInstructionData, type ClosePresetParameterInstructionDataArgs, type CloseTokenBadgeInput, type CloseTokenBadgeInstruction, type CloseTokenBadgeInstructionData, type CloseTokenBadgeInstructionDataArgs, type CompressedBinDepositAmount, type CompressedBinDepositAmountArgs, type CreateOperatorAccountAsyncInput, type CreateOperatorAccountInput, type CreateOperatorAccountInstruction, type CreateOperatorAccountInstructionData, type CreateOperatorAccountInstructionDataArgs, type CustomizableParams, type CustomizableParamsArgs, DECREASE_POSITION_LENGTH_DISCRIMINATOR, DUMMY_ZC_ACCOUNT_DISCRIMINATOR, type DecreasePositionLengthAsyncInput, type DecreasePositionLengthInput, type DecreasePositionLengthInstruction, type DecreasePositionLengthInstructionData, type DecreasePositionLengthInstructionDataArgs, type DummyZcAccount, type DummyZcAccountArgs, FOR_IDL_TYPE_GENERATION_DO_NOT_CALL_DISCRIMINATOR, FUND_REWARD_DISCRIMINATOR, type FeeInfo, type FeeInfoArgs, type ForIdlTypeGenerationDoNotCallInput, type ForIdlTypeGenerationDoNotCallInstruction, type ForIdlTypeGenerationDoNotCallInstructionData, type ForIdlTypeGenerationDoNotCallInstructionDataArgs, type FundRewardAsyncInput, type FundRewardInput, type FundRewardInstruction, type FundRewardInstructionData, type FundRewardInstructionDataArgs, GO_TO_A_BIN_DISCRIMINATOR, type GoToABinAsyncInput, type GoToABinInput, type GoToABinInstruction, type GoToABinInstructionData, type GoToABinInstructionDataArgs, INCREASE_ORACLE_LENGTH_DISCRIMINATOR, INCREASE_POSITION_LENGTH2_DISCRIMINATOR, INCREASE_POSITION_LENGTH_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR2_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR_DISCRIMINATOR, INITIALIZE_LB_PAIR2_DISCRIMINATOR, INITIALIZE_LB_PAIR_DISCRIMINATOR, INITIALIZE_PERMISSION_LB_PAIR_DISCRIMINATOR, INITIALIZE_POSITION2_DISCRIMINATOR, INITIALIZE_POSITION_BY_OPERATOR_DISCRIMINATOR, INITIALIZE_POSITION_DISCRIMINATOR, INITIALIZE_POSITION_PDA_DISCRIMINATOR, INITIALIZE_PRESET_PARAMETER_DISCRIMINATOR, INITIALIZE_REWARD_DISCRIMINATOR, INITIALIZE_TOKEN_BADGE_DISCRIMINATOR, type IncreaseOracleLengthAsyncInput, type IncreaseOracleLengthInput, type IncreaseOracleLengthInstruction, type IncreaseOracleLengthInstructionData, type IncreaseOracleLengthInstructionDataArgs, type IncreasePositionLength2AsyncInput, type IncreasePositionLength2Input, type IncreasePositionLength2Instruction, type IncreasePositionLength2InstructionData, type IncreasePositionLength2InstructionDataArgs, type IncreasePositionLengthAsyncInput, type IncreasePositionLengthInput, type IncreasePositionLengthInstruction, type IncreasePositionLengthInstructionData, type IncreasePositionLengthInstructionDataArgs, type InitializeBinArrayAsyncInput, type InitializeBinArrayBitmapExtensionAsyncInput, type InitializeBinArrayBitmapExtensionInput, type InitializeBinArrayBitmapExtensionInstruction, type InitializeBinArrayBitmapExtensionInstructionData, type InitializeBinArrayBitmapExtensionInstructionDataArgs, type InitializeBinArrayInput, type InitializeBinArrayInstruction, type InitializeBinArrayInstructionData, type InitializeBinArrayInstructionDataArgs, type InitializeCustomizablePermissionlessLbPair2AsyncInput, type InitializeCustomizablePermissionlessLbPair2Input, type InitializeCustomizablePermissionlessLbPair2Instruction, type InitializeCustomizablePermissionlessLbPair2InstructionData, type InitializeCustomizablePermissionlessLbPair2InstructionDataArgs, type InitializeCustomizablePermissionlessLbPairAsyncInput, type InitializeCustomizablePermissionlessLbPairInput, type InitializeCustomizablePermissionlessLbPairInstruction, type InitializeCustomizablePermissionlessLbPairInstructionData, type InitializeCustomizablePermissionlessLbPairInstructionDataArgs, type InitializeLbPair2AsyncInput, type InitializeLbPair2Input, type InitializeLbPair2Instruction, type InitializeLbPair2InstructionData, type InitializeLbPair2InstructionDataArgs, type InitializeLbPairAsyncInput, type InitializeLbPairInput, type InitializeLbPairInstruction, type InitializeLbPairInstructionData, type InitializeLbPairInstructionDataArgs, type InitializePermissionLbPairAsyncInput, type InitializePermissionLbPairInput, type InitializePermissionLbPairInstruction, type InitializePermissionLbPairInstructionData, type InitializePermissionLbPairInstructionDataArgs, type InitializePosition2AsyncInput, type InitializePosition2Input, type InitializePosition2Instruction, type InitializePosition2InstructionData, type InitializePosition2InstructionDataArgs, type InitializePositionAsyncInput, type InitializePositionByOperatorAsyncInput, type InitializePositionByOperatorInput, type InitializePositionByOperatorInstruction, type InitializePositionByOperatorInstructionData, type InitializePositionByOperatorInstructionDataArgs, type InitializePositionInput, type InitializePositionInstruction, type InitializePositionInstructionData, type InitializePositionInstructionDataArgs, type InitializePositionPdaAsyncInput, type InitializePositionPdaInput, type InitializePositionPdaInstruction, type InitializePositionPdaInstructionData, type InitializePositionPdaInstructionDataArgs, type InitializePresetParameterInput, type InitializePresetParameterInstruction, type InitializePresetParameterInstructionData, type InitializePresetParameterInstructionDataArgs, type InitializeRewardAsyncInput, type InitializeRewardInput, type InitializeRewardInstruction, type InitializeRewardInstructionData, type InitializeRewardInstructionDataArgs, type InitializeTokenBadgeAsyncInput, type InitializeTokenBadgeInput, type InitializeTokenBadgeInstruction, type InitializeTokenBadgeInstructionData, type InitializeTokenBadgeInstructionDataArgs, LB_CLMM_ERROR__ALREADY_PASS_ACTIVATION_POINT, LB_CLMM_ERROR__ALREADY_PASS_PRE_ACTIVATION_SWAP_POINT, LB_CLMM_ERROR__AMOUNT_X_IS_NEGATIVE, LB_CLMM_ERROR__AMOUNT_Y_IS_NEGATIVE, LB_CLMM_ERROR__BIN_ARRAY_NOT_FOUND, LB_CLMM_ERROR__BIN_ID_OUT_OF_BOUND, LB_CLMM_ERROR__BIN_RANGE_IS_NOT_EMPTY, LB_CLMM_ERROR__BITMAP_EXTENSION_ACCOUNT_IS_NOT_PROVIDED, LB_CLMM_ERROR__CANCEL_NON_EMPTY_LIMIT_ORDER, LB_CLMM_ERROR__CANNOT_FIND_LIMIT_ORDER_BY_BIN_ID, LB_CLMM_ERROR__CANNOT_FIND_NON_ZERO_LIQUIDITY_BIN_ARRAY_ID, LB_CLMM_ERROR__COMPOSITION_FACTOR_FLAWED, LB_CLMM_ERROR__CPI_DISABLED, LB_CLMM_ERROR__DUPLICATED_REMAINING_ACCOUNT_TYPES, LB_CLMM_ERROR__EXCEEDED_AMOUNT_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_BIN_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_MAX_ORACLE_LENGTH, LB_CLMM_ERROR__EXCEED_MAX_SWAPPED_AMOUNT, LB_CLMM_ERROR__EXCEED_MAX_WHITELIST, LB_CLMM_ERROR__EXCESSIVE_FEE_UPDATE, LB_CLMM_ERROR__IDENTICAL_FEE_OWNER, LB_CLMM_ERROR__IDENTICAL_FUNDER, LB_CLMM_ERROR__IDENTICAL_REWARD_DURATION, LB_CLMM_ERROR__INCORRECT_A_T_A, LB_CLMM_ERROR__INSUFFICIENT_IN_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_OUT_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_REMAINING_ACCOUNTS, LB_CLMM_ERROR__INSUFFICIENT_SAMPLE, LB_CLMM_ERROR__INVALID_ACCOUNT_FOR_SINGLE_DEPOSIT, LB_CLMM_ERROR__INVALID_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_ACTIVATION_TYPE, LB_CLMM_ERROR__INVALID_ADMIN, LB_CLMM_ERROR__INVALID_BASE_FEE, LB_CLMM_ERROR__INVALID_BASE_FEE_MANTISSA, LB_CLMM_ERROR__INVALID_BIN_ARRAY, LB_CLMM_ERROR__INVALID_BIN_ID, LB_CLMM_ERROR__INVALID_BIN_STEP, LB_CLMM_ERROR__INVALID_BPS, LB_CLMM_ERROR__INVALID_CANCEL_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_COLLECT_FEE_MODE, LB_CLMM_ERROR__INVALID_FEE_OWNER, LB_CLMM_ERROR__INVALID_FEE_PARAMETER, LB_CLMM_ERROR__INVALID_FEE_WITHDRAW_AMOUNT, LB_CLMM_ERROR__INVALID_FUNCTION_TYPE, LB_CLMM_ERROR__INVALID_INDEX, LB_CLMM_ERROR__INVALID_INPUT, LB_CLMM_ERROR__INVALID_LIMIT_ORDER_OWNER, LB_CLMM_ERROR__INVALID_LOOKUP_TIMESTAMP, LB_CLMM_ERROR__INVALID_MINIMUM_LIQUIDITY, LB_CLMM_ERROR__INVALID_PERMISSION, LB_CLMM_ERROR__INVALID_PLACE_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_POOL_ADDRESS, LB_CLMM_ERROR__INVALID_POOL_CREATOR, LB_CLMM_ERROR__INVALID_POOL_TYPE, LB_CLMM_ERROR__INVALID_POSITION, LB_CLMM_ERROR__INVALID_POSITION_OWNER, LB_CLMM_ERROR__INVALID_POSITION_WIDTH, LB_CLMM_ERROR__INVALID_PRE_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_QUOTE_TOKEN, LB_CLMM_ERROR__INVALID_REBALANCE_PARAMETERS, LB_CLMM_ERROR__INVALID_REMAINING_ACCOUNT_SLICE, LB_CLMM_ERROR__INVALID_RESIZE_LENGTH, LB_CLMM_ERROR__INVALID_REWARD_ACCOUNTS, LB_CLMM_ERROR__INVALID_REWARD_DURATION, LB_CLMM_ERROR__INVALID_REWARD_INDEX, LB_CLMM_ERROR__INVALID_REWARD_VAULT, LB_CLMM_ERROR__INVALID_SIDE, LB_CLMM_ERROR__INVALID_START_BIN_INDEX, LB_CLMM_ERROR__INVALID_STATUS, LB_CLMM_ERROR__INVALID_STRATEGY_PARAMETERS, LB_CLMM_ERROR__INVALID_TOKEN_BADGE_TYPE, LB_CLMM_ERROR__INVALID_TOKEN_MINT, LB_CLMM_ERROR__INVALID_TRANSFER_HOOK_AUTHORITY, LB_CLMM_ERROR__INVALID_WITHDRAW_PROTOCOL_FEE_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_OUT_PARAMETERS, LB_CLMM_ERROR__LIQUIDITY_LOCKED, LB_CLMM_ERROR__MATH_OVERFLOW, LB_CLMM_ERROR__MINT_RESTRICTED_FROM_ZAP, LB_CLMM_ERROR__MISSING_ORACLE, LB_CLMM_ERROR__MISSING_REMAINING_ACCOUNT_FOR_TRANSFER_HOOK, LB_CLMM_ERROR__MISSING_TOKEN_AMOUNT_AS_TOKEN_LAUNCH_PROOF, LB_CLMM_ERROR__MISSING_ZAP_OUT_INSTRUCTION, LB_CLMM_ERROR__MUST_WITHDRAWN_INELIGIBLE_REWARD, LB_CLMM_ERROR__NON_CONTINUOUS_BIN_ARRAYS, LB_CLMM_ERROR__NON_EMPTY_POSITION, LB_CLMM_ERROR__NON_PRESET_BIN_STEP, LB_CLMM_ERROR__NOT_EXACT_AMOUNT_OUT, LB_CLMM_ERROR__NOT_SUPPORT_AT_THE_MOMENT, LB_CLMM_ERROR__NOT_SUPPORT_MINT, LB_CLMM_ERROR__NO_TRANSFER_HOOK_PROGRAM, LB_CLMM_ERROR__OPERATORS_ARE_THE_SAME, LB_CLMM_ERROR__PAIR_INSUFFICIENT_LIQUIDITY, LB_CLMM_ERROR__POOL_DISABLED, LB_CLMM_ERROR__REALLOC_EXCEED_MAX_LENGTH_PER_INSTRUCTION, LB_CLMM_ERROR__REWARD_CAMPAIGN_IN_PROGRESS, LB_CLMM_ERROR__REWARD_INITIALIZED, LB_CLMM_ERROR__REWARD_NOT_ENDED, LB_CLMM_ERROR__REWARD_UNINITIALIZED, LB_CLMM_ERROR__TYPE_CAST_FAILED, LB_CLMM_ERROR__UNAUTHORIZED_ACCESS, LB_CLMM_ERROR__UNAUTHORIZED_ADDRESS, LB_CLMM_ERROR__UNDETERMINED_ERROR, LB_CLMM_ERROR__UNMATCH_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORTED_MINT_EXTENSION, LB_CLMM_ERROR__UNSUPPORTED_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORT_NATIVE_MINT_TOKEN2022, LB_CLMM_ERROR__WITHDRAW_TO_WRONG_TOKEN_ACCOUNT, LB_CLMM_ERROR__WRONG_RENT_RECEIVER, LB_CLMM_ERROR__ZERO_FUNDED_AMOUNT, LB_CLMM_ERROR__ZERO_LIQUIDITY, LB_CLMM_PROGRAM_ADDRESS, LB_PAIR_DISCRIMINATOR, LIMIT_ORDER_DISCRIMINATOR, LbClmmAccount, type LbClmmError, LbClmmInstruction, type LbPair, type LbPairArgs, type LimitOrder, type LimitOrderArgs, type LimitOrderBinData, type LimitOrderBinDataArgs, type LiquidityParameter, type LiquidityParameterArgs, type LiquidityParameterByStrategy, type LiquidityParameterByStrategyArgs, type LiquidityParameterByWeight, type LiquidityParameterByWeightArgs, MAX_BIN_ID, MAX_BIN_PER_ARRAY, MIN_BIN_ID, ONE_Q64, OPERATOR_DISCRIMINATOR, ORACLE_DISCRIMINATOR, type Operator, type OperatorArgs, type OperatorSeeds, type Oracle, type OracleArgs, type OracleSeeds, PLACE_LIMIT_ORDER_DISCRIMINATOR, POSITION_V2_DISCRIMINATOR, PRESET_PARAMETER2_DISCRIMINATOR, PRESET_PARAMETER2_SEED, PRESET_PARAMETER_DISCRIMINATOR, PairStatus, type PairStatusArgs, PairType, type PairTypeArgs, type ParsedAddLiquidity2Instruction, type ParsedAddLiquidityByStrategy2Instruction, type ParsedAddLiquidityByStrategyInstruction, type ParsedAddLiquidityByStrategyOneSideInstruction, type ParsedAddLiquidityByWeight2Instruction, type ParsedAddLiquidityByWeightInstruction, type ParsedAddLiquidityInstruction, type ParsedAddLiquidityOneSideInstruction, type ParsedAddLiquidityOneSidePrecise2Instruction, type ParsedAddLiquidityOneSidePreciseInstruction, type ParsedCancelLimitOrderInstruction, type ParsedClaimFee2Instruction, type ParsedClaimFeeInstruction, type ParsedClaimReward2Instruction, type ParsedClaimRewardInstruction, type ParsedCloseBinArrayInstruction, type ParsedCloseClaimFeeOperatorAccountInstruction, type ParsedCloseLimitOrderIfEmptyInstruction, type ParsedCloseOperatorAccountInstruction, type ParsedClosePosition2Instruction, type ParsedClosePositionIfEmptyInstruction, type ParsedClosePositionInstruction, type ParsedClosePresetParameter2Instruction, type ParsedClosePresetParameterInstruction, type ParsedCloseTokenBadgeInstruction, type ParsedCreateOperatorAccountInstruction, type ParsedDecreasePositionLengthInstruction, type ParsedForIdlTypeGenerationDoNotCallInstruction, type ParsedFundRewardInstruction, type ParsedGoToABinInstruction, type ParsedIncreaseOracleLengthInstruction, type ParsedIncreasePositionLength2Instruction, type ParsedIncreasePositionLengthInstruction, type ParsedInitializeBinArrayBitmapExtensionInstruction, type ParsedInitializeBinArrayInstruction, type ParsedInitializeCustomizablePermissionlessLbPair2Instruction, type ParsedInitializeCustomizablePermissionlessLbPairInstruction, type ParsedInitializeLbPair2Instruction, type ParsedInitializeLbPairInstruction, type ParsedInitializePermissionLbPairInstruction, type ParsedInitializePosition2Instruction, type ParsedInitializePositionByOperatorInstruction, type ParsedInitializePositionInstruction, type ParsedInitializePositionPdaInstruction, type ParsedInitializePresetParameterInstruction, type ParsedInitializeRewardInstruction, type ParsedInitializeTokenBadgeInstruction, type ParsedLbClmmInstruction, type ParsedPlaceLimitOrderInstruction, type ParsedRebalanceLiquidityInstruction, type ParsedRemoveAllLiquidityInstruction, type ParsedRemoveLiquidity2Instruction, type ParsedRemoveLiquidityByRange2Instruction, type ParsedRemoveLiquidityByRangeInstruction, type ParsedRemoveLiquidityInstruction, type ParsedSetActivationPointInstruction, type ParsedSetPairStatusInstruction, type ParsedSetPairStatusPermissionlessInstruction, type ParsedSetPermissionlessOperationBitsInstruction, type ParsedSetPreActivationDurationInstruction, type ParsedSetPreActivationSwapAddressInstruction, type ParsedSwap2Instruction, type ParsedSwapExactOut2Instruction, type ParsedSwapExactOutInstruction, type ParsedSwapInstruction, type ParsedSwapWithPriceImpact2Instruction, type ParsedSwapWithPriceImpactInstruction, type ParsedUpdateBaseFeeParametersInstruction, type ParsedUpdateDynamicFeeParametersInstruction, type ParsedUpdateFeesAndReward2Instruction, type ParsedUpdateFeesAndRewardsInstruction, type ParsedUpdatePositionOperatorInstruction, type ParsedUpdateRewardDurationInstruction, type ParsedUpdateRewardFunderInstruction, type ParsedWithdrawIneligibleRewardInstruction, type ParsedWithdrawProtocolFeeInstruction, type ParsedZapProtocolFeeInstruction, type PlaceLimitOrderAsyncInput, type PlaceLimitOrderInput, type PlaceLimitOrderInstruction, type PlaceLimitOrderInstructionData, type PlaceLimitOrderInstructionDataArgs, type PlaceLimitOrderParams, type PlaceLimitOrderParamsArgs, type PositionBinData, type PositionBinDataArgs, type PositionSeeds, type PositionV2, type PositionV2Args, type PresetParameter, type PresetParameter2, type PresetParameter2Args, type PresetParameterArgs, type ProtocolFee, type ProtocolFeeArgs, REBALANCE_LIQUIDITY_DISCRIMINATOR, REMOVE_ALL_LIQUIDITY_DISCRIMINATOR, REMOVE_LIQUIDITY2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE_DISCRIMINATOR, REMOVE_LIQUIDITY_DISCRIMINATOR, type RebalanceLiquidityAsyncInput, type RebalanceLiquidityInput, type RebalanceLiquidityInstruction, type RebalanceLiquidityInstructionData, type RebalanceLiquidityInstructionDataArgs, type RelativeBin, type RelativeBinArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RemoveAllLiquidityAsyncInput, type RemoveAllLiquidityInput, type RemoveAllLiquidityInstruction, type RemoveAllLiquidityInstructionData, type RemoveAllLiquidityInstructionDataArgs, type RemoveLiquidity2AsyncInput, type RemoveLiquidity2Input, type RemoveLiquidity2Instruction, type RemoveLiquidity2InstructionData, type RemoveLiquidity2InstructionDataArgs, type RemoveLiquidityAsyncInput, type RemoveLiquidityByRange2AsyncInput, type RemoveLiquidityByRange2Input, type RemoveLiquidityByRange2Instruction, type RemoveLiquidityByRange2InstructionData, type RemoveLiquidityByRange2InstructionDataArgs, type RemoveLiquidityByRangeAsyncInput, type RemoveLiquidityByRangeInput, type RemoveLiquidityByRangeInstruction, type RemoveLiquidityByRangeInstructionData, type RemoveLiquidityByRangeInstructionDataArgs, type RemoveLiquidityInput, type RemoveLiquidityInstruction, type RemoveLiquidityInstructionData, type RemoveLiquidityInstructionDataArgs, type RemoveLiquidityParams, type RemoveLiquidityParamsArgs, type ReserveXSeeds, type ReserveYSeeds, ResizeSide, type ResizeSideArgs, type RewardInfo, type RewardInfoArgs, type RewardVaultSeeds, Rounding, type RoundingArgs, SET_ACTIVATION_POINT_DISCRIMINATOR, SET_PAIR_STATUS_DISCRIMINATOR, SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR, SET_PERMISSIONLESS_OPERATION_BITS_DISCRIMINATOR, SET_PRE_ACTIVATION_DURATION_DISCRIMINATOR, SET_PRE_ACTIVATION_SWAP_ADDRESS_DISCRIMINATOR, SWAP2_DISCRIMINATOR, SWAP_DISCRIMINATOR, SWAP_EXACT_OUT2_DISCRIMINATOR, SWAP_EXACT_OUT_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT2_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT_DISCRIMINATOR, type SetActivationPointInput, type SetActivationPointInstruction, type SetActivationPointInstructionData, type SetActivationPointInstructionDataArgs, type SetPairStatusInput, type SetPairStatusInstruction, type SetPairStatusInstructionData, type SetPairStatusInstructionDataArgs, type SetPairStatusPermissionlessInput, type SetPairStatusPermissionlessInstruction, type SetPairStatusPermissionlessInstructionData, type SetPairStatusPermissionlessInstructionDataArgs, type SetPermissionlessOperationBitsAsyncInput, type SetPermissionlessOperationBitsInput, type SetPermissionlessOperationBitsInstruction, type SetPermissionlessOperationBitsInstructionData, type SetPermissionlessOperationBitsInstructionDataArgs, type SetPreActivationDurationInput, type SetPreActivationDurationInstruction, type SetPreActivationDurationInstructionData, type SetPreActivationDurationInstructionDataArgs, type SetPreActivationSwapAddressInput, type SetPreActivationSwapAddressInstruction, type SetPreActivationSwapAddressInstructionData, type SetPreActivationSwapAddressInstructionDataArgs, type StaticParameters, type StaticParametersArgs, type StrategyParameters, type StrategyParametersArgs, StrategyType, type StrategyTypeArgs, type Swap2AsyncInput, type Swap2Input, type Swap2Instruction, type Swap2InstructionData, type Swap2InstructionDataArgs, type SwapAsyncInput, type SwapExactOut2AsyncInput, type SwapExactOut2Input, type SwapExactOut2Instruction, type SwapExactOut2InstructionData, type SwapExactOut2InstructionDataArgs, type SwapExactOutAsyncInput, type SwapExactOutInput, type SwapExactOutInstruction, type SwapExactOutInstructionData, type SwapExactOutInstructionDataArgs, type SwapInput, type SwapInstruction, type SwapInstructionData, type SwapInstructionDataArgs, type SwapWithPriceImpact2AsyncInput, type SwapWithPriceImpact2Input, type SwapWithPriceImpact2Instruction, type SwapWithPriceImpact2InstructionData, type SwapWithPriceImpact2InstructionDataArgs, type SwapWithPriceImpactAsyncInput, type SwapWithPriceImpactInput, type SwapWithPriceImpactInstruction, type SwapWithPriceImpactInstructionData, type SwapWithPriceImpactInstructionDataArgs, TOKEN_BADGE_DISCRIMINATOR, type TokenBadge, type TokenBadgeArgs, type TokenBadgeSeeds, TokenProgramFlags, type TokenProgramFlagsArgs, UPDATE_BASE_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_DYNAMIC_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_FEES_AND_REWARD2_DISCRIMINATOR, UPDATE_FEES_AND_REWARDS_DISCRIMINATOR, UPDATE_POSITION_OPERATOR_DISCRIMINATOR, UPDATE_REWARD_DURATION_DISCRIMINATOR, UPDATE_REWARD_FUNDER_DISCRIMINATOR, type UpdateBaseFeeParametersAsyncInput, type UpdateBaseFeeParametersInput, type UpdateBaseFeeParametersInstruction, type UpdateBaseFeeParametersInstructionData, type UpdateBaseFeeParametersInstructionDataArgs, type UpdateDynamicFeeParametersAsyncInput, type UpdateDynamicFeeParametersInput, type UpdateDynamicFeeParametersInstruction, type UpdateDynamicFeeParametersInstructionData, type UpdateDynamicFeeParametersInstructionDataArgs, type UpdateFeesAndReward2Input, type UpdateFeesAndReward2Instruction, type UpdateFeesAndReward2InstructionData, type UpdateFeesAndReward2InstructionDataArgs, type UpdateFeesAndRewardsInput, type UpdateFeesAndRewardsInstruction, type UpdateFeesAndRewardsInstructionData, type UpdateFeesAndRewardsInstructionDataArgs, type UpdatePositionOperatorAsyncInput, type UpdatePositionOperatorInput, type UpdatePositionOperatorInstruction, type UpdatePositionOperatorInstructionData, type UpdatePositionOperatorInstructionDataArgs, type UpdateRewardDurationAsyncInput, type UpdateRewardDurationInput, type UpdateRewardDurationInstruction, type UpdateRewardDurationInstructionData, type UpdateRewardDurationInstructionDataArgs, type UpdateRewardFunderAsyncInput, type UpdateRewardFunderInput, type UpdateRewardFunderInstruction, type UpdateRewardFunderInstructionData, type UpdateRewardFunderInstructionDataArgs, type UserRewardInfo, type UserRewardInfoArgs, type VariableParameters, type VariableParametersArgs, WITHDRAW_INELIGIBLE_REWARD_DISCRIMINATOR, WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR, type WithdrawIneligibleRewardAsyncInput, type WithdrawIneligibleRewardInput, type WithdrawIneligibleRewardInstruction, type WithdrawIneligibleRewardInstructionData, type WithdrawIneligibleRewardInstructionDataArgs, type WithdrawProtocolFeeInput, type WithdrawProtocolFeeInstruction, type WithdrawProtocolFeeInstructionData, type WithdrawProtocolFeeInstructionDataArgs, ZAP_PROTOCOL_FEE_DISCRIMINATOR, type ZapProtocolFeeInput, type ZapProtocolFeeInstruction, type ZapProtocolFeeInstructionData, type ZapProtocolFeeInstructionDataArgs, accountsType, binArrayIndexToBinIdRange, binIdToBinArrayIndex, binIdToPrice, decodeBinArray, decodeBinArrayBitmapExtension, decodeClaimFeeOperator, decodeDummyZcAccount, decodeLbPair, decodeLimitOrder, decodeOperator, decodeOracle, decodePositionV2, decodePresetParameter, decodePresetParameter2, decodeTokenBadge, fetchAllBinArray, fetchAllBinArrayBitmapExtension, fetchAllClaimFeeOperator, fetchAllDummyZcAccount, fetchAllLbPair, fetchAllLimitOrder, fetchAllMaybeBinArray, fetchAllMaybeBinArrayBitmapExtension, fetchAllMaybeClaimFeeOperator, fetchAllMaybeDummyZcAccount, fetchAllMaybeLbPair, fetchAllMaybeLimitOrder, fetchAllMaybeOperator, fetchAllMaybeOracle, fetchAllMaybePositionV2, fetchAllMaybePresetParameter, fetchAllMaybePresetParameter2, fetchAllMaybeTokenBadge, fetchAllOperator, fetchAllOracle, fetchAllPositionV2, fetchAllPresetParameter, fetchAllPresetParameter2, fetchAllTokenBadge, fetchBinArray, fetchBinArrayBitmapExtension, fetchClaimFeeOperator, fetchDummyZcAccount, fetchLbPair, fetchLimitOrder, fetchMaybeBinArray, fetchMaybeBinArrayBitmapExtension, fetchMaybeClaimFeeOperator, fetchMaybeDummyZcAccount, fetchMaybeLbPair, fetchMaybeLimitOrder, fetchMaybeOperator, fetchMaybeOracle, fetchMaybePositionV2, fetchMaybePresetParameter, fetchMaybePresetParameter2, fetchMaybeTokenBadge, fetchOperator, fetchOracle, fetchPositionV2, fetchPresetParameter, fetchPresetParameter2, fetchTokenBadge, findBinArrayBitmapExtensionPda, findBinArrayPda, findEventAuthorityPda, findLbPairPda, findOperatorPda, findOraclePda, findPositionPda, findPresetParameterPda, findReserveXPda, findReserveYPda, findRewardVaultPda, findTokenBadgePda, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getActivationTypeCodec, getActivationTypeDecoder, getActivationTypeEncoder, getAddLiquidity2DiscriminatorBytes, getAddLiquidity2Instruction, getAddLiquidity2InstructionAsync, getAddLiquidity2InstructionDataCodec, getAddLiquidity2InstructionDataDecoder, getAddLiquidity2InstructionDataEncoder, getAddLiquidityByStrategy2DiscriminatorBytes, getAddLiquidityByStrategy2Instruction, getAddLiquidityByStrategy2InstructionAsync, getAddLiquidityByStrategy2InstructionDataCodec, getAddLiquidityByStrategy2InstructionDataDecoder, getAddLiquidityByStrategy2InstructionDataEncoder, getAddLiquidityByStrategyDiscriminatorBytes, getAddLiquidityByStrategyInstruction, getAddLiquidityByStrategyInstructionAsync, getAddLiquidityByStrategyInstructionDataCodec, getAddLiquidityByStrategyInstructionDataDecoder, getAddLiquidityByStrategyInstructionDataEncoder, getAddLiquidityByStrategyOneSideDiscriminatorBytes, getAddLiquidityByStrategyOneSideInstruction, getAddLiquidityByStrategyOneSideInstructionAsync, getAddLiquidityByStrategyOneSideInstructionDataCodec, getAddLiquidityByStrategyOneSideInstructionDataDecoder, getAddLiquidityByStrategyOneSideInstructionDataEncoder, getAddLiquidityByWeight2DiscriminatorBytes, getAddLiquidityByWeight2Instruction, getAddLiquidityByWeight2InstructionAsync, getAddLiquidityByWeight2InstructionDataCodec, getAddLiquidityByWeight2InstructionDataDecoder, getAddLiquidityByWeight2InstructionDataEncoder, getAddLiquidityByWeightDiscriminatorBytes, getAddLiquidityByWeightInstruction, getAddLiquidityByWeightInstructionAsync, getAddLiquidityByWeightInstructionDataCodec, getAddLiquidityByWeightInstructionDataDecoder, getAddLiquidityByWeightInstructionDataEncoder, getAddLiquidityDiscriminatorBytes, getAddLiquidityInstruction, getAddLiquidityInstructionAsync, getAddLiquidityInstructionDataCodec, getAddLiquidityInstructionDataDecoder, getAddLiquidityInstructionDataEncoder, getAddLiquidityOneSideDiscriminatorBytes, getAddLiquidityOneSideInstruction, getAddLiquidityOneSideInstructionAsync, getAddLiquidityOneSideInstructionDataCodec, getAddLiquidityOneSideInstructionDataDecoder, getAddLiquidityOneSideInstructionDataEncoder, getAddLiquidityOneSidePrecise2DiscriminatorBytes, getAddLiquidityOneSidePrecise2Instruction, getAddLiquidityOneSidePrecise2InstructionAsync, getAddLiquidityOneSidePrecise2InstructionDataCodec, getAddLiquidityOneSidePrecise2InstructionDataDecoder, getAddLiquidityOneSidePrecise2InstructionDataEncoder, getAddLiquidityOneSidePreciseDiscriminatorBytes, getAddLiquidityOneSidePreciseInstruction, getAddLiquidityOneSidePreciseInstructionAsync, getAddLiquidityOneSidePreciseInstructionDataCodec, getAddLiquidityOneSidePreciseInstructionDataDecoder, getAddLiquidityOneSidePreciseInstructionDataEncoder, getAddLiquidityParamsCodec, getAddLiquidityParamsDecoder, getAddLiquidityParamsEncoder, getBinArrayBitmapExtensionCodec, getBinArrayBitmapExtensionDecoder, getBinArrayBitmapExtensionDiscriminatorBytes, getBinArrayBitmapExtensionEncoder, getBinArrayBitmapExtensionSize, getBinArrayCodec, getBinArrayDecoder, getBinArrayDiscriminatorBytes, getBinArrayEncoder, getBinArraySize, getBinCodec, getBinDecoder, getBinEncoder, getBinLimitOrderAmountCodec, getBinLimitOrderAmountDecoder, getBinLimitOrderAmountEncoder, getBinLiquidityDistributionByWeightCodec, getBinLiquidityDistributionByWeightDecoder, getBinLiquidityDistributionByWeightEncoder, getBinLiquidityDistributionCodec, getBinLiquidityDistributionDecoder, getBinLiquidityDistributionEncoder, getBinLiquidityReductionCodec, getBinLiquidityReductionDecoder, getBinLiquidityReductionEncoder, getCancelLimitOrderDiscriminatorBytes, getCancelLimitOrderInstruction, getCancelLimitOrderInstructionAsync, getCancelLimitOrderInstructionDataCodec, getCancelLimitOrderInstructionDataDecoder, getCancelLimitOrderInstructionDataEncoder, getClaimFee2DiscriminatorBytes, getClaimFee2Instruction, getClaimFee2InstructionAsync, getClaimFee2InstructionDataCodec, getClaimFee2InstructionDataDecoder, getClaimFee2InstructionDataEncoder, getClaimFeeDiscriminatorBytes, getClaimFeeInstruction, getClaimFeeInstructionAsync, getClaimFeeInstructionDataCodec, getClaimFeeInstructionDataDecoder, getClaimFeeInstructionDataEncoder, getClaimFeeOperatorCodec, getClaimFeeOperatorDecoder, getClaimFeeOperatorDiscriminatorBytes, getClaimFeeOperatorEncoder, getClaimFeeOperatorSize, getClaimReward2DiscriminatorBytes, getClaimReward2Instruction, getClaimReward2InstructionAsync, getClaimReward2InstructionDataCodec, getClaimReward2InstructionDataDecoder, getClaimReward2InstructionDataEncoder, getClaimRewardDiscriminatorBytes, getClaimRewardInstruction, getClaimRewardInstructionAsync, getClaimRewardInstructionDataCodec, getClaimRewardInstructionDataDecoder, getClaimRewardInstructionDataEncoder, getCloseBinArrayDiscriminatorBytes, getCloseBinArrayInstruction, getCloseBinArrayInstructionDataCodec, getCloseBinArrayInstructionDataDecoder, getCloseBinArrayInstructionDataEncoder, getCloseClaimFeeOperatorAccountDiscriminatorBytes, getCloseClaimFeeOperatorAccountInstruction, getCloseClaimFeeOperatorAccountInstructionDataCodec, getCloseClaimFeeOperatorAccountInstructionDataDecoder, getCloseClaimFeeOperatorAccountInstructionDataEncoder, getCloseLimitOrderIfEmptyDiscriminatorBytes, getCloseLimitOrderIfEmptyInstruction, getCloseLimitOrderIfEmptyInstructionAsync, getCloseLimitOrderIfEmptyInstructionDataCodec, getCloseLimitOrderIfEmptyInstructionDataDecoder, getCloseLimitOrderIfEmptyInstructionDataEncoder, getCloseOperatorAccountDiscriminatorBytes, getCloseOperatorAccountInstruction, getCloseOperatorAccountInstructionDataCodec, getCloseOperatorAccountInstructionDataDecoder, getCloseOperatorAccountInstructionDataEncoder, getClosePosition2DiscriminatorBytes, getClosePosition2Instruction, getClosePosition2InstructionAsync, getClosePosition2InstructionDataCodec, getClosePosition2InstructionDataDecoder, getClosePosition2InstructionDataEncoder, getClosePositionDiscriminatorBytes, getClosePositionIfEmptyDiscriminatorBytes, getClosePositionIfEmptyInstruction, getClosePositionIfEmptyInstructionAsync, getClosePositionIfEmptyInstructionDataCodec, getClosePositionIfEmptyInstructionDataDecoder, getClosePositionIfEmptyInstructionDataEncoder, getClosePositionInstruction, getClosePositionInstructionAsync, getClosePositionInstructionDataCodec, getClosePositionInstructionDataDecoder, getClosePositionInstructionDataEncoder, getClosePresetParameter2DiscriminatorBytes, getClosePresetParameter2Instruction, getClosePresetParameter2InstructionDataCodec, getClosePresetParameter2InstructionDataDecoder, getClosePresetParameter2InstructionDataEncoder, getClosePresetParameterDiscriminatorBytes, getClosePresetParameterInstruction, getClosePresetParameterInstructionDataCodec, getClosePresetParameterInstructionDataDecoder, getClosePresetParameterInstructionDataEncoder, getCloseTokenBadgeDiscriminatorBytes, getCloseTokenBadgeInstruction, getCloseTokenBadgeInstructionDataCodec, getCloseTokenBadgeInstructionDataDecoder, getCloseTokenBadgeInstructionDataEncoder, getCompressedBinDepositAmountCodec, getCompressedBinDepositAmountDecoder, getCompressedBinDepositAmountEncoder, getCreateOperatorAccountDiscriminatorBytes, getCreateOperatorAccountInstruction, getCreateOperatorAccountInstructionAsync, getCreateOperatorAccountInstructionDataCodec, getCreateOperatorAccountInstructionDataDecoder, getCreateOperatorAccountInstructionDataEncoder, getCustomizableParamsCodec, getCustomizableParamsDecoder, getCustomizableParamsEncoder, getDecreasePositionLengthDiscriminatorBytes, getDecreasePositionLengthInstruction, getDecreasePositionLengthInstructionAsync, getDecreasePositionLengthInstructionDataCodec, getDecreasePositionLengthInstructionDataDecoder, getDecreasePositionLengthInstructionDataEncoder, getDummyZcAccountCodec, getDummyZcAccountDecoder, getDummyZcAccountDiscriminatorBytes, getDummyZcAccountEncoder, getDummyZcAccountSize, getFeeInfoCodec, getFeeInfoDecoder, getFeeInfoEncoder, getForIdlTypeGenerationDoNotCallDiscriminatorBytes, getForIdlTypeGenerationDoNotCallInstruction, getForIdlTypeGenerationDoNotCallInstructionDataCodec, getForIdlTypeGenerationDoNotCallInstructionDataDecoder, getForIdlTypeGenerationDoNotCallInstructionDataEncoder, getFundRewardDiscriminatorBytes, getFundRewardInstruction, getFundRewardInstructionAsync, getFundRewardInstructionDataCodec, getFundRewardInstructionDataDecoder, getFundRewardInstructionDataEncoder, getGoToABinDiscriminatorBytes, getGoToABinInstruction, getGoToABinInstructionAsync, getGoToABinInstructionDataCodec, getGoToABinInstructionDataDecoder, getGoToABinInstructionDataEncoder, getIdFromPrice, getIncreaseOracleLengthDiscriminatorBytes, getIncreaseOracleLengthInstruction, getIncreaseOracleLengthInstructionAsync, getIncreaseOracleLengthInstructionDataCodec, getIncreaseOracleLengthInstructionDataDecoder, getIncreaseOracleLengthInstructionDataEncoder, getIncreasePositionLength2DiscriminatorBytes, getIncreasePositionLength2Instruction, getIncreasePositionLength2InstructionAsync, getIncreasePositionLength2InstructionDataCodec, getIncreasePositionLength2InstructionDataDecoder, getIncreasePositionLength2InstructionDataEncoder, getIncreasePositionLengthDiscriminatorBytes, getIncreasePositionLengthInstruction, getIncreasePositionLengthInstructionAsync, getIncreasePositionLengthInstructionDataCodec, getIncreasePositionLengthInstructionDataDecoder, getIncreasePositionLengthInstructionDataEncoder, getInitializeBinArrayBitmapExtensionDiscriminatorBytes, getInitializeBinArrayBitmapExtensionInstruction, getInitializeBinArrayBitmapExtensionInstructionAsync, getInitializeBinArrayBitmapExtensionInstructionDataCodec, getInitializeBinArrayBitmapExtensionInstructionDataDecoder, getInitializeBinArrayBitmapExtensionInstructionDataEncoder, getInitializeBinArrayDiscriminatorBytes, getInitializeBinArrayInstruction, getInitializeBinArrayInstructionAsync, getInitializeBinArrayInstructionDataCodec, getInitializeBinArrayInstructionDataDecoder, getInitializeBinArrayInstructionDataEncoder, getInitializeCustomizablePermissionlessLbPair2DiscriminatorBytes, getInitializeCustomizablePermissionlessLbPair2Instruction, getInitializeCustomizablePermissionlessLbPair2InstructionAsync, getInitializeCustomizablePermissionlessLbPair2InstructionDataCodec, getInitializeCustomizablePermissionlessLbPair2InstructionDataDecoder, getInitializeCustomizablePermissionlessLbPair2InstructionDataEncoder, getInitializeCustomizablePermissionlessLbPairDiscriminatorBytes, getInitializeCustomizablePermissionlessLbPairInstruction, getInitializeCustomizablePermissionlessLbPairInstructionAsync, getInitializeCustomizablePermissionlessLbPairInstructionDataCodec, getInitializeCustomizablePermissionlessLbPairInstructionDataDecoder, getInitializeCustomizablePermissionlessLbPairInstructionDataEncoder, getInitializeLbPair2DiscriminatorBytes, getInitializeLbPair2Instruction, getInitializeLbPair2InstructionAsync, getInitializeLbPair2InstructionDataCodec, getInitializeLbPair2InstructionDataDecoder, getInitializeLbPair2InstructionDataEncoder, getInitializeLbPairDiscriminatorBytes, getInitializeLbPairInstruction, getInitializeLbPairInstructionAsync, getInitializeLbPairInstructionDataCodec, getInitializeLbPairInstructionDataDecoder, getInitializeLbPairInstructionDataEncoder, getInitializePermissionLbPairDiscriminatorBytes, getInitializePermissionLbPairInstruction, getInitializePermissionLbPairInstructionAsync, getInitializePermissionLbPairInstructionDataCodec, getInitializePermissionLbPairInstructionDataDecoder, getInitializePermissionLbPairInstructionDataEncoder, getInitializePosition2DiscriminatorBytes, getInitializePosition2Instruction, getInitializePosition2InstructionAsync, getInitializePosition2InstructionDataCodec, getInitializePosition2InstructionDataDecoder, getInitializePosition2InstructionDataEncoder, getInitializePositionByOperatorDiscriminatorBytes, getInitializePositionByOperatorInstruction, getInitializePositionByOperatorInstructionAsync, getInitializePositionByOperatorInstructionDataCodec, getInitializePositionByOperatorInstructionDataDecoder, getInitializePositionByOperatorInstructionDataEncoder, getInitializePositionDiscriminatorBytes, getInitializePositionInstruction, getInitializePositionInstructionAsync, getInitializePositionInstructionDataCodec, getInitializePositionInstructionDataDecoder, getInitializePositionInstructionDataEncoder, getInitializePositionPdaDiscriminatorBytes, getInitializePositionPdaInstruction, getInitializePositionPdaInstructionAsync, getInitializePositionPdaInstructionDataCodec, getInitializePositionPdaInstructionDataDecoder, getInitializePositionPdaInstructionDataEncoder, getInitializePresetParameterDiscriminatorBytes, getInitializePresetParameterInstruction, getInitializePresetParameterInstructionDataCodec, getInitializePresetParameterInstructionDataDecoder, getInitializePresetParameterInstructionDataEncoder, getInitializeRewardDiscriminatorBytes, getInitializeRewardInstruction, getInitializeRewardInstructionAsync, getInitializeRewardInstructionDataCodec, getInitializeRewardInstructionDataDecoder, getInitializeRewardInstructionDataEncoder, getInitializeTokenBadgeDiscriminatorBytes, getInitializeTokenBadgeInstruction, getInitializeTokenBadgeInstructionAsync, getInitializeTokenBadgeInstructionDataCodec, getInitializeTokenBadgeInstructionDataDecoder, getInitializeTokenBadgeInstructionDataEncoder, getLbClmmErrorMessage, getLbPairCodec, getLbPairDecoder, getLbPairDiscriminatorBytes, getLbPairEncoder, getLbPairSize, getLimitOrderBinDataCodec, getLimitOrderBinDataDecoder, getLimitOrderBinDataEncoder, getLimitOrderCodec, getLimitOrderDecoder, getLimitOrderDiscriminatorBytes, getLimitOrderEncoder, getLimitOrderSize, getLiquidityParameterByStrategyCodec, getLiquidityParameterByStrategyDecoder, getLiquidityParameterByStrategyEncoder, getLiquidityParameterByWeightCodec, getLiquidityParameterByWeightDecoder, getLiquidityParameterByWeightEncoder, getLiquidityParameterCodec, getLiquidityParameterDecoder, getLiquidityParameterEncoder, getOperatorCodec, getOperatorDecoder, getOperatorDiscriminatorBytes, getOperatorEncoder, getOperatorSize, getOracleCodec, getOracleDecoder, getOracleDiscriminatorBytes, getOracleEncoder, getOracleSize, getPairStatusCodec, getPairStatusDecoder, getPairStatusEncoder, getPairTypeCodec, getPairTypeDecoder, getPairTypeEncoder, getPlaceLimitOrderDiscriminatorBytes, getPlaceLimitOrderInstruction, getPlaceLimitOrderInstructionAsync, getPlaceLimitOrderInstructionDataCodec, getPlaceLimitOrderInstructionDataDecoder, getPlaceLimitOrderInstructionDataEncoder, getPlaceLimitOrderParamsCodec, getPlaceLimitOrderParamsDecoder, getPlaceLimitOrderParamsEncoder, getPositionBinDataCodec, getPositionBinDataDecoder, getPositionBinDataEncoder, getPositionV2Codec, getPositionV2Decoder, getPositionV2DiscriminatorBytes, getPositionV2Encoder, getPositionV2Size, getPresetParameter2Codec, getPresetParameter2Decoder, getPresetParameter2DiscriminatorBytes, getPresetParameter2Encoder, getPresetParameter2Size, getPresetParameterCodec, getPresetParameterDecoder, getPresetParameterDiscriminatorBytes, getPresetParameterEncoder, getPresetParameterSize, getPriceFromId, getProtocolFeeCodec, getProtocolFeeDecoder, getProtocolFeeEncoder, getRebalanceLiquidityDiscriminatorBytes, getRebalanceLiquidityInstruction, getRebalanceLiquidityInstructionAsync, getRebalanceLiquidityInstructionDataCodec, getRebalanceLiquidityInstructionDataDecoder, getRebalanceLiquidityInstructionDataEncoder, getRelativeBinCodec, getRelativeBinDecoder, getRelativeBinEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveAllLiquidityDiscriminatorBytes, getRemoveAllLiquidityInstruction, getRemoveAllLiquidityInstructionAsync, getRemoveAllLiquidityInstructionDataCodec, getRemoveAllLiquidityInstructionDataDecoder, getRemoveAllLiquidityInstructionDataEncoder, getRemoveLiquidity2DiscriminatorBytes, getRemoveLiquidity2Instruction, getRemoveLiquidity2InstructionAsync, getRemoveLiquidity2InstructionDataCodec, getRemoveLiquidity2InstructionDataDecoder, getRemoveLiquidity2InstructionDataEncoder, getRemoveLiquidityByRange2DiscriminatorBytes, getRemoveLiquidityByRange2Instruction, getRemoveLiquidityByRange2InstructionAsync, getRemoveLiquidityByRange2InstructionDataCodec, getRemoveLiquidityByRange2InstructionDataDecoder, getRemoveLiquidityByRange2InstructionDataEncoder, getRemoveLiquidityByRangeDiscriminatorBytes, getRemoveLiquidityByRangeInstruction, getRemoveLiquidityByRangeInstructionAsync, getRemoveLiquidityByRangeInstructionDataCodec, getRemoveLiquidityByRangeInstructionDataDecoder, getRemoveLiquidityByRangeInstructionDataEncoder, getRemoveLiquidityDiscriminatorBytes, getRemoveLiquidityInstruction, getRemoveLiquidityInstructionAsync, getRemoveLiquidityInstructionDataCodec, getRemoveLiquidityInstructionDataDecoder, getRemoveLiquidityInstructionDataEncoder, getRemoveLiquidityParamsCodec, getRemoveLiquidityParamsDecoder, getRemoveLiquidityParamsEncoder, getResizeSideCodec, getResizeSideDecoder, getResizeSideEncoder, getRewardInfoCodec, getRewardInfoDecoder, getRewardInfoEncoder, getRoundingCodec, getRoundingDecoder, getRoundingEncoder, getSetActivationPointDiscriminatorBytes, getSetActivationPointInstruction, getSetActivationPointInstructionDataCodec, getSetActivationPointInstructionDataDecoder, getSetActivationPointInstructionDataEncoder, getSetPairStatusDiscriminatorBytes, getSetPairStatusInstruction, getSetPairStatusInstructionDataCodec, getSetPairStatusInstructionDataDecoder, getSetPairStatusInstructionDataEncoder, getSetPairStatusPermissionlessDiscriminatorBytes, getSetPairStatusPermissionlessInstruction, getSetPairStatusPermissionlessInstructionDataCodec, getSetPairStatusPermissionlessInstructionDataDecoder, getSetPairStatusPermissionlessInstructionDataEncoder, getSetPermissionlessOperationBitsDiscriminatorBytes, getSetPermissionlessOperationBitsInstruction, getSetPermissionlessOperationBitsInstructionAsync, getSetPermissionlessOperationBitsInstructionDataCodec, getSetPermissionlessOperationBitsInstructionDataDecoder, getSetPermissionlessOperationBitsInstructionDataEncoder, getSetPreActivationDurationDiscriminatorBytes, getSetPreActivationDurationInstruction, getSetPreActivationDurationInstructionDataCodec, getSetPreActivationDurationInstructionDataDecoder, getSetPreActivationDurationInstructionDataEncoder, getSetPreActivationSwapAddressDiscriminatorBytes, getSetPreActivationSwapAddressInstruction, getSetPreActivationSwapAddressInstructionDataCodec, getSetPreActivationSwapAddressInstructionDataDecoder, getSetPreActivationSwapAddressInstructionDataEncoder, getStaticParametersCodec, getStaticParametersDecoder, getStaticParametersEncoder, getStrategyParametersCodec, getStrategyParametersDecoder, getStrategyParametersEncoder, getStrategyTypeCodec, getStrategyTypeDecoder, getStrategyTypeEncoder, getSwap2DiscriminatorBytes, getSwap2Instruction, getSwap2InstructionAsync, getSwap2InstructionDataCodec, getSwap2InstructionDataDecoder, getSwap2InstructionDataEncoder, getSwapDiscriminatorBytes, getSwapExactOut2DiscriminatorBytes, getSwapExactOut2Instruction, getSwapExactOut2InstructionAsync, getSwapExactOut2InstructionDataCodec, getSwapExactOut2InstructionDataDecoder, getSwapExactOut2InstructionDataEncoder, getSwapExactOutDiscriminatorBytes, getSwapExactOutInstruction, getSwapExactOutInstructionAsync, getSwapExactOutInstructionDataCodec, getSwapExactOutInstructionDataDecoder, getSwapExactOutInstructionDataEncoder, getSwapInstruction, getSwapInstructionAsync, getSwapInstructionDataCodec, getSwapInstructionDataDecoder, getSwapInstructionDataEncoder, getSwapWithPriceImpact2DiscriminatorBytes, getSwapWithPriceImpact2Instruction, getSwapWithPriceImpact2InstructionAsync, getSwapWithPriceImpact2InstructionDataCodec, getSwapWithPriceImpact2InstructionDataDecoder, getSwapWithPriceImpact2InstructionDataEncoder, getSwapWithPriceImpactDiscriminatorBytes, getSwapWithPriceImpactInstruction, getSwapWithPriceImpactInstructionAsync, getSwapWithPriceImpactInstructionDataCodec, getSwapWithPriceImpactInstructionDataDecoder, getSwapWithPriceImpactInstructionDataEncoder, getTokenBadgeCodec, getTokenBadgeDecoder, getTokenBadgeDiscriminatorBytes, getTokenBadgeEncoder, getTokenBadgeSize, getTokenProgramFlagsCodec, getTokenProgramFlagsDecoder, getTokenProgramFlagsEncoder, getUpdateBaseFeeParametersDiscriminatorBytes, getUpdateBaseFeeParametersInstruction, getUpdateBaseFeeParametersInstructionAsync, getUpdateBaseFeeParametersInstructionDataCodec, getUpdateBaseFeeParametersInstructionDataDecoder, getUpdateBaseFeeParametersInstructionDataEncoder, getUpdateDynamicFeeParametersDiscriminatorBytes, getUpdateDynamicFeeParametersInstruction, getUpdateDynamicFeeParametersInstructionAsync, getUpdateDynamicFeeParametersInstructionDataCodec, getUpdateDynamicFeeParametersInstructionDataDecoder, getUpdateDynamicFeeParametersInstructionDataEncoder, getUpdateFeesAndReward2DiscriminatorBytes, getUpdateFeesAndReward2Instruction, getUpdateFeesAndReward2InstructionDataCodec, getUpdateFeesAndReward2InstructionDataDecoder, getUpdateFeesAndReward2InstructionDataEncoder, getUpdateFeesAndRewardsDiscriminatorBytes, getUpdateFeesAndRewardsInstruction, getUpdateFeesAndRewardsInstructionDataCodec, getUpdateFeesAndRewardsInstructionDataDecoder, getUpdateFeesAndRewardsInstructionDataEncoder, getUpdatePositionOperatorDiscriminatorBytes, getUpdatePositionOperatorInstruction, getUpdatePositionOperatorInstructionAsync, getUpdatePositionOperatorInstructionDataCodec, getUpdatePositionOperatorInstructionDataDecoder, getUpdatePositionOperatorInstructionDataEncoder, getUpdateRewardDurationDiscriminatorBytes, getUpdateRewardDurationInstruction, getUpdateRewardDurationInstructionAsync, getUpdateRewardDurationInstructionDataCodec, getUpdateRewardDurationInstructionDataDecoder, getUpdateRewardDurationInstructionDataEncoder, getUpdateRewardFunderDiscriminatorBytes, getUpdateRewardFunderInstruction, getUpdateRewardFunderInstructionAsync, getUpdateRewardFunderInstructionDataCodec, getUpdateRewardFunderInstructionDataDecoder, getUpdateRewardFunderInstructionDataEncoder, getUserRewardInfoCodec, getUserRewardInfoDecoder, getUserRewardInfoEncoder, getVariableParametersCodec, getVariableParametersDecoder, getVariableParametersEncoder, getWithdrawIneligibleRewardDiscriminatorBytes, getWithdrawIneligibleRewardInstruction, getWithdrawIneligibleRewardInstructionAsync, getWithdrawIneligibleRewardInstructionDataCodec, getWithdrawIneligibleRewardInstructionDataDecoder, getWithdrawIneligibleRewardInstructionDataEncoder, getWithdrawProtocolFeeDiscriminatorBytes, getWithdrawProtocolFeeInstruction, getWithdrawProtocolFeeInstructionDataCodec, getWithdrawProtocolFeeInstructionDataDecoder, getWithdrawProtocolFeeInstructionDataEncoder, getZapProtocolFeeDiscriminatorBytes, getZapProtocolFeeInstruction, getZapProtocolFeeInstructionDataCodec, getZapProtocolFeeInstructionDataDecoder, getZapProtocolFeeInstructionDataEncoder, identifyLbClmmAccount, identifyLbClmmInstruction, isAccountsType, isLbClmmError, parseAddLiquidity2Instruction, parseAddLiquidityByStrategy2Instruction, parseAddLiquidityByStrategyInstruction, parseAddLiquidityByStrategyOneSideInstruction, parseAddLiquidityByWeight2Instruction, parseAddLiquidityByWeightInstruction, parseAddLiquidityInstruction, parseAddLiquidityOneSideInstruction, parseAddLiquidityOneSidePrecise2Instruction, parseAddLiquidityOneSidePreciseInstruction, parseCancelLimitOrderInstruction, parseClaimFee2Instruction, parseClaimFeeInstruction, parseClaimReward2Instruction, parseClaimRewardInstruction, parseCloseBinArrayInstruction, parseCloseClaimFeeOperatorAccountInstruction, parseCloseLimitOrderIfEmptyInstruction, parseCloseOperatorAccountInstruction, parseClosePosition2Instruction, parseClosePositionIfEmptyInstruction, parseClosePositionInstruction, parseClosePresetParameter2Instruction, parseClosePresetParameterInstruction, parseCloseTokenBadgeInstruction, parseCreateOperatorAccountInstruction, parseDecreasePositionLengthInstruction, parseForIdlTypeGenerationDoNotCallInstruction, parseFundRewardInstruction, parseGoToABinInstruction, parseIncreaseOracleLengthInstruction, parseIncreasePositionLength2Instruction, parseIncreasePositionLengthInstruction, parseInitializeBinArrayBitmapExtensionInstruction, parseInitializeBinArrayInstruction, parseInitializeCustomizablePermissionlessLbPair2Instruction, parseInitializeCustomizablePermissionlessLbPairInstruction, parseInitializeLbPair2Instruction, parseInitializeLbPairInstruction, parseInitializePermissionLbPairInstruction, parseInitializePosition2Instruction, parseInitializePositionByOperatorInstruction, parseInitializePositionInstruction, parseInitializePositionPdaInstruction, parseInitializePresetParameterInstruction, parseInitializeRewardInstruction, parseInitializeTokenBadgeInstruction, parseLbClmmInstruction, parsePlaceLimitOrderInstruction, parseRebalanceLiquidityInstruction, parseRemoveAllLiquidityInstruction, parseRemoveLiquidity2Instruction, parseRemoveLiquidityByRange2Instruction, parseRemoveLiquidityByRangeInstruction, parseRemoveLiquidityInstruction, parseSetActivationPointInstruction, parseSetPairStatusInstruction, parseSetPairStatusPermissionlessInstruction, parseSetPermissionlessOperationBitsInstruction, parseSetPreActivationDurationInstruction, parseSetPreActivationSwapAddressInstruction, parseSwap2Instruction, parseSwapExactOut2Instruction, parseSwapExactOutInstruction, parseSwapInstruction, parseSwapWithPriceImpact2Instruction, parseSwapWithPriceImpactInstruction, parseUpdateBaseFeeParametersInstruction, parseUpdateDynamicFeeParametersInstruction, parseUpdateFeesAndReward2Instruction, parseUpdateFeesAndRewardsInstruction, parseUpdatePositionOperatorInstruction, parseUpdateRewardDurationInstruction, parseUpdateRewardFunderInstruction, parseWithdrawIneligibleRewardInstruction, parseWithdrawProtocolFeeInstruction, parseZapProtocolFeeInstruction, powQ64, priceQ64ToPrice, priceToBinId, priceToPriceQ64 };
8720
+ export { ADD_LIQUIDITY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY2_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_DISCRIMINATOR, ADD_LIQUIDITY_BY_STRATEGY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT2_DISCRIMINATOR, ADD_LIQUIDITY_BY_WEIGHT_DISCRIMINATOR, ADD_LIQUIDITY_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR, ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR, type AccountsType, type AccountsTypeArgs, ActivationType, type ActivationTypeArgs, type AddLiquidity2AsyncInput, type AddLiquidity2Input, type AddLiquidity2Instruction, type AddLiquidity2InstructionData, type AddLiquidity2InstructionDataArgs, type AddLiquidityAsyncInput, type AddLiquidityByStrategy2AsyncInput, type AddLiquidityByStrategy2Input, type AddLiquidityByStrategy2Instruction, type AddLiquidityByStrategy2InstructionData, type AddLiquidityByStrategy2InstructionDataArgs, type AddLiquidityByStrategyAsyncInput, type AddLiquidityByStrategyInput, type AddLiquidityByStrategyInstruction, type AddLiquidityByStrategyInstructionData, type AddLiquidityByStrategyInstructionDataArgs, type AddLiquidityByStrategyOneSideAsyncInput, type AddLiquidityByStrategyOneSideInput, type AddLiquidityByStrategyOneSideInstruction, type AddLiquidityByStrategyOneSideInstructionData, type AddLiquidityByStrategyOneSideInstructionDataArgs, type AddLiquidityByWeight2AsyncInput, type AddLiquidityByWeight2Input, type AddLiquidityByWeight2Instruction, type AddLiquidityByWeight2InstructionData, type AddLiquidityByWeight2InstructionDataArgs, type AddLiquidityByWeightAsyncInput, type AddLiquidityByWeightInput, type AddLiquidityByWeightInstruction, type AddLiquidityByWeightInstructionData, type AddLiquidityByWeightInstructionDataArgs, type AddLiquidityInput, type AddLiquidityInstruction, type AddLiquidityInstructionData, type AddLiquidityInstructionDataArgs, type AddLiquidityOneSideAsyncInput, type AddLiquidityOneSideInput, type AddLiquidityOneSideInstruction, type AddLiquidityOneSideInstructionData, type AddLiquidityOneSideInstructionDataArgs, type AddLiquidityOneSidePrecise2AsyncInput, type AddLiquidityOneSidePrecise2Input, type AddLiquidityOneSidePrecise2Instruction, type AddLiquidityOneSidePrecise2InstructionData, type AddLiquidityOneSidePrecise2InstructionDataArgs, type AddLiquidityOneSidePreciseAsyncInput, type AddLiquidityOneSidePreciseInput, type AddLiquidityOneSidePreciseInstruction, type AddLiquidityOneSidePreciseInstructionData, type AddLiquidityOneSidePreciseInstructionDataArgs, type AddLiquidityParams, type AddLiquidityParamsArgs, BASIS_POINT_MAX, BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, BIN_ARRAY_DISCRIMINATOR, type Bin, type BinArgs, type BinArray, type BinArrayArgs, type BinArrayBitmapExtension, type BinArrayBitmapExtensionArgs, type BinArrayBitmapExtensionSeeds, type BinArraySeeds, type BinLimitOrderAmount, type BinLimitOrderAmountArgs, type BinLiquidityDistribution, type BinLiquidityDistributionArgs, type BinLiquidityDistributionByWeight, type BinLiquidityDistributionByWeightArgs, type BinLiquidityReduction, type BinLiquidityReductionArgs, CANCEL_LIMIT_ORDER_DISCRIMINATOR, CLAIM_FEE2_DISCRIMINATOR, CLAIM_FEE_DISCRIMINATOR, CLAIM_FEE_OPERATOR_DISCRIMINATOR, CLAIM_REWARD2_DISCRIMINATOR, CLAIM_REWARD_DISCRIMINATOR, CLOSE_BIN_ARRAY_DISCRIMINATOR, CLOSE_CLAIM_FEE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_LIMIT_ORDER_IF_EMPTY_DISCRIMINATOR, CLOSE_OPERATOR_ACCOUNT_DISCRIMINATOR, CLOSE_POSITION2_DISCRIMINATOR, CLOSE_POSITION_DISCRIMINATOR, CLOSE_POSITION_IF_EMPTY_DISCRIMINATOR, CLOSE_PRESET_PARAMETER2_DISCRIMINATOR, CLOSE_PRESET_PARAMETER_DISCRIMINATOR, CLOSE_TOKEN_BADGE_DISCRIMINATOR, CREATE_OPERATOR_ACCOUNT_DISCRIMINATOR, type CancelLimitOrderAsyncInput, type CancelLimitOrderInput, type CancelLimitOrderInstruction, type CancelLimitOrderInstructionData, type CancelLimitOrderInstructionDataArgs, type ClaimFee2AsyncInput, type ClaimFee2Input, type ClaimFee2Instruction, type ClaimFee2InstructionData, type ClaimFee2InstructionDataArgs, type ClaimFeeAsyncInput, type ClaimFeeInput, type ClaimFeeInstruction, type ClaimFeeInstructionData, type ClaimFeeInstructionDataArgs, type ClaimFeeOperator, type ClaimFeeOperatorArgs, type ClaimReward2AsyncInput, type ClaimReward2Input, type ClaimReward2Instruction, type ClaimReward2InstructionData, type ClaimReward2InstructionDataArgs, type ClaimRewardAsyncInput, type ClaimRewardInput, type ClaimRewardInstruction, type ClaimRewardInstructionData, type ClaimRewardInstructionDataArgs, type CloseBinArrayInput, type CloseBinArrayInstruction, type CloseBinArrayInstructionData, type CloseBinArrayInstructionDataArgs, type CloseClaimFeeOperatorAccountInput, type CloseClaimFeeOperatorAccountInstruction, type CloseClaimFeeOperatorAccountInstructionData, type CloseClaimFeeOperatorAccountInstructionDataArgs, type CloseLimitOrderIfEmptyAsyncInput, type CloseLimitOrderIfEmptyInput, type CloseLimitOrderIfEmptyInstruction, type CloseLimitOrderIfEmptyInstructionData, type CloseLimitOrderIfEmptyInstructionDataArgs, type CloseOperatorAccountInput, type CloseOperatorAccountInstruction, type CloseOperatorAccountInstructionData, type CloseOperatorAccountInstructionDataArgs, type ClosePosition2AsyncInput, type ClosePosition2Input, type ClosePosition2Instruction, type ClosePosition2InstructionData, type ClosePosition2InstructionDataArgs, type ClosePositionAsyncInput, type ClosePositionIfEmptyAsyncInput, type ClosePositionIfEmptyInput, type ClosePositionIfEmptyInstruction, type ClosePositionIfEmptyInstructionData, type ClosePositionIfEmptyInstructionDataArgs, type ClosePositionInput, type ClosePositionInstruction, type ClosePositionInstructionData, type ClosePositionInstructionDataArgs, type ClosePresetParameter2Input, type ClosePresetParameter2Instruction, type ClosePresetParameter2InstructionData, type ClosePresetParameter2InstructionDataArgs, type ClosePresetParameterInput, type ClosePresetParameterInstruction, type ClosePresetParameterInstructionData, type ClosePresetParameterInstructionDataArgs, type CloseTokenBadgeInput, type CloseTokenBadgeInstruction, type CloseTokenBadgeInstructionData, type CloseTokenBadgeInstructionDataArgs, type CompressedBinDepositAmount, type CompressedBinDepositAmountArgs, type CreateOperatorAccountAsyncInput, type CreateOperatorAccountInput, type CreateOperatorAccountInstruction, type CreateOperatorAccountInstructionData, type CreateOperatorAccountInstructionDataArgs, type CustomizableParams, type CustomizableParamsArgs, DECREASE_POSITION_LENGTH_DISCRIMINATOR, DUMMY_ZC_ACCOUNT_DISCRIMINATOR, type DecreasePositionLengthAsyncInput, type DecreasePositionLengthInput, type DecreasePositionLengthInstruction, type DecreasePositionLengthInstructionData, type DecreasePositionLengthInstructionDataArgs, type DummyZcAccount, type DummyZcAccountArgs, FOR_IDL_TYPE_GENERATION_DO_NOT_CALL_DISCRIMINATOR, FUND_REWARD_DISCRIMINATOR, type FeeInfo, type FeeInfoArgs, type ForIdlTypeGenerationDoNotCallInput, type ForIdlTypeGenerationDoNotCallInstruction, type ForIdlTypeGenerationDoNotCallInstructionData, type ForIdlTypeGenerationDoNotCallInstructionDataArgs, type FundRewardAsyncInput, type FundRewardInput, type FundRewardInstruction, type FundRewardInstructionData, type FundRewardInstructionDataArgs, GO_TO_A_BIN_DISCRIMINATOR, type GoToABinAsyncInput, type GoToABinInput, type GoToABinInstruction, type GoToABinInstructionData, type GoToABinInstructionDataArgs, INCREASE_ORACLE_LENGTH_DISCRIMINATOR, INCREASE_POSITION_LENGTH2_DISCRIMINATOR, INCREASE_POSITION_LENGTH_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR, INITIALIZE_BIN_ARRAY_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR2_DISCRIMINATOR, INITIALIZE_CUSTOMIZABLE_PERMISSIONLESS_LB_PAIR_DISCRIMINATOR, INITIALIZE_LB_PAIR2_DISCRIMINATOR, INITIALIZE_LB_PAIR_DISCRIMINATOR, INITIALIZE_PERMISSION_LB_PAIR_DISCRIMINATOR, INITIALIZE_POSITION2_DISCRIMINATOR, INITIALIZE_POSITION_BY_OPERATOR_DISCRIMINATOR, INITIALIZE_POSITION_DISCRIMINATOR, INITIALIZE_POSITION_PDA_DISCRIMINATOR, INITIALIZE_PRESET_PARAMETER_DISCRIMINATOR, INITIALIZE_REWARD_DISCRIMINATOR, INITIALIZE_TOKEN_BADGE_DISCRIMINATOR, type IncreaseOracleLengthAsyncInput, type IncreaseOracleLengthInput, type IncreaseOracleLengthInstruction, type IncreaseOracleLengthInstructionData, type IncreaseOracleLengthInstructionDataArgs, type IncreasePositionLength2AsyncInput, type IncreasePositionLength2Input, type IncreasePositionLength2Instruction, type IncreasePositionLength2InstructionData, type IncreasePositionLength2InstructionDataArgs, type IncreasePositionLengthAsyncInput, type IncreasePositionLengthInput, type IncreasePositionLengthInstruction, type IncreasePositionLengthInstructionData, type IncreasePositionLengthInstructionDataArgs, type InitializeBinArrayAsyncInput, type InitializeBinArrayBitmapExtensionAsyncInput, type InitializeBinArrayBitmapExtensionInput, type InitializeBinArrayBitmapExtensionInstruction, type InitializeBinArrayBitmapExtensionInstructionData, type InitializeBinArrayBitmapExtensionInstructionDataArgs, type InitializeBinArrayInput, type InitializeBinArrayInstruction, type InitializeBinArrayInstructionData, type InitializeBinArrayInstructionDataArgs, type InitializeCustomizablePermissionlessLbPair2AsyncInput, type InitializeCustomizablePermissionlessLbPair2Input, type InitializeCustomizablePermissionlessLbPair2Instruction, type InitializeCustomizablePermissionlessLbPair2InstructionData, type InitializeCustomizablePermissionlessLbPair2InstructionDataArgs, type InitializeCustomizablePermissionlessLbPairAsyncInput, type InitializeCustomizablePermissionlessLbPairInput, type InitializeCustomizablePermissionlessLbPairInstruction, type InitializeCustomizablePermissionlessLbPairInstructionData, type InitializeCustomizablePermissionlessLbPairInstructionDataArgs, type InitializeLbPair2AsyncInput, type InitializeLbPair2Input, type InitializeLbPair2Instruction, type InitializeLbPair2InstructionData, type InitializeLbPair2InstructionDataArgs, type InitializeLbPairAsyncInput, type InitializeLbPairInput, type InitializeLbPairInstruction, type InitializeLbPairInstructionData, type InitializeLbPairInstructionDataArgs, type InitializePermissionLbPairAsyncInput, type InitializePermissionLbPairInput, type InitializePermissionLbPairInstruction, type InitializePermissionLbPairInstructionData, type InitializePermissionLbPairInstructionDataArgs, type InitializePosition2AsyncInput, type InitializePosition2Input, type InitializePosition2Instruction, type InitializePosition2InstructionData, type InitializePosition2InstructionDataArgs, type InitializePositionAsyncInput, type InitializePositionByOperatorAsyncInput, type InitializePositionByOperatorInput, type InitializePositionByOperatorInstruction, type InitializePositionByOperatorInstructionData, type InitializePositionByOperatorInstructionDataArgs, type InitializePositionInput, type InitializePositionInstruction, type InitializePositionInstructionData, type InitializePositionInstructionDataArgs, type InitializePositionPdaAsyncInput, type InitializePositionPdaInput, type InitializePositionPdaInstruction, type InitializePositionPdaInstructionData, type InitializePositionPdaInstructionDataArgs, type InitializePresetParameterInput, type InitializePresetParameterInstruction, type InitializePresetParameterInstructionData, type InitializePresetParameterInstructionDataArgs, type InitializeRewardAsyncInput, type InitializeRewardInput, type InitializeRewardInstruction, type InitializeRewardInstructionData, type InitializeRewardInstructionDataArgs, type InitializeTokenBadgeAsyncInput, type InitializeTokenBadgeInput, type InitializeTokenBadgeInstruction, type InitializeTokenBadgeInstructionData, type InitializeTokenBadgeInstructionDataArgs, LB_CLMM_ERROR__ALREADY_PASS_ACTIVATION_POINT, LB_CLMM_ERROR__ALREADY_PASS_PRE_ACTIVATION_SWAP_POINT, LB_CLMM_ERROR__AMOUNT_X_IS_NEGATIVE, LB_CLMM_ERROR__AMOUNT_Y_IS_NEGATIVE, LB_CLMM_ERROR__BIN_ARRAY_NOT_FOUND, LB_CLMM_ERROR__BIN_ID_OUT_OF_BOUND, LB_CLMM_ERROR__BIN_RANGE_IS_NOT_EMPTY, LB_CLMM_ERROR__BITMAP_EXTENSION_ACCOUNT_IS_NOT_PROVIDED, LB_CLMM_ERROR__CANCEL_NON_EMPTY_LIMIT_ORDER, LB_CLMM_ERROR__CANNOT_FIND_LIMIT_ORDER_BY_BIN_ID, LB_CLMM_ERROR__CANNOT_FIND_NON_ZERO_LIQUIDITY_BIN_ARRAY_ID, LB_CLMM_ERROR__COMPOSITION_FACTOR_FLAWED, LB_CLMM_ERROR__CPI_DISABLED, LB_CLMM_ERROR__DUPLICATED_REMAINING_ACCOUNT_TYPES, LB_CLMM_ERROR__EXCEEDED_AMOUNT_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_BIN_SLIPPAGE_TOLERANCE, LB_CLMM_ERROR__EXCEEDED_MAX_ORACLE_LENGTH, LB_CLMM_ERROR__EXCEED_MAX_SWAPPED_AMOUNT, LB_CLMM_ERROR__EXCEED_MAX_WHITELIST, LB_CLMM_ERROR__EXCESSIVE_FEE_UPDATE, LB_CLMM_ERROR__IDENTICAL_FEE_OWNER, LB_CLMM_ERROR__IDENTICAL_FUNDER, LB_CLMM_ERROR__IDENTICAL_REWARD_DURATION, LB_CLMM_ERROR__INCORRECT_A_T_A, LB_CLMM_ERROR__INSUFFICIENT_IN_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_OUT_AMOUNT, LB_CLMM_ERROR__INSUFFICIENT_REMAINING_ACCOUNTS, LB_CLMM_ERROR__INSUFFICIENT_SAMPLE, LB_CLMM_ERROR__INVALID_ACCOUNT_FOR_SINGLE_DEPOSIT, LB_CLMM_ERROR__INVALID_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_ACTIVATION_TYPE, LB_CLMM_ERROR__INVALID_ADMIN, LB_CLMM_ERROR__INVALID_BASE_FEE, LB_CLMM_ERROR__INVALID_BASE_FEE_MANTISSA, LB_CLMM_ERROR__INVALID_BIN_ARRAY, LB_CLMM_ERROR__INVALID_BIN_ID, LB_CLMM_ERROR__INVALID_BIN_STEP, LB_CLMM_ERROR__INVALID_BPS, LB_CLMM_ERROR__INVALID_CANCEL_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_COLLECT_FEE_MODE, LB_CLMM_ERROR__INVALID_FEE_OWNER, LB_CLMM_ERROR__INVALID_FEE_PARAMETER, LB_CLMM_ERROR__INVALID_FEE_WITHDRAW_AMOUNT, LB_CLMM_ERROR__INVALID_FUNCTION_TYPE, LB_CLMM_ERROR__INVALID_INDEX, LB_CLMM_ERROR__INVALID_INPUT, LB_CLMM_ERROR__INVALID_LIMIT_ORDER_OWNER, LB_CLMM_ERROR__INVALID_LOOKUP_TIMESTAMP, LB_CLMM_ERROR__INVALID_MINIMUM_LIQUIDITY, LB_CLMM_ERROR__INVALID_PERMISSION, LB_CLMM_ERROR__INVALID_PLACE_LIMIT_ORDER_PARAMETERS, LB_CLMM_ERROR__INVALID_POOL_ADDRESS, LB_CLMM_ERROR__INVALID_POOL_CREATOR, LB_CLMM_ERROR__INVALID_POOL_TYPE, LB_CLMM_ERROR__INVALID_POSITION, LB_CLMM_ERROR__INVALID_POSITION_OWNER, LB_CLMM_ERROR__INVALID_POSITION_WIDTH, LB_CLMM_ERROR__INVALID_PRE_ACTIVATION_DURATION, LB_CLMM_ERROR__INVALID_QUOTE_TOKEN, LB_CLMM_ERROR__INVALID_REBALANCE_PARAMETERS, LB_CLMM_ERROR__INVALID_REMAINING_ACCOUNT_SLICE, LB_CLMM_ERROR__INVALID_RESIZE_LENGTH, LB_CLMM_ERROR__INVALID_REWARD_ACCOUNTS, LB_CLMM_ERROR__INVALID_REWARD_DURATION, LB_CLMM_ERROR__INVALID_REWARD_INDEX, LB_CLMM_ERROR__INVALID_REWARD_VAULT, LB_CLMM_ERROR__INVALID_SIDE, LB_CLMM_ERROR__INVALID_START_BIN_INDEX, LB_CLMM_ERROR__INVALID_STATUS, LB_CLMM_ERROR__INVALID_STRATEGY_PARAMETERS, LB_CLMM_ERROR__INVALID_TOKEN_BADGE_TYPE, LB_CLMM_ERROR__INVALID_TOKEN_MINT, LB_CLMM_ERROR__INVALID_TRANSFER_HOOK_AUTHORITY, LB_CLMM_ERROR__INVALID_WITHDRAW_PROTOCOL_FEE_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_ACCOUNTS, LB_CLMM_ERROR__INVALID_ZAP_OUT_PARAMETERS, LB_CLMM_ERROR__LIQUIDITY_LOCKED, LB_CLMM_ERROR__MATH_OVERFLOW, LB_CLMM_ERROR__MINT_RESTRICTED_FROM_ZAP, LB_CLMM_ERROR__MISSING_ORACLE, LB_CLMM_ERROR__MISSING_REMAINING_ACCOUNT_FOR_TRANSFER_HOOK, LB_CLMM_ERROR__MISSING_TOKEN_AMOUNT_AS_TOKEN_LAUNCH_PROOF, LB_CLMM_ERROR__MISSING_ZAP_OUT_INSTRUCTION, LB_CLMM_ERROR__MUST_WITHDRAWN_INELIGIBLE_REWARD, LB_CLMM_ERROR__NON_CONTINUOUS_BIN_ARRAYS, LB_CLMM_ERROR__NON_EMPTY_POSITION, LB_CLMM_ERROR__NON_PRESET_BIN_STEP, LB_CLMM_ERROR__NOT_EXACT_AMOUNT_OUT, LB_CLMM_ERROR__NOT_SUPPORT_AT_THE_MOMENT, LB_CLMM_ERROR__NOT_SUPPORT_MINT, LB_CLMM_ERROR__NO_TRANSFER_HOOK_PROGRAM, LB_CLMM_ERROR__OPERATORS_ARE_THE_SAME, LB_CLMM_ERROR__PAIR_INSUFFICIENT_LIQUIDITY, LB_CLMM_ERROR__POOL_DISABLED, LB_CLMM_ERROR__REALLOC_EXCEED_MAX_LENGTH_PER_INSTRUCTION, LB_CLMM_ERROR__REWARD_CAMPAIGN_IN_PROGRESS, LB_CLMM_ERROR__REWARD_INITIALIZED, LB_CLMM_ERROR__REWARD_NOT_ENDED, LB_CLMM_ERROR__REWARD_UNINITIALIZED, LB_CLMM_ERROR__TYPE_CAST_FAILED, LB_CLMM_ERROR__UNAUTHORIZED_ACCESS, LB_CLMM_ERROR__UNAUTHORIZED_ADDRESS, LB_CLMM_ERROR__UNDETERMINED_ERROR, LB_CLMM_ERROR__UNMATCH_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORTED_MINT_EXTENSION, LB_CLMM_ERROR__UNSUPPORTED_TOKEN_MINT, LB_CLMM_ERROR__UNSUPPORT_NATIVE_MINT_TOKEN2022, LB_CLMM_ERROR__WITHDRAW_TO_WRONG_TOKEN_ACCOUNT, LB_CLMM_ERROR__WRONG_RENT_RECEIVER, LB_CLMM_ERROR__ZERO_FUNDED_AMOUNT, LB_CLMM_ERROR__ZERO_LIQUIDITY, LB_CLMM_PROGRAM_ADDRESS, LB_PAIR_DISCRIMINATOR, LIMIT_ORDER_DISCRIMINATOR, LbClmmAccount, type LbClmmError, LbClmmInstruction, type LbPair, type LbPairArgs, type LbPairFilter, type LimitOrder, type LimitOrderArgs, type LimitOrderBinData, type LimitOrderBinDataArgs, type LiquidityParameter, type LiquidityParameterArgs, type LiquidityParameterByStrategy, type LiquidityParameterByStrategyArgs, type LiquidityParameterByWeight, type LiquidityParameterByWeightArgs, MAX_BIN_ID, MAX_BIN_PER_ARRAY, MAX_BIN_STEP, MAX_RESIZE_LENGTH, MIN_BIN_ID, NUM_REWARDS, ONE_Q64, OPERATOR_DISCRIMINATOR, ORACLE_DISCRIMINATOR, type Operator, type OperatorArgs, type OperatorSeeds, type Oracle, type OracleArgs, type OracleSeeds, PLACE_LIMIT_ORDER_DISCRIMINATOR, POSITION_MAX_LENGTH, POSITION_V2_DISCRIMINATOR, PRESET_PARAMETER2_DISCRIMINATOR, PRESET_PARAMETER2_SEED, PRESET_PARAMETER_DISCRIMINATOR, PairStatus, type PairStatusArgs, PairType, type PairTypeArgs, type ParsedAddLiquidity2Instruction, type ParsedAddLiquidityByStrategy2Instruction, type ParsedAddLiquidityByStrategyInstruction, type ParsedAddLiquidityByStrategyOneSideInstruction, type ParsedAddLiquidityByWeight2Instruction, type ParsedAddLiquidityByWeightInstruction, type ParsedAddLiquidityInstruction, type ParsedAddLiquidityOneSideInstruction, type ParsedAddLiquidityOneSidePrecise2Instruction, type ParsedAddLiquidityOneSidePreciseInstruction, type ParsedCancelLimitOrderInstruction, type ParsedClaimFee2Instruction, type ParsedClaimFeeInstruction, type ParsedClaimReward2Instruction, type ParsedClaimRewardInstruction, type ParsedCloseBinArrayInstruction, type ParsedCloseClaimFeeOperatorAccountInstruction, type ParsedCloseLimitOrderIfEmptyInstruction, type ParsedCloseOperatorAccountInstruction, type ParsedClosePosition2Instruction, type ParsedClosePositionIfEmptyInstruction, type ParsedClosePositionInstruction, type ParsedClosePresetParameter2Instruction, type ParsedClosePresetParameterInstruction, type ParsedCloseTokenBadgeInstruction, type ParsedCreateOperatorAccountInstruction, type ParsedDecreasePositionLengthInstruction, type ParsedForIdlTypeGenerationDoNotCallInstruction, type ParsedFundRewardInstruction, type ParsedGoToABinInstruction, type ParsedIncreaseOracleLengthInstruction, type ParsedIncreasePositionLength2Instruction, type ParsedIncreasePositionLengthInstruction, type ParsedInitializeBinArrayBitmapExtensionInstruction, type ParsedInitializeBinArrayInstruction, type ParsedInitializeCustomizablePermissionlessLbPair2Instruction, type ParsedInitializeCustomizablePermissionlessLbPairInstruction, type ParsedInitializeLbPair2Instruction, type ParsedInitializeLbPairInstruction, type ParsedInitializePermissionLbPairInstruction, type ParsedInitializePosition2Instruction, type ParsedInitializePositionByOperatorInstruction, type ParsedInitializePositionInstruction, type ParsedInitializePositionPdaInstruction, type ParsedInitializePresetParameterInstruction, type ParsedInitializeRewardInstruction, type ParsedInitializeTokenBadgeInstruction, type ParsedLbClmmInstruction, type ParsedPlaceLimitOrderInstruction, type ParsedRebalanceLiquidityInstruction, type ParsedRemoveAllLiquidityInstruction, type ParsedRemoveLiquidity2Instruction, type ParsedRemoveLiquidityByRange2Instruction, type ParsedRemoveLiquidityByRangeInstruction, type ParsedRemoveLiquidityInstruction, type ParsedSetActivationPointInstruction, type ParsedSetPairStatusInstruction, type ParsedSetPairStatusPermissionlessInstruction, type ParsedSetPermissionlessOperationBitsInstruction, type ParsedSetPreActivationDurationInstruction, type ParsedSetPreActivationSwapAddressInstruction, type ParsedSwap2Instruction, type ParsedSwapExactOut2Instruction, type ParsedSwapExactOutInstruction, type ParsedSwapInstruction, type ParsedSwapWithPriceImpact2Instruction, type ParsedSwapWithPriceImpactInstruction, type ParsedUpdateBaseFeeParametersInstruction, type ParsedUpdateDynamicFeeParametersInstruction, type ParsedUpdateFeesAndReward2Instruction, type ParsedUpdateFeesAndRewardsInstruction, type ParsedUpdatePositionOperatorInstruction, type ParsedUpdateRewardDurationInstruction, type ParsedUpdateRewardFunderInstruction, type ParsedWithdrawIneligibleRewardInstruction, type ParsedWithdrawProtocolFeeInstruction, type ParsedZapProtocolFeeInstruction, type PlaceLimitOrderAsyncInput, type PlaceLimitOrderInput, type PlaceLimitOrderInstruction, type PlaceLimitOrderInstructionData, type PlaceLimitOrderInstructionDataArgs, type PlaceLimitOrderParams, type PlaceLimitOrderParamsArgs, type PositionBinData, type PositionBinDataArgs, type PositionSeeds, type PositionV2, type PositionV2Args, type PresetParameter, type PresetParameter2, type PresetParameter2Args, type PresetParameterArgs, type ProtocolFee, type ProtocolFeeArgs, REBALANCE_LIQUIDITY_DISCRIMINATOR, REMOVE_ALL_LIQUIDITY_DISCRIMINATOR, REMOVE_LIQUIDITY2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE2_DISCRIMINATOR, REMOVE_LIQUIDITY_BY_RANGE_DISCRIMINATOR, REMOVE_LIQUIDITY_DISCRIMINATOR, type RebalanceLiquidityAsyncInput, type RebalanceLiquidityInput, type RebalanceLiquidityInstruction, type RebalanceLiquidityInstructionData, type RebalanceLiquidityInstructionDataArgs, type RelativeBin, type RelativeBinArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RemoveAllLiquidityAsyncInput, type RemoveAllLiquidityInput, type RemoveAllLiquidityInstruction, type RemoveAllLiquidityInstructionData, type RemoveAllLiquidityInstructionDataArgs, type RemoveLiquidity2AsyncInput, type RemoveLiquidity2Input, type RemoveLiquidity2Instruction, type RemoveLiquidity2InstructionData, type RemoveLiquidity2InstructionDataArgs, type RemoveLiquidityAsyncInput, type RemoveLiquidityByRange2AsyncInput, type RemoveLiquidityByRange2Input, type RemoveLiquidityByRange2Instruction, type RemoveLiquidityByRange2InstructionData, type RemoveLiquidityByRange2InstructionDataArgs, type RemoveLiquidityByRangeAsyncInput, type RemoveLiquidityByRangeInput, type RemoveLiquidityByRangeInstruction, type RemoveLiquidityByRangeInstructionData, type RemoveLiquidityByRangeInstructionDataArgs, type RemoveLiquidityInput, type RemoveLiquidityInstruction, type RemoveLiquidityInstructionData, type RemoveLiquidityInstructionDataArgs, type RemoveLiquidityParams, type RemoveLiquidityParamsArgs, type ReserveXSeeds, type ReserveYSeeds, ResizeSide, type ResizeSideArgs, type RewardInfo, type RewardInfoArgs, type RewardVaultSeeds, Rounding, type RoundingArgs, SET_ACTIVATION_POINT_DISCRIMINATOR, SET_PAIR_STATUS_DISCRIMINATOR, SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR, SET_PERMISSIONLESS_OPERATION_BITS_DISCRIMINATOR, SET_PRE_ACTIVATION_DURATION_DISCRIMINATOR, SET_PRE_ACTIVATION_SWAP_ADDRESS_DISCRIMINATOR, SWAP2_DISCRIMINATOR, SWAP_DISCRIMINATOR, SWAP_EXACT_OUT2_DISCRIMINATOR, SWAP_EXACT_OUT_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT2_DISCRIMINATOR, SWAP_WITH_PRICE_IMPACT_DISCRIMINATOR, type SetActivationPointInput, type SetActivationPointInstruction, type SetActivationPointInstructionData, type SetActivationPointInstructionDataArgs, type SetPairStatusInput, type SetPairStatusInstruction, type SetPairStatusInstructionData, type SetPairStatusInstructionDataArgs, type SetPairStatusPermissionlessInput, type SetPairStatusPermissionlessInstruction, type SetPairStatusPermissionlessInstructionData, type SetPairStatusPermissionlessInstructionDataArgs, type SetPermissionlessOperationBitsAsyncInput, type SetPermissionlessOperationBitsInput, type SetPermissionlessOperationBitsInstruction, type SetPermissionlessOperationBitsInstructionData, type SetPermissionlessOperationBitsInstructionDataArgs, type SetPreActivationDurationInput, type SetPreActivationDurationInstruction, type SetPreActivationDurationInstructionData, type SetPreActivationDurationInstructionDataArgs, type SetPreActivationSwapAddressInput, type SetPreActivationSwapAddressInstruction, type SetPreActivationSwapAddressInstructionData, type SetPreActivationSwapAddressInstructionDataArgs, type StaticParameters, type StaticParametersArgs, type StrategyParameters, type StrategyParametersArgs, StrategyType, type StrategyTypeArgs, type Swap2AsyncInput, type Swap2Input, type Swap2Instruction, type Swap2InstructionData, type Swap2InstructionDataArgs, type SwapAsyncInput, type SwapExactOut2AsyncInput, type SwapExactOut2Input, type SwapExactOut2Instruction, type SwapExactOut2InstructionData, type SwapExactOut2InstructionDataArgs, type SwapExactOutAsyncInput, type SwapExactOutInput, type SwapExactOutInstruction, type SwapExactOutInstructionData, type SwapExactOutInstructionDataArgs, type SwapInput, type SwapInstruction, type SwapInstructionData, type SwapInstructionDataArgs, type SwapWithPriceImpact2AsyncInput, type SwapWithPriceImpact2Input, type SwapWithPriceImpact2Instruction, type SwapWithPriceImpact2InstructionData, type SwapWithPriceImpact2InstructionDataArgs, type SwapWithPriceImpactAsyncInput, type SwapWithPriceImpactInput, type SwapWithPriceImpactInstruction, type SwapWithPriceImpactInstructionData, type SwapWithPriceImpactInstructionDataArgs, TOKEN_BADGE_DISCRIMINATOR, type TokenBadge, type TokenBadgeArgs, type TokenBadgeSeeds, TokenProgramFlags, type TokenProgramFlagsArgs, UPDATE_BASE_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_DYNAMIC_FEE_PARAMETERS_DISCRIMINATOR, UPDATE_FEES_AND_REWARD2_DISCRIMINATOR, UPDATE_FEES_AND_REWARDS_DISCRIMINATOR, UPDATE_POSITION_OPERATOR_DISCRIMINATOR, UPDATE_REWARD_DURATION_DISCRIMINATOR, UPDATE_REWARD_FUNDER_DISCRIMINATOR, type UpdateBaseFeeParametersAsyncInput, type UpdateBaseFeeParametersInput, type UpdateBaseFeeParametersInstruction, type UpdateBaseFeeParametersInstructionData, type UpdateBaseFeeParametersInstructionDataArgs, type UpdateDynamicFeeParametersAsyncInput, type UpdateDynamicFeeParametersInput, type UpdateDynamicFeeParametersInstruction, type UpdateDynamicFeeParametersInstructionData, type UpdateDynamicFeeParametersInstructionDataArgs, type UpdateFeesAndReward2Input, type UpdateFeesAndReward2Instruction, type UpdateFeesAndReward2InstructionData, type UpdateFeesAndReward2InstructionDataArgs, type UpdateFeesAndRewardsInput, type UpdateFeesAndRewardsInstruction, type UpdateFeesAndRewardsInstructionData, type UpdateFeesAndRewardsInstructionDataArgs, type UpdatePositionOperatorAsyncInput, type UpdatePositionOperatorInput, type UpdatePositionOperatorInstruction, type UpdatePositionOperatorInstructionData, type UpdatePositionOperatorInstructionDataArgs, type UpdateRewardDurationAsyncInput, type UpdateRewardDurationInput, type UpdateRewardDurationInstruction, type UpdateRewardDurationInstructionData, type UpdateRewardDurationInstructionDataArgs, type UpdateRewardFunderAsyncInput, type UpdateRewardFunderInput, type UpdateRewardFunderInstruction, type UpdateRewardFunderInstructionData, type UpdateRewardFunderInstructionDataArgs, type UserRewardInfo, type UserRewardInfoArgs, type VariableParameters, type VariableParametersArgs, WITHDRAW_INELIGIBLE_REWARD_DISCRIMINATOR, WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR, type WithdrawIneligibleRewardAsyncInput, type WithdrawIneligibleRewardInput, type WithdrawIneligibleRewardInstruction, type WithdrawIneligibleRewardInstructionData, type WithdrawIneligibleRewardInstructionDataArgs, type WithdrawProtocolFeeInput, type WithdrawProtocolFeeInstruction, type WithdrawProtocolFeeInstructionData, type WithdrawProtocolFeeInstructionDataArgs, ZAP_PROTOCOL_FEE_DISCRIMINATOR, type ZapProtocolFeeInput, type ZapProtocolFeeInstruction, type ZapProtocolFeeInstructionData, type ZapProtocolFeeInstructionDataArgs, accountsType, binArrayIndexToBinIdRange, binIdToBinArrayIndex, binIdToPrice, decodeBinArray, decodeBinArrayBitmapExtension, decodeClaimFeeOperator, decodeDummyZcAccount, decodeLbPair, decodeLimitOrder, decodeOperator, decodeOracle, decodePositionV2, decodePresetParameter, decodePresetParameter2, decodeTokenBadge, fetchAllBinArray, fetchAllBinArrayBitmapExtension, fetchAllClaimFeeOperator, fetchAllDummyZcAccount, fetchAllLbPair, fetchAllLbPairWithFilter, fetchAllLimitOrder, fetchAllMaybeBinArray, fetchAllMaybeBinArrayBitmapExtension, fetchAllMaybeClaimFeeOperator, fetchAllMaybeDummyZcAccount, fetchAllMaybeLbPair, fetchAllMaybeLimitOrder, fetchAllMaybeOperator, fetchAllMaybeOracle, fetchAllMaybePositionV2, fetchAllMaybePresetParameter, fetchAllMaybePresetParameter2, fetchAllMaybeTokenBadge, fetchAllOperator, fetchAllOracle, fetchAllPositionV2, fetchAllPresetParameter, fetchAllPresetParameter2, fetchAllTokenBadge, fetchBinArray, fetchBinArrayBitmapExtension, fetchClaimFeeOperator, fetchDummyZcAccount, fetchLbPair, fetchLimitOrder, fetchMaybeBinArray, fetchMaybeBinArrayBitmapExtension, fetchMaybeClaimFeeOperator, fetchMaybeDummyZcAccount, fetchMaybeLbPair, fetchMaybeLimitOrder, fetchMaybeOperator, fetchMaybeOracle, fetchMaybePositionV2, fetchMaybePresetParameter, fetchMaybePresetParameter2, fetchMaybeTokenBadge, fetchOperator, fetchOracle, fetchPositionV2, fetchPresetParameter, fetchPresetParameter2, fetchTokenBadge, findBinArrayBitmapExtensionPda, findBinArrayPda, findEventAuthorityPda, findLbPairPda, findOperatorPda, findOraclePda, findPositionPda, findPresetParameterPda, findReserveXPda, findReserveYPda, findRewardVaultPda, findTokenBadgePda, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getActivationTypeCodec, getActivationTypeDecoder, getActivationTypeEncoder, getAddLiquidity2DiscriminatorBytes, getAddLiquidity2Instruction, getAddLiquidity2InstructionAsync, getAddLiquidity2InstructionDataCodec, getAddLiquidity2InstructionDataDecoder, getAddLiquidity2InstructionDataEncoder, getAddLiquidityByStrategy2DiscriminatorBytes, getAddLiquidityByStrategy2Instruction, getAddLiquidityByStrategy2InstructionAsync, getAddLiquidityByStrategy2InstructionDataCodec, getAddLiquidityByStrategy2InstructionDataDecoder, getAddLiquidityByStrategy2InstructionDataEncoder, getAddLiquidityByStrategyDiscriminatorBytes, getAddLiquidityByStrategyInstruction, getAddLiquidityByStrategyInstructionAsync, getAddLiquidityByStrategyInstructionDataCodec, getAddLiquidityByStrategyInstructionDataDecoder, getAddLiquidityByStrategyInstructionDataEncoder, getAddLiquidityByStrategyOneSideDiscriminatorBytes, getAddLiquidityByStrategyOneSideInstruction, getAddLiquidityByStrategyOneSideInstructionAsync, getAddLiquidityByStrategyOneSideInstructionDataCodec, getAddLiquidityByStrategyOneSideInstructionDataDecoder, getAddLiquidityByStrategyOneSideInstructionDataEncoder, getAddLiquidityByWeight2DiscriminatorBytes, getAddLiquidityByWeight2Instruction, getAddLiquidityByWeight2InstructionAsync, getAddLiquidityByWeight2InstructionDataCodec, getAddLiquidityByWeight2InstructionDataDecoder, getAddLiquidityByWeight2InstructionDataEncoder, getAddLiquidityByWeightDiscriminatorBytes, getAddLiquidityByWeightInstruction, getAddLiquidityByWeightInstructionAsync, getAddLiquidityByWeightInstructionDataCodec, getAddLiquidityByWeightInstructionDataDecoder, getAddLiquidityByWeightInstructionDataEncoder, getAddLiquidityDiscriminatorBytes, getAddLiquidityInstruction, getAddLiquidityInstructionAsync, getAddLiquidityInstructionDataCodec, getAddLiquidityInstructionDataDecoder, getAddLiquidityInstructionDataEncoder, getAddLiquidityOneSideDiscriminatorBytes, getAddLiquidityOneSideInstruction, getAddLiquidityOneSideInstructionAsync, getAddLiquidityOneSideInstructionDataCodec, getAddLiquidityOneSideInstructionDataDecoder, getAddLiquidityOneSideInstructionDataEncoder, getAddLiquidityOneSidePrecise2DiscriminatorBytes, getAddLiquidityOneSidePrecise2Instruction, getAddLiquidityOneSidePrecise2InstructionAsync, getAddLiquidityOneSidePrecise2InstructionDataCodec, getAddLiquidityOneSidePrecise2InstructionDataDecoder, getAddLiquidityOneSidePrecise2InstructionDataEncoder, getAddLiquidityOneSidePreciseDiscriminatorBytes, getAddLiquidityOneSidePreciseInstruction, getAddLiquidityOneSidePreciseInstructionAsync, getAddLiquidityOneSidePreciseInstructionDataCodec, getAddLiquidityOneSidePreciseInstructionDataDecoder, getAddLiquidityOneSidePreciseInstructionDataEncoder, getAddLiquidityParamsCodec, getAddLiquidityParamsDecoder, getAddLiquidityParamsEncoder, getBinArrayBitmapExtensionCodec, getBinArrayBitmapExtensionDecoder, getBinArrayBitmapExtensionDiscriminatorBytes, getBinArrayBitmapExtensionEncoder, getBinArrayBitmapExtensionSize, getBinArrayCodec, getBinArrayDecoder, getBinArrayDiscriminatorBytes, getBinArrayEncoder, getBinArraySize, getBinCodec, getBinDecoder, getBinEncoder, getBinLimitOrderAmountCodec, getBinLimitOrderAmountDecoder, getBinLimitOrderAmountEncoder, getBinLiquidityDistributionByWeightCodec, getBinLiquidityDistributionByWeightDecoder, getBinLiquidityDistributionByWeightEncoder, getBinLiquidityDistributionCodec, getBinLiquidityDistributionDecoder, getBinLiquidityDistributionEncoder, getBinLiquidityReductionCodec, getBinLiquidityReductionDecoder, getBinLiquidityReductionEncoder, getCancelLimitOrderDiscriminatorBytes, getCancelLimitOrderInstruction, getCancelLimitOrderInstructionAsync, getCancelLimitOrderInstructionDataCodec, getCancelLimitOrderInstructionDataDecoder, getCancelLimitOrderInstructionDataEncoder, getClaimFee2DiscriminatorBytes, getClaimFee2Instruction, getClaimFee2InstructionAsync, getClaimFee2InstructionDataCodec, getClaimFee2InstructionDataDecoder, getClaimFee2InstructionDataEncoder, getClaimFeeDiscriminatorBytes, getClaimFeeInstruction, getClaimFeeInstructionAsync, getClaimFeeInstructionDataCodec, getClaimFeeInstructionDataDecoder, getClaimFeeInstructionDataEncoder, getClaimFeeOperatorCodec, getClaimFeeOperatorDecoder, getClaimFeeOperatorDiscriminatorBytes, getClaimFeeOperatorEncoder, getClaimFeeOperatorSize, getClaimReward2DiscriminatorBytes, getClaimReward2Instruction, getClaimReward2InstructionAsync, getClaimReward2InstructionDataCodec, getClaimReward2InstructionDataDecoder, getClaimReward2InstructionDataEncoder, getClaimRewardDiscriminatorBytes, getClaimRewardInstruction, getClaimRewardInstructionAsync, getClaimRewardInstructionDataCodec, getClaimRewardInstructionDataDecoder, getClaimRewardInstructionDataEncoder, getCloseBinArrayDiscriminatorBytes, getCloseBinArrayInstruction, getCloseBinArrayInstructionDataCodec, getCloseBinArrayInstructionDataDecoder, getCloseBinArrayInstructionDataEncoder, getCloseClaimFeeOperatorAccountDiscriminatorBytes, getCloseClaimFeeOperatorAccountInstruction, getCloseClaimFeeOperatorAccountInstructionDataCodec, getCloseClaimFeeOperatorAccountInstructionDataDecoder, getCloseClaimFeeOperatorAccountInstructionDataEncoder, getCloseLimitOrderIfEmptyDiscriminatorBytes, getCloseLimitOrderIfEmptyInstruction, getCloseLimitOrderIfEmptyInstructionAsync, getCloseLimitOrderIfEmptyInstructionDataCodec, getCloseLimitOrderIfEmptyInstructionDataDecoder, getCloseLimitOrderIfEmptyInstructionDataEncoder, getCloseOperatorAccountDiscriminatorBytes, getCloseOperatorAccountInstruction, getCloseOperatorAccountInstructionDataCodec, getCloseOperatorAccountInstructionDataDecoder, getCloseOperatorAccountInstructionDataEncoder, getClosePosition2DiscriminatorBytes, getClosePosition2Instruction, getClosePosition2InstructionAsync, getClosePosition2InstructionDataCodec, getClosePosition2InstructionDataDecoder, getClosePosition2InstructionDataEncoder, getClosePositionDiscriminatorBytes, getClosePositionIfEmptyDiscriminatorBytes, getClosePositionIfEmptyInstruction, getClosePositionIfEmptyInstructionAsync, getClosePositionIfEmptyInstructionDataCodec, getClosePositionIfEmptyInstructionDataDecoder, getClosePositionIfEmptyInstructionDataEncoder, getClosePositionInstruction, getClosePositionInstructionAsync, getClosePositionInstructionDataCodec, getClosePositionInstructionDataDecoder, getClosePositionInstructionDataEncoder, getClosePresetParameter2DiscriminatorBytes, getClosePresetParameter2Instruction, getClosePresetParameter2InstructionDataCodec, getClosePresetParameter2InstructionDataDecoder, getClosePresetParameter2InstructionDataEncoder, getClosePresetParameterDiscriminatorBytes, getClosePresetParameterInstruction, getClosePresetParameterInstructionDataCodec, getClosePresetParameterInstructionDataDecoder, getClosePresetParameterInstructionDataEncoder, getCloseTokenBadgeDiscriminatorBytes, getCloseTokenBadgeInstruction, getCloseTokenBadgeInstructionDataCodec, getCloseTokenBadgeInstructionDataDecoder, getCloseTokenBadgeInstructionDataEncoder, getCompressedBinDepositAmountCodec, getCompressedBinDepositAmountDecoder, getCompressedBinDepositAmountEncoder, getCreateOperatorAccountDiscriminatorBytes, getCreateOperatorAccountInstruction, getCreateOperatorAccountInstructionAsync, getCreateOperatorAccountInstructionDataCodec, getCreateOperatorAccountInstructionDataDecoder, getCreateOperatorAccountInstructionDataEncoder, getCustomizableParamsCodec, getCustomizableParamsDecoder, getCustomizableParamsEncoder, getDecreasePositionLengthDiscriminatorBytes, getDecreasePositionLengthInstruction, getDecreasePositionLengthInstructionAsync, getDecreasePositionLengthInstructionDataCodec, getDecreasePositionLengthInstructionDataDecoder, getDecreasePositionLengthInstructionDataEncoder, getDummyZcAccountCodec, getDummyZcAccountDecoder, getDummyZcAccountDiscriminatorBytes, getDummyZcAccountEncoder, getDummyZcAccountSize, getFeeInfoCodec, getFeeInfoDecoder, getFeeInfoEncoder, getForIdlTypeGenerationDoNotCallDiscriminatorBytes, getForIdlTypeGenerationDoNotCallInstruction, getForIdlTypeGenerationDoNotCallInstructionDataCodec, getForIdlTypeGenerationDoNotCallInstructionDataDecoder, getForIdlTypeGenerationDoNotCallInstructionDataEncoder, getFundRewardDiscriminatorBytes, getFundRewardInstruction, getFundRewardInstructionAsync, getFundRewardInstructionDataCodec, getFundRewardInstructionDataDecoder, getFundRewardInstructionDataEncoder, getGoToABinDiscriminatorBytes, getGoToABinInstruction, getGoToABinInstructionAsync, getGoToABinInstructionDataCodec, getGoToABinInstructionDataDecoder, getGoToABinInstructionDataEncoder, getIncreaseOracleLengthDiscriminatorBytes, getIncreaseOracleLengthInstruction, getIncreaseOracleLengthInstructionAsync, getIncreaseOracleLengthInstructionDataCodec, getIncreaseOracleLengthInstructionDataDecoder, getIncreaseOracleLengthInstructionDataEncoder, getIncreasePositionLength2DiscriminatorBytes, getIncreasePositionLength2Instruction, getIncreasePositionLength2InstructionAsync, getIncreasePositionLength2InstructionDataCodec, getIncreasePositionLength2InstructionDataDecoder, getIncreasePositionLength2InstructionDataEncoder, getIncreasePositionLengthDiscriminatorBytes, getIncreasePositionLengthInstruction, getIncreasePositionLengthInstructionAsync, getIncreasePositionLengthInstructionDataCodec, getIncreasePositionLengthInstructionDataDecoder, getIncreasePositionLengthInstructionDataEncoder, getInitializeBinArrayBitmapExtensionDiscriminatorBytes, getInitializeBinArrayBitmapExtensionInstruction, getInitializeBinArrayBitmapExtensionInstructionAsync, getInitializeBinArrayBitmapExtensionInstructionDataCodec, getInitializeBinArrayBitmapExtensionInstructionDataDecoder, getInitializeBinArrayBitmapExtensionInstructionDataEncoder, getInitializeBinArrayDiscriminatorBytes, getInitializeBinArrayInstruction, getInitializeBinArrayInstructionAsync, getInitializeBinArrayInstructionDataCodec, getInitializeBinArrayInstructionDataDecoder, getInitializeBinArrayInstructionDataEncoder, getInitializeCustomizablePermissionlessLbPair2DiscriminatorBytes, getInitializeCustomizablePermissionlessLbPair2Instruction, getInitializeCustomizablePermissionlessLbPair2InstructionAsync, getInitializeCustomizablePermissionlessLbPair2InstructionDataCodec, getInitializeCustomizablePermissionlessLbPair2InstructionDataDecoder, getInitializeCustomizablePermissionlessLbPair2InstructionDataEncoder, getInitializeCustomizablePermissionlessLbPairDiscriminatorBytes, getInitializeCustomizablePermissionlessLbPairInstruction, getInitializeCustomizablePermissionlessLbPairInstructionAsync, getInitializeCustomizablePermissionlessLbPairInstructionDataCodec, getInitializeCustomizablePermissionlessLbPairInstructionDataDecoder, getInitializeCustomizablePermissionlessLbPairInstructionDataEncoder, getInitializeLbPair2DiscriminatorBytes, getInitializeLbPair2Instruction, getInitializeLbPair2InstructionAsync, getInitializeLbPair2InstructionDataCodec, getInitializeLbPair2InstructionDataDecoder, getInitializeLbPair2InstructionDataEncoder, getInitializeLbPairDiscriminatorBytes, getInitializeLbPairInstruction, getInitializeLbPairInstructionAsync, getInitializeLbPairInstructionDataCodec, getInitializeLbPairInstructionDataDecoder, getInitializeLbPairInstructionDataEncoder, getInitializePermissionLbPairDiscriminatorBytes, getInitializePermissionLbPairInstruction, getInitializePermissionLbPairInstructionAsync, getInitializePermissionLbPairInstructionDataCodec, getInitializePermissionLbPairInstructionDataDecoder, getInitializePermissionLbPairInstructionDataEncoder, getInitializePosition2DiscriminatorBytes, getInitializePosition2Instruction, getInitializePosition2InstructionAsync, getInitializePosition2InstructionDataCodec, getInitializePosition2InstructionDataDecoder, getInitializePosition2InstructionDataEncoder, getInitializePositionByOperatorDiscriminatorBytes, getInitializePositionByOperatorInstruction, getInitializePositionByOperatorInstructionAsync, getInitializePositionByOperatorInstructionDataCodec, getInitializePositionByOperatorInstructionDataDecoder, getInitializePositionByOperatorInstructionDataEncoder, getInitializePositionDiscriminatorBytes, getInitializePositionInstruction, getInitializePositionInstructionAsync, getInitializePositionInstructionDataCodec, getInitializePositionInstructionDataDecoder, getInitializePositionInstructionDataEncoder, getInitializePositionPdaDiscriminatorBytes, getInitializePositionPdaInstruction, getInitializePositionPdaInstructionAsync, getInitializePositionPdaInstructionDataCodec, getInitializePositionPdaInstructionDataDecoder, getInitializePositionPdaInstructionDataEncoder, getInitializePresetParameterDiscriminatorBytes, getInitializePresetParameterInstruction, getInitializePresetParameterInstructionDataCodec, getInitializePresetParameterInstructionDataDecoder, getInitializePresetParameterInstructionDataEncoder, getInitializeRewardDiscriminatorBytes, getInitializeRewardInstruction, getInitializeRewardInstructionAsync, getInitializeRewardInstructionDataCodec, getInitializeRewardInstructionDataDecoder, getInitializeRewardInstructionDataEncoder, getInitializeTokenBadgeDiscriminatorBytes, getInitializeTokenBadgeInstruction, getInitializeTokenBadgeInstructionAsync, getInitializeTokenBadgeInstructionDataCodec, getInitializeTokenBadgeInstructionDataDecoder, getInitializeTokenBadgeInstructionDataEncoder, getLbClmmErrorMessage, getLbPairCodec, getLbPairDecoder, getLbPairDiscriminatorBytes, getLbPairEncoder, getLbPairSize, getLimitOrderBinDataCodec, getLimitOrderBinDataDecoder, getLimitOrderBinDataEncoder, getLimitOrderCodec, getLimitOrderDecoder, getLimitOrderDiscriminatorBytes, getLimitOrderEncoder, getLimitOrderSize, getLiquidityParameterByStrategyCodec, getLiquidityParameterByStrategyDecoder, getLiquidityParameterByStrategyEncoder, getLiquidityParameterByWeightCodec, getLiquidityParameterByWeightDecoder, getLiquidityParameterByWeightEncoder, getLiquidityParameterCodec, getLiquidityParameterDecoder, getLiquidityParameterEncoder, getOperatorCodec, getOperatorDecoder, getOperatorDiscriminatorBytes, getOperatorEncoder, getOperatorSize, getOracleCodec, getOracleDecoder, getOracleDiscriminatorBytes, getOracleEncoder, getOracleSize, getPairStatusCodec, getPairStatusDecoder, getPairStatusEncoder, getPairTypeCodec, getPairTypeDecoder, getPairTypeEncoder, getPlaceLimitOrderDiscriminatorBytes, getPlaceLimitOrderInstruction, getPlaceLimitOrderInstructionAsync, getPlaceLimitOrderInstructionDataCodec, getPlaceLimitOrderInstructionDataDecoder, getPlaceLimitOrderInstructionDataEncoder, getPlaceLimitOrderParamsCodec, getPlaceLimitOrderParamsDecoder, getPlaceLimitOrderParamsEncoder, getPositionBinDataCodec, getPositionBinDataDecoder, getPositionBinDataEncoder, getPositionV2Codec, getPositionV2Decoder, getPositionV2DiscriminatorBytes, getPositionV2Encoder, getPositionV2Size, getPresetParameter2Codec, getPresetParameter2Decoder, getPresetParameter2DiscriminatorBytes, getPresetParameter2Encoder, getPresetParameter2Size, getPresetParameterCodec, getPresetParameterDecoder, getPresetParameterDiscriminatorBytes, getPresetParameterEncoder, getPresetParameterSize, getProtocolFeeCodec, getProtocolFeeDecoder, getProtocolFeeEncoder, getRebalanceLiquidityDiscriminatorBytes, getRebalanceLiquidityInstruction, getRebalanceLiquidityInstructionAsync, getRebalanceLiquidityInstructionDataCodec, getRebalanceLiquidityInstructionDataDecoder, getRebalanceLiquidityInstructionDataEncoder, getRelativeBinCodec, getRelativeBinDecoder, getRelativeBinEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveAllLiquidityDiscriminatorBytes, getRemoveAllLiquidityInstruction, getRemoveAllLiquidityInstructionAsync, getRemoveAllLiquidityInstructionDataCodec, getRemoveAllLiquidityInstructionDataDecoder, getRemoveAllLiquidityInstructionDataEncoder, getRemoveLiquidity2DiscriminatorBytes, getRemoveLiquidity2Instruction, getRemoveLiquidity2InstructionAsync, getRemoveLiquidity2InstructionDataCodec, getRemoveLiquidity2InstructionDataDecoder, getRemoveLiquidity2InstructionDataEncoder, getRemoveLiquidityByRange2DiscriminatorBytes, getRemoveLiquidityByRange2Instruction, getRemoveLiquidityByRange2InstructionAsync, getRemoveLiquidityByRange2InstructionDataCodec, getRemoveLiquidityByRange2InstructionDataDecoder, getRemoveLiquidityByRange2InstructionDataEncoder, getRemoveLiquidityByRangeDiscriminatorBytes, getRemoveLiquidityByRangeInstruction, getRemoveLiquidityByRangeInstructionAsync, getRemoveLiquidityByRangeInstructionDataCodec, getRemoveLiquidityByRangeInstructionDataDecoder, getRemoveLiquidityByRangeInstructionDataEncoder, getRemoveLiquidityDiscriminatorBytes, getRemoveLiquidityInstruction, getRemoveLiquidityInstructionAsync, getRemoveLiquidityInstructionDataCodec, getRemoveLiquidityInstructionDataDecoder, getRemoveLiquidityInstructionDataEncoder, getRemoveLiquidityParamsCodec, getRemoveLiquidityParamsDecoder, getRemoveLiquidityParamsEncoder, getResizeSideCodec, getResizeSideDecoder, getResizeSideEncoder, getRewardInfoCodec, getRewardInfoDecoder, getRewardInfoEncoder, getRoundingCodec, getRoundingDecoder, getRoundingEncoder, getSetActivationPointDiscriminatorBytes, getSetActivationPointInstruction, getSetActivationPointInstructionDataCodec, getSetActivationPointInstructionDataDecoder, getSetActivationPointInstructionDataEncoder, getSetPairStatusDiscriminatorBytes, getSetPairStatusInstruction, getSetPairStatusInstructionDataCodec, getSetPairStatusInstructionDataDecoder, getSetPairStatusInstructionDataEncoder, getSetPairStatusPermissionlessDiscriminatorBytes, getSetPairStatusPermissionlessInstruction, getSetPairStatusPermissionlessInstructionDataCodec, getSetPairStatusPermissionlessInstructionDataDecoder, getSetPairStatusPermissionlessInstructionDataEncoder, getSetPermissionlessOperationBitsDiscriminatorBytes, getSetPermissionlessOperationBitsInstruction, getSetPermissionlessOperationBitsInstructionAsync, getSetPermissionlessOperationBitsInstructionDataCodec, getSetPermissionlessOperationBitsInstructionDataDecoder, getSetPermissionlessOperationBitsInstructionDataEncoder, getSetPreActivationDurationDiscriminatorBytes, getSetPreActivationDurationInstruction, getSetPreActivationDurationInstructionDataCodec, getSetPreActivationDurationInstructionDataDecoder, getSetPreActivationDurationInstructionDataEncoder, getSetPreActivationSwapAddressDiscriminatorBytes, getSetPreActivationSwapAddressInstruction, getSetPreActivationSwapAddressInstructionDataCodec, getSetPreActivationSwapAddressInstructionDataDecoder, getSetPreActivationSwapAddressInstructionDataEncoder, getStaticParametersCodec, getStaticParametersDecoder, getStaticParametersEncoder, getStrategyParametersCodec, getStrategyParametersDecoder, getStrategyParametersEncoder, getStrategyTypeCodec, getStrategyTypeDecoder, getStrategyTypeEncoder, getSwap2DiscriminatorBytes, getSwap2Instruction, getSwap2InstructionAsync, getSwap2InstructionDataCodec, getSwap2InstructionDataDecoder, getSwap2InstructionDataEncoder, getSwapDiscriminatorBytes, getSwapExactOut2DiscriminatorBytes, getSwapExactOut2Instruction, getSwapExactOut2InstructionAsync, getSwapExactOut2InstructionDataCodec, getSwapExactOut2InstructionDataDecoder, getSwapExactOut2InstructionDataEncoder, getSwapExactOutDiscriminatorBytes, getSwapExactOutInstruction, getSwapExactOutInstructionAsync, getSwapExactOutInstructionDataCodec, getSwapExactOutInstructionDataDecoder, getSwapExactOutInstructionDataEncoder, getSwapInstruction, getSwapInstructionAsync, getSwapInstructionDataCodec, getSwapInstructionDataDecoder, getSwapInstructionDataEncoder, getSwapWithPriceImpact2DiscriminatorBytes, getSwapWithPriceImpact2Instruction, getSwapWithPriceImpact2InstructionAsync, getSwapWithPriceImpact2InstructionDataCodec, getSwapWithPriceImpact2InstructionDataDecoder, getSwapWithPriceImpact2InstructionDataEncoder, getSwapWithPriceImpactDiscriminatorBytes, getSwapWithPriceImpactInstruction, getSwapWithPriceImpactInstructionAsync, getSwapWithPriceImpactInstructionDataCodec, getSwapWithPriceImpactInstructionDataDecoder, getSwapWithPriceImpactInstructionDataEncoder, getTokenBadgeCodec, getTokenBadgeDecoder, getTokenBadgeDiscriminatorBytes, getTokenBadgeEncoder, getTokenBadgeSize, getTokenProgramFlagsCodec, getTokenProgramFlagsDecoder, getTokenProgramFlagsEncoder, getUpdateBaseFeeParametersDiscriminatorBytes, getUpdateBaseFeeParametersInstruction, getUpdateBaseFeeParametersInstructionAsync, getUpdateBaseFeeParametersInstructionDataCodec, getUpdateBaseFeeParametersInstructionDataDecoder, getUpdateBaseFeeParametersInstructionDataEncoder, getUpdateDynamicFeeParametersDiscriminatorBytes, getUpdateDynamicFeeParametersInstruction, getUpdateDynamicFeeParametersInstructionAsync, getUpdateDynamicFeeParametersInstructionDataCodec, getUpdateDynamicFeeParametersInstructionDataDecoder, getUpdateDynamicFeeParametersInstructionDataEncoder, getUpdateFeesAndReward2DiscriminatorBytes, getUpdateFeesAndReward2Instruction, getUpdateFeesAndReward2InstructionDataCodec, getUpdateFeesAndReward2InstructionDataDecoder, getUpdateFeesAndReward2InstructionDataEncoder, getUpdateFeesAndRewardsDiscriminatorBytes, getUpdateFeesAndRewardsInstruction, getUpdateFeesAndRewardsInstructionDataCodec, getUpdateFeesAndRewardsInstructionDataDecoder, getUpdateFeesAndRewardsInstructionDataEncoder, getUpdatePositionOperatorDiscriminatorBytes, getUpdatePositionOperatorInstruction, getUpdatePositionOperatorInstructionAsync, getUpdatePositionOperatorInstructionDataCodec, getUpdatePositionOperatorInstructionDataDecoder, getUpdatePositionOperatorInstructionDataEncoder, getUpdateRewardDurationDiscriminatorBytes, getUpdateRewardDurationInstruction, getUpdateRewardDurationInstructionAsync, getUpdateRewardDurationInstructionDataCodec, getUpdateRewardDurationInstructionDataDecoder, getUpdateRewardDurationInstructionDataEncoder, getUpdateRewardFunderDiscriminatorBytes, getUpdateRewardFunderInstruction, getUpdateRewardFunderInstructionAsync, getUpdateRewardFunderInstructionDataCodec, getUpdateRewardFunderInstructionDataDecoder, getUpdateRewardFunderInstructionDataEncoder, getUserRewardInfoCodec, getUserRewardInfoDecoder, getUserRewardInfoEncoder, getVariableParametersCodec, getVariableParametersDecoder, getVariableParametersEncoder, getWithdrawIneligibleRewardDiscriminatorBytes, getWithdrawIneligibleRewardInstruction, getWithdrawIneligibleRewardInstructionAsync, getWithdrawIneligibleRewardInstructionDataCodec, getWithdrawIneligibleRewardInstructionDataDecoder, getWithdrawIneligibleRewardInstructionDataEncoder, getWithdrawProtocolFeeDiscriminatorBytes, getWithdrawProtocolFeeInstruction, getWithdrawProtocolFeeInstructionDataCodec, getWithdrawProtocolFeeInstructionDataDecoder, getWithdrawProtocolFeeInstructionDataEncoder, getZapProtocolFeeDiscriminatorBytes, getZapProtocolFeeInstruction, getZapProtocolFeeInstructionDataCodec, getZapProtocolFeeInstructionDataDecoder, getZapProtocolFeeInstructionDataEncoder, identifyLbClmmAccount, identifyLbClmmInstruction, isAccountsType, isLbClmmError, lbPairTokenXMintFilter, lbPairTokenYMintFilter, parseAddLiquidity2Instruction, parseAddLiquidityByStrategy2Instruction, parseAddLiquidityByStrategyInstruction, parseAddLiquidityByStrategyOneSideInstruction, parseAddLiquidityByWeight2Instruction, parseAddLiquidityByWeightInstruction, parseAddLiquidityInstruction, parseAddLiquidityOneSideInstruction, parseAddLiquidityOneSidePrecise2Instruction, parseAddLiquidityOneSidePreciseInstruction, parseCancelLimitOrderInstruction, parseClaimFee2Instruction, parseClaimFeeInstruction, parseClaimReward2Instruction, parseClaimRewardInstruction, parseCloseBinArrayInstruction, parseCloseClaimFeeOperatorAccountInstruction, parseCloseLimitOrderIfEmptyInstruction, parseCloseOperatorAccountInstruction, parseClosePosition2Instruction, parseClosePositionIfEmptyInstruction, parseClosePositionInstruction, parseClosePresetParameter2Instruction, parseClosePresetParameterInstruction, parseCloseTokenBadgeInstruction, parseCreateOperatorAccountInstruction, parseDecreasePositionLengthInstruction, parseForIdlTypeGenerationDoNotCallInstruction, parseFundRewardInstruction, parseGoToABinInstruction, parseIncreaseOracleLengthInstruction, parseIncreasePositionLength2Instruction, parseIncreasePositionLengthInstruction, parseInitializeBinArrayBitmapExtensionInstruction, parseInitializeBinArrayInstruction, parseInitializeCustomizablePermissionlessLbPair2Instruction, parseInitializeCustomizablePermissionlessLbPairInstruction, parseInitializeLbPair2Instruction, parseInitializeLbPairInstruction, parseInitializePermissionLbPairInstruction, parseInitializePosition2Instruction, parseInitializePositionByOperatorInstruction, parseInitializePositionInstruction, parseInitializePositionPdaInstruction, parseInitializePresetParameterInstruction, parseInitializeRewardInstruction, parseInitializeTokenBadgeInstruction, parseLbClmmInstruction, parsePlaceLimitOrderInstruction, parseRebalanceLiquidityInstruction, parseRemoveAllLiquidityInstruction, parseRemoveLiquidity2Instruction, parseRemoveLiquidityByRange2Instruction, parseRemoveLiquidityByRangeInstruction, parseRemoveLiquidityInstruction, parseSetActivationPointInstruction, parseSetPairStatusInstruction, parseSetPairStatusPermissionlessInstruction, parseSetPermissionlessOperationBitsInstruction, parseSetPreActivationDurationInstruction, parseSetPreActivationSwapAddressInstruction, parseSwap2Instruction, parseSwapExactOut2Instruction, parseSwapExactOutInstruction, parseSwapInstruction, parseSwapWithPriceImpact2Instruction, parseSwapWithPriceImpactInstruction, parseUpdateBaseFeeParametersInstruction, parseUpdateDynamicFeeParametersInstruction, parseUpdateFeesAndReward2Instruction, parseUpdateFeesAndRewardsInstruction, parseUpdatePositionOperatorInstruction, parseUpdateRewardDurationInstruction, parseUpdateRewardFunderInstruction, parseWithdrawIneligibleRewardInstruction, parseWithdrawProtocolFeeInstruction, parseZapProtocolFeeInstruction, priceToBinId };
package/dist/index.js CHANGED
@@ -190,11 +190,15 @@ __export(index_exports, {
190
190
  LbClmmInstruction: () => LbClmmInstruction,
191
191
  MAX_BIN_ID: () => MAX_BIN_ID,
192
192
  MAX_BIN_PER_ARRAY: () => MAX_BIN_PER_ARRAY,
193
+ MAX_BIN_STEP: () => MAX_BIN_STEP,
194
+ MAX_RESIZE_LENGTH: () => MAX_RESIZE_LENGTH,
193
195
  MIN_BIN_ID: () => MIN_BIN_ID,
196
+ NUM_REWARDS: () => NUM_REWARDS,
194
197
  ONE_Q64: () => ONE_Q64,
195
198
  OPERATOR_DISCRIMINATOR: () => OPERATOR_DISCRIMINATOR,
196
199
  ORACLE_DISCRIMINATOR: () => ORACLE_DISCRIMINATOR,
197
200
  PLACE_LIMIT_ORDER_DISCRIMINATOR: () => PLACE_LIMIT_ORDER_DISCRIMINATOR,
201
+ POSITION_MAX_LENGTH: () => POSITION_MAX_LENGTH,
198
202
  POSITION_V2_DISCRIMINATOR: () => POSITION_V2_DISCRIMINATOR,
199
203
  PRESET_PARAMETER2_DISCRIMINATOR: () => PRESET_PARAMETER2_DISCRIMINATOR,
200
204
  PRESET_PARAMETER2_SEED: () => PRESET_PARAMETER2_SEED,
@@ -255,6 +259,7 @@ __export(index_exports, {
255
259
  fetchAllClaimFeeOperator: () => fetchAllClaimFeeOperator,
256
260
  fetchAllDummyZcAccount: () => fetchAllDummyZcAccount,
257
261
  fetchAllLbPair: () => fetchAllLbPair,
262
+ fetchAllLbPairWithFilter: () => fetchAllLbPairWithFilter,
258
263
  fetchAllLimitOrder: () => fetchAllLimitOrder,
259
264
  fetchAllMaybeBinArray: () => fetchAllMaybeBinArray,
260
265
  fetchAllMaybeBinArrayBitmapExtension: () => fetchAllMaybeBinArrayBitmapExtension,
@@ -536,7 +541,6 @@ __export(index_exports, {
536
541
  getGoToABinInstructionDataCodec: () => getGoToABinInstructionDataCodec,
537
542
  getGoToABinInstructionDataDecoder: () => getGoToABinInstructionDataDecoder,
538
543
  getGoToABinInstructionDataEncoder: () => getGoToABinInstructionDataEncoder,
539
- getIdFromPrice: () => getIdFromPrice,
540
544
  getIncreaseOracleLengthDiscriminatorBytes: () => getIncreaseOracleLengthDiscriminatorBytes,
541
545
  getIncreaseOracleLengthInstruction: () => getIncreaseOracleLengthInstruction,
542
546
  getIncreaseOracleLengthInstructionAsync: () => getIncreaseOracleLengthInstructionAsync,
@@ -704,7 +708,6 @@ __export(index_exports, {
704
708
  getPresetParameterDiscriminatorBytes: () => getPresetParameterDiscriminatorBytes,
705
709
  getPresetParameterEncoder: () => getPresetParameterEncoder,
706
710
  getPresetParameterSize: () => getPresetParameterSize,
707
- getPriceFromId: () => getPriceFromId,
708
711
  getProtocolFeeCodec: () => getProtocolFeeCodec,
709
712
  getProtocolFeeDecoder: () => getProtocolFeeDecoder,
710
713
  getProtocolFeeEncoder: () => getProtocolFeeEncoder,
@@ -915,6 +918,8 @@ __export(index_exports, {
915
918
  identifyLbClmmInstruction: () => identifyLbClmmInstruction,
916
919
  isAccountsType: () => isAccountsType,
917
920
  isLbClmmError: () => isLbClmmError,
921
+ lbPairTokenXMintFilter: () => lbPairTokenXMintFilter,
922
+ lbPairTokenYMintFilter: () => lbPairTokenYMintFilter,
918
923
  parseAddLiquidity2Instruction: () => parseAddLiquidity2Instruction,
919
924
  parseAddLiquidityByStrategy2Instruction: () => parseAddLiquidityByStrategy2Instruction,
920
925
  parseAddLiquidityByStrategyInstruction: () => parseAddLiquidityByStrategyInstruction,
@@ -992,10 +997,7 @@ __export(index_exports, {
992
997
  parseWithdrawIneligibleRewardInstruction: () => parseWithdrawIneligibleRewardInstruction,
993
998
  parseWithdrawProtocolFeeInstruction: () => parseWithdrawProtocolFeeInstruction,
994
999
  parseZapProtocolFeeInstruction: () => parseZapProtocolFeeInstruction,
995
- powQ64: () => powQ64,
996
- priceQ64ToPrice: () => priceQ64ToPrice,
997
- priceToBinId: () => priceToBinId,
998
- priceToPriceQ64: () => priceToPriceQ64
1000
+ priceToBinId: () => priceToBinId
999
1001
  });
1000
1002
  module.exports = __toCommonJS(index_exports);
1001
1003
 
@@ -15982,94 +15984,78 @@ async function findPresetParameterPda(seeds, config = {}) {
15982
15984
  });
15983
15985
  }
15984
15986
 
15987
+ // src/gpa/lbPair.ts
15988
+ var import_kit137 = require("@solana/kit");
15989
+
15990
+ // src/gpa/utils.ts
15991
+ var import_kit136 = require("@solana/kit");
15992
+ async function fetchDecodedProgramAccounts(rpc, filters, decoder, programAddress = LB_CLMM_PROGRAM_ADDRESS) {
15993
+ const accountInfos = await rpc.getProgramAccounts(programAddress, {
15994
+ encoding: "base64",
15995
+ filters
15996
+ }).send();
15997
+ const encoder = (0, import_kit136.getBase64Encoder)();
15998
+ return accountInfos.map((accountInfo) => {
15999
+ const [base64Data, _encoding] = accountInfo.account.data;
16000
+ return {
16001
+ ...accountInfo.account,
16002
+ address: accountInfo.pubkey,
16003
+ programAddress,
16004
+ data: decoder.decode(encoder.encode(base64Data))
16005
+ };
16006
+ });
16007
+ }
16008
+
16009
+ // src/gpa/lbPair.ts
16010
+ function lbPairTokenXMintFilter(tokenXMint) {
16011
+ return {
16012
+ memcmp: {
16013
+ offset: 88n,
16014
+ bytes: (0, import_kit137.getBase58Decoder)().decode((0, import_kit137.getAddressEncoder)().encode(tokenXMint)),
16015
+ encoding: "base58"
16016
+ }
16017
+ };
16018
+ }
16019
+ function lbPairTokenYMintFilter(tokenYMint) {
16020
+ return {
16021
+ memcmp: {
16022
+ offset: 120n,
16023
+ bytes: (0, import_kit137.getBase58Decoder)().decode((0, import_kit137.getAddressEncoder)().encode(tokenYMint)),
16024
+ encoding: "base58"
16025
+ }
16026
+ };
16027
+ }
16028
+ async function fetchAllLbPairWithFilter(rpc, filters, programAddress) {
16029
+ const discriminator = (0, import_kit137.getBase58Decoder)().decode(LB_PAIR_DISCRIMINATOR);
16030
+ const discriminatorFilter = {
16031
+ memcmp: {
16032
+ offset: 0n,
16033
+ bytes: discriminator,
16034
+ encoding: "base58"
16035
+ }
16036
+ };
16037
+ return fetchDecodedProgramAccounts(rpc, [discriminatorFilter, ...filters], getLbPairDecoder(), programAddress);
16038
+ }
16039
+
15985
16040
  // src/math.ts
15986
16041
  var MAX_BIN_PER_ARRAY = 70;
15987
16042
  var BASIS_POINT_MAX = 1e4;
16043
+ var MAX_RESIZE_LENGTH = 70;
16044
+ var POSITION_MAX_LENGTH = 1400;
16045
+ var NUM_REWARDS = 2;
16046
+ var MAX_BIN_STEP = 400;
15988
16047
  var MIN_BIN_ID = -443636;
15989
16048
  var MAX_BIN_ID = 443636;
15990
16049
  var ONE_Q64 = 1n << 64n;
15991
- var U128_MAX = (1n << 128n) - 1n;
15992
- var MAX_EXPONENTIAL = 524288;
15993
- function checkedMul(a, b) {
15994
- const product = a * b;
15995
- if (product > U128_MAX) return null;
15996
- return product;
15997
- }
15998
- function powQ64(base, exp) {
15999
- let invert = exp < 0;
16000
- if (exp === 0) return ONE_Q64;
16001
- const e = invert ? -exp : exp;
16002
- if (e >= MAX_EXPONENTIAL) return null;
16003
- let squaredBase = base;
16004
- let result = ONE_Q64;
16005
- if (squaredBase >= result) {
16006
- squaredBase = U128_MAX / squaredBase;
16007
- invert = !invert;
16008
- }
16009
- for (let bit = 0; bit < 19; bit++) {
16010
- if ((e & 1 << bit) !== 0) {
16011
- const m = checkedMul(result, squaredBase);
16012
- if (m === null) return null;
16013
- result = m >> 64n;
16014
- }
16015
- if (bit < 18) {
16016
- const sq = checkedMul(squaredBase, squaredBase);
16017
- if (sq === null) return null;
16018
- squaredBase = sq >> 64n;
16019
- }
16020
- }
16021
- if (result === 0n) return null;
16022
- if (invert) result = U128_MAX / result;
16023
- return result;
16024
- }
16025
- function getPriceFromId(binId, binStep) {
16026
- const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16027
- const base = ONE_Q64 + bps;
16028
- const result = powQ64(base, binId);
16029
- if (result === null) {
16030
- throw new Error(`getPriceFromId overflow: binId=${binId}, binStep=${binStep}`);
16031
- }
16032
- return result;
16033
- }
16034
- function getIdFromPrice(priceQ64, binStep) {
16035
- if (priceQ64 <= 0n) return MIN_BIN_ID;
16036
- const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16037
- const base = ONE_Q64 + bps;
16038
- let lo = MIN_BIN_ID;
16039
- let hi = MAX_BIN_ID;
16040
- while (lo < hi) {
16041
- const mid = lo + Math.ceil((hi - lo) / 2);
16042
- const p = powQ64(base, mid);
16043
- if (p === null) {
16044
- if (mid > 0) hi = mid - 1;
16045
- else lo = mid;
16046
- } else if (p > priceQ64) {
16047
- hi = mid - 1;
16048
- } else {
16049
- lo = mid;
16050
- }
16051
- }
16052
- return lo;
16053
- }
16054
- var PRICE_PRECISION = 18;
16055
- var PRICE_SCALE = 10n ** BigInt(PRICE_PRECISION);
16056
- function priceToPriceQ64(price, decimalsX, decimalsY) {
16057
- if (price <= 0) {
16058
- throw new Error(`priceF64ToQ64 requires a positive price, got ${price}`);
16059
- }
16060
- const scaled = BigInt(Math.round(price * Number(PRICE_SCALE)));
16061
- return scaled * 10n ** BigInt(decimalsX) * ONE_Q64 / (10n ** BigInt(decimalsY) * PRICE_SCALE);
16062
- }
16063
- function priceQ64ToPrice(priceQ64, decimalsX, decimalsY) {
16064
- const numerator = priceQ64 * 10n ** BigInt(decimalsY) * PRICE_SCALE;
16065
- const denominator = ONE_Q64 * 10n ** BigInt(decimalsX);
16066
- return Number(numerator / denominator) / Number(PRICE_SCALE);
16067
- }
16068
- function priceToBinId(price, binStep, decimalsX, decimalsY) {
16069
- return getIdFromPrice(priceToPriceQ64(price, decimalsX, decimalsY), binStep);
16050
+ function priceToBinId(price, binStep, min, decimalsX, decimalsY) {
16051
+ const poolPrice = Number(price) * 10 ** ((decimalsY ?? 0) - (decimalsX ?? 0));
16052
+ const step = binStep / BASIS_POINT_MAX;
16053
+ const binId = Math.log(poolPrice) / Math.log(1 + step);
16054
+ return min ? Math.floor(binId) : Math.ceil(binId);
16070
16055
  }
16071
16056
  function binIdToPrice(binId, binStep, decimalsX, decimalsY) {
16072
- return priceQ64ToPrice(getPriceFromId(binId, binStep), decimalsX, decimalsY);
16057
+ const poolPrice = (1 + binStep / BASIS_POINT_MAX) ** binId;
16058
+ return poolPrice / 10 ** ((decimalsY ?? 0) - (decimalsX ?? 0));
16073
16059
  }
16074
16060
  function binIdToBinArrayIndex(binId) {
16075
16061
  return BigInt(Math.floor(binId / MAX_BIN_PER_ARRAY));
@@ -16252,11 +16238,15 @@ function binArrayIndexToBinIdRange(index) {
16252
16238
  LbClmmInstruction,
16253
16239
  MAX_BIN_ID,
16254
16240
  MAX_BIN_PER_ARRAY,
16241
+ MAX_BIN_STEP,
16242
+ MAX_RESIZE_LENGTH,
16255
16243
  MIN_BIN_ID,
16244
+ NUM_REWARDS,
16256
16245
  ONE_Q64,
16257
16246
  OPERATOR_DISCRIMINATOR,
16258
16247
  ORACLE_DISCRIMINATOR,
16259
16248
  PLACE_LIMIT_ORDER_DISCRIMINATOR,
16249
+ POSITION_MAX_LENGTH,
16260
16250
  POSITION_V2_DISCRIMINATOR,
16261
16251
  PRESET_PARAMETER2_DISCRIMINATOR,
16262
16252
  PRESET_PARAMETER2_SEED,
@@ -16317,6 +16307,7 @@ function binArrayIndexToBinIdRange(index) {
16317
16307
  fetchAllClaimFeeOperator,
16318
16308
  fetchAllDummyZcAccount,
16319
16309
  fetchAllLbPair,
16310
+ fetchAllLbPairWithFilter,
16320
16311
  fetchAllLimitOrder,
16321
16312
  fetchAllMaybeBinArray,
16322
16313
  fetchAllMaybeBinArrayBitmapExtension,
@@ -16598,7 +16589,6 @@ function binArrayIndexToBinIdRange(index) {
16598
16589
  getGoToABinInstructionDataCodec,
16599
16590
  getGoToABinInstructionDataDecoder,
16600
16591
  getGoToABinInstructionDataEncoder,
16601
- getIdFromPrice,
16602
16592
  getIncreaseOracleLengthDiscriminatorBytes,
16603
16593
  getIncreaseOracleLengthInstruction,
16604
16594
  getIncreaseOracleLengthInstructionAsync,
@@ -16766,7 +16756,6 @@ function binArrayIndexToBinIdRange(index) {
16766
16756
  getPresetParameterDiscriminatorBytes,
16767
16757
  getPresetParameterEncoder,
16768
16758
  getPresetParameterSize,
16769
- getPriceFromId,
16770
16759
  getProtocolFeeCodec,
16771
16760
  getProtocolFeeDecoder,
16772
16761
  getProtocolFeeEncoder,
@@ -16977,6 +16966,8 @@ function binArrayIndexToBinIdRange(index) {
16977
16966
  identifyLbClmmInstruction,
16978
16967
  isAccountsType,
16979
16968
  isLbClmmError,
16969
+ lbPairTokenXMintFilter,
16970
+ lbPairTokenYMintFilter,
16980
16971
  parseAddLiquidity2Instruction,
16981
16972
  parseAddLiquidityByStrategy2Instruction,
16982
16973
  parseAddLiquidityByStrategyInstruction,
@@ -17054,8 +17045,5 @@ function binArrayIndexToBinIdRange(index) {
17054
17045
  parseWithdrawIneligibleRewardInstruction,
17055
17046
  parseWithdrawProtocolFeeInstruction,
17056
17047
  parseZapProtocolFeeInstruction,
17057
- powQ64,
17058
- priceQ64ToPrice,
17059
- priceToBinId,
17060
- priceToPriceQ64
17048
+ priceToBinId
17061
17049
  });
package/dist/index.mjs CHANGED
@@ -16439,94 +16439,83 @@ async function findPresetParameterPda(seeds, config = {}) {
16439
16439
  });
16440
16440
  }
16441
16441
 
16442
+ // src/gpa/lbPair.ts
16443
+ import {
16444
+ getAddressEncoder as getAddressEncoder25,
16445
+ getBase58Decoder
16446
+ } from "@solana/kit";
16447
+
16448
+ // src/gpa/utils.ts
16449
+ import {
16450
+ getBase64Encoder
16451
+ } from "@solana/kit";
16452
+ async function fetchDecodedProgramAccounts(rpc, filters, decoder, programAddress = LB_CLMM_PROGRAM_ADDRESS) {
16453
+ const accountInfos = await rpc.getProgramAccounts(programAddress, {
16454
+ encoding: "base64",
16455
+ filters
16456
+ }).send();
16457
+ const encoder = getBase64Encoder();
16458
+ return accountInfos.map((accountInfo) => {
16459
+ const [base64Data, _encoding] = accountInfo.account.data;
16460
+ return {
16461
+ ...accountInfo.account,
16462
+ address: accountInfo.pubkey,
16463
+ programAddress,
16464
+ data: decoder.decode(encoder.encode(base64Data))
16465
+ };
16466
+ });
16467
+ }
16468
+
16469
+ // src/gpa/lbPair.ts
16470
+ function lbPairTokenXMintFilter(tokenXMint) {
16471
+ return {
16472
+ memcmp: {
16473
+ offset: 88n,
16474
+ bytes: getBase58Decoder().decode(getAddressEncoder25().encode(tokenXMint)),
16475
+ encoding: "base58"
16476
+ }
16477
+ };
16478
+ }
16479
+ function lbPairTokenYMintFilter(tokenYMint) {
16480
+ return {
16481
+ memcmp: {
16482
+ offset: 120n,
16483
+ bytes: getBase58Decoder().decode(getAddressEncoder25().encode(tokenYMint)),
16484
+ encoding: "base58"
16485
+ }
16486
+ };
16487
+ }
16488
+ async function fetchAllLbPairWithFilter(rpc, filters, programAddress) {
16489
+ const discriminator = getBase58Decoder().decode(LB_PAIR_DISCRIMINATOR);
16490
+ const discriminatorFilter = {
16491
+ memcmp: {
16492
+ offset: 0n,
16493
+ bytes: discriminator,
16494
+ encoding: "base58"
16495
+ }
16496
+ };
16497
+ return fetchDecodedProgramAccounts(rpc, [discriminatorFilter, ...filters], getLbPairDecoder(), programAddress);
16498
+ }
16499
+
16442
16500
  // src/math.ts
16443
16501
  var MAX_BIN_PER_ARRAY = 70;
16444
16502
  var BASIS_POINT_MAX = 1e4;
16503
+ var MAX_RESIZE_LENGTH = 70;
16504
+ var POSITION_MAX_LENGTH = 1400;
16505
+ var NUM_REWARDS = 2;
16506
+ var MAX_BIN_STEP = 400;
16445
16507
  var MIN_BIN_ID = -443636;
16446
16508
  var MAX_BIN_ID = 443636;
16447
16509
  var ONE_Q64 = 1n << 64n;
16448
- var U128_MAX = (1n << 128n) - 1n;
16449
- var MAX_EXPONENTIAL = 524288;
16450
- function checkedMul(a, b) {
16451
- const product = a * b;
16452
- if (product > U128_MAX) return null;
16453
- return product;
16454
- }
16455
- function powQ64(base, exp) {
16456
- let invert = exp < 0;
16457
- if (exp === 0) return ONE_Q64;
16458
- const e = invert ? -exp : exp;
16459
- if (e >= MAX_EXPONENTIAL) return null;
16460
- let squaredBase = base;
16461
- let result = ONE_Q64;
16462
- if (squaredBase >= result) {
16463
- squaredBase = U128_MAX / squaredBase;
16464
- invert = !invert;
16465
- }
16466
- for (let bit = 0; bit < 19; bit++) {
16467
- if ((e & 1 << bit) !== 0) {
16468
- const m = checkedMul(result, squaredBase);
16469
- if (m === null) return null;
16470
- result = m >> 64n;
16471
- }
16472
- if (bit < 18) {
16473
- const sq = checkedMul(squaredBase, squaredBase);
16474
- if (sq === null) return null;
16475
- squaredBase = sq >> 64n;
16476
- }
16477
- }
16478
- if (result === 0n) return null;
16479
- if (invert) result = U128_MAX / result;
16480
- return result;
16481
- }
16482
- function getPriceFromId(binId, binStep) {
16483
- const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16484
- const base = ONE_Q64 + bps;
16485
- const result = powQ64(base, binId);
16486
- if (result === null) {
16487
- throw new Error(`getPriceFromId overflow: binId=${binId}, binStep=${binStep}`);
16488
- }
16489
- return result;
16490
- }
16491
- function getIdFromPrice(priceQ64, binStep) {
16492
- if (priceQ64 <= 0n) return MIN_BIN_ID;
16493
- const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16494
- const base = ONE_Q64 + bps;
16495
- let lo = MIN_BIN_ID;
16496
- let hi = MAX_BIN_ID;
16497
- while (lo < hi) {
16498
- const mid = lo + Math.ceil((hi - lo) / 2);
16499
- const p = powQ64(base, mid);
16500
- if (p === null) {
16501
- if (mid > 0) hi = mid - 1;
16502
- else lo = mid;
16503
- } else if (p > priceQ64) {
16504
- hi = mid - 1;
16505
- } else {
16506
- lo = mid;
16507
- }
16508
- }
16509
- return lo;
16510
- }
16511
- var PRICE_PRECISION = 18;
16512
- var PRICE_SCALE = 10n ** BigInt(PRICE_PRECISION);
16513
- function priceToPriceQ64(price, decimalsX, decimalsY) {
16514
- if (price <= 0) {
16515
- throw new Error(`priceF64ToQ64 requires a positive price, got ${price}`);
16516
- }
16517
- const scaled = BigInt(Math.round(price * Number(PRICE_SCALE)));
16518
- return scaled * 10n ** BigInt(decimalsX) * ONE_Q64 / (10n ** BigInt(decimalsY) * PRICE_SCALE);
16519
- }
16520
- function priceQ64ToPrice(priceQ64, decimalsX, decimalsY) {
16521
- const numerator = priceQ64 * 10n ** BigInt(decimalsY) * PRICE_SCALE;
16522
- const denominator = ONE_Q64 * 10n ** BigInt(decimalsX);
16523
- return Number(numerator / denominator) / Number(PRICE_SCALE);
16524
- }
16525
- function priceToBinId(price, binStep, decimalsX, decimalsY) {
16526
- return getIdFromPrice(priceToPriceQ64(price, decimalsX, decimalsY), binStep);
16510
+ function priceToBinId(price, binStep, min, decimalsX, decimalsY) {
16511
+ const poolPrice = Number(price) * 10 ** ((decimalsY ?? 0) - (decimalsX ?? 0));
16512
+ const step = binStep / BASIS_POINT_MAX;
16513
+ const binId = Math.log(poolPrice) / Math.log(1 + step);
16514
+ return min ? Math.floor(binId) : Math.ceil(binId);
16527
16515
  }
16528
16516
  function binIdToPrice(binId, binStep, decimalsX, decimalsY) {
16529
- return priceQ64ToPrice(getPriceFromId(binId, binStep), decimalsX, decimalsY);
16517
+ const poolPrice = (1 + binStep / BASIS_POINT_MAX) ** binId;
16518
+ return poolPrice / 10 ** ((decimalsY ?? 0) - (decimalsX ?? 0));
16530
16519
  }
16531
16520
  function binIdToBinArrayIndex(binId) {
16532
16521
  return BigInt(Math.floor(binId / MAX_BIN_PER_ARRAY));
@@ -16708,11 +16697,15 @@ export {
16708
16697
  LbClmmInstruction,
16709
16698
  MAX_BIN_ID,
16710
16699
  MAX_BIN_PER_ARRAY,
16700
+ MAX_BIN_STEP,
16701
+ MAX_RESIZE_LENGTH,
16711
16702
  MIN_BIN_ID,
16703
+ NUM_REWARDS,
16712
16704
  ONE_Q64,
16713
16705
  OPERATOR_DISCRIMINATOR,
16714
16706
  ORACLE_DISCRIMINATOR,
16715
16707
  PLACE_LIMIT_ORDER_DISCRIMINATOR,
16708
+ POSITION_MAX_LENGTH,
16716
16709
  POSITION_V2_DISCRIMINATOR,
16717
16710
  PRESET_PARAMETER2_DISCRIMINATOR,
16718
16711
  PRESET_PARAMETER2_SEED,
@@ -16773,6 +16766,7 @@ export {
16773
16766
  fetchAllClaimFeeOperator,
16774
16767
  fetchAllDummyZcAccount,
16775
16768
  fetchAllLbPair,
16769
+ fetchAllLbPairWithFilter,
16776
16770
  fetchAllLimitOrder,
16777
16771
  fetchAllMaybeBinArray,
16778
16772
  fetchAllMaybeBinArrayBitmapExtension,
@@ -17054,7 +17048,6 @@ export {
17054
17048
  getGoToABinInstructionDataCodec,
17055
17049
  getGoToABinInstructionDataDecoder,
17056
17050
  getGoToABinInstructionDataEncoder,
17057
- getIdFromPrice,
17058
17051
  getIncreaseOracleLengthDiscriminatorBytes,
17059
17052
  getIncreaseOracleLengthInstruction,
17060
17053
  getIncreaseOracleLengthInstructionAsync,
@@ -17222,7 +17215,6 @@ export {
17222
17215
  getPresetParameterDiscriminatorBytes,
17223
17216
  getPresetParameterEncoder,
17224
17217
  getPresetParameterSize,
17225
- getPriceFromId,
17226
17218
  getProtocolFeeCodec,
17227
17219
  getProtocolFeeDecoder,
17228
17220
  getProtocolFeeEncoder,
@@ -17433,6 +17425,8 @@ export {
17433
17425
  identifyLbClmmInstruction,
17434
17426
  isAccountsType,
17435
17427
  isLbClmmError,
17428
+ lbPairTokenXMintFilter,
17429
+ lbPairTokenYMintFilter,
17436
17430
  parseAddLiquidity2Instruction,
17437
17431
  parseAddLiquidityByStrategy2Instruction,
17438
17432
  parseAddLiquidityByStrategyInstruction,
@@ -17510,8 +17504,5 @@ export {
17510
17504
  parseWithdrawIneligibleRewardInstruction,
17511
17505
  parseWithdrawProtocolFeeInstruction,
17512
17506
  parseZapProtocolFeeInstruction,
17513
- powQ64,
17514
- priceQ64ToPrice,
17515
- priceToBinId,
17516
- priceToPriceQ64
17507
+ priceToBinId
17517
17508
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lp-ag/meteora-dlmm-solana-client",
3
3
  "description": "Typescript client to interact with Meteora DLMM on-chain program.",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "main": "./dist/index.js",