@lp-ag/meteora-dlmm-solana-client 1.0.2 → 1.0.3
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 +5 -6
- package/dist/index.d.ts +5 -6
- package/dist/index.js +23 -29
- package/dist/index.mjs +20 -25
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8688,7 +8688,6 @@ declare function findPresetParameterPda(seeds: {
|
|
|
8688
8688
|
}): Promise<ProgramDerivedAddress>;
|
|
8689
8689
|
|
|
8690
8690
|
declare const MAX_BIN_PER_ARRAY = 70;
|
|
8691
|
-
declare const SCALE_OFFSET = 64;
|
|
8692
8691
|
declare const BASIS_POINT_MAX = 10000;
|
|
8693
8692
|
declare const MIN_BIN_ID = -443636;
|
|
8694
8693
|
declare const MAX_BIN_ID = 443636;
|
|
@@ -8697,7 +8696,7 @@ declare const ONE_Q64: bigint;
|
|
|
8697
8696
|
* Exact Q64.64 exponentiation. Ports `u64x64_math::pow`.
|
|
8698
8697
|
* Returns `null` on overflow (mirrors Rust's `Option<u128>`).
|
|
8699
8698
|
*/
|
|
8700
|
-
declare function
|
|
8699
|
+
declare function powQ64(base: bigint, exp: number): bigint | null;
|
|
8701
8700
|
/**
|
|
8702
8701
|
* Exact Q64.64 price of a bin. Ports `price_math::get_price_from_id`.
|
|
8703
8702
|
* Returns the on-chain raw price (lamport_Y / lamport_X) as a Q64.64 u128.
|
|
@@ -8719,15 +8718,15 @@ declare function getIdFromPrice(priceQ64: bigint, binStep: number): number;
|
|
|
8719
8718
|
* Lossy: bounded by Number's ~16-digit mantissa. For exact pipelines, work in
|
|
8720
8719
|
* Q64.64 directly via {@link getPriceFromId} / {@link getIdFromPrice}.
|
|
8721
8720
|
*/
|
|
8722
|
-
declare function
|
|
8721
|
+
declare function priceToPriceQ64(price: number, decimalsX: number, decimalsY: number): bigint;
|
|
8723
8722
|
/**
|
|
8724
8723
|
* Convert a Q64.64 raw lamport-ratio price into a human-scale Number.
|
|
8725
8724
|
*
|
|
8726
8725
|
* Lossy by Number precision; use only for display or for round-tripping when
|
|
8727
8726
|
* exact equality is not required.
|
|
8728
8727
|
*/
|
|
8729
|
-
declare function
|
|
8730
|
-
declare function priceToBinId(
|
|
8728
|
+
declare function priceQ64ToPrice(priceQ64: bigint, decimalsX: number, decimalsY: number): number;
|
|
8729
|
+
declare function priceToBinId(price: number, binStep: number, decimalsX: number, decimalsY: number): number;
|
|
8731
8730
|
declare function binIdToPrice(binId: number, binStep: number, decimalsX: number, decimalsY: number): number;
|
|
8732
8731
|
declare function binIdToBinArrayIndex(binId: number): bigint;
|
|
8733
8732
|
declare function binArrayIndexToBinIdRange(index: bigint | number): {
|
|
@@ -8735,4 +8734,4 @@ declare function binArrayIndexToBinIdRange(index: bigint | number): {
|
|
|
8735
8734
|
upper: number;
|
|
8736
8735
|
};
|
|
8737
8736
|
|
|
8738
|
-
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, SCALE_OFFSET, 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, humanPriceToQ64, 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, priceToBinId, q64Pow, q64ToHumanPrice };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -8688,7 +8688,6 @@ declare function findPresetParameterPda(seeds: {
|
|
|
8688
8688
|
}): Promise<ProgramDerivedAddress>;
|
|
8689
8689
|
|
|
8690
8690
|
declare const MAX_BIN_PER_ARRAY = 70;
|
|
8691
|
-
declare const SCALE_OFFSET = 64;
|
|
8692
8691
|
declare const BASIS_POINT_MAX = 10000;
|
|
8693
8692
|
declare const MIN_BIN_ID = -443636;
|
|
8694
8693
|
declare const MAX_BIN_ID = 443636;
|
|
@@ -8697,7 +8696,7 @@ declare const ONE_Q64: bigint;
|
|
|
8697
8696
|
* Exact Q64.64 exponentiation. Ports `u64x64_math::pow`.
|
|
8698
8697
|
* Returns `null` on overflow (mirrors Rust's `Option<u128>`).
|
|
8699
8698
|
*/
|
|
8700
|
-
declare function
|
|
8699
|
+
declare function powQ64(base: bigint, exp: number): bigint | null;
|
|
8701
8700
|
/**
|
|
8702
8701
|
* Exact Q64.64 price of a bin. Ports `price_math::get_price_from_id`.
|
|
8703
8702
|
* Returns the on-chain raw price (lamport_Y / lamport_X) as a Q64.64 u128.
|
|
@@ -8719,15 +8718,15 @@ declare function getIdFromPrice(priceQ64: bigint, binStep: number): number;
|
|
|
8719
8718
|
* Lossy: bounded by Number's ~16-digit mantissa. For exact pipelines, work in
|
|
8720
8719
|
* Q64.64 directly via {@link getPriceFromId} / {@link getIdFromPrice}.
|
|
8721
8720
|
*/
|
|
8722
|
-
declare function
|
|
8721
|
+
declare function priceToPriceQ64(price: number, decimalsX: number, decimalsY: number): bigint;
|
|
8723
8722
|
/**
|
|
8724
8723
|
* Convert a Q64.64 raw lamport-ratio price into a human-scale Number.
|
|
8725
8724
|
*
|
|
8726
8725
|
* Lossy by Number precision; use only for display or for round-tripping when
|
|
8727
8726
|
* exact equality is not required.
|
|
8728
8727
|
*/
|
|
8729
|
-
declare function
|
|
8730
|
-
declare function priceToBinId(
|
|
8728
|
+
declare function priceQ64ToPrice(priceQ64: bigint, decimalsX: number, decimalsY: number): number;
|
|
8729
|
+
declare function priceToBinId(price: number, binStep: number, decimalsX: number, decimalsY: number): number;
|
|
8731
8730
|
declare function binIdToPrice(binId: number, binStep: number, decimalsX: number, decimalsY: number): number;
|
|
8732
8731
|
declare function binIdToBinArrayIndex(binId: number): bigint;
|
|
8733
8732
|
declare function binArrayIndexToBinIdRange(index: bigint | number): {
|
|
@@ -8735,4 +8734,4 @@ declare function binArrayIndexToBinIdRange(index: bigint | number): {
|
|
|
8735
8734
|
upper: number;
|
|
8736
8735
|
};
|
|
8737
8736
|
|
|
8738
|
-
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, SCALE_OFFSET, 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, humanPriceToQ64, 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, priceToBinId, q64Pow, q64ToHumanPrice };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -209,7 +209,6 @@ __export(index_exports, {
|
|
|
209
209
|
REMOVE_LIQUIDITY_DISCRIMINATOR: () => REMOVE_LIQUIDITY_DISCRIMINATOR,
|
|
210
210
|
ResizeSide: () => ResizeSide,
|
|
211
211
|
Rounding: () => Rounding,
|
|
212
|
-
SCALE_OFFSET: () => SCALE_OFFSET,
|
|
213
212
|
SET_ACTIVATION_POINT_DISCRIMINATOR: () => SET_ACTIVATION_POINT_DISCRIMINATOR,
|
|
214
213
|
SET_PAIR_STATUS_DISCRIMINATOR: () => SET_PAIR_STATUS_DISCRIMINATOR,
|
|
215
214
|
SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR: () => SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR,
|
|
@@ -912,7 +911,6 @@ __export(index_exports, {
|
|
|
912
911
|
getZapProtocolFeeInstructionDataCodec: () => getZapProtocolFeeInstructionDataCodec,
|
|
913
912
|
getZapProtocolFeeInstructionDataDecoder: () => getZapProtocolFeeInstructionDataDecoder,
|
|
914
913
|
getZapProtocolFeeInstructionDataEncoder: () => getZapProtocolFeeInstructionDataEncoder,
|
|
915
|
-
humanPriceToQ64: () => humanPriceToQ64,
|
|
916
914
|
identifyLbClmmAccount: () => identifyLbClmmAccount,
|
|
917
915
|
identifyLbClmmInstruction: () => identifyLbClmmInstruction,
|
|
918
916
|
isAccountsType: () => isAccountsType,
|
|
@@ -994,9 +992,10 @@ __export(index_exports, {
|
|
|
994
992
|
parseWithdrawIneligibleRewardInstruction: () => parseWithdrawIneligibleRewardInstruction,
|
|
995
993
|
parseWithdrawProtocolFeeInstruction: () => parseWithdrawProtocolFeeInstruction,
|
|
996
994
|
parseZapProtocolFeeInstruction: () => parseZapProtocolFeeInstruction,
|
|
995
|
+
powQ64: () => powQ64,
|
|
996
|
+
priceQ64ToPrice: () => priceQ64ToPrice,
|
|
997
997
|
priceToBinId: () => priceToBinId,
|
|
998
|
-
|
|
999
|
-
q64ToHumanPrice: () => q64ToHumanPrice
|
|
998
|
+
priceToPriceQ64: () => priceToPriceQ64
|
|
1000
999
|
});
|
|
1001
1000
|
module.exports = __toCommonJS(index_exports);
|
|
1002
1001
|
|
|
@@ -15985,7 +15984,6 @@ async function findPresetParameterPda(seeds, config = {}) {
|
|
|
15985
15984
|
|
|
15986
15985
|
// src/math.ts
|
|
15987
15986
|
var MAX_BIN_PER_ARRAY = 70;
|
|
15988
|
-
var SCALE_OFFSET = 64;
|
|
15989
15987
|
var BASIS_POINT_MAX = 1e4;
|
|
15990
15988
|
var MIN_BIN_ID = -443636;
|
|
15991
15989
|
var MAX_BIN_ID = 443636;
|
|
@@ -15997,7 +15995,7 @@ function checkedMul(a, b) {
|
|
|
15997
15995
|
if (product > U128_MAX) return null;
|
|
15998
15996
|
return product;
|
|
15999
15997
|
}
|
|
16000
|
-
function
|
|
15998
|
+
function powQ64(base, exp) {
|
|
16001
15999
|
let invert = exp < 0;
|
|
16002
16000
|
if (exp === 0) return ONE_Q64;
|
|
16003
16001
|
const e = invert ? -exp : exp;
|
|
@@ -16027,7 +16025,7 @@ function q64Pow(base, exp) {
|
|
|
16027
16025
|
function getPriceFromId(binId, binStep) {
|
|
16028
16026
|
const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
|
|
16029
16027
|
const base = ONE_Q64 + bps;
|
|
16030
|
-
const result =
|
|
16028
|
+
const result = powQ64(base, binId);
|
|
16031
16029
|
if (result === null) {
|
|
16032
16030
|
throw new Error(`getPriceFromId overflow: binId=${binId}, binStep=${binStep}`);
|
|
16033
16031
|
}
|
|
@@ -16041,7 +16039,7 @@ function getIdFromPrice(priceQ64, binStep) {
|
|
|
16041
16039
|
let hi = MAX_BIN_ID;
|
|
16042
16040
|
while (lo < hi) {
|
|
16043
16041
|
const mid = lo + Math.ceil((hi - lo) / 2);
|
|
16044
|
-
const p =
|
|
16042
|
+
const p = powQ64(base, mid);
|
|
16045
16043
|
if (p === null) {
|
|
16046
16044
|
if (mid > 0) hi = mid - 1;
|
|
16047
16045
|
else lo = mid;
|
|
@@ -16053,28 +16051,25 @@ function getIdFromPrice(priceQ64, binStep) {
|
|
|
16053
16051
|
}
|
|
16054
16052
|
return lo;
|
|
16055
16053
|
}
|
|
16056
|
-
var
|
|
16057
|
-
var
|
|
16058
|
-
function
|
|
16059
|
-
|
|
16060
|
-
}
|
|
16061
|
-
function humanPriceToQ64(humanPrice, decimalsX, decimalsY) {
|
|
16062
|
-
if (humanPrice <= 0) {
|
|
16063
|
-
throw new Error(`humanPriceToQ64 requires a positive price, got ${humanPrice}`);
|
|
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}`);
|
|
16064
16059
|
}
|
|
16065
|
-
const scaled = BigInt(Math.round(
|
|
16066
|
-
return scaled *
|
|
16060
|
+
const scaled = BigInt(Math.round(price * Number(PRICE_SCALE)));
|
|
16061
|
+
return scaled * 10n ** BigInt(decimalsX) * ONE_Q64 / (10n ** BigInt(decimalsY) * PRICE_SCALE);
|
|
16067
16062
|
}
|
|
16068
|
-
function
|
|
16069
|
-
const numerator = priceQ64 *
|
|
16070
|
-
const denominator = ONE_Q64 *
|
|
16071
|
-
return Number(numerator / denominator) / Number(
|
|
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);
|
|
16072
16067
|
}
|
|
16073
|
-
function priceToBinId(
|
|
16074
|
-
return getIdFromPrice(
|
|
16068
|
+
function priceToBinId(price, binStep, decimalsX, decimalsY) {
|
|
16069
|
+
return getIdFromPrice(priceToPriceQ64(price, decimalsX, decimalsY), binStep);
|
|
16075
16070
|
}
|
|
16076
16071
|
function binIdToPrice(binId, binStep, decimalsX, decimalsY) {
|
|
16077
|
-
return
|
|
16072
|
+
return priceQ64ToPrice(getPriceFromId(binId, binStep), decimalsX, decimalsY);
|
|
16078
16073
|
}
|
|
16079
16074
|
function binIdToBinArrayIndex(binId) {
|
|
16080
16075
|
return BigInt(Math.floor(binId / MAX_BIN_PER_ARRAY));
|
|
@@ -16276,7 +16271,6 @@ function binArrayIndexToBinIdRange(index) {
|
|
|
16276
16271
|
REMOVE_LIQUIDITY_DISCRIMINATOR,
|
|
16277
16272
|
ResizeSide,
|
|
16278
16273
|
Rounding,
|
|
16279
|
-
SCALE_OFFSET,
|
|
16280
16274
|
SET_ACTIVATION_POINT_DISCRIMINATOR,
|
|
16281
16275
|
SET_PAIR_STATUS_DISCRIMINATOR,
|
|
16282
16276
|
SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR,
|
|
@@ -16979,7 +16973,6 @@ function binArrayIndexToBinIdRange(index) {
|
|
|
16979
16973
|
getZapProtocolFeeInstructionDataCodec,
|
|
16980
16974
|
getZapProtocolFeeInstructionDataDecoder,
|
|
16981
16975
|
getZapProtocolFeeInstructionDataEncoder,
|
|
16982
|
-
humanPriceToQ64,
|
|
16983
16976
|
identifyLbClmmAccount,
|
|
16984
16977
|
identifyLbClmmInstruction,
|
|
16985
16978
|
isAccountsType,
|
|
@@ -17061,7 +17054,8 @@ function binArrayIndexToBinIdRange(index) {
|
|
|
17061
17054
|
parseWithdrawIneligibleRewardInstruction,
|
|
17062
17055
|
parseWithdrawProtocolFeeInstruction,
|
|
17063
17056
|
parseZapProtocolFeeInstruction,
|
|
17057
|
+
powQ64,
|
|
17058
|
+
priceQ64ToPrice,
|
|
17064
17059
|
priceToBinId,
|
|
17065
|
-
|
|
17066
|
-
q64ToHumanPrice
|
|
17060
|
+
priceToPriceQ64
|
|
17067
17061
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -16441,7 +16441,6 @@ async function findPresetParameterPda(seeds, config = {}) {
|
|
|
16441
16441
|
|
|
16442
16442
|
// src/math.ts
|
|
16443
16443
|
var MAX_BIN_PER_ARRAY = 70;
|
|
16444
|
-
var SCALE_OFFSET = 64;
|
|
16445
16444
|
var BASIS_POINT_MAX = 1e4;
|
|
16446
16445
|
var MIN_BIN_ID = -443636;
|
|
16447
16446
|
var MAX_BIN_ID = 443636;
|
|
@@ -16453,7 +16452,7 @@ function checkedMul(a, b) {
|
|
|
16453
16452
|
if (product > U128_MAX) return null;
|
|
16454
16453
|
return product;
|
|
16455
16454
|
}
|
|
16456
|
-
function
|
|
16455
|
+
function powQ64(base, exp) {
|
|
16457
16456
|
let invert = exp < 0;
|
|
16458
16457
|
if (exp === 0) return ONE_Q64;
|
|
16459
16458
|
const e = invert ? -exp : exp;
|
|
@@ -16483,7 +16482,7 @@ function q64Pow(base, exp) {
|
|
|
16483
16482
|
function getPriceFromId(binId, binStep) {
|
|
16484
16483
|
const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
|
|
16485
16484
|
const base = ONE_Q64 + bps;
|
|
16486
|
-
const result =
|
|
16485
|
+
const result = powQ64(base, binId);
|
|
16487
16486
|
if (result === null) {
|
|
16488
16487
|
throw new Error(`getPriceFromId overflow: binId=${binId}, binStep=${binStep}`);
|
|
16489
16488
|
}
|
|
@@ -16497,7 +16496,7 @@ function getIdFromPrice(priceQ64, binStep) {
|
|
|
16497
16496
|
let hi = MAX_BIN_ID;
|
|
16498
16497
|
while (lo < hi) {
|
|
16499
16498
|
const mid = lo + Math.ceil((hi - lo) / 2);
|
|
16500
|
-
const p =
|
|
16499
|
+
const p = powQ64(base, mid);
|
|
16501
16500
|
if (p === null) {
|
|
16502
16501
|
if (mid > 0) hi = mid - 1;
|
|
16503
16502
|
else lo = mid;
|
|
@@ -16509,28 +16508,25 @@ function getIdFromPrice(priceQ64, binStep) {
|
|
|
16509
16508
|
}
|
|
16510
16509
|
return lo;
|
|
16511
16510
|
}
|
|
16512
|
-
var
|
|
16513
|
-
var
|
|
16514
|
-
function
|
|
16515
|
-
|
|
16516
|
-
}
|
|
16517
|
-
function humanPriceToQ64(humanPrice, decimalsX, decimalsY) {
|
|
16518
|
-
if (humanPrice <= 0) {
|
|
16519
|
-
throw new Error(`humanPriceToQ64 requires a positive price, got ${humanPrice}`);
|
|
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}`);
|
|
16520
16516
|
}
|
|
16521
|
-
const scaled = BigInt(Math.round(
|
|
16522
|
-
return scaled *
|
|
16517
|
+
const scaled = BigInt(Math.round(price * Number(PRICE_SCALE)));
|
|
16518
|
+
return scaled * 10n ** BigInt(decimalsX) * ONE_Q64 / (10n ** BigInt(decimalsY) * PRICE_SCALE);
|
|
16523
16519
|
}
|
|
16524
|
-
function
|
|
16525
|
-
const numerator = priceQ64 *
|
|
16526
|
-
const denominator = ONE_Q64 *
|
|
16527
|
-
return Number(numerator / denominator) / Number(
|
|
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);
|
|
16528
16524
|
}
|
|
16529
|
-
function priceToBinId(
|
|
16530
|
-
return getIdFromPrice(
|
|
16525
|
+
function priceToBinId(price, binStep, decimalsX, decimalsY) {
|
|
16526
|
+
return getIdFromPrice(priceToPriceQ64(price, decimalsX, decimalsY), binStep);
|
|
16531
16527
|
}
|
|
16532
16528
|
function binIdToPrice(binId, binStep, decimalsX, decimalsY) {
|
|
16533
|
-
return
|
|
16529
|
+
return priceQ64ToPrice(getPriceFromId(binId, binStep), decimalsX, decimalsY);
|
|
16534
16530
|
}
|
|
16535
16531
|
function binIdToBinArrayIndex(binId) {
|
|
16536
16532
|
return BigInt(Math.floor(binId / MAX_BIN_PER_ARRAY));
|
|
@@ -16731,7 +16727,6 @@ export {
|
|
|
16731
16727
|
REMOVE_LIQUIDITY_DISCRIMINATOR,
|
|
16732
16728
|
ResizeSide,
|
|
16733
16729
|
Rounding,
|
|
16734
|
-
SCALE_OFFSET,
|
|
16735
16730
|
SET_ACTIVATION_POINT_DISCRIMINATOR,
|
|
16736
16731
|
SET_PAIR_STATUS_DISCRIMINATOR,
|
|
16737
16732
|
SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR,
|
|
@@ -17434,7 +17429,6 @@ export {
|
|
|
17434
17429
|
getZapProtocolFeeInstructionDataCodec,
|
|
17435
17430
|
getZapProtocolFeeInstructionDataDecoder,
|
|
17436
17431
|
getZapProtocolFeeInstructionDataEncoder,
|
|
17437
|
-
humanPriceToQ64,
|
|
17438
17432
|
identifyLbClmmAccount,
|
|
17439
17433
|
identifyLbClmmInstruction,
|
|
17440
17434
|
isAccountsType,
|
|
@@ -17516,7 +17510,8 @@ export {
|
|
|
17516
17510
|
parseWithdrawIneligibleRewardInstruction,
|
|
17517
17511
|
parseWithdrawProtocolFeeInstruction,
|
|
17518
17512
|
parseZapProtocolFeeInstruction,
|
|
17513
|
+
powQ64,
|
|
17514
|
+
priceQ64ToPrice,
|
|
17519
17515
|
priceToBinId,
|
|
17520
|
-
|
|
17521
|
-
q64ToHumanPrice
|
|
17516
|
+
priceToPriceQ64
|
|
17522
17517
|
};
|
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.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"main": "./dist/index.js",
|