@crypticdot/defituna-client 3.4.3 → 3.4.4

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
@@ -6437,6 +6437,8 @@ declare function closeTunaSpotPositionInstruction(authority: TransactionSigner,
6437
6437
 
6438
6438
  declare function createMarketInstruction(authority: TransactionSigner, pool: Address, vaultA: Address, vaultB: Address, args: CreateMarketInstructionDataArgs): Promise<IInstruction>;
6439
6439
 
6440
+ declare function createMarketV2Instruction(authority: TransactionSigner, pool: Address, vaultA: Address, vaultB: Address, args: CreateMarketV2InstructionDataArgs): Promise<IInstruction>;
6441
+
6440
6442
  declare function createTunaConfigInstruction(authority: TransactionSigner, ownerAuthority: Address, adminAuthority: Address, liquidatorAuthority: Address, feeRecipient: Address): Promise<IInstruction>;
6441
6443
 
6442
6444
  declare function createVaultInstructions(authority: TransactionSigner, mint: Account<Mint>, args: CreateVaultInstructionDataArgs): Promise<IInstruction[]>;
@@ -6574,4 +6576,4 @@ declare const JUPITER_PROGRAM_AUTHORITY: _solana_kit.Address<"9nnLbotNTcUhvbrsA6
6574
6576
  declare const MIN_SQRT_PRICE = 4295048016n;
6575
6577
  declare const MAX_SQRT_PRICE = 79226673515401279992447579055n;
6576
6578
 
6577
- export { AccountsType, type AccountsTypeArgs, CLOSE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, CLOSE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, CLOSE_TUNA_SPOT_POSITION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_FUSION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_ORCA_DISCRIMINATOR, COLLECT_FEES_FUSION_DISCRIMINATOR, COLLECT_FEES_ORCA_DISCRIMINATOR, COLLECT_REWARD_ORCA_DISCRIMINATOR, COMPUTED_AMOUNT, CREATE_MARKET_DISCRIMINATOR, CREATE_MARKET_V2_DISCRIMINATOR, CREATE_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, CREATE_VAULT_V2_DISCRIMINATOR, type CloseActiveTunaLpPositionInstructionArgs, type CloseTunaLpPositionFusionInput, type CloseTunaLpPositionFusionInstruction, type CloseTunaLpPositionFusionInstructionData, type CloseTunaLpPositionFusionInstructionDataArgs, type CloseTunaLpPositionOrcaInput, type CloseTunaLpPositionOrcaInstruction, type CloseTunaLpPositionOrcaInstructionData, type CloseTunaLpPositionOrcaInstructionDataArgs, type CloseTunaSpotPositionInput, type CloseTunaSpotPositionInstruction, type CloseTunaSpotPositionInstructionData, type CloseTunaSpotPositionInstructionDataArgs, type CollectAndCompoundFeesFusionInput, type CollectAndCompoundFeesFusionInstruction, type CollectAndCompoundFeesFusionInstructionData, type CollectAndCompoundFeesFusionInstructionDataArgs, type CollectAndCompoundFeesOrcaInput, type CollectAndCompoundFeesOrcaInstruction, type CollectAndCompoundFeesOrcaInstructionData, type CollectAndCompoundFeesOrcaInstructionDataArgs, type CollectFeesFusionInput, type CollectFeesFusionInstruction, type CollectFeesFusionInstructionData, type CollectFeesFusionInstructionDataArgs, type CollectFeesOrcaInput, type CollectFeesOrcaInstruction, type CollectFeesOrcaInstructionData, type CollectFeesOrcaInstructionDataArgs, type CollectRewardOrcaInput, type CollectRewardOrcaInstruction, type CollectRewardOrcaInstructionData, type CollectRewardOrcaInstructionDataArgs, type CreateAddressLookupTableResult, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketV2Input, type CreateMarketV2Instruction, type CreateMarketV2InstructionData, type CreateMarketV2InstructionDataArgs, type CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, type CreateVaultV2Input, type CreateVaultV2Instruction, type CreateVaultV2InstructionData, type CreateVaultV2InstructionDataArgs, DECREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, DEFAULT_ADDRESS, DEFAULT_MAX_SWAP_SLIPPAGE, DEFAULT_PUSH_ORACLE_PROGRAM_ID, DEPOSIT_DISCRIMINATOR, type DecreaseTunaLpPositionFusionInput, type DecreaseTunaLpPositionFusionInstruction, type DecreaseTunaLpPositionFusionInstructionData, type DecreaseTunaLpPositionFusionInstructionDataArgs, type DecreaseTunaLpPositionFusionInstructionsArgs, type DecreaseTunaLpPositionOrcaInput, type DecreaseTunaLpPositionOrcaInstruction, type DecreaseTunaLpPositionOrcaInstructionData, type DecreaseTunaLpPositionOrcaInstructionDataArgs, type DecreaseTunaLpPositionOrcaInstructionsArgs, type DepositInput, type DepositInstruction, type DepositInstructionData, type DepositInstructionDataArgs, FusionUtils, HUNDRED_PERCENT, HUNDRED_PERCENTn, INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, type IncreaseTunaLpPositionFusionInput, type IncreaseTunaLpPositionFusionInstruction, type IncreaseTunaLpPositionFusionInstructionData, type IncreaseTunaLpPositionFusionInstructionDataArgs, type IncreaseTunaLpPositionFusionInstructionsArgs, type IncreaseTunaLpPositionOrcaInput, type IncreaseTunaLpPositionOrcaInstruction, type IncreaseTunaLpPositionOrcaInstructionData, type IncreaseTunaLpPositionOrcaInstructionDataArgs, type IncreaseTunaLpPositionOrcaInstructionsArgs, JUPITER_EVENT_AUTHORITY, JUPITER_PROGRAM_AUTHORITY, LENDING_POSITION_DISCRIMINATOR, LEVERAGE_ONE, LIQUIDATE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type LendingPosition, type LendingPositionArgs, type LiquidateTunaLpPositionFusionInput, type LiquidateTunaLpPositionFusionInstruction, type LiquidateTunaLpPositionFusionInstructionData, type LiquidateTunaLpPositionFusionInstructionDataArgs, type LiquidateTunaLpPositionOrcaInput, type LiquidateTunaLpPositionOrcaInstruction, type LiquidateTunaLpPositionOrcaInstructionData, type LiquidateTunaLpPositionOrcaInstructionDataArgs, type LiquidateTunaSpotPositionFusionInput, type LiquidateTunaSpotPositionFusionInstruction, type LiquidateTunaSpotPositionFusionInstructionData, type LiquidateTunaSpotPositionFusionInstructionDataArgs, type LiquidateTunaSpotPositionJupiterInput, type LiquidateTunaSpotPositionJupiterInstruction, type LiquidateTunaSpotPositionJupiterInstructionData, type LiquidateTunaSpotPositionJupiterInstructionDataArgs, type LiquidateTunaSpotPositionOrcaInput, type LiquidateTunaSpotPositionOrcaInstruction, type LiquidateTunaSpotPositionOrcaInstructionData, type LiquidateTunaSpotPositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, MAX_SQRT_PRICE, MIN_SQRT_PRICE, MODIFY_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, type ModifyTunaSpotPositionFusionInput, type ModifyTunaSpotPositionFusionInstruction, type ModifyTunaSpotPositionFusionInstructionData, type ModifyTunaSpotPositionFusionInstructionDataArgs, type ModifyTunaSpotPositionFusionInstructionsArgs, type ModifyTunaSpotPositionJupiterInput, type ModifyTunaSpotPositionJupiterInstruction, type ModifyTunaSpotPositionJupiterInstructionData, type ModifyTunaSpotPositionJupiterInstructionDataArgs, type ModifyTunaSpotPositionOrcaInput, type ModifyTunaSpotPositionOrcaInstruction, type ModifyTunaSpotPositionOrcaInstructionData, type ModifyTunaSpotPositionOrcaInstructionDataArgs, type ModifyTunaSpotPositionOrcaInstructionsArgs, NATIVE_MINT, NO_LOWER_LIMIT_ORDER, NO_UPPER_LIMIT_ORDER, OPEN_AND_INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_AND_INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_LENDING_POSITION_DISCRIMINATOR, OPEN_LENDING_POSITION_V2_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_TUNA_SPOT_POSITION_DISCRIMINATOR, type OpenAndIncreaseTunaLpPositionFusion, type OpenAndIncreaseTunaLpPositionFusionInput, type OpenAndIncreaseTunaLpPositionFusionInstruction, type OpenAndIncreaseTunaLpPositionFusionInstructionData, type OpenAndIncreaseTunaLpPositionFusionInstructionDataArgs, type OpenAndIncreaseTunaLpPositionFusionInstructionsArgs, type OpenAndIncreaseTunaLpPositionOrca, type OpenAndIncreaseTunaLpPositionOrcaInput, type OpenAndIncreaseTunaLpPositionOrcaInstruction, type OpenAndIncreaseTunaLpPositionOrcaInstructionData, type OpenAndIncreaseTunaLpPositionOrcaInstructionDataArgs, type OpenAndIncreaseTunaLpPositionOrcaInstructionsArgs, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenLendingPositionV2Input, type OpenLendingPositionV2Instruction, type OpenLendingPositionV2InstructionData, type OpenLendingPositionV2InstructionDataArgs, type OpenTunaLpPositionFusionInput, type OpenTunaLpPositionFusionInstruction, type OpenTunaLpPositionFusionInstructionData, type OpenTunaLpPositionFusionInstructionDataArgs, type OpenTunaLpPositionOrcaInput, type OpenTunaLpPositionOrcaInstruction, type OpenTunaLpPositionOrcaInstructionData, type OpenTunaLpPositionOrcaInstructionDataArgs, type OpenTunaSpotPositionInput, type OpenTunaSpotPositionInstruction, type OpenTunaSpotPositionInstructionData, type OpenTunaSpotPositionInstructionDataArgs, OrcaUtils, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateMarketV2Instruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedCreateVaultV2Instruction, type ParsedDecreaseTunaLpPositionFusionInstruction, type ParsedDecreaseTunaLpPositionOrcaInstruction, type ParsedDepositInstruction, type ParsedIncreaseTunaLpPositionFusionInstruction, type ParsedIncreaseTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaLpPositionFusionInstruction, type ParsedLiquidateTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaSpotPositionFusionInstruction, type ParsedLiquidateTunaSpotPositionJupiterInstruction, type ParsedLiquidateTunaSpotPositionOrcaInstruction, type ParsedModifyTunaSpotPositionFusionInstruction, type ParsedModifyTunaSpotPositionJupiterInstruction, type ParsedModifyTunaSpotPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaLpPositionFusionInstruction, type ParsedOpenAndIncreaseTunaLpPositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenLendingPositionV2Instruction, type ParsedOpenTunaLpPositionFusionInstruction, type ParsedOpenTunaLpPositionOrcaInstruction, type ParsedOpenTunaSpotPositionInstruction, type ParsedRebalanceTunaLpPositionFusionInstruction, type ParsedRebalanceTunaLpPositionOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayTunaLpPositionDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultLiquidationFeeRateInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetDefaultProtocolFeeRateInstruction, type ParsedSetDefaultRebalanceFeeRateInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, PoolToken, type PoolTokenArgs, REBALANCE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR, RESET_TUNA_SPOT_POSITION_DISCRIMINATOR, type RebalanceTunaLpPositionFusion, type RebalanceTunaLpPositionFusionInput, type RebalanceTunaLpPositionFusionInstruction, type RebalanceTunaLpPositionFusionInstructionData, type RebalanceTunaLpPositionFusionInstructionDataArgs, type RebalanceTunaLpPositionOrca, type RebalanceTunaLpPositionOrcaInput, type RebalanceTunaLpPositionOrcaInstruction, type RebalanceTunaLpPositionOrcaInstructionData, type RebalanceTunaLpPositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayTunaLpPositionDebtInput, type RepayTunaLpPositionDebtInstruction, type RepayTunaLpPositionDebtInstructionData, type RepayTunaLpPositionDebtInstructionDataArgs, type ResetTunaSpotPositionInput, type ResetTunaSpotPositionInstruction, type ResetTunaSpotPositionInstructionData, type ResetTunaSpotPositionInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_REBALANCE_FEE_RATE_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR, SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, type SetDefaultLiquidationFeeRateInput, type SetDefaultLiquidationFeeRateInstruction, type SetDefaultLiquidationFeeRateInstructionData, type SetDefaultLiquidationFeeRateInstructionDataArgs, type SetDefaultMaxPercentageOfLeftoversInput, type SetDefaultMaxPercentageOfLeftoversInstruction, type SetDefaultMaxPercentageOfLeftoversInstructionData, type SetDefaultMaxPercentageOfLeftoversInstructionDataArgs, type SetDefaultMaxSwapSlippageInput, type SetDefaultMaxSwapSlippageInstruction, type SetDefaultMaxSwapSlippageInstructionData, type SetDefaultMaxSwapSlippageInstructionDataArgs, type SetDefaultOraclePriceDeviationThresholdInput, type SetDefaultOraclePriceDeviationThresholdInstruction, type SetDefaultOraclePriceDeviationThresholdInstructionData, type SetDefaultOraclePriceDeviationThresholdInstructionDataArgs, type SetDefaultProtocolFeeRateInput, type SetDefaultProtocolFeeRateInstruction, type SetDefaultProtocolFeeRateInstructionData, type SetDefaultProtocolFeeRateInstructionDataArgs, type SetDefaultRebalanceFeeRateInput, type SetDefaultRebalanceFeeRateInstruction, type SetDefaultRebalanceFeeRateInstructionData, type SetDefaultRebalanceFeeRateInstructionDataArgs, type SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLiquidatorAuthorityInput, type SetLiquidatorAuthorityInstruction, type SetLiquidatorAuthorityInstructionData, type SetLiquidatorAuthorityInstructionDataArgs, type SetOwnerAuthorityInput, type SetOwnerAuthorityInstruction, type SetOwnerAuthorityInstructionData, type SetOwnerAuthorityInstructionDataArgs, type SetSuspendedStateInput, type SetSuspendedStateInstruction, type SetSuspendedStateInstructionData, type SetSuspendedStateInstructionDataArgs, type SetTunaLpPositionFlagsInput, type SetTunaLpPositionFlagsInstruction, type SetTunaLpPositionFlagsInstructionData, type SetTunaLpPositionFlagsInstructionDataArgs, type SetTunaLpPositionLimitOrdersInput, type SetTunaLpPositionLimitOrdersInstruction, type SetTunaLpPositionLimitOrdersInstructionData, type SetTunaLpPositionLimitOrdersInstructionDataArgs, type SetTunaLpPositionRebalanceThresholdInput, type SetTunaLpPositionRebalanceThresholdInstruction, type SetTunaLpPositionRebalanceThresholdInstructionData, type SetTunaLpPositionRebalanceThresholdInstructionDataArgs, type SetTunaSpotPositionLimitOrdersInput, type SetTunaSpotPositionLimitOrdersInstruction, type SetTunaSpotPositionLimitOrdersInstructionData, type SetTunaSpotPositionLimitOrdersInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__ACCOUNT_NOT_INITIALIZED, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INCORRECT_POSITION_DIRECTION, TUNA_ERROR__INCORRECT_SWAP_INPUT_AMOUNT, TUNA_ERROR__INCORRECT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INSUFFICIENT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_DISCRIMINATOR, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_JUPITER_ROUTE, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_POOL, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__INVALID_VAULT, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDITY_ZERO, TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED, TUNA_ERROR__MARKET_DISABLED, TUNA_ERROR__MATH_OVERFLOW, TUNA_ERROR__MATH_UNDERFLOW, TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE, TUNA_ERROR__ORACLE_STALE_PRICE, TUNA_ERROR__PARTIAL_FILL_ERROR, TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE, TUNA_ERROR__POSITION_IS_EMPTY, TUNA_ERROR__POSITION_IS_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET, TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE, TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH, TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED, TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT, TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS, TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED, TUNA_ERROR__SUSPENDED, TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT, TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED, TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE, TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED, TUNA_ERROR__TICK_INDEX_OF_BOUNDS, TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR, TUNA_ERROR__TYPE_CAST_OVERFLOW, TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA, TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA, TUNA_ERROR__UNEXPECTED_VALUE, TUNA_ERROR__UNSUPPORTED_TOKEN_MINT, TUNA_ERROR__UNUSED, TUNA_ERROR__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_LP_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateVaultInput, type UpdateVaultInstruction, type UpdateVaultInstructionData, type UpdateVaultInstructionDataArgs, VAULT_DISCRIMINATOR, type Vault, type VaultArgs, WITHDRAW_DISCRIMINATOR, WP_NFT_UPDATE_AUTH, type WithdrawInput, type WithdrawInstruction, type WithdrawInstructionData, type WithdrawInstructionDataArgs, closeActiveTunaLpPositionFusionInstructions, closeActiveTunaLpPositionOrcaInstructions, closeTunaLpPositionFusionInstruction, closeTunaLpPositionOrcaInstruction, closeTunaSpotPositionInstruction, closeTunaSpotPositionInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createTunaConfigInstruction, createVaultInstructions, createVaultV2Instructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaSpotPosition, fetchVault, fundsToShares, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getCloseTunaLpPositionFusionDiscriminatorBytes, getCloseTunaLpPositionFusionInstruction, getCloseTunaLpPositionFusionInstructionDataCodec, getCloseTunaLpPositionFusionInstructionDataDecoder, getCloseTunaLpPositionFusionInstructionDataEncoder, getCloseTunaLpPositionOrcaDiscriminatorBytes, getCloseTunaLpPositionOrcaInstruction, getCloseTunaLpPositionOrcaInstructionDataCodec, getCloseTunaLpPositionOrcaInstructionDataDecoder, getCloseTunaLpPositionOrcaInstructionDataEncoder, getCloseTunaSpotPositionDiscriminatorBytes, getCloseTunaSpotPositionInstruction, getCloseTunaSpotPositionInstructionDataCodec, getCloseTunaSpotPositionInstructionDataDecoder, getCloseTunaSpotPositionInstructionDataEncoder, getCollectAndCompoundFeesFusionDiscriminatorBytes, getCollectAndCompoundFeesFusionInstruction, getCollectAndCompoundFeesFusionInstructionDataCodec, getCollectAndCompoundFeesFusionInstructionDataDecoder, getCollectAndCompoundFeesFusionInstructionDataEncoder, getCollectAndCompoundFeesOrcaDiscriminatorBytes, getCollectAndCompoundFeesOrcaInstruction, getCollectAndCompoundFeesOrcaInstructionDataCodec, getCollectAndCompoundFeesOrcaInstructionDataDecoder, getCollectAndCompoundFeesOrcaInstructionDataEncoder, getCollectFeesFusionDiscriminatorBytes, getCollectFeesFusionInstruction, getCollectFeesFusionInstructionDataCodec, getCollectFeesFusionInstructionDataDecoder, getCollectFeesFusionInstructionDataEncoder, getCollectFeesOrcaDiscriminatorBytes, getCollectFeesOrcaInstruction, getCollectFeesOrcaInstructionDataCodec, getCollectFeesOrcaInstructionDataDecoder, getCollectFeesOrcaInstructionDataEncoder, getCollectRewardOrcaDiscriminatorBytes, getCollectRewardOrcaInstruction, getCollectRewardOrcaInstructionDataCodec, getCollectRewardOrcaInstructionDataDecoder, getCollectRewardOrcaInstructionDataEncoder, getCreateAtaInstruction, getCreateAtaInstructions, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getCreateMarketV2DiscriminatorBytes, getCreateMarketV2Instruction, getCreateMarketV2InstructionDataCodec, getCreateMarketV2InstructionDataDecoder, getCreateMarketV2InstructionDataEncoder, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getCreateVaultV2DiscriminatorBytes, getCreateVaultV2Instruction, getCreateVaultV2InstructionDataCodec, getCreateVaultV2InstructionDataDecoder, getCreateVaultV2InstructionDataEncoder, getDecreaseTunaLpPositionFusionDiscriminatorBytes, getDecreaseTunaLpPositionFusionInstruction, getDecreaseTunaLpPositionFusionInstructionDataCodec, getDecreaseTunaLpPositionFusionInstructionDataDecoder, getDecreaseTunaLpPositionFusionInstructionDataEncoder, getDecreaseTunaLpPositionOrcaDiscriminatorBytes, getDecreaseTunaLpPositionOrcaInstruction, getDecreaseTunaLpPositionOrcaInstructionDataCodec, getDecreaseTunaLpPositionOrcaInstructionDataDecoder, getDecreaseTunaLpPositionOrcaInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getIncreaseTunaLpPositionFusionDiscriminatorBytes, getIncreaseTunaLpPositionFusionInstruction, getIncreaseTunaLpPositionFusionInstructionDataCodec, getIncreaseTunaLpPositionFusionInstructionDataDecoder, getIncreaseTunaLpPositionFusionInstructionDataEncoder, getIncreaseTunaLpPositionOrcaDiscriminatorBytes, getIncreaseTunaLpPositionOrcaInstruction, getIncreaseTunaLpPositionOrcaInstructionDataCodec, getIncreaseTunaLpPositionOrcaInstructionDataDecoder, getIncreaseTunaLpPositionOrcaInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLendingVaultV2Address, getLiquidateTunaLpPositionFusionDiscriminatorBytes, getLiquidateTunaLpPositionFusionInstruction, getLiquidateTunaLpPositionFusionInstructionDataCodec, getLiquidateTunaLpPositionFusionInstructionDataDecoder, getLiquidateTunaLpPositionFusionInstructionDataEncoder, getLiquidateTunaLpPositionOrcaDiscriminatorBytes, getLiquidateTunaLpPositionOrcaInstruction, getLiquidateTunaLpPositionOrcaInstructionDataCodec, getLiquidateTunaLpPositionOrcaInstructionDataDecoder, getLiquidateTunaLpPositionOrcaInstructionDataEncoder, getLiquidateTunaSpotPositionFusionDiscriminatorBytes, getLiquidateTunaSpotPositionFusionInstruction, getLiquidateTunaSpotPositionFusionInstructionDataCodec, getLiquidateTunaSpotPositionFusionInstructionDataDecoder, getLiquidateTunaSpotPositionFusionInstructionDataEncoder, getLiquidateTunaSpotPositionJupiterDiscriminatorBytes, getLiquidateTunaSpotPositionJupiterInstruction, getLiquidateTunaSpotPositionJupiterInstructionDataCodec, getLiquidateTunaSpotPositionJupiterInstructionDataDecoder, getLiquidateTunaSpotPositionJupiterInstructionDataEncoder, getLiquidateTunaSpotPositionOrcaDiscriminatorBytes, getLiquidateTunaSpotPositionOrcaInstruction, getLiquidateTunaSpotPositionOrcaInstructionDataCodec, getLiquidateTunaSpotPositionOrcaInstructionDataDecoder, getLiquidateTunaSpotPositionOrcaInstructionDataEncoder, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getModifyTunaSpotPositionFusionDiscriminatorBytes, getModifyTunaSpotPositionFusionInstruction, getModifyTunaSpotPositionFusionInstructionDataCodec, getModifyTunaSpotPositionFusionInstructionDataDecoder, getModifyTunaSpotPositionFusionInstructionDataEncoder, getModifyTunaSpotPositionJupiterDiscriminatorBytes, getModifyTunaSpotPositionJupiterInstruction, getModifyTunaSpotPositionJupiterInstructionDataCodec, getModifyTunaSpotPositionJupiterInstructionDataDecoder, getModifyTunaSpotPositionJupiterInstructionDataEncoder, getModifyTunaSpotPositionOrcaDiscriminatorBytes, getModifyTunaSpotPositionOrcaInstruction, getModifyTunaSpotPositionOrcaInstructionDataCodec, getModifyTunaSpotPositionOrcaInstructionDataDecoder, getModifyTunaSpotPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionFusionInstruction, getOpenAndIncreaseTunaLpPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaLpPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenLendingPositionV2DiscriminatorBytes, getOpenLendingPositionV2Instruction, getOpenLendingPositionV2InstructionDataCodec, getOpenLendingPositionV2InstructionDataDecoder, getOpenLendingPositionV2InstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaSpotPositionDiscriminatorBytes, getOpenTunaSpotPositionInstruction, getOpenTunaSpotPositionInstructionDataCodec, getOpenTunaSpotPositionInstructionDataDecoder, getOpenTunaSpotPositionInstructionDataEncoder, getPoolTokenCodec, getPoolTokenDecoder, getPoolTokenEncoder, getPythPriceUpdateAccountAddress, getRebalanceTunaLpPositionFusionDiscriminatorBytes, getRebalanceTunaLpPositionFusionInstruction, getRebalanceTunaLpPositionFusionInstructionDataCodec, getRebalanceTunaLpPositionFusionInstructionDataDecoder, getRebalanceTunaLpPositionFusionInstructionDataEncoder, getRebalanceTunaLpPositionOrcaDiscriminatorBytes, getRebalanceTunaLpPositionOrcaInstruction, getRebalanceTunaLpPositionOrcaInstructionDataCodec, getRebalanceTunaLpPositionOrcaInstructionDataDecoder, getRebalanceTunaLpPositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayTunaLpPositionDebtDiscriminatorBytes, getRepayTunaLpPositionDebtInstruction, getRepayTunaLpPositionDebtInstructionDataCodec, getRepayTunaLpPositionDebtInstructionDataDecoder, getRepayTunaLpPositionDebtInstructionDataEncoder, getResetTunaSpotPositionDiscriminatorBytes, getResetTunaSpotPositionInstruction, getResetTunaSpotPositionInstructionDataCodec, getResetTunaSpotPositionInstructionDataDecoder, getResetTunaSpotPositionInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultLiquidationFeeRateDiscriminatorBytes, getSetDefaultLiquidationFeeRateInstruction, getSetDefaultLiquidationFeeRateInstructionDataCodec, getSetDefaultLiquidationFeeRateInstructionDataDecoder, getSetDefaultLiquidationFeeRateInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetDefaultProtocolFeeRateDiscriminatorBytes, getSetDefaultProtocolFeeRateInstruction, getSetDefaultProtocolFeeRateInstructionDataCodec, getSetDefaultProtocolFeeRateInstructionDataDecoder, getSetDefaultProtocolFeeRateInstructionDataEncoder, getSetDefaultRebalanceFeeRateDiscriminatorBytes, getSetDefaultRebalanceFeeRateInstruction, getSetDefaultRebalanceFeeRateInstructionDataCodec, getSetDefaultRebalanceFeeRateInstructionDataDecoder, getSetDefaultRebalanceFeeRateInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaLpPositionFlagsDiscriminatorBytes, getSetTunaLpPositionFlagsInstruction, getSetTunaLpPositionFlagsInstructionDataCodec, getSetTunaLpPositionFlagsInstructionDataDecoder, getSetTunaLpPositionFlagsInstructionDataEncoder, getSetTunaLpPositionLimitOrdersDiscriminatorBytes, getSetTunaLpPositionLimitOrdersInstruction, getSetTunaLpPositionLimitOrdersInstructionDataCodec, getSetTunaLpPositionLimitOrdersInstructionDataDecoder, getSetTunaLpPositionLimitOrdersInstructionDataEncoder, getSetTunaLpPositionRebalanceThresholdDiscriminatorBytes, getSetTunaLpPositionRebalanceThresholdInstruction, getSetTunaLpPositionRebalanceThresholdInstructionDataCodec, getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder, getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder, getSetTunaSpotPositionLimitOrdersDiscriminatorBytes, getSetTunaSpotPositionLimitOrdersInstruction, getSetTunaSpotPositionLimitOrdersInstructionDataCodec, getSetTunaSpotPositionLimitOrdersInstructionDataDecoder, getSetTunaSpotPositionLimitOrdersInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaLpPositionAddress, getTunaLpPositionCodec, getTunaLpPositionDecoder, getTunaLpPositionDiscriminatorBytes, getTunaLpPositionEncoder, getTunaLpPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, increaseTunaLpPositionFusionInstruction, increaseTunaLpPositionFusionInstructions, increaseTunaLpPositionOrcaInstruction, increaseTunaLpPositionOrcaInstructions, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, lendingPositionVaultFilter, liquidateTunaLpPositionFusionInstruction, liquidateTunaLpPositionFusionInstructions, liquidateTunaLpPositionOrcaInstruction, liquidateTunaLpPositionOrcaInstructions, liquidateTunaSpotPositionFusionInstruction, liquidateTunaSpotPositionFusionInstructions, liquidateTunaSpotPositionJupiterInstruction, liquidateTunaSpotPositionJupiterInstructions, liquidateTunaSpotPositionOrcaInstruction, liquidateTunaSpotPositionOrcaInstructions, modifyTunaSpotPositionFusionInstruction, modifyTunaSpotPositionFusionInstructions, modifyTunaSpotPositionJupiterInstruction, modifyTunaSpotPositionJupiterInstructions, modifyTunaSpotPositionOrcaInstruction, modifyTunaSpotPositionOrcaInstructions, mulDiv, openAndIncreaseTunaLpPositionFusionInstruction, openAndIncreaseTunaLpPositionFusionInstructions, openAndIncreaseTunaLpPositionOrcaInstruction, openAndIncreaseTunaLpPositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openLendingPositionV2Instruction, openTunaLpPositionFusionInstruction, openTunaLpPositionOrcaInstruction, openTunaSpotPositionInstruction, openTunaSpotPositionInstructions, parseCloseTunaLpPositionFusionInstruction, parseCloseTunaLpPositionOrcaInstruction, parseCloseTunaSpotPositionInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateMarketV2Instruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseCreateVaultV2Instruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionJupiterInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseModifyTunaSpotPositionFusionInstruction, parseModifyTunaSpotPositionJupiterInstruction, parseModifyTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenLendingPositionV2Instruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultLiquidationFeeRateInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetDefaultProtocolFeeRateInstruction, parseSetDefaultRebalanceFeeRateInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalanceTunaLpPositionFusionInstruction, rebalanceTunaLpPositionFusionInstructions, rebalanceTunaLpPositionOrcaInstruction, rebalanceTunaLpPositionOrcaInstructions, repayBadDebtInstruction, repayTunaLpPositionDebtInstruction, repayTunaLpPositionDebtInstructions, resetTunaSpotPositionInstruction, setTunaLpPositionLimitOrdersInstruction, setTunaSpotPositionLimitOrdersInstruction, sharesToFunds, tunaLpPositionAuthorityFilter, tunaLpPositionMarketMakerFilter, tunaLpPositionMintAFilter, tunaLpPositionMintBFilter, tunaLpPositionMintFilter, tunaLpPositionPoolFilter, tunaSpotPositionAuthorityFilter, tunaSpotPositionMintAFilter, tunaSpotPositionMintBFilter, tunaSpotPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
6579
+ export { AccountsType, type AccountsTypeArgs, CLOSE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, CLOSE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, CLOSE_TUNA_SPOT_POSITION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_FUSION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_ORCA_DISCRIMINATOR, COLLECT_FEES_FUSION_DISCRIMINATOR, COLLECT_FEES_ORCA_DISCRIMINATOR, COLLECT_REWARD_ORCA_DISCRIMINATOR, COMPUTED_AMOUNT, CREATE_MARKET_DISCRIMINATOR, CREATE_MARKET_V2_DISCRIMINATOR, CREATE_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, CREATE_VAULT_V2_DISCRIMINATOR, type CloseActiveTunaLpPositionInstructionArgs, type CloseTunaLpPositionFusionInput, type CloseTunaLpPositionFusionInstruction, type CloseTunaLpPositionFusionInstructionData, type CloseTunaLpPositionFusionInstructionDataArgs, type CloseTunaLpPositionOrcaInput, type CloseTunaLpPositionOrcaInstruction, type CloseTunaLpPositionOrcaInstructionData, type CloseTunaLpPositionOrcaInstructionDataArgs, type CloseTunaSpotPositionInput, type CloseTunaSpotPositionInstruction, type CloseTunaSpotPositionInstructionData, type CloseTunaSpotPositionInstructionDataArgs, type CollectAndCompoundFeesFusionInput, type CollectAndCompoundFeesFusionInstruction, type CollectAndCompoundFeesFusionInstructionData, type CollectAndCompoundFeesFusionInstructionDataArgs, type CollectAndCompoundFeesOrcaInput, type CollectAndCompoundFeesOrcaInstruction, type CollectAndCompoundFeesOrcaInstructionData, type CollectAndCompoundFeesOrcaInstructionDataArgs, type CollectFeesFusionInput, type CollectFeesFusionInstruction, type CollectFeesFusionInstructionData, type CollectFeesFusionInstructionDataArgs, type CollectFeesOrcaInput, type CollectFeesOrcaInstruction, type CollectFeesOrcaInstructionData, type CollectFeesOrcaInstructionDataArgs, type CollectRewardOrcaInput, type CollectRewardOrcaInstruction, type CollectRewardOrcaInstructionData, type CollectRewardOrcaInstructionDataArgs, type CreateAddressLookupTableResult, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketV2Input, type CreateMarketV2Instruction, type CreateMarketV2InstructionData, type CreateMarketV2InstructionDataArgs, type CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, type CreateVaultV2Input, type CreateVaultV2Instruction, type CreateVaultV2InstructionData, type CreateVaultV2InstructionDataArgs, DECREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, DEFAULT_ADDRESS, DEFAULT_MAX_SWAP_SLIPPAGE, DEFAULT_PUSH_ORACLE_PROGRAM_ID, DEPOSIT_DISCRIMINATOR, type DecreaseTunaLpPositionFusionInput, type DecreaseTunaLpPositionFusionInstruction, type DecreaseTunaLpPositionFusionInstructionData, type DecreaseTunaLpPositionFusionInstructionDataArgs, type DecreaseTunaLpPositionFusionInstructionsArgs, type DecreaseTunaLpPositionOrcaInput, type DecreaseTunaLpPositionOrcaInstruction, type DecreaseTunaLpPositionOrcaInstructionData, type DecreaseTunaLpPositionOrcaInstructionDataArgs, type DecreaseTunaLpPositionOrcaInstructionsArgs, type DepositInput, type DepositInstruction, type DepositInstructionData, type DepositInstructionDataArgs, FusionUtils, HUNDRED_PERCENT, HUNDRED_PERCENTn, INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, type IncreaseTunaLpPositionFusionInput, type IncreaseTunaLpPositionFusionInstruction, type IncreaseTunaLpPositionFusionInstructionData, type IncreaseTunaLpPositionFusionInstructionDataArgs, type IncreaseTunaLpPositionFusionInstructionsArgs, type IncreaseTunaLpPositionOrcaInput, type IncreaseTunaLpPositionOrcaInstruction, type IncreaseTunaLpPositionOrcaInstructionData, type IncreaseTunaLpPositionOrcaInstructionDataArgs, type IncreaseTunaLpPositionOrcaInstructionsArgs, JUPITER_EVENT_AUTHORITY, JUPITER_PROGRAM_AUTHORITY, LENDING_POSITION_DISCRIMINATOR, LEVERAGE_ONE, LIQUIDATE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type LendingPosition, type LendingPositionArgs, type LiquidateTunaLpPositionFusionInput, type LiquidateTunaLpPositionFusionInstruction, type LiquidateTunaLpPositionFusionInstructionData, type LiquidateTunaLpPositionFusionInstructionDataArgs, type LiquidateTunaLpPositionOrcaInput, type LiquidateTunaLpPositionOrcaInstruction, type LiquidateTunaLpPositionOrcaInstructionData, type LiquidateTunaLpPositionOrcaInstructionDataArgs, type LiquidateTunaSpotPositionFusionInput, type LiquidateTunaSpotPositionFusionInstruction, type LiquidateTunaSpotPositionFusionInstructionData, type LiquidateTunaSpotPositionFusionInstructionDataArgs, type LiquidateTunaSpotPositionJupiterInput, type LiquidateTunaSpotPositionJupiterInstruction, type LiquidateTunaSpotPositionJupiterInstructionData, type LiquidateTunaSpotPositionJupiterInstructionDataArgs, type LiquidateTunaSpotPositionOrcaInput, type LiquidateTunaSpotPositionOrcaInstruction, type LiquidateTunaSpotPositionOrcaInstructionData, type LiquidateTunaSpotPositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, MAX_SQRT_PRICE, MIN_SQRT_PRICE, MODIFY_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, type ModifyTunaSpotPositionFusionInput, type ModifyTunaSpotPositionFusionInstruction, type ModifyTunaSpotPositionFusionInstructionData, type ModifyTunaSpotPositionFusionInstructionDataArgs, type ModifyTunaSpotPositionFusionInstructionsArgs, type ModifyTunaSpotPositionJupiterInput, type ModifyTunaSpotPositionJupiterInstruction, type ModifyTunaSpotPositionJupiterInstructionData, type ModifyTunaSpotPositionJupiterInstructionDataArgs, type ModifyTunaSpotPositionOrcaInput, type ModifyTunaSpotPositionOrcaInstruction, type ModifyTunaSpotPositionOrcaInstructionData, type ModifyTunaSpotPositionOrcaInstructionDataArgs, type ModifyTunaSpotPositionOrcaInstructionsArgs, NATIVE_MINT, NO_LOWER_LIMIT_ORDER, NO_UPPER_LIMIT_ORDER, OPEN_AND_INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_AND_INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_LENDING_POSITION_DISCRIMINATOR, OPEN_LENDING_POSITION_V2_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_TUNA_SPOT_POSITION_DISCRIMINATOR, type OpenAndIncreaseTunaLpPositionFusion, type OpenAndIncreaseTunaLpPositionFusionInput, type OpenAndIncreaseTunaLpPositionFusionInstruction, type OpenAndIncreaseTunaLpPositionFusionInstructionData, type OpenAndIncreaseTunaLpPositionFusionInstructionDataArgs, type OpenAndIncreaseTunaLpPositionFusionInstructionsArgs, type OpenAndIncreaseTunaLpPositionOrca, type OpenAndIncreaseTunaLpPositionOrcaInput, type OpenAndIncreaseTunaLpPositionOrcaInstruction, type OpenAndIncreaseTunaLpPositionOrcaInstructionData, type OpenAndIncreaseTunaLpPositionOrcaInstructionDataArgs, type OpenAndIncreaseTunaLpPositionOrcaInstructionsArgs, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenLendingPositionV2Input, type OpenLendingPositionV2Instruction, type OpenLendingPositionV2InstructionData, type OpenLendingPositionV2InstructionDataArgs, type OpenTunaLpPositionFusionInput, type OpenTunaLpPositionFusionInstruction, type OpenTunaLpPositionFusionInstructionData, type OpenTunaLpPositionFusionInstructionDataArgs, type OpenTunaLpPositionOrcaInput, type OpenTunaLpPositionOrcaInstruction, type OpenTunaLpPositionOrcaInstructionData, type OpenTunaLpPositionOrcaInstructionDataArgs, type OpenTunaSpotPositionInput, type OpenTunaSpotPositionInstruction, type OpenTunaSpotPositionInstructionData, type OpenTunaSpotPositionInstructionDataArgs, OrcaUtils, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateMarketV2Instruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedCreateVaultV2Instruction, type ParsedDecreaseTunaLpPositionFusionInstruction, type ParsedDecreaseTunaLpPositionOrcaInstruction, type ParsedDepositInstruction, type ParsedIncreaseTunaLpPositionFusionInstruction, type ParsedIncreaseTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaLpPositionFusionInstruction, type ParsedLiquidateTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaSpotPositionFusionInstruction, type ParsedLiquidateTunaSpotPositionJupiterInstruction, type ParsedLiquidateTunaSpotPositionOrcaInstruction, type ParsedModifyTunaSpotPositionFusionInstruction, type ParsedModifyTunaSpotPositionJupiterInstruction, type ParsedModifyTunaSpotPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaLpPositionFusionInstruction, type ParsedOpenAndIncreaseTunaLpPositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenLendingPositionV2Instruction, type ParsedOpenTunaLpPositionFusionInstruction, type ParsedOpenTunaLpPositionOrcaInstruction, type ParsedOpenTunaSpotPositionInstruction, type ParsedRebalanceTunaLpPositionFusionInstruction, type ParsedRebalanceTunaLpPositionOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayTunaLpPositionDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultLiquidationFeeRateInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetDefaultProtocolFeeRateInstruction, type ParsedSetDefaultRebalanceFeeRateInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, PoolToken, type PoolTokenArgs, REBALANCE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR, RESET_TUNA_SPOT_POSITION_DISCRIMINATOR, type RebalanceTunaLpPositionFusion, type RebalanceTunaLpPositionFusionInput, type RebalanceTunaLpPositionFusionInstruction, type RebalanceTunaLpPositionFusionInstructionData, type RebalanceTunaLpPositionFusionInstructionDataArgs, type RebalanceTunaLpPositionOrca, type RebalanceTunaLpPositionOrcaInput, type RebalanceTunaLpPositionOrcaInstruction, type RebalanceTunaLpPositionOrcaInstructionData, type RebalanceTunaLpPositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayTunaLpPositionDebtInput, type RepayTunaLpPositionDebtInstruction, type RepayTunaLpPositionDebtInstructionData, type RepayTunaLpPositionDebtInstructionDataArgs, type ResetTunaSpotPositionInput, type ResetTunaSpotPositionInstruction, type ResetTunaSpotPositionInstructionData, type ResetTunaSpotPositionInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_REBALANCE_FEE_RATE_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR, SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, type SetDefaultLiquidationFeeRateInput, type SetDefaultLiquidationFeeRateInstruction, type SetDefaultLiquidationFeeRateInstructionData, type SetDefaultLiquidationFeeRateInstructionDataArgs, type SetDefaultMaxPercentageOfLeftoversInput, type SetDefaultMaxPercentageOfLeftoversInstruction, type SetDefaultMaxPercentageOfLeftoversInstructionData, type SetDefaultMaxPercentageOfLeftoversInstructionDataArgs, type SetDefaultMaxSwapSlippageInput, type SetDefaultMaxSwapSlippageInstruction, type SetDefaultMaxSwapSlippageInstructionData, type SetDefaultMaxSwapSlippageInstructionDataArgs, type SetDefaultOraclePriceDeviationThresholdInput, type SetDefaultOraclePriceDeviationThresholdInstruction, type SetDefaultOraclePriceDeviationThresholdInstructionData, type SetDefaultOraclePriceDeviationThresholdInstructionDataArgs, type SetDefaultProtocolFeeRateInput, type SetDefaultProtocolFeeRateInstruction, type SetDefaultProtocolFeeRateInstructionData, type SetDefaultProtocolFeeRateInstructionDataArgs, type SetDefaultRebalanceFeeRateInput, type SetDefaultRebalanceFeeRateInstruction, type SetDefaultRebalanceFeeRateInstructionData, type SetDefaultRebalanceFeeRateInstructionDataArgs, type SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLiquidatorAuthorityInput, type SetLiquidatorAuthorityInstruction, type SetLiquidatorAuthorityInstructionData, type SetLiquidatorAuthorityInstructionDataArgs, type SetOwnerAuthorityInput, type SetOwnerAuthorityInstruction, type SetOwnerAuthorityInstructionData, type SetOwnerAuthorityInstructionDataArgs, type SetSuspendedStateInput, type SetSuspendedStateInstruction, type SetSuspendedStateInstructionData, type SetSuspendedStateInstructionDataArgs, type SetTunaLpPositionFlagsInput, type SetTunaLpPositionFlagsInstruction, type SetTunaLpPositionFlagsInstructionData, type SetTunaLpPositionFlagsInstructionDataArgs, type SetTunaLpPositionLimitOrdersInput, type SetTunaLpPositionLimitOrdersInstruction, type SetTunaLpPositionLimitOrdersInstructionData, type SetTunaLpPositionLimitOrdersInstructionDataArgs, type SetTunaLpPositionRebalanceThresholdInput, type SetTunaLpPositionRebalanceThresholdInstruction, type SetTunaLpPositionRebalanceThresholdInstructionData, type SetTunaLpPositionRebalanceThresholdInstructionDataArgs, type SetTunaSpotPositionLimitOrdersInput, type SetTunaSpotPositionLimitOrdersInstruction, type SetTunaSpotPositionLimitOrdersInstructionData, type SetTunaSpotPositionLimitOrdersInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__ACCOUNT_NOT_INITIALIZED, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INCORRECT_POSITION_DIRECTION, TUNA_ERROR__INCORRECT_SWAP_INPUT_AMOUNT, TUNA_ERROR__INCORRECT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INSUFFICIENT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_DISCRIMINATOR, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_JUPITER_ROUTE, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_POOL, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__INVALID_VAULT, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDITY_ZERO, TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED, TUNA_ERROR__MARKET_DISABLED, TUNA_ERROR__MATH_OVERFLOW, TUNA_ERROR__MATH_UNDERFLOW, TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE, TUNA_ERROR__ORACLE_STALE_PRICE, TUNA_ERROR__PARTIAL_FILL_ERROR, TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE, TUNA_ERROR__POSITION_IS_EMPTY, TUNA_ERROR__POSITION_IS_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET, TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE, TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH, TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED, TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT, TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS, TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED, TUNA_ERROR__SUSPENDED, TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT, TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED, TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE, TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED, TUNA_ERROR__TICK_INDEX_OF_BOUNDS, TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR, TUNA_ERROR__TYPE_CAST_OVERFLOW, TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA, TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA, TUNA_ERROR__UNEXPECTED_VALUE, TUNA_ERROR__UNSUPPORTED_TOKEN_MINT, TUNA_ERROR__UNUSED, TUNA_ERROR__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_LP_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateVaultInput, type UpdateVaultInstruction, type UpdateVaultInstructionData, type UpdateVaultInstructionDataArgs, VAULT_DISCRIMINATOR, type Vault, type VaultArgs, WITHDRAW_DISCRIMINATOR, WP_NFT_UPDATE_AUTH, type WithdrawInput, type WithdrawInstruction, type WithdrawInstructionData, type WithdrawInstructionDataArgs, closeActiveTunaLpPositionFusionInstructions, closeActiveTunaLpPositionOrcaInstructions, closeTunaLpPositionFusionInstruction, closeTunaLpPositionOrcaInstruction, closeTunaSpotPositionInstruction, closeTunaSpotPositionInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createMarketV2Instruction, createTunaConfigInstruction, createVaultInstructions, createVaultV2Instructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaSpotPosition, fetchVault, fundsToShares, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getCloseTunaLpPositionFusionDiscriminatorBytes, getCloseTunaLpPositionFusionInstruction, getCloseTunaLpPositionFusionInstructionDataCodec, getCloseTunaLpPositionFusionInstructionDataDecoder, getCloseTunaLpPositionFusionInstructionDataEncoder, getCloseTunaLpPositionOrcaDiscriminatorBytes, getCloseTunaLpPositionOrcaInstruction, getCloseTunaLpPositionOrcaInstructionDataCodec, getCloseTunaLpPositionOrcaInstructionDataDecoder, getCloseTunaLpPositionOrcaInstructionDataEncoder, getCloseTunaSpotPositionDiscriminatorBytes, getCloseTunaSpotPositionInstruction, getCloseTunaSpotPositionInstructionDataCodec, getCloseTunaSpotPositionInstructionDataDecoder, getCloseTunaSpotPositionInstructionDataEncoder, getCollectAndCompoundFeesFusionDiscriminatorBytes, getCollectAndCompoundFeesFusionInstruction, getCollectAndCompoundFeesFusionInstructionDataCodec, getCollectAndCompoundFeesFusionInstructionDataDecoder, getCollectAndCompoundFeesFusionInstructionDataEncoder, getCollectAndCompoundFeesOrcaDiscriminatorBytes, getCollectAndCompoundFeesOrcaInstruction, getCollectAndCompoundFeesOrcaInstructionDataCodec, getCollectAndCompoundFeesOrcaInstructionDataDecoder, getCollectAndCompoundFeesOrcaInstructionDataEncoder, getCollectFeesFusionDiscriminatorBytes, getCollectFeesFusionInstruction, getCollectFeesFusionInstructionDataCodec, getCollectFeesFusionInstructionDataDecoder, getCollectFeesFusionInstructionDataEncoder, getCollectFeesOrcaDiscriminatorBytes, getCollectFeesOrcaInstruction, getCollectFeesOrcaInstructionDataCodec, getCollectFeesOrcaInstructionDataDecoder, getCollectFeesOrcaInstructionDataEncoder, getCollectRewardOrcaDiscriminatorBytes, getCollectRewardOrcaInstruction, getCollectRewardOrcaInstructionDataCodec, getCollectRewardOrcaInstructionDataDecoder, getCollectRewardOrcaInstructionDataEncoder, getCreateAtaInstruction, getCreateAtaInstructions, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getCreateMarketV2DiscriminatorBytes, getCreateMarketV2Instruction, getCreateMarketV2InstructionDataCodec, getCreateMarketV2InstructionDataDecoder, getCreateMarketV2InstructionDataEncoder, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getCreateVaultV2DiscriminatorBytes, getCreateVaultV2Instruction, getCreateVaultV2InstructionDataCodec, getCreateVaultV2InstructionDataDecoder, getCreateVaultV2InstructionDataEncoder, getDecreaseTunaLpPositionFusionDiscriminatorBytes, getDecreaseTunaLpPositionFusionInstruction, getDecreaseTunaLpPositionFusionInstructionDataCodec, getDecreaseTunaLpPositionFusionInstructionDataDecoder, getDecreaseTunaLpPositionFusionInstructionDataEncoder, getDecreaseTunaLpPositionOrcaDiscriminatorBytes, getDecreaseTunaLpPositionOrcaInstruction, getDecreaseTunaLpPositionOrcaInstructionDataCodec, getDecreaseTunaLpPositionOrcaInstructionDataDecoder, getDecreaseTunaLpPositionOrcaInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getIncreaseTunaLpPositionFusionDiscriminatorBytes, getIncreaseTunaLpPositionFusionInstruction, getIncreaseTunaLpPositionFusionInstructionDataCodec, getIncreaseTunaLpPositionFusionInstructionDataDecoder, getIncreaseTunaLpPositionFusionInstructionDataEncoder, getIncreaseTunaLpPositionOrcaDiscriminatorBytes, getIncreaseTunaLpPositionOrcaInstruction, getIncreaseTunaLpPositionOrcaInstructionDataCodec, getIncreaseTunaLpPositionOrcaInstructionDataDecoder, getIncreaseTunaLpPositionOrcaInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLendingVaultV2Address, getLiquidateTunaLpPositionFusionDiscriminatorBytes, getLiquidateTunaLpPositionFusionInstruction, getLiquidateTunaLpPositionFusionInstructionDataCodec, getLiquidateTunaLpPositionFusionInstructionDataDecoder, getLiquidateTunaLpPositionFusionInstructionDataEncoder, getLiquidateTunaLpPositionOrcaDiscriminatorBytes, getLiquidateTunaLpPositionOrcaInstruction, getLiquidateTunaLpPositionOrcaInstructionDataCodec, getLiquidateTunaLpPositionOrcaInstructionDataDecoder, getLiquidateTunaLpPositionOrcaInstructionDataEncoder, getLiquidateTunaSpotPositionFusionDiscriminatorBytes, getLiquidateTunaSpotPositionFusionInstruction, getLiquidateTunaSpotPositionFusionInstructionDataCodec, getLiquidateTunaSpotPositionFusionInstructionDataDecoder, getLiquidateTunaSpotPositionFusionInstructionDataEncoder, getLiquidateTunaSpotPositionJupiterDiscriminatorBytes, getLiquidateTunaSpotPositionJupiterInstruction, getLiquidateTunaSpotPositionJupiterInstructionDataCodec, getLiquidateTunaSpotPositionJupiterInstructionDataDecoder, getLiquidateTunaSpotPositionJupiterInstructionDataEncoder, getLiquidateTunaSpotPositionOrcaDiscriminatorBytes, getLiquidateTunaSpotPositionOrcaInstruction, getLiquidateTunaSpotPositionOrcaInstructionDataCodec, getLiquidateTunaSpotPositionOrcaInstructionDataDecoder, getLiquidateTunaSpotPositionOrcaInstructionDataEncoder, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getModifyTunaSpotPositionFusionDiscriminatorBytes, getModifyTunaSpotPositionFusionInstruction, getModifyTunaSpotPositionFusionInstructionDataCodec, getModifyTunaSpotPositionFusionInstructionDataDecoder, getModifyTunaSpotPositionFusionInstructionDataEncoder, getModifyTunaSpotPositionJupiterDiscriminatorBytes, getModifyTunaSpotPositionJupiterInstruction, getModifyTunaSpotPositionJupiterInstructionDataCodec, getModifyTunaSpotPositionJupiterInstructionDataDecoder, getModifyTunaSpotPositionJupiterInstructionDataEncoder, getModifyTunaSpotPositionOrcaDiscriminatorBytes, getModifyTunaSpotPositionOrcaInstruction, getModifyTunaSpotPositionOrcaInstructionDataCodec, getModifyTunaSpotPositionOrcaInstructionDataDecoder, getModifyTunaSpotPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionFusionInstruction, getOpenAndIncreaseTunaLpPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaLpPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenLendingPositionV2DiscriminatorBytes, getOpenLendingPositionV2Instruction, getOpenLendingPositionV2InstructionDataCodec, getOpenLendingPositionV2InstructionDataDecoder, getOpenLendingPositionV2InstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaSpotPositionDiscriminatorBytes, getOpenTunaSpotPositionInstruction, getOpenTunaSpotPositionInstructionDataCodec, getOpenTunaSpotPositionInstructionDataDecoder, getOpenTunaSpotPositionInstructionDataEncoder, getPoolTokenCodec, getPoolTokenDecoder, getPoolTokenEncoder, getPythPriceUpdateAccountAddress, getRebalanceTunaLpPositionFusionDiscriminatorBytes, getRebalanceTunaLpPositionFusionInstruction, getRebalanceTunaLpPositionFusionInstructionDataCodec, getRebalanceTunaLpPositionFusionInstructionDataDecoder, getRebalanceTunaLpPositionFusionInstructionDataEncoder, getRebalanceTunaLpPositionOrcaDiscriminatorBytes, getRebalanceTunaLpPositionOrcaInstruction, getRebalanceTunaLpPositionOrcaInstructionDataCodec, getRebalanceTunaLpPositionOrcaInstructionDataDecoder, getRebalanceTunaLpPositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayTunaLpPositionDebtDiscriminatorBytes, getRepayTunaLpPositionDebtInstruction, getRepayTunaLpPositionDebtInstructionDataCodec, getRepayTunaLpPositionDebtInstructionDataDecoder, getRepayTunaLpPositionDebtInstructionDataEncoder, getResetTunaSpotPositionDiscriminatorBytes, getResetTunaSpotPositionInstruction, getResetTunaSpotPositionInstructionDataCodec, getResetTunaSpotPositionInstructionDataDecoder, getResetTunaSpotPositionInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultLiquidationFeeRateDiscriminatorBytes, getSetDefaultLiquidationFeeRateInstruction, getSetDefaultLiquidationFeeRateInstructionDataCodec, getSetDefaultLiquidationFeeRateInstructionDataDecoder, getSetDefaultLiquidationFeeRateInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetDefaultProtocolFeeRateDiscriminatorBytes, getSetDefaultProtocolFeeRateInstruction, getSetDefaultProtocolFeeRateInstructionDataCodec, getSetDefaultProtocolFeeRateInstructionDataDecoder, getSetDefaultProtocolFeeRateInstructionDataEncoder, getSetDefaultRebalanceFeeRateDiscriminatorBytes, getSetDefaultRebalanceFeeRateInstruction, getSetDefaultRebalanceFeeRateInstructionDataCodec, getSetDefaultRebalanceFeeRateInstructionDataDecoder, getSetDefaultRebalanceFeeRateInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaLpPositionFlagsDiscriminatorBytes, getSetTunaLpPositionFlagsInstruction, getSetTunaLpPositionFlagsInstructionDataCodec, getSetTunaLpPositionFlagsInstructionDataDecoder, getSetTunaLpPositionFlagsInstructionDataEncoder, getSetTunaLpPositionLimitOrdersDiscriminatorBytes, getSetTunaLpPositionLimitOrdersInstruction, getSetTunaLpPositionLimitOrdersInstructionDataCodec, getSetTunaLpPositionLimitOrdersInstructionDataDecoder, getSetTunaLpPositionLimitOrdersInstructionDataEncoder, getSetTunaLpPositionRebalanceThresholdDiscriminatorBytes, getSetTunaLpPositionRebalanceThresholdInstruction, getSetTunaLpPositionRebalanceThresholdInstructionDataCodec, getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder, getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder, getSetTunaSpotPositionLimitOrdersDiscriminatorBytes, getSetTunaSpotPositionLimitOrdersInstruction, getSetTunaSpotPositionLimitOrdersInstructionDataCodec, getSetTunaSpotPositionLimitOrdersInstructionDataDecoder, getSetTunaSpotPositionLimitOrdersInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaLpPositionAddress, getTunaLpPositionCodec, getTunaLpPositionDecoder, getTunaLpPositionDiscriminatorBytes, getTunaLpPositionEncoder, getTunaLpPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, increaseTunaLpPositionFusionInstruction, increaseTunaLpPositionFusionInstructions, increaseTunaLpPositionOrcaInstruction, increaseTunaLpPositionOrcaInstructions, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, lendingPositionVaultFilter, liquidateTunaLpPositionFusionInstruction, liquidateTunaLpPositionFusionInstructions, liquidateTunaLpPositionOrcaInstruction, liquidateTunaLpPositionOrcaInstructions, liquidateTunaSpotPositionFusionInstruction, liquidateTunaSpotPositionFusionInstructions, liquidateTunaSpotPositionJupiterInstruction, liquidateTunaSpotPositionJupiterInstructions, liquidateTunaSpotPositionOrcaInstruction, liquidateTunaSpotPositionOrcaInstructions, modifyTunaSpotPositionFusionInstruction, modifyTunaSpotPositionFusionInstructions, modifyTunaSpotPositionJupiterInstruction, modifyTunaSpotPositionJupiterInstructions, modifyTunaSpotPositionOrcaInstruction, modifyTunaSpotPositionOrcaInstructions, mulDiv, openAndIncreaseTunaLpPositionFusionInstruction, openAndIncreaseTunaLpPositionFusionInstructions, openAndIncreaseTunaLpPositionOrcaInstruction, openAndIncreaseTunaLpPositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openLendingPositionV2Instruction, openTunaLpPositionFusionInstruction, openTunaLpPositionOrcaInstruction, openTunaSpotPositionInstruction, openTunaSpotPositionInstructions, parseCloseTunaLpPositionFusionInstruction, parseCloseTunaLpPositionOrcaInstruction, parseCloseTunaSpotPositionInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateMarketV2Instruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseCreateVaultV2Instruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionJupiterInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseModifyTunaSpotPositionFusionInstruction, parseModifyTunaSpotPositionJupiterInstruction, parseModifyTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenLendingPositionV2Instruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultLiquidationFeeRateInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetDefaultProtocolFeeRateInstruction, parseSetDefaultRebalanceFeeRateInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalanceTunaLpPositionFusionInstruction, rebalanceTunaLpPositionFusionInstructions, rebalanceTunaLpPositionOrcaInstruction, rebalanceTunaLpPositionOrcaInstructions, repayBadDebtInstruction, repayTunaLpPositionDebtInstruction, repayTunaLpPositionDebtInstructions, resetTunaSpotPositionInstruction, setTunaLpPositionLimitOrdersInstruction, setTunaSpotPositionLimitOrdersInstruction, sharesToFunds, tunaLpPositionAuthorityFilter, tunaLpPositionMarketMakerFilter, tunaLpPositionMintAFilter, tunaLpPositionMintBFilter, tunaLpPositionMintFilter, tunaLpPositionPoolFilter, tunaSpotPositionAuthorityFilter, tunaSpotPositionMintAFilter, tunaSpotPositionMintBFilter, tunaSpotPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
package/dist/index.d.ts CHANGED
@@ -6437,6 +6437,8 @@ declare function closeTunaSpotPositionInstruction(authority: TransactionSigner,
6437
6437
 
6438
6438
  declare function createMarketInstruction(authority: TransactionSigner, pool: Address, vaultA: Address, vaultB: Address, args: CreateMarketInstructionDataArgs): Promise<IInstruction>;
6439
6439
 
6440
+ declare function createMarketV2Instruction(authority: TransactionSigner, pool: Address, vaultA: Address, vaultB: Address, args: CreateMarketV2InstructionDataArgs): Promise<IInstruction>;
6441
+
6440
6442
  declare function createTunaConfigInstruction(authority: TransactionSigner, ownerAuthority: Address, adminAuthority: Address, liquidatorAuthority: Address, feeRecipient: Address): Promise<IInstruction>;
6441
6443
 
6442
6444
  declare function createVaultInstructions(authority: TransactionSigner, mint: Account<Mint>, args: CreateVaultInstructionDataArgs): Promise<IInstruction[]>;
@@ -6574,4 +6576,4 @@ declare const JUPITER_PROGRAM_AUTHORITY: _solana_kit.Address<"9nnLbotNTcUhvbrsA6
6574
6576
  declare const MIN_SQRT_PRICE = 4295048016n;
6575
6577
  declare const MAX_SQRT_PRICE = 79226673515401279992447579055n;
6576
6578
 
6577
- export { AccountsType, type AccountsTypeArgs, CLOSE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, CLOSE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, CLOSE_TUNA_SPOT_POSITION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_FUSION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_ORCA_DISCRIMINATOR, COLLECT_FEES_FUSION_DISCRIMINATOR, COLLECT_FEES_ORCA_DISCRIMINATOR, COLLECT_REWARD_ORCA_DISCRIMINATOR, COMPUTED_AMOUNT, CREATE_MARKET_DISCRIMINATOR, CREATE_MARKET_V2_DISCRIMINATOR, CREATE_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, CREATE_VAULT_V2_DISCRIMINATOR, type CloseActiveTunaLpPositionInstructionArgs, type CloseTunaLpPositionFusionInput, type CloseTunaLpPositionFusionInstruction, type CloseTunaLpPositionFusionInstructionData, type CloseTunaLpPositionFusionInstructionDataArgs, type CloseTunaLpPositionOrcaInput, type CloseTunaLpPositionOrcaInstruction, type CloseTunaLpPositionOrcaInstructionData, type CloseTunaLpPositionOrcaInstructionDataArgs, type CloseTunaSpotPositionInput, type CloseTunaSpotPositionInstruction, type CloseTunaSpotPositionInstructionData, type CloseTunaSpotPositionInstructionDataArgs, type CollectAndCompoundFeesFusionInput, type CollectAndCompoundFeesFusionInstruction, type CollectAndCompoundFeesFusionInstructionData, type CollectAndCompoundFeesFusionInstructionDataArgs, type CollectAndCompoundFeesOrcaInput, type CollectAndCompoundFeesOrcaInstruction, type CollectAndCompoundFeesOrcaInstructionData, type CollectAndCompoundFeesOrcaInstructionDataArgs, type CollectFeesFusionInput, type CollectFeesFusionInstruction, type CollectFeesFusionInstructionData, type CollectFeesFusionInstructionDataArgs, type CollectFeesOrcaInput, type CollectFeesOrcaInstruction, type CollectFeesOrcaInstructionData, type CollectFeesOrcaInstructionDataArgs, type CollectRewardOrcaInput, type CollectRewardOrcaInstruction, type CollectRewardOrcaInstructionData, type CollectRewardOrcaInstructionDataArgs, type CreateAddressLookupTableResult, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketV2Input, type CreateMarketV2Instruction, type CreateMarketV2InstructionData, type CreateMarketV2InstructionDataArgs, type CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, type CreateVaultV2Input, type CreateVaultV2Instruction, type CreateVaultV2InstructionData, type CreateVaultV2InstructionDataArgs, DECREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, DEFAULT_ADDRESS, DEFAULT_MAX_SWAP_SLIPPAGE, DEFAULT_PUSH_ORACLE_PROGRAM_ID, DEPOSIT_DISCRIMINATOR, type DecreaseTunaLpPositionFusionInput, type DecreaseTunaLpPositionFusionInstruction, type DecreaseTunaLpPositionFusionInstructionData, type DecreaseTunaLpPositionFusionInstructionDataArgs, type DecreaseTunaLpPositionFusionInstructionsArgs, type DecreaseTunaLpPositionOrcaInput, type DecreaseTunaLpPositionOrcaInstruction, type DecreaseTunaLpPositionOrcaInstructionData, type DecreaseTunaLpPositionOrcaInstructionDataArgs, type DecreaseTunaLpPositionOrcaInstructionsArgs, type DepositInput, type DepositInstruction, type DepositInstructionData, type DepositInstructionDataArgs, FusionUtils, HUNDRED_PERCENT, HUNDRED_PERCENTn, INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, type IncreaseTunaLpPositionFusionInput, type IncreaseTunaLpPositionFusionInstruction, type IncreaseTunaLpPositionFusionInstructionData, type IncreaseTunaLpPositionFusionInstructionDataArgs, type IncreaseTunaLpPositionFusionInstructionsArgs, type IncreaseTunaLpPositionOrcaInput, type IncreaseTunaLpPositionOrcaInstruction, type IncreaseTunaLpPositionOrcaInstructionData, type IncreaseTunaLpPositionOrcaInstructionDataArgs, type IncreaseTunaLpPositionOrcaInstructionsArgs, JUPITER_EVENT_AUTHORITY, JUPITER_PROGRAM_AUTHORITY, LENDING_POSITION_DISCRIMINATOR, LEVERAGE_ONE, LIQUIDATE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type LendingPosition, type LendingPositionArgs, type LiquidateTunaLpPositionFusionInput, type LiquidateTunaLpPositionFusionInstruction, type LiquidateTunaLpPositionFusionInstructionData, type LiquidateTunaLpPositionFusionInstructionDataArgs, type LiquidateTunaLpPositionOrcaInput, type LiquidateTunaLpPositionOrcaInstruction, type LiquidateTunaLpPositionOrcaInstructionData, type LiquidateTunaLpPositionOrcaInstructionDataArgs, type LiquidateTunaSpotPositionFusionInput, type LiquidateTunaSpotPositionFusionInstruction, type LiquidateTunaSpotPositionFusionInstructionData, type LiquidateTunaSpotPositionFusionInstructionDataArgs, type LiquidateTunaSpotPositionJupiterInput, type LiquidateTunaSpotPositionJupiterInstruction, type LiquidateTunaSpotPositionJupiterInstructionData, type LiquidateTunaSpotPositionJupiterInstructionDataArgs, type LiquidateTunaSpotPositionOrcaInput, type LiquidateTunaSpotPositionOrcaInstruction, type LiquidateTunaSpotPositionOrcaInstructionData, type LiquidateTunaSpotPositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, MAX_SQRT_PRICE, MIN_SQRT_PRICE, MODIFY_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, type ModifyTunaSpotPositionFusionInput, type ModifyTunaSpotPositionFusionInstruction, type ModifyTunaSpotPositionFusionInstructionData, type ModifyTunaSpotPositionFusionInstructionDataArgs, type ModifyTunaSpotPositionFusionInstructionsArgs, type ModifyTunaSpotPositionJupiterInput, type ModifyTunaSpotPositionJupiterInstruction, type ModifyTunaSpotPositionJupiterInstructionData, type ModifyTunaSpotPositionJupiterInstructionDataArgs, type ModifyTunaSpotPositionOrcaInput, type ModifyTunaSpotPositionOrcaInstruction, type ModifyTunaSpotPositionOrcaInstructionData, type ModifyTunaSpotPositionOrcaInstructionDataArgs, type ModifyTunaSpotPositionOrcaInstructionsArgs, NATIVE_MINT, NO_LOWER_LIMIT_ORDER, NO_UPPER_LIMIT_ORDER, OPEN_AND_INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_AND_INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_LENDING_POSITION_DISCRIMINATOR, OPEN_LENDING_POSITION_V2_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_TUNA_SPOT_POSITION_DISCRIMINATOR, type OpenAndIncreaseTunaLpPositionFusion, type OpenAndIncreaseTunaLpPositionFusionInput, type OpenAndIncreaseTunaLpPositionFusionInstruction, type OpenAndIncreaseTunaLpPositionFusionInstructionData, type OpenAndIncreaseTunaLpPositionFusionInstructionDataArgs, type OpenAndIncreaseTunaLpPositionFusionInstructionsArgs, type OpenAndIncreaseTunaLpPositionOrca, type OpenAndIncreaseTunaLpPositionOrcaInput, type OpenAndIncreaseTunaLpPositionOrcaInstruction, type OpenAndIncreaseTunaLpPositionOrcaInstructionData, type OpenAndIncreaseTunaLpPositionOrcaInstructionDataArgs, type OpenAndIncreaseTunaLpPositionOrcaInstructionsArgs, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenLendingPositionV2Input, type OpenLendingPositionV2Instruction, type OpenLendingPositionV2InstructionData, type OpenLendingPositionV2InstructionDataArgs, type OpenTunaLpPositionFusionInput, type OpenTunaLpPositionFusionInstruction, type OpenTunaLpPositionFusionInstructionData, type OpenTunaLpPositionFusionInstructionDataArgs, type OpenTunaLpPositionOrcaInput, type OpenTunaLpPositionOrcaInstruction, type OpenTunaLpPositionOrcaInstructionData, type OpenTunaLpPositionOrcaInstructionDataArgs, type OpenTunaSpotPositionInput, type OpenTunaSpotPositionInstruction, type OpenTunaSpotPositionInstructionData, type OpenTunaSpotPositionInstructionDataArgs, OrcaUtils, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateMarketV2Instruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedCreateVaultV2Instruction, type ParsedDecreaseTunaLpPositionFusionInstruction, type ParsedDecreaseTunaLpPositionOrcaInstruction, type ParsedDepositInstruction, type ParsedIncreaseTunaLpPositionFusionInstruction, type ParsedIncreaseTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaLpPositionFusionInstruction, type ParsedLiquidateTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaSpotPositionFusionInstruction, type ParsedLiquidateTunaSpotPositionJupiterInstruction, type ParsedLiquidateTunaSpotPositionOrcaInstruction, type ParsedModifyTunaSpotPositionFusionInstruction, type ParsedModifyTunaSpotPositionJupiterInstruction, type ParsedModifyTunaSpotPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaLpPositionFusionInstruction, type ParsedOpenAndIncreaseTunaLpPositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenLendingPositionV2Instruction, type ParsedOpenTunaLpPositionFusionInstruction, type ParsedOpenTunaLpPositionOrcaInstruction, type ParsedOpenTunaSpotPositionInstruction, type ParsedRebalanceTunaLpPositionFusionInstruction, type ParsedRebalanceTunaLpPositionOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayTunaLpPositionDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultLiquidationFeeRateInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetDefaultProtocolFeeRateInstruction, type ParsedSetDefaultRebalanceFeeRateInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, PoolToken, type PoolTokenArgs, REBALANCE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR, RESET_TUNA_SPOT_POSITION_DISCRIMINATOR, type RebalanceTunaLpPositionFusion, type RebalanceTunaLpPositionFusionInput, type RebalanceTunaLpPositionFusionInstruction, type RebalanceTunaLpPositionFusionInstructionData, type RebalanceTunaLpPositionFusionInstructionDataArgs, type RebalanceTunaLpPositionOrca, type RebalanceTunaLpPositionOrcaInput, type RebalanceTunaLpPositionOrcaInstruction, type RebalanceTunaLpPositionOrcaInstructionData, type RebalanceTunaLpPositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayTunaLpPositionDebtInput, type RepayTunaLpPositionDebtInstruction, type RepayTunaLpPositionDebtInstructionData, type RepayTunaLpPositionDebtInstructionDataArgs, type ResetTunaSpotPositionInput, type ResetTunaSpotPositionInstruction, type ResetTunaSpotPositionInstructionData, type ResetTunaSpotPositionInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_REBALANCE_FEE_RATE_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR, SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, type SetDefaultLiquidationFeeRateInput, type SetDefaultLiquidationFeeRateInstruction, type SetDefaultLiquidationFeeRateInstructionData, type SetDefaultLiquidationFeeRateInstructionDataArgs, type SetDefaultMaxPercentageOfLeftoversInput, type SetDefaultMaxPercentageOfLeftoversInstruction, type SetDefaultMaxPercentageOfLeftoversInstructionData, type SetDefaultMaxPercentageOfLeftoversInstructionDataArgs, type SetDefaultMaxSwapSlippageInput, type SetDefaultMaxSwapSlippageInstruction, type SetDefaultMaxSwapSlippageInstructionData, type SetDefaultMaxSwapSlippageInstructionDataArgs, type SetDefaultOraclePriceDeviationThresholdInput, type SetDefaultOraclePriceDeviationThresholdInstruction, type SetDefaultOraclePriceDeviationThresholdInstructionData, type SetDefaultOraclePriceDeviationThresholdInstructionDataArgs, type SetDefaultProtocolFeeRateInput, type SetDefaultProtocolFeeRateInstruction, type SetDefaultProtocolFeeRateInstructionData, type SetDefaultProtocolFeeRateInstructionDataArgs, type SetDefaultRebalanceFeeRateInput, type SetDefaultRebalanceFeeRateInstruction, type SetDefaultRebalanceFeeRateInstructionData, type SetDefaultRebalanceFeeRateInstructionDataArgs, type SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLiquidatorAuthorityInput, type SetLiquidatorAuthorityInstruction, type SetLiquidatorAuthorityInstructionData, type SetLiquidatorAuthorityInstructionDataArgs, type SetOwnerAuthorityInput, type SetOwnerAuthorityInstruction, type SetOwnerAuthorityInstructionData, type SetOwnerAuthorityInstructionDataArgs, type SetSuspendedStateInput, type SetSuspendedStateInstruction, type SetSuspendedStateInstructionData, type SetSuspendedStateInstructionDataArgs, type SetTunaLpPositionFlagsInput, type SetTunaLpPositionFlagsInstruction, type SetTunaLpPositionFlagsInstructionData, type SetTunaLpPositionFlagsInstructionDataArgs, type SetTunaLpPositionLimitOrdersInput, type SetTunaLpPositionLimitOrdersInstruction, type SetTunaLpPositionLimitOrdersInstructionData, type SetTunaLpPositionLimitOrdersInstructionDataArgs, type SetTunaLpPositionRebalanceThresholdInput, type SetTunaLpPositionRebalanceThresholdInstruction, type SetTunaLpPositionRebalanceThresholdInstructionData, type SetTunaLpPositionRebalanceThresholdInstructionDataArgs, type SetTunaSpotPositionLimitOrdersInput, type SetTunaSpotPositionLimitOrdersInstruction, type SetTunaSpotPositionLimitOrdersInstructionData, type SetTunaSpotPositionLimitOrdersInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__ACCOUNT_NOT_INITIALIZED, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INCORRECT_POSITION_DIRECTION, TUNA_ERROR__INCORRECT_SWAP_INPUT_AMOUNT, TUNA_ERROR__INCORRECT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INSUFFICIENT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_DISCRIMINATOR, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_JUPITER_ROUTE, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_POOL, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__INVALID_VAULT, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDITY_ZERO, TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED, TUNA_ERROR__MARKET_DISABLED, TUNA_ERROR__MATH_OVERFLOW, TUNA_ERROR__MATH_UNDERFLOW, TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE, TUNA_ERROR__ORACLE_STALE_PRICE, TUNA_ERROR__PARTIAL_FILL_ERROR, TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE, TUNA_ERROR__POSITION_IS_EMPTY, TUNA_ERROR__POSITION_IS_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET, TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE, TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH, TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED, TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT, TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS, TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED, TUNA_ERROR__SUSPENDED, TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT, TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED, TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE, TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED, TUNA_ERROR__TICK_INDEX_OF_BOUNDS, TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR, TUNA_ERROR__TYPE_CAST_OVERFLOW, TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA, TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA, TUNA_ERROR__UNEXPECTED_VALUE, TUNA_ERROR__UNSUPPORTED_TOKEN_MINT, TUNA_ERROR__UNUSED, TUNA_ERROR__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_LP_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateVaultInput, type UpdateVaultInstruction, type UpdateVaultInstructionData, type UpdateVaultInstructionDataArgs, VAULT_DISCRIMINATOR, type Vault, type VaultArgs, WITHDRAW_DISCRIMINATOR, WP_NFT_UPDATE_AUTH, type WithdrawInput, type WithdrawInstruction, type WithdrawInstructionData, type WithdrawInstructionDataArgs, closeActiveTunaLpPositionFusionInstructions, closeActiveTunaLpPositionOrcaInstructions, closeTunaLpPositionFusionInstruction, closeTunaLpPositionOrcaInstruction, closeTunaSpotPositionInstruction, closeTunaSpotPositionInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createTunaConfigInstruction, createVaultInstructions, createVaultV2Instructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaSpotPosition, fetchVault, fundsToShares, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getCloseTunaLpPositionFusionDiscriminatorBytes, getCloseTunaLpPositionFusionInstruction, getCloseTunaLpPositionFusionInstructionDataCodec, getCloseTunaLpPositionFusionInstructionDataDecoder, getCloseTunaLpPositionFusionInstructionDataEncoder, getCloseTunaLpPositionOrcaDiscriminatorBytes, getCloseTunaLpPositionOrcaInstruction, getCloseTunaLpPositionOrcaInstructionDataCodec, getCloseTunaLpPositionOrcaInstructionDataDecoder, getCloseTunaLpPositionOrcaInstructionDataEncoder, getCloseTunaSpotPositionDiscriminatorBytes, getCloseTunaSpotPositionInstruction, getCloseTunaSpotPositionInstructionDataCodec, getCloseTunaSpotPositionInstructionDataDecoder, getCloseTunaSpotPositionInstructionDataEncoder, getCollectAndCompoundFeesFusionDiscriminatorBytes, getCollectAndCompoundFeesFusionInstruction, getCollectAndCompoundFeesFusionInstructionDataCodec, getCollectAndCompoundFeesFusionInstructionDataDecoder, getCollectAndCompoundFeesFusionInstructionDataEncoder, getCollectAndCompoundFeesOrcaDiscriminatorBytes, getCollectAndCompoundFeesOrcaInstruction, getCollectAndCompoundFeesOrcaInstructionDataCodec, getCollectAndCompoundFeesOrcaInstructionDataDecoder, getCollectAndCompoundFeesOrcaInstructionDataEncoder, getCollectFeesFusionDiscriminatorBytes, getCollectFeesFusionInstruction, getCollectFeesFusionInstructionDataCodec, getCollectFeesFusionInstructionDataDecoder, getCollectFeesFusionInstructionDataEncoder, getCollectFeesOrcaDiscriminatorBytes, getCollectFeesOrcaInstruction, getCollectFeesOrcaInstructionDataCodec, getCollectFeesOrcaInstructionDataDecoder, getCollectFeesOrcaInstructionDataEncoder, getCollectRewardOrcaDiscriminatorBytes, getCollectRewardOrcaInstruction, getCollectRewardOrcaInstructionDataCodec, getCollectRewardOrcaInstructionDataDecoder, getCollectRewardOrcaInstructionDataEncoder, getCreateAtaInstruction, getCreateAtaInstructions, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getCreateMarketV2DiscriminatorBytes, getCreateMarketV2Instruction, getCreateMarketV2InstructionDataCodec, getCreateMarketV2InstructionDataDecoder, getCreateMarketV2InstructionDataEncoder, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getCreateVaultV2DiscriminatorBytes, getCreateVaultV2Instruction, getCreateVaultV2InstructionDataCodec, getCreateVaultV2InstructionDataDecoder, getCreateVaultV2InstructionDataEncoder, getDecreaseTunaLpPositionFusionDiscriminatorBytes, getDecreaseTunaLpPositionFusionInstruction, getDecreaseTunaLpPositionFusionInstructionDataCodec, getDecreaseTunaLpPositionFusionInstructionDataDecoder, getDecreaseTunaLpPositionFusionInstructionDataEncoder, getDecreaseTunaLpPositionOrcaDiscriminatorBytes, getDecreaseTunaLpPositionOrcaInstruction, getDecreaseTunaLpPositionOrcaInstructionDataCodec, getDecreaseTunaLpPositionOrcaInstructionDataDecoder, getDecreaseTunaLpPositionOrcaInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getIncreaseTunaLpPositionFusionDiscriminatorBytes, getIncreaseTunaLpPositionFusionInstruction, getIncreaseTunaLpPositionFusionInstructionDataCodec, getIncreaseTunaLpPositionFusionInstructionDataDecoder, getIncreaseTunaLpPositionFusionInstructionDataEncoder, getIncreaseTunaLpPositionOrcaDiscriminatorBytes, getIncreaseTunaLpPositionOrcaInstruction, getIncreaseTunaLpPositionOrcaInstructionDataCodec, getIncreaseTunaLpPositionOrcaInstructionDataDecoder, getIncreaseTunaLpPositionOrcaInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLendingVaultV2Address, getLiquidateTunaLpPositionFusionDiscriminatorBytes, getLiquidateTunaLpPositionFusionInstruction, getLiquidateTunaLpPositionFusionInstructionDataCodec, getLiquidateTunaLpPositionFusionInstructionDataDecoder, getLiquidateTunaLpPositionFusionInstructionDataEncoder, getLiquidateTunaLpPositionOrcaDiscriminatorBytes, getLiquidateTunaLpPositionOrcaInstruction, getLiquidateTunaLpPositionOrcaInstructionDataCodec, getLiquidateTunaLpPositionOrcaInstructionDataDecoder, getLiquidateTunaLpPositionOrcaInstructionDataEncoder, getLiquidateTunaSpotPositionFusionDiscriminatorBytes, getLiquidateTunaSpotPositionFusionInstruction, getLiquidateTunaSpotPositionFusionInstructionDataCodec, getLiquidateTunaSpotPositionFusionInstructionDataDecoder, getLiquidateTunaSpotPositionFusionInstructionDataEncoder, getLiquidateTunaSpotPositionJupiterDiscriminatorBytes, getLiquidateTunaSpotPositionJupiterInstruction, getLiquidateTunaSpotPositionJupiterInstructionDataCodec, getLiquidateTunaSpotPositionJupiterInstructionDataDecoder, getLiquidateTunaSpotPositionJupiterInstructionDataEncoder, getLiquidateTunaSpotPositionOrcaDiscriminatorBytes, getLiquidateTunaSpotPositionOrcaInstruction, getLiquidateTunaSpotPositionOrcaInstructionDataCodec, getLiquidateTunaSpotPositionOrcaInstructionDataDecoder, getLiquidateTunaSpotPositionOrcaInstructionDataEncoder, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getModifyTunaSpotPositionFusionDiscriminatorBytes, getModifyTunaSpotPositionFusionInstruction, getModifyTunaSpotPositionFusionInstructionDataCodec, getModifyTunaSpotPositionFusionInstructionDataDecoder, getModifyTunaSpotPositionFusionInstructionDataEncoder, getModifyTunaSpotPositionJupiterDiscriminatorBytes, getModifyTunaSpotPositionJupiterInstruction, getModifyTunaSpotPositionJupiterInstructionDataCodec, getModifyTunaSpotPositionJupiterInstructionDataDecoder, getModifyTunaSpotPositionJupiterInstructionDataEncoder, getModifyTunaSpotPositionOrcaDiscriminatorBytes, getModifyTunaSpotPositionOrcaInstruction, getModifyTunaSpotPositionOrcaInstructionDataCodec, getModifyTunaSpotPositionOrcaInstructionDataDecoder, getModifyTunaSpotPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionFusionInstruction, getOpenAndIncreaseTunaLpPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaLpPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenLendingPositionV2DiscriminatorBytes, getOpenLendingPositionV2Instruction, getOpenLendingPositionV2InstructionDataCodec, getOpenLendingPositionV2InstructionDataDecoder, getOpenLendingPositionV2InstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaSpotPositionDiscriminatorBytes, getOpenTunaSpotPositionInstruction, getOpenTunaSpotPositionInstructionDataCodec, getOpenTunaSpotPositionInstructionDataDecoder, getOpenTunaSpotPositionInstructionDataEncoder, getPoolTokenCodec, getPoolTokenDecoder, getPoolTokenEncoder, getPythPriceUpdateAccountAddress, getRebalanceTunaLpPositionFusionDiscriminatorBytes, getRebalanceTunaLpPositionFusionInstruction, getRebalanceTunaLpPositionFusionInstructionDataCodec, getRebalanceTunaLpPositionFusionInstructionDataDecoder, getRebalanceTunaLpPositionFusionInstructionDataEncoder, getRebalanceTunaLpPositionOrcaDiscriminatorBytes, getRebalanceTunaLpPositionOrcaInstruction, getRebalanceTunaLpPositionOrcaInstructionDataCodec, getRebalanceTunaLpPositionOrcaInstructionDataDecoder, getRebalanceTunaLpPositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayTunaLpPositionDebtDiscriminatorBytes, getRepayTunaLpPositionDebtInstruction, getRepayTunaLpPositionDebtInstructionDataCodec, getRepayTunaLpPositionDebtInstructionDataDecoder, getRepayTunaLpPositionDebtInstructionDataEncoder, getResetTunaSpotPositionDiscriminatorBytes, getResetTunaSpotPositionInstruction, getResetTunaSpotPositionInstructionDataCodec, getResetTunaSpotPositionInstructionDataDecoder, getResetTunaSpotPositionInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultLiquidationFeeRateDiscriminatorBytes, getSetDefaultLiquidationFeeRateInstruction, getSetDefaultLiquidationFeeRateInstructionDataCodec, getSetDefaultLiquidationFeeRateInstructionDataDecoder, getSetDefaultLiquidationFeeRateInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetDefaultProtocolFeeRateDiscriminatorBytes, getSetDefaultProtocolFeeRateInstruction, getSetDefaultProtocolFeeRateInstructionDataCodec, getSetDefaultProtocolFeeRateInstructionDataDecoder, getSetDefaultProtocolFeeRateInstructionDataEncoder, getSetDefaultRebalanceFeeRateDiscriminatorBytes, getSetDefaultRebalanceFeeRateInstruction, getSetDefaultRebalanceFeeRateInstructionDataCodec, getSetDefaultRebalanceFeeRateInstructionDataDecoder, getSetDefaultRebalanceFeeRateInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaLpPositionFlagsDiscriminatorBytes, getSetTunaLpPositionFlagsInstruction, getSetTunaLpPositionFlagsInstructionDataCodec, getSetTunaLpPositionFlagsInstructionDataDecoder, getSetTunaLpPositionFlagsInstructionDataEncoder, getSetTunaLpPositionLimitOrdersDiscriminatorBytes, getSetTunaLpPositionLimitOrdersInstruction, getSetTunaLpPositionLimitOrdersInstructionDataCodec, getSetTunaLpPositionLimitOrdersInstructionDataDecoder, getSetTunaLpPositionLimitOrdersInstructionDataEncoder, getSetTunaLpPositionRebalanceThresholdDiscriminatorBytes, getSetTunaLpPositionRebalanceThresholdInstruction, getSetTunaLpPositionRebalanceThresholdInstructionDataCodec, getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder, getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder, getSetTunaSpotPositionLimitOrdersDiscriminatorBytes, getSetTunaSpotPositionLimitOrdersInstruction, getSetTunaSpotPositionLimitOrdersInstructionDataCodec, getSetTunaSpotPositionLimitOrdersInstructionDataDecoder, getSetTunaSpotPositionLimitOrdersInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaLpPositionAddress, getTunaLpPositionCodec, getTunaLpPositionDecoder, getTunaLpPositionDiscriminatorBytes, getTunaLpPositionEncoder, getTunaLpPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, increaseTunaLpPositionFusionInstruction, increaseTunaLpPositionFusionInstructions, increaseTunaLpPositionOrcaInstruction, increaseTunaLpPositionOrcaInstructions, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, lendingPositionVaultFilter, liquidateTunaLpPositionFusionInstruction, liquidateTunaLpPositionFusionInstructions, liquidateTunaLpPositionOrcaInstruction, liquidateTunaLpPositionOrcaInstructions, liquidateTunaSpotPositionFusionInstruction, liquidateTunaSpotPositionFusionInstructions, liquidateTunaSpotPositionJupiterInstruction, liquidateTunaSpotPositionJupiterInstructions, liquidateTunaSpotPositionOrcaInstruction, liquidateTunaSpotPositionOrcaInstructions, modifyTunaSpotPositionFusionInstruction, modifyTunaSpotPositionFusionInstructions, modifyTunaSpotPositionJupiterInstruction, modifyTunaSpotPositionJupiterInstructions, modifyTunaSpotPositionOrcaInstruction, modifyTunaSpotPositionOrcaInstructions, mulDiv, openAndIncreaseTunaLpPositionFusionInstruction, openAndIncreaseTunaLpPositionFusionInstructions, openAndIncreaseTunaLpPositionOrcaInstruction, openAndIncreaseTunaLpPositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openLendingPositionV2Instruction, openTunaLpPositionFusionInstruction, openTunaLpPositionOrcaInstruction, openTunaSpotPositionInstruction, openTunaSpotPositionInstructions, parseCloseTunaLpPositionFusionInstruction, parseCloseTunaLpPositionOrcaInstruction, parseCloseTunaSpotPositionInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateMarketV2Instruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseCreateVaultV2Instruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionJupiterInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseModifyTunaSpotPositionFusionInstruction, parseModifyTunaSpotPositionJupiterInstruction, parseModifyTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenLendingPositionV2Instruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultLiquidationFeeRateInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetDefaultProtocolFeeRateInstruction, parseSetDefaultRebalanceFeeRateInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalanceTunaLpPositionFusionInstruction, rebalanceTunaLpPositionFusionInstructions, rebalanceTunaLpPositionOrcaInstruction, rebalanceTunaLpPositionOrcaInstructions, repayBadDebtInstruction, repayTunaLpPositionDebtInstruction, repayTunaLpPositionDebtInstructions, resetTunaSpotPositionInstruction, setTunaLpPositionLimitOrdersInstruction, setTunaSpotPositionLimitOrdersInstruction, sharesToFunds, tunaLpPositionAuthorityFilter, tunaLpPositionMarketMakerFilter, tunaLpPositionMintAFilter, tunaLpPositionMintBFilter, tunaLpPositionMintFilter, tunaLpPositionPoolFilter, tunaSpotPositionAuthorityFilter, tunaSpotPositionMintAFilter, tunaSpotPositionMintBFilter, tunaSpotPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
6579
+ export { AccountsType, type AccountsTypeArgs, CLOSE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, CLOSE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, CLOSE_TUNA_SPOT_POSITION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_FUSION_DISCRIMINATOR, COLLECT_AND_COMPOUND_FEES_ORCA_DISCRIMINATOR, COLLECT_FEES_FUSION_DISCRIMINATOR, COLLECT_FEES_ORCA_DISCRIMINATOR, COLLECT_REWARD_ORCA_DISCRIMINATOR, COMPUTED_AMOUNT, CREATE_MARKET_DISCRIMINATOR, CREATE_MARKET_V2_DISCRIMINATOR, CREATE_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, CREATE_VAULT_V2_DISCRIMINATOR, type CloseActiveTunaLpPositionInstructionArgs, type CloseTunaLpPositionFusionInput, type CloseTunaLpPositionFusionInstruction, type CloseTunaLpPositionFusionInstructionData, type CloseTunaLpPositionFusionInstructionDataArgs, type CloseTunaLpPositionOrcaInput, type CloseTunaLpPositionOrcaInstruction, type CloseTunaLpPositionOrcaInstructionData, type CloseTunaLpPositionOrcaInstructionDataArgs, type CloseTunaSpotPositionInput, type CloseTunaSpotPositionInstruction, type CloseTunaSpotPositionInstructionData, type CloseTunaSpotPositionInstructionDataArgs, type CollectAndCompoundFeesFusionInput, type CollectAndCompoundFeesFusionInstruction, type CollectAndCompoundFeesFusionInstructionData, type CollectAndCompoundFeesFusionInstructionDataArgs, type CollectAndCompoundFeesOrcaInput, type CollectAndCompoundFeesOrcaInstruction, type CollectAndCompoundFeesOrcaInstructionData, type CollectAndCompoundFeesOrcaInstructionDataArgs, type CollectFeesFusionInput, type CollectFeesFusionInstruction, type CollectFeesFusionInstructionData, type CollectFeesFusionInstructionDataArgs, type CollectFeesOrcaInput, type CollectFeesOrcaInstruction, type CollectFeesOrcaInstructionData, type CollectFeesOrcaInstructionDataArgs, type CollectRewardOrcaInput, type CollectRewardOrcaInstruction, type CollectRewardOrcaInstructionData, type CollectRewardOrcaInstructionDataArgs, type CreateAddressLookupTableResult, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketV2Input, type CreateMarketV2Instruction, type CreateMarketV2InstructionData, type CreateMarketV2InstructionDataArgs, type CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, type CreateVaultV2Input, type CreateVaultV2Instruction, type CreateVaultV2InstructionData, type CreateVaultV2InstructionDataArgs, DECREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, DEFAULT_ADDRESS, DEFAULT_MAX_SWAP_SLIPPAGE, DEFAULT_PUSH_ORACLE_PROGRAM_ID, DEPOSIT_DISCRIMINATOR, type DecreaseTunaLpPositionFusionInput, type DecreaseTunaLpPositionFusionInstruction, type DecreaseTunaLpPositionFusionInstructionData, type DecreaseTunaLpPositionFusionInstructionDataArgs, type DecreaseTunaLpPositionFusionInstructionsArgs, type DecreaseTunaLpPositionOrcaInput, type DecreaseTunaLpPositionOrcaInstruction, type DecreaseTunaLpPositionOrcaInstructionData, type DecreaseTunaLpPositionOrcaInstructionDataArgs, type DecreaseTunaLpPositionOrcaInstructionsArgs, type DepositInput, type DepositInstruction, type DepositInstructionData, type DepositInstructionDataArgs, FusionUtils, HUNDRED_PERCENT, HUNDRED_PERCENTn, INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, type IncreaseTunaLpPositionFusionInput, type IncreaseTunaLpPositionFusionInstruction, type IncreaseTunaLpPositionFusionInstructionData, type IncreaseTunaLpPositionFusionInstructionDataArgs, type IncreaseTunaLpPositionFusionInstructionsArgs, type IncreaseTunaLpPositionOrcaInput, type IncreaseTunaLpPositionOrcaInstruction, type IncreaseTunaLpPositionOrcaInstructionData, type IncreaseTunaLpPositionOrcaInstructionDataArgs, type IncreaseTunaLpPositionOrcaInstructionsArgs, JUPITER_EVENT_AUTHORITY, JUPITER_PROGRAM_AUTHORITY, LENDING_POSITION_DISCRIMINATOR, LEVERAGE_ONE, LIQUIDATE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, LIQUIDATE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type LendingPosition, type LendingPositionArgs, type LiquidateTunaLpPositionFusionInput, type LiquidateTunaLpPositionFusionInstruction, type LiquidateTunaLpPositionFusionInstructionData, type LiquidateTunaLpPositionFusionInstructionDataArgs, type LiquidateTunaLpPositionOrcaInput, type LiquidateTunaLpPositionOrcaInstruction, type LiquidateTunaLpPositionOrcaInstructionData, type LiquidateTunaLpPositionOrcaInstructionDataArgs, type LiquidateTunaSpotPositionFusionInput, type LiquidateTunaSpotPositionFusionInstruction, type LiquidateTunaSpotPositionFusionInstructionData, type LiquidateTunaSpotPositionFusionInstructionDataArgs, type LiquidateTunaSpotPositionJupiterInput, type LiquidateTunaSpotPositionJupiterInstruction, type LiquidateTunaSpotPositionJupiterInstructionData, type LiquidateTunaSpotPositionJupiterInstructionDataArgs, type LiquidateTunaSpotPositionOrcaInput, type LiquidateTunaSpotPositionOrcaInstruction, type LiquidateTunaSpotPositionOrcaInstructionData, type LiquidateTunaSpotPositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, MAX_SQRT_PRICE, MIN_SQRT_PRICE, MODIFY_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, MODIFY_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, type ModifyTunaSpotPositionFusionInput, type ModifyTunaSpotPositionFusionInstruction, type ModifyTunaSpotPositionFusionInstructionData, type ModifyTunaSpotPositionFusionInstructionDataArgs, type ModifyTunaSpotPositionFusionInstructionsArgs, type ModifyTunaSpotPositionJupiterInput, type ModifyTunaSpotPositionJupiterInstruction, type ModifyTunaSpotPositionJupiterInstructionData, type ModifyTunaSpotPositionJupiterInstructionDataArgs, type ModifyTunaSpotPositionOrcaInput, type ModifyTunaSpotPositionOrcaInstruction, type ModifyTunaSpotPositionOrcaInstructionData, type ModifyTunaSpotPositionOrcaInstructionDataArgs, type ModifyTunaSpotPositionOrcaInstructionsArgs, NATIVE_MINT, NO_LOWER_LIMIT_ORDER, NO_UPPER_LIMIT_ORDER, OPEN_AND_INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_AND_INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_LENDING_POSITION_DISCRIMINATOR, OPEN_LENDING_POSITION_V2_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_TUNA_SPOT_POSITION_DISCRIMINATOR, type OpenAndIncreaseTunaLpPositionFusion, type OpenAndIncreaseTunaLpPositionFusionInput, type OpenAndIncreaseTunaLpPositionFusionInstruction, type OpenAndIncreaseTunaLpPositionFusionInstructionData, type OpenAndIncreaseTunaLpPositionFusionInstructionDataArgs, type OpenAndIncreaseTunaLpPositionFusionInstructionsArgs, type OpenAndIncreaseTunaLpPositionOrca, type OpenAndIncreaseTunaLpPositionOrcaInput, type OpenAndIncreaseTunaLpPositionOrcaInstruction, type OpenAndIncreaseTunaLpPositionOrcaInstructionData, type OpenAndIncreaseTunaLpPositionOrcaInstructionDataArgs, type OpenAndIncreaseTunaLpPositionOrcaInstructionsArgs, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenLendingPositionV2Input, type OpenLendingPositionV2Instruction, type OpenLendingPositionV2InstructionData, type OpenLendingPositionV2InstructionDataArgs, type OpenTunaLpPositionFusionInput, type OpenTunaLpPositionFusionInstruction, type OpenTunaLpPositionFusionInstructionData, type OpenTunaLpPositionFusionInstructionDataArgs, type OpenTunaLpPositionOrcaInput, type OpenTunaLpPositionOrcaInstruction, type OpenTunaLpPositionOrcaInstructionData, type OpenTunaLpPositionOrcaInstructionDataArgs, type OpenTunaSpotPositionInput, type OpenTunaSpotPositionInstruction, type OpenTunaSpotPositionInstructionData, type OpenTunaSpotPositionInstructionDataArgs, OrcaUtils, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateMarketV2Instruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedCreateVaultV2Instruction, type ParsedDecreaseTunaLpPositionFusionInstruction, type ParsedDecreaseTunaLpPositionOrcaInstruction, type ParsedDepositInstruction, type ParsedIncreaseTunaLpPositionFusionInstruction, type ParsedIncreaseTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaLpPositionFusionInstruction, type ParsedLiquidateTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaSpotPositionFusionInstruction, type ParsedLiquidateTunaSpotPositionJupiterInstruction, type ParsedLiquidateTunaSpotPositionOrcaInstruction, type ParsedModifyTunaSpotPositionFusionInstruction, type ParsedModifyTunaSpotPositionJupiterInstruction, type ParsedModifyTunaSpotPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaLpPositionFusionInstruction, type ParsedOpenAndIncreaseTunaLpPositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenLendingPositionV2Instruction, type ParsedOpenTunaLpPositionFusionInstruction, type ParsedOpenTunaLpPositionOrcaInstruction, type ParsedOpenTunaSpotPositionInstruction, type ParsedRebalanceTunaLpPositionFusionInstruction, type ParsedRebalanceTunaLpPositionOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayTunaLpPositionDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultLiquidationFeeRateInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetDefaultProtocolFeeRateInstruction, type ParsedSetDefaultRebalanceFeeRateInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, PoolToken, type PoolTokenArgs, REBALANCE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR, RESET_TUNA_SPOT_POSITION_DISCRIMINATOR, type RebalanceTunaLpPositionFusion, type RebalanceTunaLpPositionFusionInput, type RebalanceTunaLpPositionFusionInstruction, type RebalanceTunaLpPositionFusionInstructionData, type RebalanceTunaLpPositionFusionInstructionDataArgs, type RebalanceTunaLpPositionOrca, type RebalanceTunaLpPositionOrcaInput, type RebalanceTunaLpPositionOrcaInstruction, type RebalanceTunaLpPositionOrcaInstructionData, type RebalanceTunaLpPositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayTunaLpPositionDebtInput, type RepayTunaLpPositionDebtInstruction, type RepayTunaLpPositionDebtInstructionData, type RepayTunaLpPositionDebtInstructionDataArgs, type ResetTunaSpotPositionInput, type ResetTunaSpotPositionInstruction, type ResetTunaSpotPositionInstructionData, type ResetTunaSpotPositionInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR, SET_DEFAULT_REBALANCE_FEE_RATE_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR, SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, type SetDefaultLiquidationFeeRateInput, type SetDefaultLiquidationFeeRateInstruction, type SetDefaultLiquidationFeeRateInstructionData, type SetDefaultLiquidationFeeRateInstructionDataArgs, type SetDefaultMaxPercentageOfLeftoversInput, type SetDefaultMaxPercentageOfLeftoversInstruction, type SetDefaultMaxPercentageOfLeftoversInstructionData, type SetDefaultMaxPercentageOfLeftoversInstructionDataArgs, type SetDefaultMaxSwapSlippageInput, type SetDefaultMaxSwapSlippageInstruction, type SetDefaultMaxSwapSlippageInstructionData, type SetDefaultMaxSwapSlippageInstructionDataArgs, type SetDefaultOraclePriceDeviationThresholdInput, type SetDefaultOraclePriceDeviationThresholdInstruction, type SetDefaultOraclePriceDeviationThresholdInstructionData, type SetDefaultOraclePriceDeviationThresholdInstructionDataArgs, type SetDefaultProtocolFeeRateInput, type SetDefaultProtocolFeeRateInstruction, type SetDefaultProtocolFeeRateInstructionData, type SetDefaultProtocolFeeRateInstructionDataArgs, type SetDefaultRebalanceFeeRateInput, type SetDefaultRebalanceFeeRateInstruction, type SetDefaultRebalanceFeeRateInstructionData, type SetDefaultRebalanceFeeRateInstructionDataArgs, type SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLiquidatorAuthorityInput, type SetLiquidatorAuthorityInstruction, type SetLiquidatorAuthorityInstructionData, type SetLiquidatorAuthorityInstructionDataArgs, type SetOwnerAuthorityInput, type SetOwnerAuthorityInstruction, type SetOwnerAuthorityInstructionData, type SetOwnerAuthorityInstructionDataArgs, type SetSuspendedStateInput, type SetSuspendedStateInstruction, type SetSuspendedStateInstructionData, type SetSuspendedStateInstructionDataArgs, type SetTunaLpPositionFlagsInput, type SetTunaLpPositionFlagsInstruction, type SetTunaLpPositionFlagsInstructionData, type SetTunaLpPositionFlagsInstructionDataArgs, type SetTunaLpPositionLimitOrdersInput, type SetTunaLpPositionLimitOrdersInstruction, type SetTunaLpPositionLimitOrdersInstructionData, type SetTunaLpPositionLimitOrdersInstructionDataArgs, type SetTunaLpPositionRebalanceThresholdInput, type SetTunaLpPositionRebalanceThresholdInstruction, type SetTunaLpPositionRebalanceThresholdInstructionData, type SetTunaLpPositionRebalanceThresholdInstructionDataArgs, type SetTunaSpotPositionLimitOrdersInput, type SetTunaSpotPositionLimitOrdersInstruction, type SetTunaSpotPositionLimitOrdersInstructionData, type SetTunaSpotPositionLimitOrdersInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__ACCOUNT_NOT_INITIALIZED, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INCORRECT_POSITION_DIRECTION, TUNA_ERROR__INCORRECT_SWAP_INPUT_AMOUNT, TUNA_ERROR__INCORRECT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INSUFFICIENT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_DISCRIMINATOR, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_JUPITER_ROUTE, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_POOL, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__INVALID_VAULT, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDITY_ZERO, TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED, TUNA_ERROR__MARKET_DISABLED, TUNA_ERROR__MATH_OVERFLOW, TUNA_ERROR__MATH_UNDERFLOW, TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE, TUNA_ERROR__ORACLE_STALE_PRICE, TUNA_ERROR__PARTIAL_FILL_ERROR, TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE, TUNA_ERROR__POSITION_IS_EMPTY, TUNA_ERROR__POSITION_IS_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET, TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE, TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH, TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED, TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT, TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS, TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED, TUNA_ERROR__SUSPENDED, TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT, TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED, TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE, TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED, TUNA_ERROR__TICK_INDEX_OF_BOUNDS, TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR, TUNA_ERROR__TYPE_CAST_OVERFLOW, TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA, TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA, TUNA_ERROR__UNEXPECTED_VALUE, TUNA_ERROR__UNSUPPORTED_TOKEN_MINT, TUNA_ERROR__UNUSED, TUNA_ERROR__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_LP_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateVaultInput, type UpdateVaultInstruction, type UpdateVaultInstructionData, type UpdateVaultInstructionDataArgs, VAULT_DISCRIMINATOR, type Vault, type VaultArgs, WITHDRAW_DISCRIMINATOR, WP_NFT_UPDATE_AUTH, type WithdrawInput, type WithdrawInstruction, type WithdrawInstructionData, type WithdrawInstructionDataArgs, closeActiveTunaLpPositionFusionInstructions, closeActiveTunaLpPositionOrcaInstructions, closeTunaLpPositionFusionInstruction, closeTunaLpPositionOrcaInstruction, closeTunaSpotPositionInstruction, closeTunaSpotPositionInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createMarketV2Instruction, createTunaConfigInstruction, createVaultInstructions, createVaultV2Instructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaSpotPosition, fetchVault, fundsToShares, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getCloseTunaLpPositionFusionDiscriminatorBytes, getCloseTunaLpPositionFusionInstruction, getCloseTunaLpPositionFusionInstructionDataCodec, getCloseTunaLpPositionFusionInstructionDataDecoder, getCloseTunaLpPositionFusionInstructionDataEncoder, getCloseTunaLpPositionOrcaDiscriminatorBytes, getCloseTunaLpPositionOrcaInstruction, getCloseTunaLpPositionOrcaInstructionDataCodec, getCloseTunaLpPositionOrcaInstructionDataDecoder, getCloseTunaLpPositionOrcaInstructionDataEncoder, getCloseTunaSpotPositionDiscriminatorBytes, getCloseTunaSpotPositionInstruction, getCloseTunaSpotPositionInstructionDataCodec, getCloseTunaSpotPositionInstructionDataDecoder, getCloseTunaSpotPositionInstructionDataEncoder, getCollectAndCompoundFeesFusionDiscriminatorBytes, getCollectAndCompoundFeesFusionInstruction, getCollectAndCompoundFeesFusionInstructionDataCodec, getCollectAndCompoundFeesFusionInstructionDataDecoder, getCollectAndCompoundFeesFusionInstructionDataEncoder, getCollectAndCompoundFeesOrcaDiscriminatorBytes, getCollectAndCompoundFeesOrcaInstruction, getCollectAndCompoundFeesOrcaInstructionDataCodec, getCollectAndCompoundFeesOrcaInstructionDataDecoder, getCollectAndCompoundFeesOrcaInstructionDataEncoder, getCollectFeesFusionDiscriminatorBytes, getCollectFeesFusionInstruction, getCollectFeesFusionInstructionDataCodec, getCollectFeesFusionInstructionDataDecoder, getCollectFeesFusionInstructionDataEncoder, getCollectFeesOrcaDiscriminatorBytes, getCollectFeesOrcaInstruction, getCollectFeesOrcaInstructionDataCodec, getCollectFeesOrcaInstructionDataDecoder, getCollectFeesOrcaInstructionDataEncoder, getCollectRewardOrcaDiscriminatorBytes, getCollectRewardOrcaInstruction, getCollectRewardOrcaInstructionDataCodec, getCollectRewardOrcaInstructionDataDecoder, getCollectRewardOrcaInstructionDataEncoder, getCreateAtaInstruction, getCreateAtaInstructions, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getCreateMarketV2DiscriminatorBytes, getCreateMarketV2Instruction, getCreateMarketV2InstructionDataCodec, getCreateMarketV2InstructionDataDecoder, getCreateMarketV2InstructionDataEncoder, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getCreateVaultV2DiscriminatorBytes, getCreateVaultV2Instruction, getCreateVaultV2InstructionDataCodec, getCreateVaultV2InstructionDataDecoder, getCreateVaultV2InstructionDataEncoder, getDecreaseTunaLpPositionFusionDiscriminatorBytes, getDecreaseTunaLpPositionFusionInstruction, getDecreaseTunaLpPositionFusionInstructionDataCodec, getDecreaseTunaLpPositionFusionInstructionDataDecoder, getDecreaseTunaLpPositionFusionInstructionDataEncoder, getDecreaseTunaLpPositionOrcaDiscriminatorBytes, getDecreaseTunaLpPositionOrcaInstruction, getDecreaseTunaLpPositionOrcaInstructionDataCodec, getDecreaseTunaLpPositionOrcaInstructionDataDecoder, getDecreaseTunaLpPositionOrcaInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getIncreaseTunaLpPositionFusionDiscriminatorBytes, getIncreaseTunaLpPositionFusionInstruction, getIncreaseTunaLpPositionFusionInstructionDataCodec, getIncreaseTunaLpPositionFusionInstructionDataDecoder, getIncreaseTunaLpPositionFusionInstructionDataEncoder, getIncreaseTunaLpPositionOrcaDiscriminatorBytes, getIncreaseTunaLpPositionOrcaInstruction, getIncreaseTunaLpPositionOrcaInstructionDataCodec, getIncreaseTunaLpPositionOrcaInstructionDataDecoder, getIncreaseTunaLpPositionOrcaInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLendingVaultV2Address, getLiquidateTunaLpPositionFusionDiscriminatorBytes, getLiquidateTunaLpPositionFusionInstruction, getLiquidateTunaLpPositionFusionInstructionDataCodec, getLiquidateTunaLpPositionFusionInstructionDataDecoder, getLiquidateTunaLpPositionFusionInstructionDataEncoder, getLiquidateTunaLpPositionOrcaDiscriminatorBytes, getLiquidateTunaLpPositionOrcaInstruction, getLiquidateTunaLpPositionOrcaInstructionDataCodec, getLiquidateTunaLpPositionOrcaInstructionDataDecoder, getLiquidateTunaLpPositionOrcaInstructionDataEncoder, getLiquidateTunaSpotPositionFusionDiscriminatorBytes, getLiquidateTunaSpotPositionFusionInstruction, getLiquidateTunaSpotPositionFusionInstructionDataCodec, getLiquidateTunaSpotPositionFusionInstructionDataDecoder, getLiquidateTunaSpotPositionFusionInstructionDataEncoder, getLiquidateTunaSpotPositionJupiterDiscriminatorBytes, getLiquidateTunaSpotPositionJupiterInstruction, getLiquidateTunaSpotPositionJupiterInstructionDataCodec, getLiquidateTunaSpotPositionJupiterInstructionDataDecoder, getLiquidateTunaSpotPositionJupiterInstructionDataEncoder, getLiquidateTunaSpotPositionOrcaDiscriminatorBytes, getLiquidateTunaSpotPositionOrcaInstruction, getLiquidateTunaSpotPositionOrcaInstructionDataCodec, getLiquidateTunaSpotPositionOrcaInstructionDataDecoder, getLiquidateTunaSpotPositionOrcaInstructionDataEncoder, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getModifyTunaSpotPositionFusionDiscriminatorBytes, getModifyTunaSpotPositionFusionInstruction, getModifyTunaSpotPositionFusionInstructionDataCodec, getModifyTunaSpotPositionFusionInstructionDataDecoder, getModifyTunaSpotPositionFusionInstructionDataEncoder, getModifyTunaSpotPositionJupiterDiscriminatorBytes, getModifyTunaSpotPositionJupiterInstruction, getModifyTunaSpotPositionJupiterInstructionDataCodec, getModifyTunaSpotPositionJupiterInstructionDataDecoder, getModifyTunaSpotPositionJupiterInstructionDataEncoder, getModifyTunaSpotPositionOrcaDiscriminatorBytes, getModifyTunaSpotPositionOrcaInstruction, getModifyTunaSpotPositionOrcaInstructionDataCodec, getModifyTunaSpotPositionOrcaInstructionDataDecoder, getModifyTunaSpotPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionFusionInstruction, getOpenAndIncreaseTunaLpPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaLpPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenLendingPositionV2DiscriminatorBytes, getOpenLendingPositionV2Instruction, getOpenLendingPositionV2InstructionDataCodec, getOpenLendingPositionV2InstructionDataDecoder, getOpenLendingPositionV2InstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaSpotPositionDiscriminatorBytes, getOpenTunaSpotPositionInstruction, getOpenTunaSpotPositionInstructionDataCodec, getOpenTunaSpotPositionInstructionDataDecoder, getOpenTunaSpotPositionInstructionDataEncoder, getPoolTokenCodec, getPoolTokenDecoder, getPoolTokenEncoder, getPythPriceUpdateAccountAddress, getRebalanceTunaLpPositionFusionDiscriminatorBytes, getRebalanceTunaLpPositionFusionInstruction, getRebalanceTunaLpPositionFusionInstructionDataCodec, getRebalanceTunaLpPositionFusionInstructionDataDecoder, getRebalanceTunaLpPositionFusionInstructionDataEncoder, getRebalanceTunaLpPositionOrcaDiscriminatorBytes, getRebalanceTunaLpPositionOrcaInstruction, getRebalanceTunaLpPositionOrcaInstructionDataCodec, getRebalanceTunaLpPositionOrcaInstructionDataDecoder, getRebalanceTunaLpPositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayTunaLpPositionDebtDiscriminatorBytes, getRepayTunaLpPositionDebtInstruction, getRepayTunaLpPositionDebtInstructionDataCodec, getRepayTunaLpPositionDebtInstructionDataDecoder, getRepayTunaLpPositionDebtInstructionDataEncoder, getResetTunaSpotPositionDiscriminatorBytes, getResetTunaSpotPositionInstruction, getResetTunaSpotPositionInstructionDataCodec, getResetTunaSpotPositionInstructionDataDecoder, getResetTunaSpotPositionInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultLiquidationFeeRateDiscriminatorBytes, getSetDefaultLiquidationFeeRateInstruction, getSetDefaultLiquidationFeeRateInstructionDataCodec, getSetDefaultLiquidationFeeRateInstructionDataDecoder, getSetDefaultLiquidationFeeRateInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetDefaultProtocolFeeRateDiscriminatorBytes, getSetDefaultProtocolFeeRateInstruction, getSetDefaultProtocolFeeRateInstructionDataCodec, getSetDefaultProtocolFeeRateInstructionDataDecoder, getSetDefaultProtocolFeeRateInstructionDataEncoder, getSetDefaultRebalanceFeeRateDiscriminatorBytes, getSetDefaultRebalanceFeeRateInstruction, getSetDefaultRebalanceFeeRateInstructionDataCodec, getSetDefaultRebalanceFeeRateInstructionDataDecoder, getSetDefaultRebalanceFeeRateInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaLpPositionFlagsDiscriminatorBytes, getSetTunaLpPositionFlagsInstruction, getSetTunaLpPositionFlagsInstructionDataCodec, getSetTunaLpPositionFlagsInstructionDataDecoder, getSetTunaLpPositionFlagsInstructionDataEncoder, getSetTunaLpPositionLimitOrdersDiscriminatorBytes, getSetTunaLpPositionLimitOrdersInstruction, getSetTunaLpPositionLimitOrdersInstructionDataCodec, getSetTunaLpPositionLimitOrdersInstructionDataDecoder, getSetTunaLpPositionLimitOrdersInstructionDataEncoder, getSetTunaLpPositionRebalanceThresholdDiscriminatorBytes, getSetTunaLpPositionRebalanceThresholdInstruction, getSetTunaLpPositionRebalanceThresholdInstructionDataCodec, getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder, getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder, getSetTunaSpotPositionLimitOrdersDiscriminatorBytes, getSetTunaSpotPositionLimitOrdersInstruction, getSetTunaSpotPositionLimitOrdersInstructionDataCodec, getSetTunaSpotPositionLimitOrdersInstructionDataDecoder, getSetTunaSpotPositionLimitOrdersInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaLpPositionAddress, getTunaLpPositionCodec, getTunaLpPositionDecoder, getTunaLpPositionDiscriminatorBytes, getTunaLpPositionEncoder, getTunaLpPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, increaseTunaLpPositionFusionInstruction, increaseTunaLpPositionFusionInstructions, increaseTunaLpPositionOrcaInstruction, increaseTunaLpPositionOrcaInstructions, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, lendingPositionVaultFilter, liquidateTunaLpPositionFusionInstruction, liquidateTunaLpPositionFusionInstructions, liquidateTunaLpPositionOrcaInstruction, liquidateTunaLpPositionOrcaInstructions, liquidateTunaSpotPositionFusionInstruction, liquidateTunaSpotPositionFusionInstructions, liquidateTunaSpotPositionJupiterInstruction, liquidateTunaSpotPositionJupiterInstructions, liquidateTunaSpotPositionOrcaInstruction, liquidateTunaSpotPositionOrcaInstructions, modifyTunaSpotPositionFusionInstruction, modifyTunaSpotPositionFusionInstructions, modifyTunaSpotPositionJupiterInstruction, modifyTunaSpotPositionJupiterInstructions, modifyTunaSpotPositionOrcaInstruction, modifyTunaSpotPositionOrcaInstructions, mulDiv, openAndIncreaseTunaLpPositionFusionInstruction, openAndIncreaseTunaLpPositionFusionInstructions, openAndIncreaseTunaLpPositionOrcaInstruction, openAndIncreaseTunaLpPositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openLendingPositionV2Instruction, openTunaLpPositionFusionInstruction, openTunaLpPositionOrcaInstruction, openTunaSpotPositionInstruction, openTunaSpotPositionInstructions, parseCloseTunaLpPositionFusionInstruction, parseCloseTunaLpPositionOrcaInstruction, parseCloseTunaSpotPositionInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateMarketV2Instruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseCreateVaultV2Instruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionJupiterInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseModifyTunaSpotPositionFusionInstruction, parseModifyTunaSpotPositionJupiterInstruction, parseModifyTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenLendingPositionV2Instruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultLiquidationFeeRateInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetDefaultProtocolFeeRateInstruction, parseSetDefaultRebalanceFeeRateInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalanceTunaLpPositionFusionInstruction, rebalanceTunaLpPositionFusionInstructions, rebalanceTunaLpPositionOrcaInstruction, rebalanceTunaLpPositionOrcaInstructions, repayBadDebtInstruction, repayTunaLpPositionDebtInstruction, repayTunaLpPositionDebtInstructions, resetTunaSpotPositionInstruction, setTunaLpPositionLimitOrdersInstruction, setTunaSpotPositionLimitOrdersInstruction, sharesToFunds, tunaLpPositionAuthorityFilter, tunaLpPositionMarketMakerFilter, tunaLpPositionMintAFilter, tunaLpPositionMintBFilter, tunaLpPositionMintFilter, tunaLpPositionPoolFilter, tunaSpotPositionAuthorityFilter, tunaSpotPositionMintAFilter, tunaSpotPositionMintBFilter, tunaSpotPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
package/dist/index.js CHANGED
@@ -215,6 +215,7 @@ __export(index_exports, {
215
215
  createAddressLookupTableForMarketInstructions: () => createAddressLookupTableForMarketInstructions,
216
216
  createAddressLookupTableInstructions: () => createAddressLookupTableInstructions,
217
217
  createMarketInstruction: () => createMarketInstruction,
218
+ createMarketV2Instruction: () => createMarketV2Instruction,
218
219
  createTunaConfigInstruction: () => createTunaConfigInstruction,
219
220
  createVaultInstructions: () => createVaultInstructions,
220
221
  createVaultV2Instructions: () => createVaultV2Instructions,
@@ -12252,6 +12253,21 @@ async function createMarketInstruction(authority, pool, vaultA, vaultB, args) {
12252
12253
  });
12253
12254
  }
12254
12255
 
12256
+ // src/txbuilder/createMarketV2.ts
12257
+ async function createMarketV2Instruction(authority, pool, vaultA, vaultB, args) {
12258
+ const tunaConfig = (await getTunaConfigAddress())[0];
12259
+ const marketAddress = (await getMarketAddress(pool))[0];
12260
+ return getCreateMarketV2Instruction({
12261
+ authority,
12262
+ tunaConfig,
12263
+ market: marketAddress,
12264
+ pool,
12265
+ vaultA,
12266
+ vaultB,
12267
+ ...args
12268
+ });
12269
+ }
12270
+
12255
12271
  // src/txbuilder/createTunaConfig.ts
12256
12272
  async function createTunaConfigInstruction(authority, ownerAuthority, adminAuthority, liquidatorAuthority, feeRecipient) {
12257
12273
  const tunaConfigAddress = await getTunaConfigAddress();
@@ -14928,6 +14944,7 @@ async function rebalanceTunaLpPositionFusionInstruction(authority, tunaPosition,
14928
14944
  createAddressLookupTableForMarketInstructions,
14929
14945
  createAddressLookupTableInstructions,
14930
14946
  createMarketInstruction,
14947
+ createMarketV2Instruction,
14931
14948
  createTunaConfigInstruction,
14932
14949
  createVaultInstructions,
14933
14950
  createVaultV2Instructions,
package/dist/index.mjs CHANGED
@@ -12862,6 +12862,21 @@ async function createMarketInstruction(authority, pool, vaultA, vaultB, args) {
12862
12862
  });
12863
12863
  }
12864
12864
 
12865
+ // src/txbuilder/createMarketV2.ts
12866
+ async function createMarketV2Instruction(authority, pool, vaultA, vaultB, args) {
12867
+ const tunaConfig = (await getTunaConfigAddress())[0];
12868
+ const marketAddress = (await getMarketAddress(pool))[0];
12869
+ return getCreateMarketV2Instruction({
12870
+ authority,
12871
+ tunaConfig,
12872
+ market: marketAddress,
12873
+ pool,
12874
+ vaultA,
12875
+ vaultB,
12876
+ ...args
12877
+ });
12878
+ }
12879
+
12865
12880
  // src/txbuilder/createTunaConfig.ts
12866
12881
  async function createTunaConfigInstruction(authority, ownerAuthority, adminAuthority, liquidatorAuthority, feeRecipient) {
12867
12882
  const tunaConfigAddress = await getTunaConfigAddress();
@@ -15651,6 +15666,7 @@ export {
15651
15666
  createAddressLookupTableForMarketInstructions,
15652
15667
  createAddressLookupTableInstructions,
15653
15668
  createMarketInstruction,
15669
+ createMarketV2Instruction,
15654
15670
  createTunaConfigInstruction,
15655
15671
  createVaultInstructions,
15656
15672
  createVaultV2Instructions,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-client",
3
3
  "description": "Typescript client to interact with DefiTuna's on-chain program.",
4
- "version": "3.4.3",
4
+ "version": "3.4.4",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "@solana-program/token-2022": "^0.4.2",
31
31
  "@solana-program/memo": "^0.7.0",
32
32
  "@solana-program/address-lookup-table": "^0.7.0",
33
- "@crypticdot/defituna-core": "3.4.3"
33
+ "@crypticdot/defituna-core": "3.4.4"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@crypticdot/jupiter-solana-client": "^1.0.0",