@lp-ag/meteora-dlmm-solana-client 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -8666,4 +8666,73 @@ declare function findTokenBadgePda(seeds: TokenBadgeSeeds, config?: {
8666
8666
  programAddress?: Address | undefined;
8667
8667
  }): Promise<ProgramDerivedAddress>;
8668
8668
 
8669
- 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, 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, 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_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, 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, findOperatorPda, findOraclePda, findPositionPda, findReserveXPda, findReserveYPda, findRewardVaultPda, findTokenBadgePda, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getActivationTypeCodec, getActivationTypeDecoder, getActivationTypeEncoder, getAddLiquidity2DiscriminatorBytes, getAddLiquidity2Instruction, getAddLiquidity2InstructionAsync, getAddLiquidity2InstructionDataCodec, getAddLiquidity2InstructionDataDecoder, getAddLiquidity2InstructionDataEncoder, getAddLiquidityByStrategy2DiscriminatorBytes, getAddLiquidityByStrategy2Instruction, getAddLiquidityByStrategy2InstructionAsync, getAddLiquidityByStrategy2InstructionDataCodec, getAddLiquidityByStrategy2InstructionDataDecoder, getAddLiquidityByStrategy2InstructionDataEncoder, getAddLiquidityByStrategyDiscriminatorBytes, getAddLiquidityByStrategyInstruction, getAddLiquidityByStrategyInstructionAsync, getAddLiquidityByStrategyInstructionDataCodec, getAddLiquidityByStrategyInstructionDataDecoder, getAddLiquidityByStrategyInstructionDataEncoder, getAddLiquidityByStrategyOneSideDiscriminatorBytes, getAddLiquidityByStrategyOneSideInstruction, getAddLiquidityByStrategyOneSideInstructionAsync, getAddLiquidityByStrategyOneSideInstructionDataCodec, getAddLiquidityByStrategyOneSideInstructionDataDecoder, getAddLiquidityByStrategyOneSideInstructionDataEncoder, getAddLiquidityByWeight2DiscriminatorBytes, getAddLiquidityByWeight2Instruction, getAddLiquidityByWeight2InstructionAsync, getAddLiquidityByWeight2InstructionDataCodec, getAddLiquidityByWeight2InstructionDataDecoder, getAddLiquidityByWeight2InstructionDataEncoder, getAddLiquidityByWeightDiscriminatorBytes, getAddLiquidityByWeightInstruction, getAddLiquidityByWeightInstructionAsync, getAddLiquidityByWeightInstructionDataCodec, getAddLiquidityByWeightInstructionDataDecoder, getAddLiquidityByWeightInstructionDataEncoder, getAddLiquidityDiscriminatorBytes, getAddLiquidityInstruction, getAddLiquidityInstructionAsync, getAddLiquidityInstructionDataCodec, getAddLiquidityInstructionDataDecoder, getAddLiquidityInstructionDataEncoder, getAddLiquidityOneSideDiscriminatorBytes, getAddLiquidityOneSideInstruction, getAddLiquidityOneSideInstructionAsync, getAddLiquidityOneSideInstructionDataCodec, getAddLiquidityOneSideInstructionDataDecoder, getAddLiquidityOneSideInstructionDataEncoder, getAddLiquidityOneSidePrecise2DiscriminatorBytes, getAddLiquidityOneSidePrecise2Instruction, getAddLiquidityOneSidePrecise2InstructionAsync, getAddLiquidityOneSidePrecise2InstructionDataCodec, getAddLiquidityOneSidePrecise2InstructionDataDecoder, getAddLiquidityOneSidePrecise2InstructionDataEncoder, getAddLiquidityOneSidePreciseDiscriminatorBytes, getAddLiquidityOneSidePreciseInstruction, getAddLiquidityOneSidePreciseInstructionAsync, getAddLiquidityOneSidePreciseInstructionDataCodec, getAddLiquidityOneSidePreciseInstructionDataDecoder, getAddLiquidityOneSidePreciseInstructionDataEncoder, getAddLiquidityParamsCodec, getAddLiquidityParamsDecoder, getAddLiquidityParamsEncoder, getBinArrayBitmapExtensionCodec, getBinArrayBitmapExtensionDecoder, getBinArrayBitmapExtensionDiscriminatorBytes, getBinArrayBitmapExtensionEncoder, getBinArrayBitmapExtensionSize, getBinArrayCodec, getBinArrayDecoder, getBinArrayDiscriminatorBytes, getBinArrayEncoder, getBinArraySize, getBinCodec, getBinDecoder, getBinEncoder, getBinLimitOrderAmountCodec, getBinLimitOrderAmountDecoder, getBinLimitOrderAmountEncoder, getBinLiquidityDistributionByWeightCodec, getBinLiquidityDistributionByWeightDecoder, getBinLiquidityDistributionByWeightEncoder, getBinLiquidityDistributionCodec, getBinLiquidityDistributionDecoder, getBinLiquidityDistributionEncoder, getBinLiquidityReductionCodec, getBinLiquidityReductionDecoder, getBinLiquidityReductionEncoder, getCancelLimitOrderDiscriminatorBytes, getCancelLimitOrderInstruction, getCancelLimitOrderInstructionAsync, getCancelLimitOrderInstructionDataCodec, getCancelLimitOrderInstructionDataDecoder, getCancelLimitOrderInstructionDataEncoder, getClaimFee2DiscriminatorBytes, getClaimFee2Instruction, getClaimFee2InstructionAsync, getClaimFee2InstructionDataCodec, getClaimFee2InstructionDataDecoder, getClaimFee2InstructionDataEncoder, getClaimFeeDiscriminatorBytes, getClaimFeeInstruction, getClaimFeeInstructionAsync, getClaimFeeInstructionDataCodec, getClaimFeeInstructionDataDecoder, getClaimFeeInstructionDataEncoder, getClaimFeeOperatorCodec, getClaimFeeOperatorDecoder, getClaimFeeOperatorDiscriminatorBytes, getClaimFeeOperatorEncoder, getClaimFeeOperatorSize, getClaimReward2DiscriminatorBytes, getClaimReward2Instruction, getClaimReward2InstructionAsync, getClaimReward2InstructionDataCodec, getClaimReward2InstructionDataDecoder, getClaimReward2InstructionDataEncoder, getClaimRewardDiscriminatorBytes, getClaimRewardInstruction, getClaimRewardInstructionAsync, getClaimRewardInstructionDataCodec, getClaimRewardInstructionDataDecoder, getClaimRewardInstructionDataEncoder, getCloseBinArrayDiscriminatorBytes, getCloseBinArrayInstruction, getCloseBinArrayInstructionDataCodec, getCloseBinArrayInstructionDataDecoder, getCloseBinArrayInstructionDataEncoder, getCloseClaimFeeOperatorAccountDiscriminatorBytes, getCloseClaimFeeOperatorAccountInstruction, getCloseClaimFeeOperatorAccountInstructionDataCodec, getCloseClaimFeeOperatorAccountInstructionDataDecoder, getCloseClaimFeeOperatorAccountInstructionDataEncoder, getCloseLimitOrderIfEmptyDiscriminatorBytes, getCloseLimitOrderIfEmptyInstruction, getCloseLimitOrderIfEmptyInstructionAsync, getCloseLimitOrderIfEmptyInstructionDataCodec, getCloseLimitOrderIfEmptyInstructionDataDecoder, getCloseLimitOrderIfEmptyInstructionDataEncoder, getCloseOperatorAccountDiscriminatorBytes, getCloseOperatorAccountInstruction, getCloseOperatorAccountInstructionDataCodec, getCloseOperatorAccountInstructionDataDecoder, getCloseOperatorAccountInstructionDataEncoder, getClosePosition2DiscriminatorBytes, getClosePosition2Instruction, getClosePosition2InstructionAsync, getClosePosition2InstructionDataCodec, getClosePosition2InstructionDataDecoder, getClosePosition2InstructionDataEncoder, getClosePositionDiscriminatorBytes, getClosePositionIfEmptyDiscriminatorBytes, getClosePositionIfEmptyInstruction, getClosePositionIfEmptyInstructionAsync, getClosePositionIfEmptyInstructionDataCodec, getClosePositionIfEmptyInstructionDataDecoder, getClosePositionIfEmptyInstructionDataEncoder, getClosePositionInstruction, getClosePositionInstructionAsync, getClosePositionInstructionDataCodec, getClosePositionInstructionDataDecoder, getClosePositionInstructionDataEncoder, getClosePresetParameter2DiscriminatorBytes, getClosePresetParameter2Instruction, getClosePresetParameter2InstructionDataCodec, getClosePresetParameter2InstructionDataDecoder, getClosePresetParameter2InstructionDataEncoder, getClosePresetParameterDiscriminatorBytes, getClosePresetParameterInstruction, getClosePresetParameterInstructionDataCodec, getClosePresetParameterInstructionDataDecoder, getClosePresetParameterInstructionDataEncoder, getCloseTokenBadgeDiscriminatorBytes, getCloseTokenBadgeInstruction, getCloseTokenBadgeInstructionDataCodec, getCloseTokenBadgeInstructionDataDecoder, getCloseTokenBadgeInstructionDataEncoder, getCompressedBinDepositAmountCodec, getCompressedBinDepositAmountDecoder, getCompressedBinDepositAmountEncoder, getCreateOperatorAccountDiscriminatorBytes, getCreateOperatorAccountInstruction, getCreateOperatorAccountInstructionAsync, getCreateOperatorAccountInstructionDataCodec, getCreateOperatorAccountInstructionDataDecoder, getCreateOperatorAccountInstructionDataEncoder, getCustomizableParamsCodec, getCustomizableParamsDecoder, getCustomizableParamsEncoder, getDecreasePositionLengthDiscriminatorBytes, getDecreasePositionLengthInstruction, getDecreasePositionLengthInstructionAsync, getDecreasePositionLengthInstructionDataCodec, getDecreasePositionLengthInstructionDataDecoder, getDecreasePositionLengthInstructionDataEncoder, getDummyZcAccountCodec, getDummyZcAccountDecoder, getDummyZcAccountDiscriminatorBytes, getDummyZcAccountEncoder, getDummyZcAccountSize, getFeeInfoCodec, getFeeInfoDecoder, getFeeInfoEncoder, getForIdlTypeGenerationDoNotCallDiscriminatorBytes, getForIdlTypeGenerationDoNotCallInstruction, getForIdlTypeGenerationDoNotCallInstructionDataCodec, getForIdlTypeGenerationDoNotCallInstructionDataDecoder, getForIdlTypeGenerationDoNotCallInstructionDataEncoder, getFundRewardDiscriminatorBytes, getFundRewardInstruction, getFundRewardInstructionAsync, getFundRewardInstructionDataCodec, getFundRewardInstructionDataDecoder, getFundRewardInstructionDataEncoder, getGoToABinDiscriminatorBytes, getGoToABinInstruction, getGoToABinInstructionAsync, getGoToABinInstructionDataCodec, getGoToABinInstructionDataDecoder, getGoToABinInstructionDataEncoder, getIncreaseOracleLengthDiscriminatorBytes, getIncreaseOracleLengthInstruction, getIncreaseOracleLengthInstructionAsync, getIncreaseOracleLengthInstructionDataCodec, getIncreaseOracleLengthInstructionDataDecoder, getIncreaseOracleLengthInstructionDataEncoder, getIncreasePositionLength2DiscriminatorBytes, getIncreasePositionLength2Instruction, getIncreasePositionLength2InstructionAsync, getIncreasePositionLength2InstructionDataCodec, getIncreasePositionLength2InstructionDataDecoder, getIncreasePositionLength2InstructionDataEncoder, getIncreasePositionLengthDiscriminatorBytes, getIncreasePositionLengthInstruction, getIncreasePositionLengthInstructionAsync, getIncreasePositionLengthInstructionDataCodec, getIncreasePositionLengthInstructionDataDecoder, getIncreasePositionLengthInstructionDataEncoder, getInitializeBinArrayBitmapExtensionDiscriminatorBytes, getInitializeBinArrayBitmapExtensionInstruction, getInitializeBinArrayBitmapExtensionInstructionAsync, getInitializeBinArrayBitmapExtensionInstructionDataCodec, getInitializeBinArrayBitmapExtensionInstructionDataDecoder, getInitializeBinArrayBitmapExtensionInstructionDataEncoder, getInitializeBinArrayDiscriminatorBytes, getInitializeBinArrayInstruction, getInitializeBinArrayInstructionAsync, getInitializeBinArrayInstructionDataCodec, getInitializeBinArrayInstructionDataDecoder, getInitializeBinArrayInstructionDataEncoder, getInitializeCustomizablePermissionlessLbPair2DiscriminatorBytes, getInitializeCustomizablePermissionlessLbPair2Instruction, getInitializeCustomizablePermissionlessLbPair2InstructionAsync, getInitializeCustomizablePermissionlessLbPair2InstructionDataCodec, getInitializeCustomizablePermissionlessLbPair2InstructionDataDecoder, getInitializeCustomizablePermissionlessLbPair2InstructionDataEncoder, getInitializeCustomizablePermissionlessLbPairDiscriminatorBytes, getInitializeCustomizablePermissionlessLbPairInstruction, getInitializeCustomizablePermissionlessLbPairInstructionAsync, getInitializeCustomizablePermissionlessLbPairInstructionDataCodec, getInitializeCustomizablePermissionlessLbPairInstructionDataDecoder, getInitializeCustomizablePermissionlessLbPairInstructionDataEncoder, getInitializeLbPair2DiscriminatorBytes, getInitializeLbPair2Instruction, getInitializeLbPair2InstructionAsync, getInitializeLbPair2InstructionDataCodec, getInitializeLbPair2InstructionDataDecoder, getInitializeLbPair2InstructionDataEncoder, getInitializeLbPairDiscriminatorBytes, getInitializeLbPairInstruction, getInitializeLbPairInstructionAsync, getInitializeLbPairInstructionDataCodec, getInitializeLbPairInstructionDataDecoder, getInitializeLbPairInstructionDataEncoder, getInitializePermissionLbPairDiscriminatorBytes, getInitializePermissionLbPairInstruction, getInitializePermissionLbPairInstructionAsync, getInitializePermissionLbPairInstructionDataCodec, getInitializePermissionLbPairInstructionDataDecoder, getInitializePermissionLbPairInstructionDataEncoder, getInitializePosition2DiscriminatorBytes, getInitializePosition2Instruction, getInitializePosition2InstructionAsync, getInitializePosition2InstructionDataCodec, getInitializePosition2InstructionDataDecoder, getInitializePosition2InstructionDataEncoder, getInitializePositionByOperatorDiscriminatorBytes, getInitializePositionByOperatorInstruction, getInitializePositionByOperatorInstructionAsync, getInitializePositionByOperatorInstructionDataCodec, getInitializePositionByOperatorInstructionDataDecoder, getInitializePositionByOperatorInstructionDataEncoder, getInitializePositionDiscriminatorBytes, getInitializePositionInstruction, getInitializePositionInstructionAsync, getInitializePositionInstructionDataCodec, getInitializePositionInstructionDataDecoder, getInitializePositionInstructionDataEncoder, getInitializePositionPdaDiscriminatorBytes, getInitializePositionPdaInstruction, getInitializePositionPdaInstructionAsync, getInitializePositionPdaInstructionDataCodec, getInitializePositionPdaInstructionDataDecoder, getInitializePositionPdaInstructionDataEncoder, getInitializePresetParameterDiscriminatorBytes, getInitializePresetParameterInstruction, getInitializePresetParameterInstructionDataCodec, getInitializePresetParameterInstructionDataDecoder, getInitializePresetParameterInstructionDataEncoder, getInitializeRewardDiscriminatorBytes, getInitializeRewardInstruction, getInitializeRewardInstructionAsync, getInitializeRewardInstructionDataCodec, getInitializeRewardInstructionDataDecoder, getInitializeRewardInstructionDataEncoder, getInitializeTokenBadgeDiscriminatorBytes, getInitializeTokenBadgeInstruction, getInitializeTokenBadgeInstructionAsync, getInitializeTokenBadgeInstructionDataCodec, getInitializeTokenBadgeInstructionDataDecoder, getInitializeTokenBadgeInstructionDataEncoder, getLbClmmErrorMessage, getLbPairCodec, getLbPairDecoder, getLbPairDiscriminatorBytes, getLbPairEncoder, getLbPairSize, getLimitOrderBinDataCodec, getLimitOrderBinDataDecoder, getLimitOrderBinDataEncoder, getLimitOrderCodec, getLimitOrderDecoder, getLimitOrderDiscriminatorBytes, getLimitOrderEncoder, getLimitOrderSize, getLiquidityParameterByStrategyCodec, getLiquidityParameterByStrategyDecoder, getLiquidityParameterByStrategyEncoder, getLiquidityParameterByWeightCodec, getLiquidityParameterByWeightDecoder, getLiquidityParameterByWeightEncoder, getLiquidityParameterCodec, getLiquidityParameterDecoder, getLiquidityParameterEncoder, getOperatorCodec, getOperatorDecoder, getOperatorDiscriminatorBytes, getOperatorEncoder, getOperatorSize, getOracleCodec, getOracleDecoder, getOracleDiscriminatorBytes, getOracleEncoder, getOracleSize, getPairStatusCodec, getPairStatusDecoder, getPairStatusEncoder, getPairTypeCodec, getPairTypeDecoder, getPairTypeEncoder, getPlaceLimitOrderDiscriminatorBytes, getPlaceLimitOrderInstruction, getPlaceLimitOrderInstructionAsync, getPlaceLimitOrderInstructionDataCodec, getPlaceLimitOrderInstructionDataDecoder, getPlaceLimitOrderInstructionDataEncoder, getPlaceLimitOrderParamsCodec, getPlaceLimitOrderParamsDecoder, getPlaceLimitOrderParamsEncoder, getPositionBinDataCodec, getPositionBinDataDecoder, getPositionBinDataEncoder, getPositionV2Codec, getPositionV2Decoder, getPositionV2DiscriminatorBytes, getPositionV2Encoder, getPositionV2Size, getPresetParameter2Codec, getPresetParameter2Decoder, getPresetParameter2DiscriminatorBytes, getPresetParameter2Encoder, getPresetParameter2Size, getPresetParameterCodec, getPresetParameterDecoder, getPresetParameterDiscriminatorBytes, getPresetParameterEncoder, getPresetParameterSize, getProtocolFeeCodec, getProtocolFeeDecoder, getProtocolFeeEncoder, getRebalanceLiquidityDiscriminatorBytes, getRebalanceLiquidityInstruction, getRebalanceLiquidityInstructionAsync, getRebalanceLiquidityInstructionDataCodec, getRebalanceLiquidityInstructionDataDecoder, getRebalanceLiquidityInstructionDataEncoder, getRelativeBinCodec, getRelativeBinDecoder, getRelativeBinEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveAllLiquidityDiscriminatorBytes, getRemoveAllLiquidityInstruction, getRemoveAllLiquidityInstructionAsync, getRemoveAllLiquidityInstructionDataCodec, getRemoveAllLiquidityInstructionDataDecoder, getRemoveAllLiquidityInstructionDataEncoder, getRemoveLiquidity2DiscriminatorBytes, getRemoveLiquidity2Instruction, getRemoveLiquidity2InstructionAsync, getRemoveLiquidity2InstructionDataCodec, getRemoveLiquidity2InstructionDataDecoder, getRemoveLiquidity2InstructionDataEncoder, getRemoveLiquidityByRange2DiscriminatorBytes, getRemoveLiquidityByRange2Instruction, getRemoveLiquidityByRange2InstructionAsync, getRemoveLiquidityByRange2InstructionDataCodec, getRemoveLiquidityByRange2InstructionDataDecoder, getRemoveLiquidityByRange2InstructionDataEncoder, getRemoveLiquidityByRangeDiscriminatorBytes, getRemoveLiquidityByRangeInstruction, getRemoveLiquidityByRangeInstructionAsync, getRemoveLiquidityByRangeInstructionDataCodec, getRemoveLiquidityByRangeInstructionDataDecoder, getRemoveLiquidityByRangeInstructionDataEncoder, getRemoveLiquidityDiscriminatorBytes, getRemoveLiquidityInstruction, getRemoveLiquidityInstructionAsync, getRemoveLiquidityInstructionDataCodec, getRemoveLiquidityInstructionDataDecoder, getRemoveLiquidityInstructionDataEncoder, getRemoveLiquidityParamsCodec, getRemoveLiquidityParamsDecoder, getRemoveLiquidityParamsEncoder, getResizeSideCodec, getResizeSideDecoder, getResizeSideEncoder, getRewardInfoCodec, getRewardInfoDecoder, getRewardInfoEncoder, getRoundingCodec, getRoundingDecoder, getRoundingEncoder, getSetActivationPointDiscriminatorBytes, getSetActivationPointInstruction, getSetActivationPointInstructionDataCodec, getSetActivationPointInstructionDataDecoder, getSetActivationPointInstructionDataEncoder, getSetPairStatusDiscriminatorBytes, getSetPairStatusInstruction, getSetPairStatusInstructionDataCodec, getSetPairStatusInstructionDataDecoder, getSetPairStatusInstructionDataEncoder, getSetPairStatusPermissionlessDiscriminatorBytes, getSetPairStatusPermissionlessInstruction, getSetPairStatusPermissionlessInstructionDataCodec, getSetPairStatusPermissionlessInstructionDataDecoder, getSetPairStatusPermissionlessInstructionDataEncoder, getSetPermissionlessOperationBitsDiscriminatorBytes, getSetPermissionlessOperationBitsInstruction, getSetPermissionlessOperationBitsInstructionAsync, getSetPermissionlessOperationBitsInstructionDataCodec, getSetPermissionlessOperationBitsInstructionDataDecoder, getSetPermissionlessOperationBitsInstructionDataEncoder, getSetPreActivationDurationDiscriminatorBytes, getSetPreActivationDurationInstruction, getSetPreActivationDurationInstructionDataCodec, getSetPreActivationDurationInstructionDataDecoder, getSetPreActivationDurationInstructionDataEncoder, getSetPreActivationSwapAddressDiscriminatorBytes, getSetPreActivationSwapAddressInstruction, getSetPreActivationSwapAddressInstructionDataCodec, getSetPreActivationSwapAddressInstructionDataDecoder, getSetPreActivationSwapAddressInstructionDataEncoder, getStaticParametersCodec, getStaticParametersDecoder, getStaticParametersEncoder, getStrategyParametersCodec, getStrategyParametersDecoder, getStrategyParametersEncoder, getStrategyTypeCodec, getStrategyTypeDecoder, getStrategyTypeEncoder, getSwap2DiscriminatorBytes, getSwap2Instruction, getSwap2InstructionAsync, getSwap2InstructionDataCodec, getSwap2InstructionDataDecoder, getSwap2InstructionDataEncoder, getSwapDiscriminatorBytes, getSwapExactOut2DiscriminatorBytes, getSwapExactOut2Instruction, getSwapExactOut2InstructionAsync, getSwapExactOut2InstructionDataCodec, getSwapExactOut2InstructionDataDecoder, getSwapExactOut2InstructionDataEncoder, getSwapExactOutDiscriminatorBytes, getSwapExactOutInstruction, getSwapExactOutInstructionAsync, getSwapExactOutInstructionDataCodec, getSwapExactOutInstructionDataDecoder, getSwapExactOutInstructionDataEncoder, getSwapInstruction, getSwapInstructionAsync, getSwapInstructionDataCodec, getSwapInstructionDataDecoder, getSwapInstructionDataEncoder, getSwapWithPriceImpact2DiscriminatorBytes, getSwapWithPriceImpact2Instruction, getSwapWithPriceImpact2InstructionAsync, getSwapWithPriceImpact2InstructionDataCodec, getSwapWithPriceImpact2InstructionDataDecoder, getSwapWithPriceImpact2InstructionDataEncoder, getSwapWithPriceImpactDiscriminatorBytes, getSwapWithPriceImpactInstruction, getSwapWithPriceImpactInstructionAsync, getSwapWithPriceImpactInstructionDataCodec, getSwapWithPriceImpactInstructionDataDecoder, getSwapWithPriceImpactInstructionDataEncoder, getTokenBadgeCodec, getTokenBadgeDecoder, getTokenBadgeDiscriminatorBytes, getTokenBadgeEncoder, getTokenBadgeSize, getTokenProgramFlagsCodec, getTokenProgramFlagsDecoder, getTokenProgramFlagsEncoder, getUpdateBaseFeeParametersDiscriminatorBytes, getUpdateBaseFeeParametersInstruction, getUpdateBaseFeeParametersInstructionAsync, getUpdateBaseFeeParametersInstructionDataCodec, getUpdateBaseFeeParametersInstructionDataDecoder, getUpdateBaseFeeParametersInstructionDataEncoder, getUpdateDynamicFeeParametersDiscriminatorBytes, getUpdateDynamicFeeParametersInstruction, getUpdateDynamicFeeParametersInstructionAsync, getUpdateDynamicFeeParametersInstructionDataCodec, getUpdateDynamicFeeParametersInstructionDataDecoder, getUpdateDynamicFeeParametersInstructionDataEncoder, getUpdateFeesAndReward2DiscriminatorBytes, getUpdateFeesAndReward2Instruction, getUpdateFeesAndReward2InstructionDataCodec, getUpdateFeesAndReward2InstructionDataDecoder, getUpdateFeesAndReward2InstructionDataEncoder, getUpdateFeesAndRewardsDiscriminatorBytes, getUpdateFeesAndRewardsInstruction, getUpdateFeesAndRewardsInstructionDataCodec, getUpdateFeesAndRewardsInstructionDataDecoder, getUpdateFeesAndRewardsInstructionDataEncoder, getUpdatePositionOperatorDiscriminatorBytes, getUpdatePositionOperatorInstruction, getUpdatePositionOperatorInstructionAsync, getUpdatePositionOperatorInstructionDataCodec, getUpdatePositionOperatorInstructionDataDecoder, getUpdatePositionOperatorInstructionDataEncoder, getUpdateRewardDurationDiscriminatorBytes, getUpdateRewardDurationInstruction, getUpdateRewardDurationInstructionAsync, getUpdateRewardDurationInstructionDataCodec, getUpdateRewardDurationInstructionDataDecoder, getUpdateRewardDurationInstructionDataEncoder, getUpdateRewardFunderDiscriminatorBytes, getUpdateRewardFunderInstruction, getUpdateRewardFunderInstructionAsync, getUpdateRewardFunderInstructionDataCodec, getUpdateRewardFunderInstructionDataDecoder, getUpdateRewardFunderInstructionDataEncoder, getUserRewardInfoCodec, getUserRewardInfoDecoder, getUserRewardInfoEncoder, getVariableParametersCodec, getVariableParametersDecoder, getVariableParametersEncoder, getWithdrawIneligibleRewardDiscriminatorBytes, getWithdrawIneligibleRewardInstruction, getWithdrawIneligibleRewardInstructionAsync, getWithdrawIneligibleRewardInstructionDataCodec, getWithdrawIneligibleRewardInstructionDataDecoder, getWithdrawIneligibleRewardInstructionDataEncoder, getWithdrawProtocolFeeDiscriminatorBytes, getWithdrawProtocolFeeInstruction, getWithdrawProtocolFeeInstructionDataCodec, getWithdrawProtocolFeeInstructionDataDecoder, getWithdrawProtocolFeeInstructionDataEncoder, getZapProtocolFeeDiscriminatorBytes, getZapProtocolFeeInstruction, getZapProtocolFeeInstructionDataCodec, getZapProtocolFeeInstructionDataDecoder, getZapProtocolFeeInstructionDataEncoder, identifyLbClmmAccount, identifyLbClmmInstruction, isAccountsType, isLbClmmError, 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 };
8669
+ declare const PRESET_PARAMETER2_SEED: Uint8Array<ArrayBuffer>;
8670
+ /**
8671
+ * Mirrors the on-chain `derive_lb_pair_with_preset_parameter_key`:
8672
+ * seeds = [preset_parameter, min(mintX, mintY), max(mintX, mintY)].
8673
+ *
8674
+ * This is the form `initialize_lb_pair2` checks. The deprecated v1
8675
+ * `initialize_lb_pair` uses a different derivation rooted in the binStep.
8676
+ */
8677
+ declare function findLbPairPda(seeds: {
8678
+ presetParameter: Address;
8679
+ tokenMintX: Address;
8680
+ tokenMintY: Address;
8681
+ }, config?: {
8682
+ programAddress?: Address;
8683
+ }): Promise<ProgramDerivedAddress>;
8684
+ declare function findPresetParameterPda(seeds: {
8685
+ index: number;
8686
+ }, config?: {
8687
+ programAddress?: Address;
8688
+ }): Promise<ProgramDerivedAddress>;
8689
+
8690
+ declare const MAX_BIN_PER_ARRAY = 70;
8691
+ declare const SCALE_OFFSET = 64;
8692
+ declare const BASIS_POINT_MAX = 10000;
8693
+ declare const MIN_BIN_ID = -443636;
8694
+ declare const MAX_BIN_ID = 443636;
8695
+ declare const ONE_Q64: bigint;
8696
+ /**
8697
+ * Exact Q64.64 exponentiation. Ports `u64x64_math::pow`.
8698
+ * Returns `null` on overflow (mirrors Rust's `Option<u128>`).
8699
+ */
8700
+ declare function q64Pow(base: bigint, exp: number): bigint | null;
8701
+ /**
8702
+ * Exact Q64.64 price of a bin. Ports `price_math::get_price_from_id`.
8703
+ * Returns the on-chain raw price (lamport_Y / lamport_X) as a Q64.64 u128.
8704
+ * Throws if the (binId, binStep) combination overflows the fixed-point range.
8705
+ */
8706
+ declare function getPriceFromId(binId: number, binStep: number): bigint;
8707
+ /**
8708
+ * Largest bin id whose Q64.64 price is ≤ `priceQ64`. Exact inverse of
8709
+ * `getPriceFromId` via binary search — no on-chain equivalent exists; the
8710
+ * program only ever takes `active_id` as input.
8711
+ *
8712
+ * Saturates to MIN_BIN_ID / MAX_BIN_ID when `priceQ64` is out of representable
8713
+ * range.
8714
+ */
8715
+ declare function getIdFromPrice(priceQ64: bigint, binStep: number): number;
8716
+ /**
8717
+ * Convert a human-scale price (Number) into a Q64.64 raw lamport-ratio price.
8718
+ *
8719
+ * Lossy: bounded by Number's ~16-digit mantissa. For exact pipelines, work in
8720
+ * Q64.64 directly via {@link getPriceFromId} / {@link getIdFromPrice}.
8721
+ */
8722
+ declare function humanPriceToQ64(humanPrice: number, decimalsX: number, decimalsY: number): bigint;
8723
+ /**
8724
+ * Convert a Q64.64 raw lamport-ratio price into a human-scale Number.
8725
+ *
8726
+ * Lossy by Number precision; use only for display or for round-tripping when
8727
+ * exact equality is not required.
8728
+ */
8729
+ declare function q64ToHumanPrice(priceQ64: bigint, decimalsX: number, decimalsY: number): number;
8730
+ declare function priceToBinId(humanPrice: number, binStep: number, decimalsX: number, decimalsY: number): number;
8731
+ declare function binIdToPrice(binId: number, binStep: number, decimalsX: number, decimalsY: number): number;
8732
+ declare function binIdToBinArrayIndex(binId: number): bigint;
8733
+ declare function binArrayIndexToBinIdRange(index: bigint | number): {
8734
+ lower: number;
8735
+ upper: number;
8736
+ };
8737
+
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 };
package/dist/index.d.ts CHANGED
@@ -8666,4 +8666,73 @@ declare function findTokenBadgePda(seeds: TokenBadgeSeeds, config?: {
8666
8666
  programAddress?: Address | undefined;
8667
8667
  }): Promise<ProgramDerivedAddress>;
8668
8668
 
8669
- 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, 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, 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_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, 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, findOperatorPda, findOraclePda, findPositionPda, findReserveXPda, findReserveYPda, findRewardVaultPda, findTokenBadgePda, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getActivationTypeCodec, getActivationTypeDecoder, getActivationTypeEncoder, getAddLiquidity2DiscriminatorBytes, getAddLiquidity2Instruction, getAddLiquidity2InstructionAsync, getAddLiquidity2InstructionDataCodec, getAddLiquidity2InstructionDataDecoder, getAddLiquidity2InstructionDataEncoder, getAddLiquidityByStrategy2DiscriminatorBytes, getAddLiquidityByStrategy2Instruction, getAddLiquidityByStrategy2InstructionAsync, getAddLiquidityByStrategy2InstructionDataCodec, getAddLiquidityByStrategy2InstructionDataDecoder, getAddLiquidityByStrategy2InstructionDataEncoder, getAddLiquidityByStrategyDiscriminatorBytes, getAddLiquidityByStrategyInstruction, getAddLiquidityByStrategyInstructionAsync, getAddLiquidityByStrategyInstructionDataCodec, getAddLiquidityByStrategyInstructionDataDecoder, getAddLiquidityByStrategyInstructionDataEncoder, getAddLiquidityByStrategyOneSideDiscriminatorBytes, getAddLiquidityByStrategyOneSideInstruction, getAddLiquidityByStrategyOneSideInstructionAsync, getAddLiquidityByStrategyOneSideInstructionDataCodec, getAddLiquidityByStrategyOneSideInstructionDataDecoder, getAddLiquidityByStrategyOneSideInstructionDataEncoder, getAddLiquidityByWeight2DiscriminatorBytes, getAddLiquidityByWeight2Instruction, getAddLiquidityByWeight2InstructionAsync, getAddLiquidityByWeight2InstructionDataCodec, getAddLiquidityByWeight2InstructionDataDecoder, getAddLiquidityByWeight2InstructionDataEncoder, getAddLiquidityByWeightDiscriminatorBytes, getAddLiquidityByWeightInstruction, getAddLiquidityByWeightInstructionAsync, getAddLiquidityByWeightInstructionDataCodec, getAddLiquidityByWeightInstructionDataDecoder, getAddLiquidityByWeightInstructionDataEncoder, getAddLiquidityDiscriminatorBytes, getAddLiquidityInstruction, getAddLiquidityInstructionAsync, getAddLiquidityInstructionDataCodec, getAddLiquidityInstructionDataDecoder, getAddLiquidityInstructionDataEncoder, getAddLiquidityOneSideDiscriminatorBytes, getAddLiquidityOneSideInstruction, getAddLiquidityOneSideInstructionAsync, getAddLiquidityOneSideInstructionDataCodec, getAddLiquidityOneSideInstructionDataDecoder, getAddLiquidityOneSideInstructionDataEncoder, getAddLiquidityOneSidePrecise2DiscriminatorBytes, getAddLiquidityOneSidePrecise2Instruction, getAddLiquidityOneSidePrecise2InstructionAsync, getAddLiquidityOneSidePrecise2InstructionDataCodec, getAddLiquidityOneSidePrecise2InstructionDataDecoder, getAddLiquidityOneSidePrecise2InstructionDataEncoder, getAddLiquidityOneSidePreciseDiscriminatorBytes, getAddLiquidityOneSidePreciseInstruction, getAddLiquidityOneSidePreciseInstructionAsync, getAddLiquidityOneSidePreciseInstructionDataCodec, getAddLiquidityOneSidePreciseInstructionDataDecoder, getAddLiquidityOneSidePreciseInstructionDataEncoder, getAddLiquidityParamsCodec, getAddLiquidityParamsDecoder, getAddLiquidityParamsEncoder, getBinArrayBitmapExtensionCodec, getBinArrayBitmapExtensionDecoder, getBinArrayBitmapExtensionDiscriminatorBytes, getBinArrayBitmapExtensionEncoder, getBinArrayBitmapExtensionSize, getBinArrayCodec, getBinArrayDecoder, getBinArrayDiscriminatorBytes, getBinArrayEncoder, getBinArraySize, getBinCodec, getBinDecoder, getBinEncoder, getBinLimitOrderAmountCodec, getBinLimitOrderAmountDecoder, getBinLimitOrderAmountEncoder, getBinLiquidityDistributionByWeightCodec, getBinLiquidityDistributionByWeightDecoder, getBinLiquidityDistributionByWeightEncoder, getBinLiquidityDistributionCodec, getBinLiquidityDistributionDecoder, getBinLiquidityDistributionEncoder, getBinLiquidityReductionCodec, getBinLiquidityReductionDecoder, getBinLiquidityReductionEncoder, getCancelLimitOrderDiscriminatorBytes, getCancelLimitOrderInstruction, getCancelLimitOrderInstructionAsync, getCancelLimitOrderInstructionDataCodec, getCancelLimitOrderInstructionDataDecoder, getCancelLimitOrderInstructionDataEncoder, getClaimFee2DiscriminatorBytes, getClaimFee2Instruction, getClaimFee2InstructionAsync, getClaimFee2InstructionDataCodec, getClaimFee2InstructionDataDecoder, getClaimFee2InstructionDataEncoder, getClaimFeeDiscriminatorBytes, getClaimFeeInstruction, getClaimFeeInstructionAsync, getClaimFeeInstructionDataCodec, getClaimFeeInstructionDataDecoder, getClaimFeeInstructionDataEncoder, getClaimFeeOperatorCodec, getClaimFeeOperatorDecoder, getClaimFeeOperatorDiscriminatorBytes, getClaimFeeOperatorEncoder, getClaimFeeOperatorSize, getClaimReward2DiscriminatorBytes, getClaimReward2Instruction, getClaimReward2InstructionAsync, getClaimReward2InstructionDataCodec, getClaimReward2InstructionDataDecoder, getClaimReward2InstructionDataEncoder, getClaimRewardDiscriminatorBytes, getClaimRewardInstruction, getClaimRewardInstructionAsync, getClaimRewardInstructionDataCodec, getClaimRewardInstructionDataDecoder, getClaimRewardInstructionDataEncoder, getCloseBinArrayDiscriminatorBytes, getCloseBinArrayInstruction, getCloseBinArrayInstructionDataCodec, getCloseBinArrayInstructionDataDecoder, getCloseBinArrayInstructionDataEncoder, getCloseClaimFeeOperatorAccountDiscriminatorBytes, getCloseClaimFeeOperatorAccountInstruction, getCloseClaimFeeOperatorAccountInstructionDataCodec, getCloseClaimFeeOperatorAccountInstructionDataDecoder, getCloseClaimFeeOperatorAccountInstructionDataEncoder, getCloseLimitOrderIfEmptyDiscriminatorBytes, getCloseLimitOrderIfEmptyInstruction, getCloseLimitOrderIfEmptyInstructionAsync, getCloseLimitOrderIfEmptyInstructionDataCodec, getCloseLimitOrderIfEmptyInstructionDataDecoder, getCloseLimitOrderIfEmptyInstructionDataEncoder, getCloseOperatorAccountDiscriminatorBytes, getCloseOperatorAccountInstruction, getCloseOperatorAccountInstructionDataCodec, getCloseOperatorAccountInstructionDataDecoder, getCloseOperatorAccountInstructionDataEncoder, getClosePosition2DiscriminatorBytes, getClosePosition2Instruction, getClosePosition2InstructionAsync, getClosePosition2InstructionDataCodec, getClosePosition2InstructionDataDecoder, getClosePosition2InstructionDataEncoder, getClosePositionDiscriminatorBytes, getClosePositionIfEmptyDiscriminatorBytes, getClosePositionIfEmptyInstruction, getClosePositionIfEmptyInstructionAsync, getClosePositionIfEmptyInstructionDataCodec, getClosePositionIfEmptyInstructionDataDecoder, getClosePositionIfEmptyInstructionDataEncoder, getClosePositionInstruction, getClosePositionInstructionAsync, getClosePositionInstructionDataCodec, getClosePositionInstructionDataDecoder, getClosePositionInstructionDataEncoder, getClosePresetParameter2DiscriminatorBytes, getClosePresetParameter2Instruction, getClosePresetParameter2InstructionDataCodec, getClosePresetParameter2InstructionDataDecoder, getClosePresetParameter2InstructionDataEncoder, getClosePresetParameterDiscriminatorBytes, getClosePresetParameterInstruction, getClosePresetParameterInstructionDataCodec, getClosePresetParameterInstructionDataDecoder, getClosePresetParameterInstructionDataEncoder, getCloseTokenBadgeDiscriminatorBytes, getCloseTokenBadgeInstruction, getCloseTokenBadgeInstructionDataCodec, getCloseTokenBadgeInstructionDataDecoder, getCloseTokenBadgeInstructionDataEncoder, getCompressedBinDepositAmountCodec, getCompressedBinDepositAmountDecoder, getCompressedBinDepositAmountEncoder, getCreateOperatorAccountDiscriminatorBytes, getCreateOperatorAccountInstruction, getCreateOperatorAccountInstructionAsync, getCreateOperatorAccountInstructionDataCodec, getCreateOperatorAccountInstructionDataDecoder, getCreateOperatorAccountInstructionDataEncoder, getCustomizableParamsCodec, getCustomizableParamsDecoder, getCustomizableParamsEncoder, getDecreasePositionLengthDiscriminatorBytes, getDecreasePositionLengthInstruction, getDecreasePositionLengthInstructionAsync, getDecreasePositionLengthInstructionDataCodec, getDecreasePositionLengthInstructionDataDecoder, getDecreasePositionLengthInstructionDataEncoder, getDummyZcAccountCodec, getDummyZcAccountDecoder, getDummyZcAccountDiscriminatorBytes, getDummyZcAccountEncoder, getDummyZcAccountSize, getFeeInfoCodec, getFeeInfoDecoder, getFeeInfoEncoder, getForIdlTypeGenerationDoNotCallDiscriminatorBytes, getForIdlTypeGenerationDoNotCallInstruction, getForIdlTypeGenerationDoNotCallInstructionDataCodec, getForIdlTypeGenerationDoNotCallInstructionDataDecoder, getForIdlTypeGenerationDoNotCallInstructionDataEncoder, getFundRewardDiscriminatorBytes, getFundRewardInstruction, getFundRewardInstructionAsync, getFundRewardInstructionDataCodec, getFundRewardInstructionDataDecoder, getFundRewardInstructionDataEncoder, getGoToABinDiscriminatorBytes, getGoToABinInstruction, getGoToABinInstructionAsync, getGoToABinInstructionDataCodec, getGoToABinInstructionDataDecoder, getGoToABinInstructionDataEncoder, getIncreaseOracleLengthDiscriminatorBytes, getIncreaseOracleLengthInstruction, getIncreaseOracleLengthInstructionAsync, getIncreaseOracleLengthInstructionDataCodec, getIncreaseOracleLengthInstructionDataDecoder, getIncreaseOracleLengthInstructionDataEncoder, getIncreasePositionLength2DiscriminatorBytes, getIncreasePositionLength2Instruction, getIncreasePositionLength2InstructionAsync, getIncreasePositionLength2InstructionDataCodec, getIncreasePositionLength2InstructionDataDecoder, getIncreasePositionLength2InstructionDataEncoder, getIncreasePositionLengthDiscriminatorBytes, getIncreasePositionLengthInstruction, getIncreasePositionLengthInstructionAsync, getIncreasePositionLengthInstructionDataCodec, getIncreasePositionLengthInstructionDataDecoder, getIncreasePositionLengthInstructionDataEncoder, getInitializeBinArrayBitmapExtensionDiscriminatorBytes, getInitializeBinArrayBitmapExtensionInstruction, getInitializeBinArrayBitmapExtensionInstructionAsync, getInitializeBinArrayBitmapExtensionInstructionDataCodec, getInitializeBinArrayBitmapExtensionInstructionDataDecoder, getInitializeBinArrayBitmapExtensionInstructionDataEncoder, getInitializeBinArrayDiscriminatorBytes, getInitializeBinArrayInstruction, getInitializeBinArrayInstructionAsync, getInitializeBinArrayInstructionDataCodec, getInitializeBinArrayInstructionDataDecoder, getInitializeBinArrayInstructionDataEncoder, getInitializeCustomizablePermissionlessLbPair2DiscriminatorBytes, getInitializeCustomizablePermissionlessLbPair2Instruction, getInitializeCustomizablePermissionlessLbPair2InstructionAsync, getInitializeCustomizablePermissionlessLbPair2InstructionDataCodec, getInitializeCustomizablePermissionlessLbPair2InstructionDataDecoder, getInitializeCustomizablePermissionlessLbPair2InstructionDataEncoder, getInitializeCustomizablePermissionlessLbPairDiscriminatorBytes, getInitializeCustomizablePermissionlessLbPairInstruction, getInitializeCustomizablePermissionlessLbPairInstructionAsync, getInitializeCustomizablePermissionlessLbPairInstructionDataCodec, getInitializeCustomizablePermissionlessLbPairInstructionDataDecoder, getInitializeCustomizablePermissionlessLbPairInstructionDataEncoder, getInitializeLbPair2DiscriminatorBytes, getInitializeLbPair2Instruction, getInitializeLbPair2InstructionAsync, getInitializeLbPair2InstructionDataCodec, getInitializeLbPair2InstructionDataDecoder, getInitializeLbPair2InstructionDataEncoder, getInitializeLbPairDiscriminatorBytes, getInitializeLbPairInstruction, getInitializeLbPairInstructionAsync, getInitializeLbPairInstructionDataCodec, getInitializeLbPairInstructionDataDecoder, getInitializeLbPairInstructionDataEncoder, getInitializePermissionLbPairDiscriminatorBytes, getInitializePermissionLbPairInstruction, getInitializePermissionLbPairInstructionAsync, getInitializePermissionLbPairInstructionDataCodec, getInitializePermissionLbPairInstructionDataDecoder, getInitializePermissionLbPairInstructionDataEncoder, getInitializePosition2DiscriminatorBytes, getInitializePosition2Instruction, getInitializePosition2InstructionAsync, getInitializePosition2InstructionDataCodec, getInitializePosition2InstructionDataDecoder, getInitializePosition2InstructionDataEncoder, getInitializePositionByOperatorDiscriminatorBytes, getInitializePositionByOperatorInstruction, getInitializePositionByOperatorInstructionAsync, getInitializePositionByOperatorInstructionDataCodec, getInitializePositionByOperatorInstructionDataDecoder, getInitializePositionByOperatorInstructionDataEncoder, getInitializePositionDiscriminatorBytes, getInitializePositionInstruction, getInitializePositionInstructionAsync, getInitializePositionInstructionDataCodec, getInitializePositionInstructionDataDecoder, getInitializePositionInstructionDataEncoder, getInitializePositionPdaDiscriminatorBytes, getInitializePositionPdaInstruction, getInitializePositionPdaInstructionAsync, getInitializePositionPdaInstructionDataCodec, getInitializePositionPdaInstructionDataDecoder, getInitializePositionPdaInstructionDataEncoder, getInitializePresetParameterDiscriminatorBytes, getInitializePresetParameterInstruction, getInitializePresetParameterInstructionDataCodec, getInitializePresetParameterInstructionDataDecoder, getInitializePresetParameterInstructionDataEncoder, getInitializeRewardDiscriminatorBytes, getInitializeRewardInstruction, getInitializeRewardInstructionAsync, getInitializeRewardInstructionDataCodec, getInitializeRewardInstructionDataDecoder, getInitializeRewardInstructionDataEncoder, getInitializeTokenBadgeDiscriminatorBytes, getInitializeTokenBadgeInstruction, getInitializeTokenBadgeInstructionAsync, getInitializeTokenBadgeInstructionDataCodec, getInitializeTokenBadgeInstructionDataDecoder, getInitializeTokenBadgeInstructionDataEncoder, getLbClmmErrorMessage, getLbPairCodec, getLbPairDecoder, getLbPairDiscriminatorBytes, getLbPairEncoder, getLbPairSize, getLimitOrderBinDataCodec, getLimitOrderBinDataDecoder, getLimitOrderBinDataEncoder, getLimitOrderCodec, getLimitOrderDecoder, getLimitOrderDiscriminatorBytes, getLimitOrderEncoder, getLimitOrderSize, getLiquidityParameterByStrategyCodec, getLiquidityParameterByStrategyDecoder, getLiquidityParameterByStrategyEncoder, getLiquidityParameterByWeightCodec, getLiquidityParameterByWeightDecoder, getLiquidityParameterByWeightEncoder, getLiquidityParameterCodec, getLiquidityParameterDecoder, getLiquidityParameterEncoder, getOperatorCodec, getOperatorDecoder, getOperatorDiscriminatorBytes, getOperatorEncoder, getOperatorSize, getOracleCodec, getOracleDecoder, getOracleDiscriminatorBytes, getOracleEncoder, getOracleSize, getPairStatusCodec, getPairStatusDecoder, getPairStatusEncoder, getPairTypeCodec, getPairTypeDecoder, getPairTypeEncoder, getPlaceLimitOrderDiscriminatorBytes, getPlaceLimitOrderInstruction, getPlaceLimitOrderInstructionAsync, getPlaceLimitOrderInstructionDataCodec, getPlaceLimitOrderInstructionDataDecoder, getPlaceLimitOrderInstructionDataEncoder, getPlaceLimitOrderParamsCodec, getPlaceLimitOrderParamsDecoder, getPlaceLimitOrderParamsEncoder, getPositionBinDataCodec, getPositionBinDataDecoder, getPositionBinDataEncoder, getPositionV2Codec, getPositionV2Decoder, getPositionV2DiscriminatorBytes, getPositionV2Encoder, getPositionV2Size, getPresetParameter2Codec, getPresetParameter2Decoder, getPresetParameter2DiscriminatorBytes, getPresetParameter2Encoder, getPresetParameter2Size, getPresetParameterCodec, getPresetParameterDecoder, getPresetParameterDiscriminatorBytes, getPresetParameterEncoder, getPresetParameterSize, getProtocolFeeCodec, getProtocolFeeDecoder, getProtocolFeeEncoder, getRebalanceLiquidityDiscriminatorBytes, getRebalanceLiquidityInstruction, getRebalanceLiquidityInstructionAsync, getRebalanceLiquidityInstructionDataCodec, getRebalanceLiquidityInstructionDataDecoder, getRebalanceLiquidityInstructionDataEncoder, getRelativeBinCodec, getRelativeBinDecoder, getRelativeBinEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveAllLiquidityDiscriminatorBytes, getRemoveAllLiquidityInstruction, getRemoveAllLiquidityInstructionAsync, getRemoveAllLiquidityInstructionDataCodec, getRemoveAllLiquidityInstructionDataDecoder, getRemoveAllLiquidityInstructionDataEncoder, getRemoveLiquidity2DiscriminatorBytes, getRemoveLiquidity2Instruction, getRemoveLiquidity2InstructionAsync, getRemoveLiquidity2InstructionDataCodec, getRemoveLiquidity2InstructionDataDecoder, getRemoveLiquidity2InstructionDataEncoder, getRemoveLiquidityByRange2DiscriminatorBytes, getRemoveLiquidityByRange2Instruction, getRemoveLiquidityByRange2InstructionAsync, getRemoveLiquidityByRange2InstructionDataCodec, getRemoveLiquidityByRange2InstructionDataDecoder, getRemoveLiquidityByRange2InstructionDataEncoder, getRemoveLiquidityByRangeDiscriminatorBytes, getRemoveLiquidityByRangeInstruction, getRemoveLiquidityByRangeInstructionAsync, getRemoveLiquidityByRangeInstructionDataCodec, getRemoveLiquidityByRangeInstructionDataDecoder, getRemoveLiquidityByRangeInstructionDataEncoder, getRemoveLiquidityDiscriminatorBytes, getRemoveLiquidityInstruction, getRemoveLiquidityInstructionAsync, getRemoveLiquidityInstructionDataCodec, getRemoveLiquidityInstructionDataDecoder, getRemoveLiquidityInstructionDataEncoder, getRemoveLiquidityParamsCodec, getRemoveLiquidityParamsDecoder, getRemoveLiquidityParamsEncoder, getResizeSideCodec, getResizeSideDecoder, getResizeSideEncoder, getRewardInfoCodec, getRewardInfoDecoder, getRewardInfoEncoder, getRoundingCodec, getRoundingDecoder, getRoundingEncoder, getSetActivationPointDiscriminatorBytes, getSetActivationPointInstruction, getSetActivationPointInstructionDataCodec, getSetActivationPointInstructionDataDecoder, getSetActivationPointInstructionDataEncoder, getSetPairStatusDiscriminatorBytes, getSetPairStatusInstruction, getSetPairStatusInstructionDataCodec, getSetPairStatusInstructionDataDecoder, getSetPairStatusInstructionDataEncoder, getSetPairStatusPermissionlessDiscriminatorBytes, getSetPairStatusPermissionlessInstruction, getSetPairStatusPermissionlessInstructionDataCodec, getSetPairStatusPermissionlessInstructionDataDecoder, getSetPairStatusPermissionlessInstructionDataEncoder, getSetPermissionlessOperationBitsDiscriminatorBytes, getSetPermissionlessOperationBitsInstruction, getSetPermissionlessOperationBitsInstructionAsync, getSetPermissionlessOperationBitsInstructionDataCodec, getSetPermissionlessOperationBitsInstructionDataDecoder, getSetPermissionlessOperationBitsInstructionDataEncoder, getSetPreActivationDurationDiscriminatorBytes, getSetPreActivationDurationInstruction, getSetPreActivationDurationInstructionDataCodec, getSetPreActivationDurationInstructionDataDecoder, getSetPreActivationDurationInstructionDataEncoder, getSetPreActivationSwapAddressDiscriminatorBytes, getSetPreActivationSwapAddressInstruction, getSetPreActivationSwapAddressInstructionDataCodec, getSetPreActivationSwapAddressInstructionDataDecoder, getSetPreActivationSwapAddressInstructionDataEncoder, getStaticParametersCodec, getStaticParametersDecoder, getStaticParametersEncoder, getStrategyParametersCodec, getStrategyParametersDecoder, getStrategyParametersEncoder, getStrategyTypeCodec, getStrategyTypeDecoder, getStrategyTypeEncoder, getSwap2DiscriminatorBytes, getSwap2Instruction, getSwap2InstructionAsync, getSwap2InstructionDataCodec, getSwap2InstructionDataDecoder, getSwap2InstructionDataEncoder, getSwapDiscriminatorBytes, getSwapExactOut2DiscriminatorBytes, getSwapExactOut2Instruction, getSwapExactOut2InstructionAsync, getSwapExactOut2InstructionDataCodec, getSwapExactOut2InstructionDataDecoder, getSwapExactOut2InstructionDataEncoder, getSwapExactOutDiscriminatorBytes, getSwapExactOutInstruction, getSwapExactOutInstructionAsync, getSwapExactOutInstructionDataCodec, getSwapExactOutInstructionDataDecoder, getSwapExactOutInstructionDataEncoder, getSwapInstruction, getSwapInstructionAsync, getSwapInstructionDataCodec, getSwapInstructionDataDecoder, getSwapInstructionDataEncoder, getSwapWithPriceImpact2DiscriminatorBytes, getSwapWithPriceImpact2Instruction, getSwapWithPriceImpact2InstructionAsync, getSwapWithPriceImpact2InstructionDataCodec, getSwapWithPriceImpact2InstructionDataDecoder, getSwapWithPriceImpact2InstructionDataEncoder, getSwapWithPriceImpactDiscriminatorBytes, getSwapWithPriceImpactInstruction, getSwapWithPriceImpactInstructionAsync, getSwapWithPriceImpactInstructionDataCodec, getSwapWithPriceImpactInstructionDataDecoder, getSwapWithPriceImpactInstructionDataEncoder, getTokenBadgeCodec, getTokenBadgeDecoder, getTokenBadgeDiscriminatorBytes, getTokenBadgeEncoder, getTokenBadgeSize, getTokenProgramFlagsCodec, getTokenProgramFlagsDecoder, getTokenProgramFlagsEncoder, getUpdateBaseFeeParametersDiscriminatorBytes, getUpdateBaseFeeParametersInstruction, getUpdateBaseFeeParametersInstructionAsync, getUpdateBaseFeeParametersInstructionDataCodec, getUpdateBaseFeeParametersInstructionDataDecoder, getUpdateBaseFeeParametersInstructionDataEncoder, getUpdateDynamicFeeParametersDiscriminatorBytes, getUpdateDynamicFeeParametersInstruction, getUpdateDynamicFeeParametersInstructionAsync, getUpdateDynamicFeeParametersInstructionDataCodec, getUpdateDynamicFeeParametersInstructionDataDecoder, getUpdateDynamicFeeParametersInstructionDataEncoder, getUpdateFeesAndReward2DiscriminatorBytes, getUpdateFeesAndReward2Instruction, getUpdateFeesAndReward2InstructionDataCodec, getUpdateFeesAndReward2InstructionDataDecoder, getUpdateFeesAndReward2InstructionDataEncoder, getUpdateFeesAndRewardsDiscriminatorBytes, getUpdateFeesAndRewardsInstruction, getUpdateFeesAndRewardsInstructionDataCodec, getUpdateFeesAndRewardsInstructionDataDecoder, getUpdateFeesAndRewardsInstructionDataEncoder, getUpdatePositionOperatorDiscriminatorBytes, getUpdatePositionOperatorInstruction, getUpdatePositionOperatorInstructionAsync, getUpdatePositionOperatorInstructionDataCodec, getUpdatePositionOperatorInstructionDataDecoder, getUpdatePositionOperatorInstructionDataEncoder, getUpdateRewardDurationDiscriminatorBytes, getUpdateRewardDurationInstruction, getUpdateRewardDurationInstructionAsync, getUpdateRewardDurationInstructionDataCodec, getUpdateRewardDurationInstructionDataDecoder, getUpdateRewardDurationInstructionDataEncoder, getUpdateRewardFunderDiscriminatorBytes, getUpdateRewardFunderInstruction, getUpdateRewardFunderInstructionAsync, getUpdateRewardFunderInstructionDataCodec, getUpdateRewardFunderInstructionDataDecoder, getUpdateRewardFunderInstructionDataEncoder, getUserRewardInfoCodec, getUserRewardInfoDecoder, getUserRewardInfoEncoder, getVariableParametersCodec, getVariableParametersDecoder, getVariableParametersEncoder, getWithdrawIneligibleRewardDiscriminatorBytes, getWithdrawIneligibleRewardInstruction, getWithdrawIneligibleRewardInstructionAsync, getWithdrawIneligibleRewardInstructionDataCodec, getWithdrawIneligibleRewardInstructionDataDecoder, getWithdrawIneligibleRewardInstructionDataEncoder, getWithdrawProtocolFeeDiscriminatorBytes, getWithdrawProtocolFeeInstruction, getWithdrawProtocolFeeInstructionDataCodec, getWithdrawProtocolFeeInstructionDataDecoder, getWithdrawProtocolFeeInstructionDataEncoder, getZapProtocolFeeDiscriminatorBytes, getZapProtocolFeeInstruction, getZapProtocolFeeInstructionDataCodec, getZapProtocolFeeInstructionDataDecoder, getZapProtocolFeeInstructionDataEncoder, identifyLbClmmAccount, identifyLbClmmInstruction, isAccountsType, isLbClmmError, 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 };
8669
+ declare const PRESET_PARAMETER2_SEED: Uint8Array<ArrayBuffer>;
8670
+ /**
8671
+ * Mirrors the on-chain `derive_lb_pair_with_preset_parameter_key`:
8672
+ * seeds = [preset_parameter, min(mintX, mintY), max(mintX, mintY)].
8673
+ *
8674
+ * This is the form `initialize_lb_pair2` checks. The deprecated v1
8675
+ * `initialize_lb_pair` uses a different derivation rooted in the binStep.
8676
+ */
8677
+ declare function findLbPairPda(seeds: {
8678
+ presetParameter: Address;
8679
+ tokenMintX: Address;
8680
+ tokenMintY: Address;
8681
+ }, config?: {
8682
+ programAddress?: Address;
8683
+ }): Promise<ProgramDerivedAddress>;
8684
+ declare function findPresetParameterPda(seeds: {
8685
+ index: number;
8686
+ }, config?: {
8687
+ programAddress?: Address;
8688
+ }): Promise<ProgramDerivedAddress>;
8689
+
8690
+ declare const MAX_BIN_PER_ARRAY = 70;
8691
+ declare const SCALE_OFFSET = 64;
8692
+ declare const BASIS_POINT_MAX = 10000;
8693
+ declare const MIN_BIN_ID = -443636;
8694
+ declare const MAX_BIN_ID = 443636;
8695
+ declare const ONE_Q64: bigint;
8696
+ /**
8697
+ * Exact Q64.64 exponentiation. Ports `u64x64_math::pow`.
8698
+ * Returns `null` on overflow (mirrors Rust's `Option<u128>`).
8699
+ */
8700
+ declare function q64Pow(base: bigint, exp: number): bigint | null;
8701
+ /**
8702
+ * Exact Q64.64 price of a bin. Ports `price_math::get_price_from_id`.
8703
+ * Returns the on-chain raw price (lamport_Y / lamport_X) as a Q64.64 u128.
8704
+ * Throws if the (binId, binStep) combination overflows the fixed-point range.
8705
+ */
8706
+ declare function getPriceFromId(binId: number, binStep: number): bigint;
8707
+ /**
8708
+ * Largest bin id whose Q64.64 price is ≤ `priceQ64`. Exact inverse of
8709
+ * `getPriceFromId` via binary search — no on-chain equivalent exists; the
8710
+ * program only ever takes `active_id` as input.
8711
+ *
8712
+ * Saturates to MIN_BIN_ID / MAX_BIN_ID when `priceQ64` is out of representable
8713
+ * range.
8714
+ */
8715
+ declare function getIdFromPrice(priceQ64: bigint, binStep: number): number;
8716
+ /**
8717
+ * Convert a human-scale price (Number) into a Q64.64 raw lamport-ratio price.
8718
+ *
8719
+ * Lossy: bounded by Number's ~16-digit mantissa. For exact pipelines, work in
8720
+ * Q64.64 directly via {@link getPriceFromId} / {@link getIdFromPrice}.
8721
+ */
8722
+ declare function humanPriceToQ64(humanPrice: number, decimalsX: number, decimalsY: number): bigint;
8723
+ /**
8724
+ * Convert a Q64.64 raw lamport-ratio price into a human-scale Number.
8725
+ *
8726
+ * Lossy by Number precision; use only for display or for round-tripping when
8727
+ * exact equality is not required.
8728
+ */
8729
+ declare function q64ToHumanPrice(priceQ64: bigint, decimalsX: number, decimalsY: number): number;
8730
+ declare function priceToBinId(humanPrice: number, binStep: number, decimalsX: number, decimalsY: number): number;
8731
+ declare function binIdToPrice(binId: number, binStep: number, decimalsX: number, decimalsY: number): number;
8732
+ declare function binIdToBinArrayIndex(binId: number): bigint;
8733
+ declare function binArrayIndexToBinIdRange(index: bigint | number): {
8734
+ lower: number;
8735
+ upper: number;
8736
+ };
8737
+
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 };
package/dist/index.js CHANGED
@@ -30,6 +30,7 @@ __export(index_exports, {
30
30
  ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR: () => ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR,
31
31
  ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR: () => ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR,
32
32
  ActivationType: () => ActivationType,
33
+ BASIS_POINT_MAX: () => BASIS_POINT_MAX,
33
34
  BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR: () => BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR,
34
35
  BIN_ARRAY_DISCRIMINATOR: () => BIN_ARRAY_DISCRIMINATOR,
35
36
  CANCEL_LIMIT_ORDER_DISCRIMINATOR: () => CANCEL_LIMIT_ORDER_DISCRIMINATOR,
@@ -187,11 +188,16 @@ __export(index_exports, {
187
188
  LIMIT_ORDER_DISCRIMINATOR: () => LIMIT_ORDER_DISCRIMINATOR,
188
189
  LbClmmAccount: () => LbClmmAccount,
189
190
  LbClmmInstruction: () => LbClmmInstruction,
191
+ MAX_BIN_ID: () => MAX_BIN_ID,
192
+ MAX_BIN_PER_ARRAY: () => MAX_BIN_PER_ARRAY,
193
+ MIN_BIN_ID: () => MIN_BIN_ID,
194
+ ONE_Q64: () => ONE_Q64,
190
195
  OPERATOR_DISCRIMINATOR: () => OPERATOR_DISCRIMINATOR,
191
196
  ORACLE_DISCRIMINATOR: () => ORACLE_DISCRIMINATOR,
192
197
  PLACE_LIMIT_ORDER_DISCRIMINATOR: () => PLACE_LIMIT_ORDER_DISCRIMINATOR,
193
198
  POSITION_V2_DISCRIMINATOR: () => POSITION_V2_DISCRIMINATOR,
194
199
  PRESET_PARAMETER2_DISCRIMINATOR: () => PRESET_PARAMETER2_DISCRIMINATOR,
200
+ PRESET_PARAMETER2_SEED: () => PRESET_PARAMETER2_SEED,
195
201
  PRESET_PARAMETER_DISCRIMINATOR: () => PRESET_PARAMETER_DISCRIMINATOR,
196
202
  PairStatus: () => PairStatus,
197
203
  PairType: () => PairType,
@@ -203,6 +209,7 @@ __export(index_exports, {
203
209
  REMOVE_LIQUIDITY_DISCRIMINATOR: () => REMOVE_LIQUIDITY_DISCRIMINATOR,
204
210
  ResizeSide: () => ResizeSide,
205
211
  Rounding: () => Rounding,
212
+ SCALE_OFFSET: () => SCALE_OFFSET,
206
213
  SET_ACTIVATION_POINT_DISCRIMINATOR: () => SET_ACTIVATION_POINT_DISCRIMINATOR,
207
214
  SET_PAIR_STATUS_DISCRIMINATOR: () => SET_PAIR_STATUS_DISCRIMINATOR,
208
215
  SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR: () => SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR,
@@ -229,6 +236,9 @@ __export(index_exports, {
229
236
  WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR: () => WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR,
230
237
  ZAP_PROTOCOL_FEE_DISCRIMINATOR: () => ZAP_PROTOCOL_FEE_DISCRIMINATOR,
231
238
  accountsType: () => accountsType,
239
+ binArrayIndexToBinIdRange: () => binArrayIndexToBinIdRange,
240
+ binIdToBinArrayIndex: () => binIdToBinArrayIndex,
241
+ binIdToPrice: () => binIdToPrice,
232
242
  decodeBinArray: () => decodeBinArray,
233
243
  decodeBinArrayBitmapExtension: () => decodeBinArrayBitmapExtension,
234
244
  decodeClaimFeeOperator: () => decodeClaimFeeOperator,
@@ -292,9 +302,11 @@ __export(index_exports, {
292
302
  findBinArrayBitmapExtensionPda: () => findBinArrayBitmapExtensionPda,
293
303
  findBinArrayPda: () => findBinArrayPda,
294
304
  findEventAuthorityPda: () => findEventAuthorityPda,
305
+ findLbPairPda: () => findLbPairPda,
295
306
  findOperatorPda: () => findOperatorPda,
296
307
  findOraclePda: () => findOraclePda,
297
308
  findPositionPda: () => findPositionPda,
309
+ findPresetParameterPda: () => findPresetParameterPda,
298
310
  findReserveXPda: () => findReserveXPda,
299
311
  findReserveYPda: () => findReserveYPda,
300
312
  findRewardVaultPda: () => findRewardVaultPda,
@@ -525,6 +537,7 @@ __export(index_exports, {
525
537
  getGoToABinInstructionDataCodec: () => getGoToABinInstructionDataCodec,
526
538
  getGoToABinInstructionDataDecoder: () => getGoToABinInstructionDataDecoder,
527
539
  getGoToABinInstructionDataEncoder: () => getGoToABinInstructionDataEncoder,
540
+ getIdFromPrice: () => getIdFromPrice,
528
541
  getIncreaseOracleLengthDiscriminatorBytes: () => getIncreaseOracleLengthDiscriminatorBytes,
529
542
  getIncreaseOracleLengthInstruction: () => getIncreaseOracleLengthInstruction,
530
543
  getIncreaseOracleLengthInstructionAsync: () => getIncreaseOracleLengthInstructionAsync,
@@ -692,6 +705,7 @@ __export(index_exports, {
692
705
  getPresetParameterDiscriminatorBytes: () => getPresetParameterDiscriminatorBytes,
693
706
  getPresetParameterEncoder: () => getPresetParameterEncoder,
694
707
  getPresetParameterSize: () => getPresetParameterSize,
708
+ getPriceFromId: () => getPriceFromId,
695
709
  getProtocolFeeCodec: () => getProtocolFeeCodec,
696
710
  getProtocolFeeDecoder: () => getProtocolFeeDecoder,
697
711
  getProtocolFeeEncoder: () => getProtocolFeeEncoder,
@@ -898,6 +912,7 @@ __export(index_exports, {
898
912
  getZapProtocolFeeInstructionDataCodec: () => getZapProtocolFeeInstructionDataCodec,
899
913
  getZapProtocolFeeInstructionDataDecoder: () => getZapProtocolFeeInstructionDataDecoder,
900
914
  getZapProtocolFeeInstructionDataEncoder: () => getZapProtocolFeeInstructionDataEncoder,
915
+ humanPriceToQ64: () => humanPriceToQ64,
901
916
  identifyLbClmmAccount: () => identifyLbClmmAccount,
902
917
  identifyLbClmmInstruction: () => identifyLbClmmInstruction,
903
918
  isAccountsType: () => isAccountsType,
@@ -978,7 +993,10 @@ __export(index_exports, {
978
993
  parseUpdateRewardFunderInstruction: () => parseUpdateRewardFunderInstruction,
979
994
  parseWithdrawIneligibleRewardInstruction: () => parseWithdrawIneligibleRewardInstruction,
980
995
  parseWithdrawProtocolFeeInstruction: () => parseWithdrawProtocolFeeInstruction,
981
- parseZapProtocolFeeInstruction: () => parseZapProtocolFeeInstruction
996
+ parseZapProtocolFeeInstruction: () => parseZapProtocolFeeInstruction,
997
+ priceToBinId: () => priceToBinId,
998
+ q64Pow: () => q64Pow,
999
+ q64ToHumanPrice: () => q64ToHumanPrice
982
1000
  });
983
1001
  module.exports = __toCommonJS(index_exports);
984
1002
 
@@ -15913,6 +15931,159 @@ function isLbClmmError(error, transactionMessage, code) {
15913
15931
  code
15914
15932
  );
15915
15933
  }
15934
+
15935
+ // src/pda.ts
15936
+ var import_kit135 = require("@solana/kit");
15937
+ var PRESET_PARAMETER2_SEED = new Uint8Array([
15938
+ 112,
15939
+ 114,
15940
+ 101,
15941
+ 115,
15942
+ 101,
15943
+ 116,
15944
+ 95,
15945
+ 112,
15946
+ 97,
15947
+ 114,
15948
+ 97,
15949
+ 109,
15950
+ 101,
15951
+ 116,
15952
+ 101,
15953
+ 114,
15954
+ 50
15955
+ ]);
15956
+ function u16LE(n) {
15957
+ return new Uint8Array((0, import_kit135.getU16Encoder)({ endian: import_kit135.Endian.Little }).encode(n));
15958
+ }
15959
+ function compareBytes(a, b) {
15960
+ const len = Math.min(a.length, b.length);
15961
+ for (let i = 0; i < len; i++) {
15962
+ if (a[i] !== b[i]) return a[i] - b[i];
15963
+ }
15964
+ return a.length - b.length;
15965
+ }
15966
+ async function findLbPairPda(seeds, config = {}) {
15967
+ const { programAddress = LB_CLMM_PROGRAM_ADDRESS } = config;
15968
+ const addressEncoder = (0, import_kit135.getAddressEncoder)();
15969
+ const presetBytes = new Uint8Array(addressEncoder.encode(seeds.presetParameter));
15970
+ const mintXBytes = new Uint8Array(addressEncoder.encode(seeds.tokenMintX));
15971
+ const mintYBytes = new Uint8Array(addressEncoder.encode(seeds.tokenMintY));
15972
+ const [minMint, maxMint] = compareBytes(mintXBytes, mintYBytes) < 0 ? [mintXBytes, mintYBytes] : [mintYBytes, mintXBytes];
15973
+ return await (0, import_kit135.getProgramDerivedAddress)({
15974
+ programAddress,
15975
+ seeds: [presetBytes, minMint, maxMint]
15976
+ });
15977
+ }
15978
+ async function findPresetParameterPda(seeds, config = {}) {
15979
+ const { programAddress = LB_CLMM_PROGRAM_ADDRESS } = config;
15980
+ return await (0, import_kit135.getProgramDerivedAddress)({
15981
+ programAddress,
15982
+ seeds: [PRESET_PARAMETER2_SEED, u16LE(seeds.index)]
15983
+ });
15984
+ }
15985
+
15986
+ // src/math.ts
15987
+ var MAX_BIN_PER_ARRAY = 70;
15988
+ var SCALE_OFFSET = 64;
15989
+ var BASIS_POINT_MAX = 1e4;
15990
+ var MIN_BIN_ID = -443636;
15991
+ var MAX_BIN_ID = 443636;
15992
+ var ONE_Q64 = 1n << 64n;
15993
+ var U128_MAX = (1n << 128n) - 1n;
15994
+ var MAX_EXPONENTIAL = 524288;
15995
+ function checkedMul(a, b) {
15996
+ const product = a * b;
15997
+ if (product > U128_MAX) return null;
15998
+ return product;
15999
+ }
16000
+ function q64Pow(base, exp) {
16001
+ let invert = exp < 0;
16002
+ if (exp === 0) return ONE_Q64;
16003
+ const e = invert ? -exp : exp;
16004
+ if (e >= MAX_EXPONENTIAL) return null;
16005
+ let squaredBase = base;
16006
+ let result = ONE_Q64;
16007
+ if (squaredBase >= result) {
16008
+ squaredBase = U128_MAX / squaredBase;
16009
+ invert = !invert;
16010
+ }
16011
+ for (let bit = 0; bit < 19; bit++) {
16012
+ if ((e & 1 << bit) !== 0) {
16013
+ const m = checkedMul(result, squaredBase);
16014
+ if (m === null) return null;
16015
+ result = m >> 64n;
16016
+ }
16017
+ if (bit < 18) {
16018
+ const sq = checkedMul(squaredBase, squaredBase);
16019
+ if (sq === null) return null;
16020
+ squaredBase = sq >> 64n;
16021
+ }
16022
+ }
16023
+ if (result === 0n) return null;
16024
+ if (invert) result = U128_MAX / result;
16025
+ return result;
16026
+ }
16027
+ function getPriceFromId(binId, binStep) {
16028
+ const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16029
+ const base = ONE_Q64 + bps;
16030
+ const result = q64Pow(base, binId);
16031
+ if (result === null) {
16032
+ throw new Error(`getPriceFromId overflow: binId=${binId}, binStep=${binStep}`);
16033
+ }
16034
+ return result;
16035
+ }
16036
+ function getIdFromPrice(priceQ64, binStep) {
16037
+ if (priceQ64 <= 0n) return MIN_BIN_ID;
16038
+ const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16039
+ const base = ONE_Q64 + bps;
16040
+ let lo = MIN_BIN_ID;
16041
+ let hi = MAX_BIN_ID;
16042
+ while (lo < hi) {
16043
+ const mid = lo + Math.ceil((hi - lo) / 2);
16044
+ const p = q64Pow(base, mid);
16045
+ if (p === null) {
16046
+ if (mid > 0) hi = mid - 1;
16047
+ else lo = mid;
16048
+ } else if (p > priceQ64) {
16049
+ hi = mid - 1;
16050
+ } else {
16051
+ lo = mid;
16052
+ }
16053
+ }
16054
+ return lo;
16055
+ }
16056
+ var HUMAN_PRICE_PRECISION = 18;
16057
+ var HUMAN_PRICE_SCALE = 10n ** BigInt(HUMAN_PRICE_PRECISION);
16058
+ function pow10(n) {
16059
+ return 10n ** BigInt(n);
16060
+ }
16061
+ function humanPriceToQ64(humanPrice, decimalsX, decimalsY) {
16062
+ if (humanPrice <= 0) {
16063
+ throw new Error(`humanPriceToQ64 requires a positive price, got ${humanPrice}`);
16064
+ }
16065
+ const scaled = BigInt(Math.round(humanPrice * Number(HUMAN_PRICE_SCALE)));
16066
+ return scaled * pow10(decimalsX) * ONE_Q64 / (pow10(decimalsY) * HUMAN_PRICE_SCALE);
16067
+ }
16068
+ function q64ToHumanPrice(priceQ64, decimalsX, decimalsY) {
16069
+ const numerator = priceQ64 * pow10(decimalsY) * HUMAN_PRICE_SCALE;
16070
+ const denominator = ONE_Q64 * pow10(decimalsX);
16071
+ return Number(numerator / denominator) / Number(HUMAN_PRICE_SCALE);
16072
+ }
16073
+ function priceToBinId(humanPrice, binStep, decimalsX, decimalsY) {
16074
+ return getIdFromPrice(humanPriceToQ64(humanPrice, decimalsX, decimalsY), binStep);
16075
+ }
16076
+ function binIdToPrice(binId, binStep, decimalsX, decimalsY) {
16077
+ return q64ToHumanPrice(getPriceFromId(binId, binStep), decimalsX, decimalsY);
16078
+ }
16079
+ function binIdToBinArrayIndex(binId) {
16080
+ return BigInt(Math.floor(binId / MAX_BIN_PER_ARRAY));
16081
+ }
16082
+ function binArrayIndexToBinIdRange(index) {
16083
+ const idx = typeof index === "bigint" ? Number(index) : index;
16084
+ const lower = idx * MAX_BIN_PER_ARRAY;
16085
+ return { lower, upper: lower + MAX_BIN_PER_ARRAY - 1 };
16086
+ }
15916
16087
  // Annotate the CommonJS export names for ESM import in node:
15917
16088
  0 && (module.exports = {
15918
16089
  ADD_LIQUIDITY2_DISCRIMINATOR,
@@ -15926,6 +16097,7 @@ function isLbClmmError(error, transactionMessage, code) {
15926
16097
  ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR,
15927
16098
  ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR,
15928
16099
  ActivationType,
16100
+ BASIS_POINT_MAX,
15929
16101
  BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR,
15930
16102
  BIN_ARRAY_DISCRIMINATOR,
15931
16103
  CANCEL_LIMIT_ORDER_DISCRIMINATOR,
@@ -16083,11 +16255,16 @@ function isLbClmmError(error, transactionMessage, code) {
16083
16255
  LIMIT_ORDER_DISCRIMINATOR,
16084
16256
  LbClmmAccount,
16085
16257
  LbClmmInstruction,
16258
+ MAX_BIN_ID,
16259
+ MAX_BIN_PER_ARRAY,
16260
+ MIN_BIN_ID,
16261
+ ONE_Q64,
16086
16262
  OPERATOR_DISCRIMINATOR,
16087
16263
  ORACLE_DISCRIMINATOR,
16088
16264
  PLACE_LIMIT_ORDER_DISCRIMINATOR,
16089
16265
  POSITION_V2_DISCRIMINATOR,
16090
16266
  PRESET_PARAMETER2_DISCRIMINATOR,
16267
+ PRESET_PARAMETER2_SEED,
16091
16268
  PRESET_PARAMETER_DISCRIMINATOR,
16092
16269
  PairStatus,
16093
16270
  PairType,
@@ -16099,6 +16276,7 @@ function isLbClmmError(error, transactionMessage, code) {
16099
16276
  REMOVE_LIQUIDITY_DISCRIMINATOR,
16100
16277
  ResizeSide,
16101
16278
  Rounding,
16279
+ SCALE_OFFSET,
16102
16280
  SET_ACTIVATION_POINT_DISCRIMINATOR,
16103
16281
  SET_PAIR_STATUS_DISCRIMINATOR,
16104
16282
  SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR,
@@ -16125,6 +16303,9 @@ function isLbClmmError(error, transactionMessage, code) {
16125
16303
  WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR,
16126
16304
  ZAP_PROTOCOL_FEE_DISCRIMINATOR,
16127
16305
  accountsType,
16306
+ binArrayIndexToBinIdRange,
16307
+ binIdToBinArrayIndex,
16308
+ binIdToPrice,
16128
16309
  decodeBinArray,
16129
16310
  decodeBinArrayBitmapExtension,
16130
16311
  decodeClaimFeeOperator,
@@ -16188,9 +16369,11 @@ function isLbClmmError(error, transactionMessage, code) {
16188
16369
  findBinArrayBitmapExtensionPda,
16189
16370
  findBinArrayPda,
16190
16371
  findEventAuthorityPda,
16372
+ findLbPairPda,
16191
16373
  findOperatorPda,
16192
16374
  findOraclePda,
16193
16375
  findPositionPda,
16376
+ findPresetParameterPda,
16194
16377
  findReserveXPda,
16195
16378
  findReserveYPda,
16196
16379
  findRewardVaultPda,
@@ -16421,6 +16604,7 @@ function isLbClmmError(error, transactionMessage, code) {
16421
16604
  getGoToABinInstructionDataCodec,
16422
16605
  getGoToABinInstructionDataDecoder,
16423
16606
  getGoToABinInstructionDataEncoder,
16607
+ getIdFromPrice,
16424
16608
  getIncreaseOracleLengthDiscriminatorBytes,
16425
16609
  getIncreaseOracleLengthInstruction,
16426
16610
  getIncreaseOracleLengthInstructionAsync,
@@ -16588,6 +16772,7 @@ function isLbClmmError(error, transactionMessage, code) {
16588
16772
  getPresetParameterDiscriminatorBytes,
16589
16773
  getPresetParameterEncoder,
16590
16774
  getPresetParameterSize,
16775
+ getPriceFromId,
16591
16776
  getProtocolFeeCodec,
16592
16777
  getProtocolFeeDecoder,
16593
16778
  getProtocolFeeEncoder,
@@ -16794,6 +16979,7 @@ function isLbClmmError(error, transactionMessage, code) {
16794
16979
  getZapProtocolFeeInstructionDataCodec,
16795
16980
  getZapProtocolFeeInstructionDataDecoder,
16796
16981
  getZapProtocolFeeInstructionDataEncoder,
16982
+ humanPriceToQ64,
16797
16983
  identifyLbClmmAccount,
16798
16984
  identifyLbClmmInstruction,
16799
16985
  isAccountsType,
@@ -16874,5 +17060,8 @@ function isLbClmmError(error, transactionMessage, code) {
16874
17060
  parseUpdateRewardFunderInstruction,
16875
17061
  parseWithdrawIneligibleRewardInstruction,
16876
17062
  parseWithdrawProtocolFeeInstruction,
16877
- parseZapProtocolFeeInstruction
17063
+ parseZapProtocolFeeInstruction,
17064
+ priceToBinId,
17065
+ q64Pow,
17066
+ q64ToHumanPrice
16878
17067
  });
package/dist/index.mjs CHANGED
@@ -16382,6 +16382,164 @@ function isLbClmmError(error, transactionMessage, code) {
16382
16382
  code
16383
16383
  );
16384
16384
  }
16385
+
16386
+ // src/pda.ts
16387
+ import {
16388
+ Endian,
16389
+ getAddressEncoder as getAddressEncoder24,
16390
+ getProgramDerivedAddress as getProgramDerivedAddress11,
16391
+ getU16Encoder as getU16Encoder23
16392
+ } from "@solana/kit";
16393
+ var PRESET_PARAMETER2_SEED = new Uint8Array([
16394
+ 112,
16395
+ 114,
16396
+ 101,
16397
+ 115,
16398
+ 101,
16399
+ 116,
16400
+ 95,
16401
+ 112,
16402
+ 97,
16403
+ 114,
16404
+ 97,
16405
+ 109,
16406
+ 101,
16407
+ 116,
16408
+ 101,
16409
+ 114,
16410
+ 50
16411
+ ]);
16412
+ function u16LE(n) {
16413
+ return new Uint8Array(getU16Encoder23({ endian: Endian.Little }).encode(n));
16414
+ }
16415
+ function compareBytes(a, b) {
16416
+ const len = Math.min(a.length, b.length);
16417
+ for (let i = 0; i < len; i++) {
16418
+ if (a[i] !== b[i]) return a[i] - b[i];
16419
+ }
16420
+ return a.length - b.length;
16421
+ }
16422
+ async function findLbPairPda(seeds, config = {}) {
16423
+ const { programAddress = LB_CLMM_PROGRAM_ADDRESS } = config;
16424
+ const addressEncoder = getAddressEncoder24();
16425
+ const presetBytes = new Uint8Array(addressEncoder.encode(seeds.presetParameter));
16426
+ const mintXBytes = new Uint8Array(addressEncoder.encode(seeds.tokenMintX));
16427
+ const mintYBytes = new Uint8Array(addressEncoder.encode(seeds.tokenMintY));
16428
+ const [minMint, maxMint] = compareBytes(mintXBytes, mintYBytes) < 0 ? [mintXBytes, mintYBytes] : [mintYBytes, mintXBytes];
16429
+ return await getProgramDerivedAddress11({
16430
+ programAddress,
16431
+ seeds: [presetBytes, minMint, maxMint]
16432
+ });
16433
+ }
16434
+ async function findPresetParameterPda(seeds, config = {}) {
16435
+ const { programAddress = LB_CLMM_PROGRAM_ADDRESS } = config;
16436
+ return await getProgramDerivedAddress11({
16437
+ programAddress,
16438
+ seeds: [PRESET_PARAMETER2_SEED, u16LE(seeds.index)]
16439
+ });
16440
+ }
16441
+
16442
+ // src/math.ts
16443
+ var MAX_BIN_PER_ARRAY = 70;
16444
+ var SCALE_OFFSET = 64;
16445
+ var BASIS_POINT_MAX = 1e4;
16446
+ var MIN_BIN_ID = -443636;
16447
+ var MAX_BIN_ID = 443636;
16448
+ var ONE_Q64 = 1n << 64n;
16449
+ var U128_MAX = (1n << 128n) - 1n;
16450
+ var MAX_EXPONENTIAL = 524288;
16451
+ function checkedMul(a, b) {
16452
+ const product = a * b;
16453
+ if (product > U128_MAX) return null;
16454
+ return product;
16455
+ }
16456
+ function q64Pow(base, exp) {
16457
+ let invert = exp < 0;
16458
+ if (exp === 0) return ONE_Q64;
16459
+ const e = invert ? -exp : exp;
16460
+ if (e >= MAX_EXPONENTIAL) return null;
16461
+ let squaredBase = base;
16462
+ let result = ONE_Q64;
16463
+ if (squaredBase >= result) {
16464
+ squaredBase = U128_MAX / squaredBase;
16465
+ invert = !invert;
16466
+ }
16467
+ for (let bit = 0; bit < 19; bit++) {
16468
+ if ((e & 1 << bit) !== 0) {
16469
+ const m = checkedMul(result, squaredBase);
16470
+ if (m === null) return null;
16471
+ result = m >> 64n;
16472
+ }
16473
+ if (bit < 18) {
16474
+ const sq = checkedMul(squaredBase, squaredBase);
16475
+ if (sq === null) return null;
16476
+ squaredBase = sq >> 64n;
16477
+ }
16478
+ }
16479
+ if (result === 0n) return null;
16480
+ if (invert) result = U128_MAX / result;
16481
+ return result;
16482
+ }
16483
+ function getPriceFromId(binId, binStep) {
16484
+ const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16485
+ const base = ONE_Q64 + bps;
16486
+ const result = q64Pow(base, binId);
16487
+ if (result === null) {
16488
+ throw new Error(`getPriceFromId overflow: binId=${binId}, binStep=${binStep}`);
16489
+ }
16490
+ return result;
16491
+ }
16492
+ function getIdFromPrice(priceQ64, binStep) {
16493
+ if (priceQ64 <= 0n) return MIN_BIN_ID;
16494
+ const bps = (BigInt(binStep) << 64n) / BigInt(BASIS_POINT_MAX);
16495
+ const base = ONE_Q64 + bps;
16496
+ let lo = MIN_BIN_ID;
16497
+ let hi = MAX_BIN_ID;
16498
+ while (lo < hi) {
16499
+ const mid = lo + Math.ceil((hi - lo) / 2);
16500
+ const p = q64Pow(base, mid);
16501
+ if (p === null) {
16502
+ if (mid > 0) hi = mid - 1;
16503
+ else lo = mid;
16504
+ } else if (p > priceQ64) {
16505
+ hi = mid - 1;
16506
+ } else {
16507
+ lo = mid;
16508
+ }
16509
+ }
16510
+ return lo;
16511
+ }
16512
+ var HUMAN_PRICE_PRECISION = 18;
16513
+ var HUMAN_PRICE_SCALE = 10n ** BigInt(HUMAN_PRICE_PRECISION);
16514
+ function pow10(n) {
16515
+ return 10n ** BigInt(n);
16516
+ }
16517
+ function humanPriceToQ64(humanPrice, decimalsX, decimalsY) {
16518
+ if (humanPrice <= 0) {
16519
+ throw new Error(`humanPriceToQ64 requires a positive price, got ${humanPrice}`);
16520
+ }
16521
+ const scaled = BigInt(Math.round(humanPrice * Number(HUMAN_PRICE_SCALE)));
16522
+ return scaled * pow10(decimalsX) * ONE_Q64 / (pow10(decimalsY) * HUMAN_PRICE_SCALE);
16523
+ }
16524
+ function q64ToHumanPrice(priceQ64, decimalsX, decimalsY) {
16525
+ const numerator = priceQ64 * pow10(decimalsY) * HUMAN_PRICE_SCALE;
16526
+ const denominator = ONE_Q64 * pow10(decimalsX);
16527
+ return Number(numerator / denominator) / Number(HUMAN_PRICE_SCALE);
16528
+ }
16529
+ function priceToBinId(humanPrice, binStep, decimalsX, decimalsY) {
16530
+ return getIdFromPrice(humanPriceToQ64(humanPrice, decimalsX, decimalsY), binStep);
16531
+ }
16532
+ function binIdToPrice(binId, binStep, decimalsX, decimalsY) {
16533
+ return q64ToHumanPrice(getPriceFromId(binId, binStep), decimalsX, decimalsY);
16534
+ }
16535
+ function binIdToBinArrayIndex(binId) {
16536
+ return BigInt(Math.floor(binId / MAX_BIN_PER_ARRAY));
16537
+ }
16538
+ function binArrayIndexToBinIdRange(index) {
16539
+ const idx = typeof index === "bigint" ? Number(index) : index;
16540
+ const lower = idx * MAX_BIN_PER_ARRAY;
16541
+ return { lower, upper: lower + MAX_BIN_PER_ARRAY - 1 };
16542
+ }
16385
16543
  export {
16386
16544
  ADD_LIQUIDITY2_DISCRIMINATOR,
16387
16545
  ADD_LIQUIDITY_BY_STRATEGY2_DISCRIMINATOR,
@@ -16394,6 +16552,7 @@ export {
16394
16552
  ADD_LIQUIDITY_ONE_SIDE_PRECISE2_DISCRIMINATOR,
16395
16553
  ADD_LIQUIDITY_ONE_SIDE_PRECISE_DISCRIMINATOR,
16396
16554
  ActivationType,
16555
+ BASIS_POINT_MAX,
16397
16556
  BIN_ARRAY_BITMAP_EXTENSION_DISCRIMINATOR,
16398
16557
  BIN_ARRAY_DISCRIMINATOR,
16399
16558
  CANCEL_LIMIT_ORDER_DISCRIMINATOR,
@@ -16551,11 +16710,16 @@ export {
16551
16710
  LIMIT_ORDER_DISCRIMINATOR,
16552
16711
  LbClmmAccount,
16553
16712
  LbClmmInstruction,
16713
+ MAX_BIN_ID,
16714
+ MAX_BIN_PER_ARRAY,
16715
+ MIN_BIN_ID,
16716
+ ONE_Q64,
16554
16717
  OPERATOR_DISCRIMINATOR,
16555
16718
  ORACLE_DISCRIMINATOR,
16556
16719
  PLACE_LIMIT_ORDER_DISCRIMINATOR,
16557
16720
  POSITION_V2_DISCRIMINATOR,
16558
16721
  PRESET_PARAMETER2_DISCRIMINATOR,
16722
+ PRESET_PARAMETER2_SEED,
16559
16723
  PRESET_PARAMETER_DISCRIMINATOR,
16560
16724
  PairStatus,
16561
16725
  PairType,
@@ -16567,6 +16731,7 @@ export {
16567
16731
  REMOVE_LIQUIDITY_DISCRIMINATOR,
16568
16732
  ResizeSide,
16569
16733
  Rounding,
16734
+ SCALE_OFFSET,
16570
16735
  SET_ACTIVATION_POINT_DISCRIMINATOR,
16571
16736
  SET_PAIR_STATUS_DISCRIMINATOR,
16572
16737
  SET_PAIR_STATUS_PERMISSIONLESS_DISCRIMINATOR,
@@ -16593,6 +16758,9 @@ export {
16593
16758
  WITHDRAW_PROTOCOL_FEE_DISCRIMINATOR,
16594
16759
  ZAP_PROTOCOL_FEE_DISCRIMINATOR,
16595
16760
  accountsType,
16761
+ binArrayIndexToBinIdRange,
16762
+ binIdToBinArrayIndex,
16763
+ binIdToPrice,
16596
16764
  decodeBinArray,
16597
16765
  decodeBinArrayBitmapExtension,
16598
16766
  decodeClaimFeeOperator,
@@ -16656,9 +16824,11 @@ export {
16656
16824
  findBinArrayBitmapExtensionPda,
16657
16825
  findBinArrayPda,
16658
16826
  findEventAuthorityPda,
16827
+ findLbPairPda,
16659
16828
  findOperatorPda,
16660
16829
  findOraclePda,
16661
16830
  findPositionPda,
16831
+ findPresetParameterPda,
16662
16832
  findReserveXPda,
16663
16833
  findReserveYPda,
16664
16834
  findRewardVaultPda,
@@ -16889,6 +17059,7 @@ export {
16889
17059
  getGoToABinInstructionDataCodec,
16890
17060
  getGoToABinInstructionDataDecoder,
16891
17061
  getGoToABinInstructionDataEncoder,
17062
+ getIdFromPrice,
16892
17063
  getIncreaseOracleLengthDiscriminatorBytes,
16893
17064
  getIncreaseOracleLengthInstruction,
16894
17065
  getIncreaseOracleLengthInstructionAsync,
@@ -17056,6 +17227,7 @@ export {
17056
17227
  getPresetParameterDiscriminatorBytes,
17057
17228
  getPresetParameterEncoder,
17058
17229
  getPresetParameterSize,
17230
+ getPriceFromId,
17059
17231
  getProtocolFeeCodec,
17060
17232
  getProtocolFeeDecoder,
17061
17233
  getProtocolFeeEncoder,
@@ -17262,6 +17434,7 @@ export {
17262
17434
  getZapProtocolFeeInstructionDataCodec,
17263
17435
  getZapProtocolFeeInstructionDataDecoder,
17264
17436
  getZapProtocolFeeInstructionDataEncoder,
17437
+ humanPriceToQ64,
17265
17438
  identifyLbClmmAccount,
17266
17439
  identifyLbClmmInstruction,
17267
17440
  isAccountsType,
@@ -17342,5 +17515,8 @@ export {
17342
17515
  parseUpdateRewardFunderInstruction,
17343
17516
  parseWithdrawIneligibleRewardInstruction,
17344
17517
  parseWithdrawProtocolFeeInstruction,
17345
- parseZapProtocolFeeInstruction
17518
+ parseZapProtocolFeeInstruction,
17519
+ priceToBinId,
17520
+ q64Pow,
17521
+ q64ToHumanPrice
17346
17522
  };
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.1",
4
+ "version": "1.0.2",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "main": "./dist/index.js",
@@ -18,23 +18,24 @@
18
18
  "@solana/kit": "^6.9.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@lp-ag/eslint-config": "^1.0.0",
22
- "@lp-ag/prettier-config": "^1.0.0",
23
- "@lp-ag/typescript-config": "^1.0.0",
24
21
  "@codama/nodes": "^1.7.0",
22
+ "@codama/nodes-from-anchor": "^1.5.0",
25
23
  "@codama/renderers-js": "^1.7.0",
26
24
  "@codama/visitors-core": "^1.7.0",
27
- "@codama/nodes-from-anchor": "^1.5.0",
25
+ "@lp-ag/eslint-config": "^1.0.0",
26
+ "@lp-ag/prettier-config": "^1.0.0",
27
+ "@lp-ag/typescript-config": "^1.0.0",
28
28
  "@types/node": "25.9.2",
29
29
  "codama": "^1.7.0",
30
30
  "dotenv": "^17.4.2",
31
31
  "eslint": "^8.57.0",
32
+ "rimraf": "^6.1.3",
32
33
  "ts-node": "^10.9.2",
33
34
  "tsup": "^8.3.5",
34
35
  "tsx": "^4.19.3",
35
36
  "typescript": "5.8.3",
36
37
  "vite-tsconfig-paths": "^5.1.4",
37
- "rimraf": "^6.1.3"
38
+ "vitest": "^4.1.8"
38
39
  },
39
40
  "scripts": {
40
41
  "build": "node ./codama.mjs && tsup src/index.ts --format cjs,esm --dts",