@crypticdot/defituna-client 2.0.12 → 2.0.14
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 +49 -23
- package/dist/index.d.ts +49 -23
- package/dist/index.js +121 -76
- package/dist/index.mjs +142 -79
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _solana_kit from '@solana/kit';
|
|
2
|
-
import { ReadonlyUint8Array, Address, Encoder, Decoder, Codec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, IAccountMeta, IInstruction, IInstructionWithData, IInstructionWithAccounts, WritableSignerAccount, IAccountSignerMeta, ReadonlyAccount, WritableAccount, TransactionSigner, ReadonlySignerAccount, ProgramDerivedAddress, GetProgramAccountsMemcmpFilter, Rpc, GetProgramAccountsApi, GetAccountInfoApi, Slot, GetMultipleAccountsApi } from '@solana/kit';
|
|
2
|
+
import { ReadonlyUint8Array, Address, Encoder, Decoder, Codec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, IAccountMeta, IInstruction, IInstructionWithData, IInstructionWithAccounts, WritableSignerAccount, IAccountSignerMeta, ReadonlyAccount, WritableAccount, TransactionSigner, ReadonlySignerAccount, ProgramDerivedAddress, GetProgramAccountsMemcmpFilter, Rpc, GetProgramAccountsApi, GetAccountInfoApi, Slot, GetMultipleAccountsApi, Lamports } from '@solana/kit';
|
|
3
3
|
import { Whirlpool } from '@orca-so/whirlpools-client';
|
|
4
4
|
import { FusionPool } from '@crypticdot/fusionamm-client';
|
|
5
5
|
import { Mint } from '@solana-program/token-2022';
|
|
@@ -171,7 +171,7 @@ type Market = {
|
|
|
171
171
|
version: number;
|
|
172
172
|
/** Bump seed for the market account */
|
|
173
173
|
bump: ReadonlyUint8Array;
|
|
174
|
-
/** Market maker: Orca, Fusion,
|
|
174
|
+
/** Market maker: Orca, Fusion, etc... */
|
|
175
175
|
marketMaker: MarketMaker;
|
|
176
176
|
/** Liquidity pool address */
|
|
177
177
|
pool: Address;
|
|
@@ -203,6 +203,8 @@ type Market = {
|
|
|
203
203
|
borrowLimitB: bigint;
|
|
204
204
|
/** Maximum allowed swap slippage represented as hundredths of a basis point. If it's set to zero, the default value from the global config is used. */
|
|
205
205
|
maxSwapSlippage: number;
|
|
206
|
+
/** The protocol fee taken from yield when a position is re-balanced. */
|
|
207
|
+
rebalanceProtocolFee: number;
|
|
206
208
|
/** Reserved */
|
|
207
209
|
reserved: ReadonlyUint8Array;
|
|
208
210
|
};
|
|
@@ -211,7 +213,7 @@ type MarketArgs = {
|
|
|
211
213
|
version: number;
|
|
212
214
|
/** Bump seed for the market account */
|
|
213
215
|
bump: ReadonlyUint8Array;
|
|
214
|
-
/** Market maker: Orca, Fusion,
|
|
216
|
+
/** Market maker: Orca, Fusion, etc... */
|
|
215
217
|
marketMaker: MarketMakerArgs;
|
|
216
218
|
/** Liquidity pool address */
|
|
217
219
|
pool: Address;
|
|
@@ -243,6 +245,8 @@ type MarketArgs = {
|
|
|
243
245
|
borrowLimitB: number | bigint;
|
|
244
246
|
/** Maximum allowed swap slippage represented as hundredths of a basis point. If it's set to zero, the default value from the global config is used. */
|
|
245
247
|
maxSwapSlippage: number;
|
|
248
|
+
/** The protocol fee taken from yield when a position is re-balanced. */
|
|
249
|
+
rebalanceProtocolFee: number;
|
|
246
250
|
/** Reserved */
|
|
247
251
|
reserved: ReadonlyUint8Array;
|
|
248
252
|
};
|
|
@@ -699,21 +703,9 @@ declare const TUNA_ERROR__ZERO_PRICE_RANGE = 6053;
|
|
|
699
703
|
declare const TUNA_ERROR__ZERO_TRADABLE_AMOUNT = 6054;
|
|
700
704
|
/** ZeroYield: Collected yield is zero */
|
|
701
705
|
declare const TUNA_ERROR__ZERO_YIELD = 6055;
|
|
702
|
-
/**
|
|
703
|
-
declare const
|
|
704
|
-
|
|
705
|
-
declare const TUNA_ERROR__RAYDIUM_INVALID_TICK_ARRAY = 6057;
|
|
706
|
-
/** RaydiumInvaildTickIndex: RaydiumInvaildTickIndex */
|
|
707
|
-
declare const TUNA_ERROR__RAYDIUM_INVAILD_TICK_INDEX = 6058;
|
|
708
|
-
/** RaydiumMaxTokenOverflow: RaydiumMaxTokenOverflow */
|
|
709
|
-
declare const TUNA_ERROR__RAYDIUM_MAX_TOKEN_OVERFLOW = 6059;
|
|
710
|
-
/** RaydiumNotEnoughTickArrayAccount: RaydiumNotEnoughTickArrayAccount */
|
|
711
|
-
declare const TUNA_ERROR__RAYDIUM_NOT_ENOUGH_TICK_ARRAY_ACCOUNT = 6060;
|
|
712
|
-
/** RaydiumSqrtPriceLimitOverflow: RaydiumSqrtPriceLimitOverflow */
|
|
713
|
-
declare const TUNA_ERROR__RAYDIUM_SQRT_PRICE_LIMIT_OVERFLOW = 6061;
|
|
714
|
-
/** RaydiumZeroAmountSpecified: RaydiumZeroAmountSpecified */
|
|
715
|
-
declare const TUNA_ERROR__RAYDIUM_ZERO_AMOUNT_SPECIFIED = 6062;
|
|
716
|
-
type TunaError = typeof TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED | typeof TUNA_ERROR__BAD_DEBT | typeof TUNA_ERROR__INSUFFICIENT_LIQUIDITY | typeof TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__INVALID_ACCOUNT_OWNER | typeof TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS | typeof TUNA_ERROR__INVALID_MARKET_MAKER | typeof TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH | typeof TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION | typeof TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE | typeof TUNA_ERROR__LEFTOVERS_EXCEEDED | typeof TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIMIT_ORDER_EXECUTION_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDITY_ZERO | typeof TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED | typeof TUNA_ERROR__MARKET_DISABLED | typeof TUNA_ERROR__MATH_OVERFLOW | typeof TUNA_ERROR__MATH_UNDERFLOW | typeof TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK | typeof TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED | typeof TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE | typeof TUNA_ERROR__ORACLE_STALE_PRICE | typeof TUNA_ERROR__PARTIAL_FILL_ERROR | typeof TUNA_ERROR__POSITION_IS_HEALTHY | typeof TUNA_ERROR__POSITION_IS_LIQUIDATED | typeof TUNA_ERROR__POSITION_IS_UNHEALTHY | typeof TUNA_ERROR__POSITION_NOT_EMPTY | typeof TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__RAYDIUM_INVAILD_TICK_INDEX | typeof TUNA_ERROR__RAYDIUM_INVALID_FIRST_TICK_ARRAY_ACCOUNT | typeof TUNA_ERROR__RAYDIUM_INVALID_TICK_ARRAY | typeof TUNA_ERROR__RAYDIUM_MAX_TOKEN_OVERFLOW | typeof TUNA_ERROR__RAYDIUM_NOT_ENOUGH_TICK_ARRAY_ACCOUNT | typeof TUNA_ERROR__RAYDIUM_SQRT_PRICE_LIMIT_OVERFLOW | typeof TUNA_ERROR__RAYDIUM_ZERO_AMOUNT_SPECIFIED | typeof TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET | typeof TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH | typeof TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED | typeof TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT | typeof TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS | typeof TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED | typeof TUNA_ERROR__SUSPENDED | typeof TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT | typeof TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED | typeof TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED | typeof TUNA_ERROR__TICK_INDEX_OF_BOUNDS | typeof TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR | typeof TUNA_ERROR__TYPE_CAST_OVERFLOW | typeof TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA | typeof TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA | typeof TUNA_ERROR__UNEXPECTED_VALUE | typeof TUNA_ERROR__UNSUPPORTED_TOKEN_MINT | typeof TUNA_ERROR__VAULT_NOT_INITIALIZED | typeof TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE | typeof TUNA_ERROR__ZERO_PRICE_RANGE | typeof TUNA_ERROR__ZERO_TRADABLE_AMOUNT | typeof TUNA_ERROR__ZERO_YIELD;
|
|
706
|
+
/** PositionIsAutoRebalanceable: Unable to claim yield for auto re-balanceable positions */
|
|
707
|
+
declare const TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE = 6056;
|
|
708
|
+
type TunaError = typeof TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED | typeof TUNA_ERROR__BAD_DEBT | typeof TUNA_ERROR__INSUFFICIENT_LIQUIDITY | typeof TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__INVALID_ACCOUNT_OWNER | typeof TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS | typeof TUNA_ERROR__INVALID_MARKET_MAKER | typeof TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH | typeof TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION | typeof TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE | typeof TUNA_ERROR__LEFTOVERS_EXCEEDED | typeof TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIMIT_ORDER_EXECUTION_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDITY_ZERO | typeof TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED | typeof TUNA_ERROR__MARKET_DISABLED | typeof TUNA_ERROR__MATH_OVERFLOW | typeof TUNA_ERROR__MATH_UNDERFLOW | typeof TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK | typeof TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED | typeof TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE | typeof TUNA_ERROR__ORACLE_STALE_PRICE | typeof TUNA_ERROR__PARTIAL_FILL_ERROR | typeof TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE | typeof TUNA_ERROR__POSITION_IS_HEALTHY | typeof TUNA_ERROR__POSITION_IS_LIQUIDATED | typeof TUNA_ERROR__POSITION_IS_UNHEALTHY | typeof TUNA_ERROR__POSITION_NOT_EMPTY | typeof TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET | typeof TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH | typeof TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED | typeof TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT | typeof TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS | typeof TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED | typeof TUNA_ERROR__SUSPENDED | typeof TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT | typeof TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED | typeof TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED | typeof TUNA_ERROR__TICK_INDEX_OF_BOUNDS | typeof TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR | typeof TUNA_ERROR__TYPE_CAST_OVERFLOW | typeof TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA | typeof TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA | typeof TUNA_ERROR__UNEXPECTED_VALUE | typeof TUNA_ERROR__UNSUPPORTED_TOKEN_MINT | typeof TUNA_ERROR__VAULT_NOT_INITIALIZED | typeof TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE | typeof TUNA_ERROR__ZERO_PRICE_RANGE | typeof TUNA_ERROR__ZERO_TRADABLE_AMOUNT | typeof TUNA_ERROR__ZERO_YIELD;
|
|
717
709
|
declare function getTunaErrorMessage(code: TunaError): string;
|
|
718
710
|
declare function isTunaError<TProgramErrorCode extends TunaError>(error: unknown, transactionMessage: {
|
|
719
711
|
instructions: Record<number, {
|
|
@@ -1981,6 +1973,7 @@ type CreateMarketInstructionData = {
|
|
|
1981
1973
|
borrowLimitA: bigint;
|
|
1982
1974
|
borrowLimitB: bigint;
|
|
1983
1975
|
maxSwapSlippage: number;
|
|
1976
|
+
rebalanceProtocolFee: number;
|
|
1984
1977
|
};
|
|
1985
1978
|
type CreateMarketInstructionDataArgs = {
|
|
1986
1979
|
marketMaker: MarketMakerArgs;
|
|
@@ -1996,6 +1989,7 @@ type CreateMarketInstructionDataArgs = {
|
|
|
1996
1989
|
borrowLimitA: number | bigint;
|
|
1997
1990
|
borrowLimitB: number | bigint;
|
|
1998
1991
|
maxSwapSlippage: number;
|
|
1992
|
+
rebalanceProtocolFee: number;
|
|
1999
1993
|
};
|
|
2000
1994
|
declare function getCreateMarketInstructionDataEncoder(): Encoder<CreateMarketInstructionDataArgs>;
|
|
2001
1995
|
declare function getCreateMarketInstructionDataDecoder(): Decoder<CreateMarketInstructionData>;
|
|
@@ -2019,6 +2013,7 @@ type CreateMarketInput<TAccountAuthority extends string = string, TAccountTunaCo
|
|
|
2019
2013
|
borrowLimitA: CreateMarketInstructionDataArgs['borrowLimitA'];
|
|
2020
2014
|
borrowLimitB: CreateMarketInstructionDataArgs['borrowLimitB'];
|
|
2021
2015
|
maxSwapSlippage: CreateMarketInstructionDataArgs['maxSwapSlippage'];
|
|
2016
|
+
rebalanceProtocolFee: CreateMarketInstructionDataArgs['rebalanceProtocolFee'];
|
|
2022
2017
|
};
|
|
2023
2018
|
declare function getCreateMarketInstruction<TAccountAuthority extends string, TAccountTunaConfig extends string, TAccountMarket extends string, TAccountPool extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: CreateMarketInput<TAccountAuthority, TAccountTunaConfig, TAccountMarket, TAccountPool, TAccountSystemProgram>, config?: {
|
|
2024
2019
|
programAddress?: TProgramAddress;
|
|
@@ -4401,6 +4396,7 @@ type UpdateMarketInstructionData = {
|
|
|
4401
4396
|
borrowLimitA: bigint;
|
|
4402
4397
|
borrowLimitB: bigint;
|
|
4403
4398
|
maxSwapSlippage: number;
|
|
4399
|
+
rebalanceProtocolFee: number;
|
|
4404
4400
|
};
|
|
4405
4401
|
type UpdateMarketInstructionDataArgs = {
|
|
4406
4402
|
addressLookupTable: Address;
|
|
@@ -4415,6 +4411,7 @@ type UpdateMarketInstructionDataArgs = {
|
|
|
4415
4411
|
borrowLimitA: number | bigint;
|
|
4416
4412
|
borrowLimitB: number | bigint;
|
|
4417
4413
|
maxSwapSlippage: number;
|
|
4414
|
+
rebalanceProtocolFee: number;
|
|
4418
4415
|
};
|
|
4419
4416
|
declare function getUpdateMarketInstructionDataEncoder(): Encoder<UpdateMarketInstructionDataArgs>;
|
|
4420
4417
|
declare function getUpdateMarketInstructionDataDecoder(): Decoder<UpdateMarketInstructionData>;
|
|
@@ -4435,6 +4432,7 @@ type UpdateMarketInput<TAccountAuthority extends string = string, TAccountTunaCo
|
|
|
4435
4432
|
borrowLimitA: UpdateMarketInstructionDataArgs['borrowLimitA'];
|
|
4436
4433
|
borrowLimitB: UpdateMarketInstructionDataArgs['borrowLimitB'];
|
|
4437
4434
|
maxSwapSlippage: UpdateMarketInstructionDataArgs['maxSwapSlippage'];
|
|
4435
|
+
rebalanceProtocolFee: UpdateMarketInstructionDataArgs['rebalanceProtocolFee'];
|
|
4438
4436
|
};
|
|
4439
4437
|
declare function getUpdateMarketInstruction<TAccountAuthority extends string, TAccountTunaConfig extends string, TAccountMarket extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: UpdateMarketInput<TAccountAuthority, TAccountTunaConfig, TAccountMarket>, config?: {
|
|
4440
4438
|
programAddress?: TProgramAddress;
|
|
@@ -4753,16 +4751,32 @@ declare function openPositionOrcaInstruction(rpc: Rpc<GetAccountInfoApi & GetMul
|
|
|
4753
4751
|
|
|
4754
4752
|
declare function openPositionFusionInstruction(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, positionMint: TransactionSigner, fusionPoolAddress: Address, args: OpenPositionFusionInstructionDataArgs): Promise<IInstruction>;
|
|
4755
4753
|
|
|
4754
|
+
type OpenPositionWithLiquidityOrca = {
|
|
4755
|
+
/** The mint address of the position NFT. */
|
|
4756
|
+
positionMint: Address;
|
|
4757
|
+
/** List of Solana transaction instructions to execute. */
|
|
4758
|
+
instructions: IInstruction[];
|
|
4759
|
+
/** The initialization cost for opening the position in lamports. */
|
|
4760
|
+
initializationCost: Lamports;
|
|
4761
|
+
};
|
|
4756
4762
|
type OpenPositionWithLiquidityOrcaInstructionsArgs = Omit<OpenPositionWithLiquidityOrcaInstructionDataArgs, "remainingAccountsInfo" | "minAddedAmountA" | "minAddedAmountB"> & {
|
|
4757
4763
|
maxAmountSlippage: number;
|
|
4758
4764
|
};
|
|
4759
|
-
declare function openPositionWithLiquidityOrcaInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner,
|
|
4765
|
+
declare function openPositionWithLiquidityOrcaInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, whirlpoolAddress: Address, args: OpenPositionWithLiquidityOrcaInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<OpenPositionWithLiquidityOrca>;
|
|
4760
4766
|
declare function openPositionWithLiquidityOrcaInstruction(authority: TransactionSigner, positionMint: TransactionSigner, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, whirlpool: Account<Whirlpool>, args: Omit<OpenPositionWithLiquidityOrcaInstructionDataArgs, "remainingAccountsInfo">): Promise<IInstruction>;
|
|
4761
4767
|
|
|
4768
|
+
type OpenPositionWithLiquidityFusion = {
|
|
4769
|
+
/** The mint address of the position NFT. */
|
|
4770
|
+
positionMint: Address;
|
|
4771
|
+
/** List of Solana transaction instructions to execute. */
|
|
4772
|
+
instructions: IInstruction[];
|
|
4773
|
+
/** The initialization cost for opening the position in lamports. */
|
|
4774
|
+
initializationCost: Lamports;
|
|
4775
|
+
};
|
|
4762
4776
|
type OpenPositionWithLiquidityFusionInstructionsArgs = Omit<OpenPositionWithLiquidityFusionInstructionDataArgs, "remainingAccountsInfo" | "minAddedAmountA" | "minAddedAmountB"> & {
|
|
4763
4777
|
maxAmountSlippage: number;
|
|
4764
4778
|
};
|
|
4765
|
-
declare function openPositionWithLiquidityFusionInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner,
|
|
4779
|
+
declare function openPositionWithLiquidityFusionInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, fusionPoolAddress: Address, args: OpenPositionWithLiquidityFusionInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<OpenPositionWithLiquidityFusion>;
|
|
4766
4780
|
declare function openPositionWithLiquidityFusionInstruction(authority: TransactionSigner, positionMint: TransactionSigner, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, args: Omit<OpenPositionWithLiquidityFusionInstructionDataArgs, "remainingAccountsInfo">): Promise<IInstruction>;
|
|
4767
4781
|
|
|
4768
4782
|
type RemoveLiquidityOrcaInstructionsArgs = Omit<RemoveLiquidityOrcaInstructionDataArgs, "remainingAccountsInfo" | "minRemovedAmountA" | "minRemovedAmountB"> & {
|
|
@@ -4793,10 +4807,22 @@ declare function createAddressLookupTableForMarketInstructions(rpc: Rpc<GetAccou
|
|
|
4793
4807
|
declare function repayDebtInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, positionMint: Address, collateralA: bigint, collateralB: bigint, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<IInstruction[]>;
|
|
4794
4808
|
declare function repayDebtInstruction(authority: TransactionSigner, positionMint: Address, mintA: Account<Mint>, mintB: Account<Mint>, marketAddress: Address, collateralA: bigint, collateralB: bigint): Promise<IInstruction>;
|
|
4795
4809
|
|
|
4796
|
-
|
|
4810
|
+
type RebalancePositionOrca = {
|
|
4811
|
+
/** List of Solana transaction instructions to execute. */
|
|
4812
|
+
instructions: IInstruction[];
|
|
4813
|
+
/** The initialization cost for opening the position in lamports. */
|
|
4814
|
+
initializationCost: Lamports;
|
|
4815
|
+
};
|
|
4816
|
+
declare function rebalancePositionOrcaInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, positionMint: Address, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<RebalancePositionOrca>;
|
|
4797
4817
|
declare function rebalancePositionOrcaInstruction(authority: TransactionSigner, tunaPosition: Account<TunaPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, whirlpool: Account<Whirlpool>): Promise<IInstruction>;
|
|
4798
4818
|
|
|
4799
|
-
|
|
4819
|
+
type RebalancePositionFusion = {
|
|
4820
|
+
/** List of Solana transaction instructions to execute. */
|
|
4821
|
+
instructions: IInstruction[];
|
|
4822
|
+
/** The initialization cost for opening the position in lamports. */
|
|
4823
|
+
initializationCost: Lamports;
|
|
4824
|
+
};
|
|
4825
|
+
declare function rebalancePositionFusionInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, positionMint: Address, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<RebalancePositionFusion>;
|
|
4800
4826
|
declare function rebalancePositionFusionInstruction(authority: TransactionSigner, tunaPosition: Account<TunaPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>): Promise<IInstruction>;
|
|
4801
4827
|
|
|
4802
4828
|
declare const DEFAULT_ADDRESS: _solana_kit.Address<"11111111111111111111111111111111">;
|
|
@@ -4820,4 +4846,4 @@ declare const TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE: number;
|
|
|
4820
4846
|
declare const TUNA_POSITION_FLAGS_ALLOW_REBALANCING: number;
|
|
4821
4847
|
declare const WP_NFT_UPDATE_AUTH: _solana_kit.Address<"3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr">;
|
|
4822
4848
|
|
|
4823
|
-
export { ADD_LIQUIDITY_FUSION_DISCRIMINATOR, ADD_LIQUIDITY_ORCA_DISCRIMINATOR, AccountsType, type AccountsTypeArgs, type AddLiquidityFusionInput, type AddLiquidityFusionInstruction, type AddLiquidityFusionInstructionData, type AddLiquidityFusionInstructionDataArgs, type AddLiquidityFusionInstructionsArgs, type AddLiquidityOrcaInput, type AddLiquidityOrcaInstruction, type AddLiquidityOrcaInstructionData, type AddLiquidityOrcaInstructionDataArgs, type AddLiquidityOrcaInstructionsArgs, CLOSE_POSITION_FUSION_DISCRIMINATOR, CLOSE_POSITION_ORCA_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_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, type ClosePositionFusionInput, type ClosePositionFusionInstruction, type ClosePositionFusionInstructionData, type ClosePositionFusionInstructionDataArgs, type ClosePositionOrcaInput, type ClosePositionOrcaInstruction, type ClosePositionOrcaInstructionData, type ClosePositionOrcaInstructionDataArgs, type ClosePositionWithLiquidityFusionInstructionArgs, type ClosePositionWithLiquidityOrcaInstructionArgs, 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 CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, DEFAULT_ADDRESS, DEFAULT_MAX_AMOUNT_SLIPPAGE, DEFAULT_MAX_SWAP_SLIPPAGE, DEPOSIT_DISCRIMINATOR, type DepositInput, type DepositInstruction, type DepositInstructionData, type DepositInstructionDataArgs, FusionUtils, HUNDRED_PERCENT, type IncreaseLiquidityQuoteArgs, type IncreaseLiquidityQuoteResult, LENDING_POSITION_DISCRIMINATOR, LEVERAGE_ONE, LIQUIDATE_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_POSITION_ORCA_DISCRIMINATOR, type LendingPosition, type LendingPositionArgs, type LiquidatePositionFusionInput, type LiquidatePositionFusionInstruction, type LiquidatePositionFusionInstructionData, type LiquidatePositionFusionInstructionDataArgs, type LiquidatePositionOrcaInput, type LiquidatePositionOrcaInstruction, type LiquidatePositionOrcaInstructionData, type LiquidatePositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIMIT_ORDER_EXECUTION_FEE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, NATIVE_MINT, NO_STOP_LOSS, NO_TAKE_PROFIT, OPEN_LENDING_POSITION_DISCRIMINATOR, OPEN_POSITION_FUSION_DISCRIMINATOR, OPEN_POSITION_ORCA_DISCRIMINATOR, OPEN_POSITION_WITH_LIQUIDITY_FUSION_DISCRIMINATOR, OPEN_POSITION_WITH_LIQUIDITY_ORCA_DISCRIMINATOR, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenPositionFusionInput, type OpenPositionFusionInstruction, type OpenPositionFusionInstructionData, type OpenPositionFusionInstructionDataArgs, type OpenPositionOrcaInput, type OpenPositionOrcaInstruction, type OpenPositionOrcaInstructionData, type OpenPositionOrcaInstructionDataArgs, type OpenPositionWithLiquidityFusionInput, type OpenPositionWithLiquidityFusionInstruction, type OpenPositionWithLiquidityFusionInstructionData, type OpenPositionWithLiquidityFusionInstructionDataArgs, type OpenPositionWithLiquidityFusionInstructionsArgs, type OpenPositionWithLiquidityOrcaInput, type OpenPositionWithLiquidityOrcaInstruction, type OpenPositionWithLiquidityOrcaInstructionData, type OpenPositionWithLiquidityOrcaInstructionDataArgs, type OpenPositionWithLiquidityOrcaInstructionsArgs, OrcaUtils, type ParsedAddLiquidityFusionInstruction, type ParsedAddLiquidityOrcaInstruction, type ParsedClosePositionFusionInstruction, type ParsedClosePositionOrcaInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedDepositInstruction, type ParsedLiquidatePositionFusionInstruction, type ParsedLiquidatePositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenPositionFusionInstruction, type ParsedOpenPositionOrcaInstruction, type ParsedOpenPositionWithLiquidityFusionInstruction, type ParsedOpenPositionWithLiquidityOrcaInstruction, type ParsedRebalancePositionFusionInstruction, type ParsedRebalancePositionOrcaInstruction, type ParsedRemoveLiquidityFusionInstruction, type ParsedRemoveLiquidityOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayDebtInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLimitOrdersInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaPositionFlagsInstruction, type ParsedSetTunaPositionRebalanceThresholdInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, REBALANCE_POSITION_FUSION_DISCRIMINATOR, REBALANCE_POSITION_ORCA_DISCRIMINATOR, REMOVE_LIQUIDITY_FUSION_DISCRIMINATOR, REMOVE_LIQUIDITY_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_DEBT_DISCRIMINATOR, type RebalancePositionFusionInput, type RebalancePositionFusionInstruction, type RebalancePositionFusionInstructionData, type RebalancePositionFusionInstructionDataArgs, type RebalancePositionOrcaInput, type RebalancePositionOrcaInstruction, type RebalancePositionOrcaInstructionData, type RebalancePositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RemoveLiquidityFusionInput, type RemoveLiquidityFusionInstruction, type RemoveLiquidityFusionInstructionData, type RemoveLiquidityFusionInstructionDataArgs, type RemoveLiquidityFusionInstructionsArgs, type RemoveLiquidityOrcaInput, type RemoveLiquidityOrcaInstruction, type RemoveLiquidityOrcaInstructionData, type RemoveLiquidityOrcaInstructionDataArgs, type RemoveLiquidityOrcaInstructionsArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayDebtInput, type RepayDebtInstruction, type RepayDebtInstructionData, type RepayDebtInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIMIT_ORDERS_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, 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 SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLimitOrdersInput, type SetLimitOrdersInstruction, type SetLimitOrdersInstructionData, type SetLimitOrdersInstructionDataArgs, 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 SetTunaPositionFlagsInput, type SetTunaPositionFlagsInstruction, type SetTunaPositionFlagsInstructionData, type SetTunaPositionFlagsInstructionDataArgs, type SetTunaPositionRebalanceThresholdInput, type SetTunaPositionRebalanceThresholdInstruction, type SetTunaPositionRebalanceThresholdInstructionData, type SetTunaPositionRebalanceThresholdInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIMIT_ORDER_EXECUTION_FEE_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__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_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__RAYDIUM_INVAILD_TICK_INDEX, TUNA_ERROR__RAYDIUM_INVALID_FIRST_TICK_ARRAY_ACCOUNT, TUNA_ERROR__RAYDIUM_INVALID_TICK_ARRAY, TUNA_ERROR__RAYDIUM_MAX_TOKEN_OVERFLOW, TUNA_ERROR__RAYDIUM_NOT_ENOUGH_TICK_ARRAY_ACCOUNT, TUNA_ERROR__RAYDIUM_SQRT_PRICE_LIMIT_OVERFLOW, TUNA_ERROR__RAYDIUM_ZERO_AMOUNT_SPECIFIED, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, 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__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_STOP_LOSS_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_STOP_LOSS_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_TAKE_PROFIT_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_TAKE_PROFIT_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaPosition, type TunaPositionArgs, TunaPositionState, type TunaPositionStateArgs, 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, addLiquidityFusionInstruction, addLiquidityFusionInstructions, addLiquidityOrcaInstruction, addLiquidityOrcaInstructions, calculateProtocolFee, closePositionFusionInstruction, closePositionOrcaInstruction, closePositionWithLiquidityFusionInstructions, closePositionWithLiquidityOrcaInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createTunaConfigInstruction, createVaultInstructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaPosition, decodeVault, depositInstruction, depositInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaPosition, fetchAllTunaPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaPosition, fetchVault, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getAddLiquidityFusionDiscriminatorBytes, getAddLiquidityFusionInstruction, getAddLiquidityFusionInstructionDataCodec, getAddLiquidityFusionInstructionDataDecoder, getAddLiquidityFusionInstructionDataEncoder, getAddLiquidityOrcaDiscriminatorBytes, getAddLiquidityOrcaInstruction, getAddLiquidityOrcaInstructionDataCodec, getAddLiquidityOrcaInstructionDataDecoder, getAddLiquidityOrcaInstructionDataEncoder, getClosePositionFusionDiscriminatorBytes, getClosePositionFusionInstruction, getClosePositionFusionInstructionDataCodec, getClosePositionFusionInstructionDataDecoder, getClosePositionFusionInstructionDataEncoder, getClosePositionOrcaDiscriminatorBytes, getClosePositionOrcaInstruction, getClosePositionOrcaInstructionDataCodec, getClosePositionOrcaInstructionDataDecoder, getClosePositionOrcaInstructionDataEncoder, 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, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLiquidatePositionFusionDiscriminatorBytes, getLiquidatePositionFusionInstruction, getLiquidatePositionFusionInstructionDataCodec, getLiquidatePositionFusionInstructionDataDecoder, getLiquidatePositionFusionInstructionDataEncoder, getLiquidatePositionOrcaDiscriminatorBytes, getLiquidatePositionOrcaInstruction, getLiquidatePositionOrcaInstructionDataCodec, getLiquidatePositionOrcaInstructionDataDecoder, getLiquidatePositionOrcaInstructionDataEncoder, getLiquidityIncreaseQuote, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenPositionFusionDiscriminatorBytes, getOpenPositionFusionInstruction, getOpenPositionFusionInstructionDataCodec, getOpenPositionFusionInstructionDataDecoder, getOpenPositionFusionInstructionDataEncoder, getOpenPositionOrcaDiscriminatorBytes, getOpenPositionOrcaInstruction, getOpenPositionOrcaInstructionDataCodec, getOpenPositionOrcaInstructionDataDecoder, getOpenPositionOrcaInstructionDataEncoder, getOpenPositionWithLiquidityFusionDiscriminatorBytes, getOpenPositionWithLiquidityFusionInstruction, getOpenPositionWithLiquidityFusionInstructionDataCodec, getOpenPositionWithLiquidityFusionInstructionDataDecoder, getOpenPositionWithLiquidityFusionInstructionDataEncoder, getOpenPositionWithLiquidityOrcaDiscriminatorBytes, getOpenPositionWithLiquidityOrcaInstruction, getOpenPositionWithLiquidityOrcaInstructionDataCodec, getOpenPositionWithLiquidityOrcaInstructionDataDecoder, getOpenPositionWithLiquidityOrcaInstructionDataEncoder, getRebalancePositionFusionDiscriminatorBytes, getRebalancePositionFusionInstruction, getRebalancePositionFusionInstructionDataCodec, getRebalancePositionFusionInstructionDataDecoder, getRebalancePositionFusionInstructionDataEncoder, getRebalancePositionOrcaDiscriminatorBytes, getRebalancePositionOrcaInstruction, getRebalancePositionOrcaInstructionDataCodec, getRebalancePositionOrcaInstructionDataDecoder, getRebalancePositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveLiquidityFusionDiscriminatorBytes, getRemoveLiquidityFusionInstruction, getRemoveLiquidityFusionInstructionDataCodec, getRemoveLiquidityFusionInstructionDataDecoder, getRemoveLiquidityFusionInstructionDataEncoder, getRemoveLiquidityOrcaDiscriminatorBytes, getRemoveLiquidityOrcaInstruction, getRemoveLiquidityOrcaInstructionDataCodec, getRemoveLiquidityOrcaInstructionDataDecoder, getRemoveLiquidityOrcaInstructionDataEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayDebtDiscriminatorBytes, getRepayDebtInstruction, getRepayDebtInstructionDataCodec, getRepayDebtInstructionDataDecoder, getRepayDebtInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLimitOrdersDiscriminatorBytes, getSetLimitOrdersInstruction, getSetLimitOrdersInstructionDataCodec, getSetLimitOrdersInstructionDataDecoder, getSetLimitOrdersInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaPositionFlagsDiscriminatorBytes, getSetTunaPositionFlagsInstruction, getSetTunaPositionFlagsInstructionDataCodec, getSetTunaPositionFlagsInstructionDataDecoder, getSetTunaPositionFlagsInstructionDataEncoder, getSetTunaPositionRebalanceThresholdDiscriminatorBytes, getSetTunaPositionRebalanceThresholdInstruction, getSetTunaPositionRebalanceThresholdInstructionDataCodec, getSetTunaPositionRebalanceThresholdInstructionDataDecoder, getSetTunaPositionRebalanceThresholdInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaPositionAddress, getTunaPositionCodec, getTunaPositionDecoder, getTunaPositionDiscriminatorBytes, getTunaPositionEncoder, getTunaPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, liquidatePositionFusionInstruction, liquidatePositionFusionInstructions, liquidatePositionOrcaInstruction, liquidatePositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openPositionFusionInstruction, openPositionOrcaInstruction, openPositionWithLiquidityFusionInstruction, openPositionWithLiquidityFusionInstructions, openPositionWithLiquidityOrcaInstruction, openPositionWithLiquidityOrcaInstructions, parseAddLiquidityFusionInstruction, parseAddLiquidityOrcaInstruction, parseClosePositionFusionInstruction, parseClosePositionOrcaInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseDepositInstruction, parseLiquidatePositionFusionInstruction, parseLiquidatePositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenPositionFusionInstruction, parseOpenPositionOrcaInstruction, parseOpenPositionWithLiquidityFusionInstruction, parseOpenPositionWithLiquidityOrcaInstruction, parseRebalancePositionFusionInstruction, parseRebalancePositionOrcaInstruction, parseRemoveLiquidityFusionInstruction, parseRemoveLiquidityOrcaInstruction, parseRepayBadDebtInstruction, parseRepayDebtInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetFeeRecipientInstruction, parseSetLimitOrdersInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaPositionFlagsInstruction, parseSetTunaPositionRebalanceThresholdInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalancePositionFusionInstruction, rebalancePositionFusionInstructions, rebalancePositionOrcaInstruction, rebalancePositionOrcaInstructions, removeLiquidityFusionInstruction, removeLiquidityFusionInstructions, removeLiquidityOrcaInstruction, removeLiquidityOrcaInstructions, repayBadDebtInstruction, repayDebtInstruction, repayDebtInstructions, setLimitOrdersInstruction, tunaPositionAuthorityFilter, tunaPositionMarketMakerFilter, tunaPositionMintAFilter, tunaPositionMintBFilter, tunaPositionMintFilter, tunaPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
|
|
4849
|
+
export { ADD_LIQUIDITY_FUSION_DISCRIMINATOR, ADD_LIQUIDITY_ORCA_DISCRIMINATOR, AccountsType, type AccountsTypeArgs, type AddLiquidityFusionInput, type AddLiquidityFusionInstruction, type AddLiquidityFusionInstructionData, type AddLiquidityFusionInstructionDataArgs, type AddLiquidityFusionInstructionsArgs, type AddLiquidityOrcaInput, type AddLiquidityOrcaInstruction, type AddLiquidityOrcaInstructionData, type AddLiquidityOrcaInstructionDataArgs, type AddLiquidityOrcaInstructionsArgs, CLOSE_POSITION_FUSION_DISCRIMINATOR, CLOSE_POSITION_ORCA_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_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, type ClosePositionFusionInput, type ClosePositionFusionInstruction, type ClosePositionFusionInstructionData, type ClosePositionFusionInstructionDataArgs, type ClosePositionOrcaInput, type ClosePositionOrcaInstruction, type ClosePositionOrcaInstructionData, type ClosePositionOrcaInstructionDataArgs, type ClosePositionWithLiquidityFusionInstructionArgs, type ClosePositionWithLiquidityOrcaInstructionArgs, 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 CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, DEFAULT_ADDRESS, DEFAULT_MAX_AMOUNT_SLIPPAGE, DEFAULT_MAX_SWAP_SLIPPAGE, DEPOSIT_DISCRIMINATOR, type DepositInput, type DepositInstruction, type DepositInstructionData, type DepositInstructionDataArgs, FusionUtils, HUNDRED_PERCENT, type IncreaseLiquidityQuoteArgs, type IncreaseLiquidityQuoteResult, LENDING_POSITION_DISCRIMINATOR, LEVERAGE_ONE, LIQUIDATE_POSITION_FUSION_DISCRIMINATOR, LIQUIDATE_POSITION_ORCA_DISCRIMINATOR, type LendingPosition, type LendingPositionArgs, type LiquidatePositionFusionInput, type LiquidatePositionFusionInstruction, type LiquidatePositionFusionInstructionData, type LiquidatePositionFusionInstructionDataArgs, type LiquidatePositionOrcaInput, type LiquidatePositionOrcaInstruction, type LiquidatePositionOrcaInstructionData, type LiquidatePositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIMIT_ORDER_EXECUTION_FEE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, NATIVE_MINT, NO_STOP_LOSS, NO_TAKE_PROFIT, OPEN_LENDING_POSITION_DISCRIMINATOR, OPEN_POSITION_FUSION_DISCRIMINATOR, OPEN_POSITION_ORCA_DISCRIMINATOR, OPEN_POSITION_WITH_LIQUIDITY_FUSION_DISCRIMINATOR, OPEN_POSITION_WITH_LIQUIDITY_ORCA_DISCRIMINATOR, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenPositionFusionInput, type OpenPositionFusionInstruction, type OpenPositionFusionInstructionData, type OpenPositionFusionInstructionDataArgs, type OpenPositionOrcaInput, type OpenPositionOrcaInstruction, type OpenPositionOrcaInstructionData, type OpenPositionOrcaInstructionDataArgs, type OpenPositionWithLiquidityFusion, type OpenPositionWithLiquidityFusionInput, type OpenPositionWithLiquidityFusionInstruction, type OpenPositionWithLiquidityFusionInstructionData, type OpenPositionWithLiquidityFusionInstructionDataArgs, type OpenPositionWithLiquidityFusionInstructionsArgs, type OpenPositionWithLiquidityOrca, type OpenPositionWithLiquidityOrcaInput, type OpenPositionWithLiquidityOrcaInstruction, type OpenPositionWithLiquidityOrcaInstructionData, type OpenPositionWithLiquidityOrcaInstructionDataArgs, type OpenPositionWithLiquidityOrcaInstructionsArgs, OrcaUtils, type ParsedAddLiquidityFusionInstruction, type ParsedAddLiquidityOrcaInstruction, type ParsedClosePositionFusionInstruction, type ParsedClosePositionOrcaInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedDepositInstruction, type ParsedLiquidatePositionFusionInstruction, type ParsedLiquidatePositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenPositionFusionInstruction, type ParsedOpenPositionOrcaInstruction, type ParsedOpenPositionWithLiquidityFusionInstruction, type ParsedOpenPositionWithLiquidityOrcaInstruction, type ParsedRebalancePositionFusionInstruction, type ParsedRebalancePositionOrcaInstruction, type ParsedRemoveLiquidityFusionInstruction, type ParsedRemoveLiquidityOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayDebtInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLimitOrdersInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaPositionFlagsInstruction, type ParsedSetTunaPositionRebalanceThresholdInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, REBALANCE_POSITION_FUSION_DISCRIMINATOR, REBALANCE_POSITION_ORCA_DISCRIMINATOR, REMOVE_LIQUIDITY_FUSION_DISCRIMINATOR, REMOVE_LIQUIDITY_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_DEBT_DISCRIMINATOR, type RebalancePositionFusion, type RebalancePositionFusionInput, type RebalancePositionFusionInstruction, type RebalancePositionFusionInstructionData, type RebalancePositionFusionInstructionDataArgs, type RebalancePositionOrca, type RebalancePositionOrcaInput, type RebalancePositionOrcaInstruction, type RebalancePositionOrcaInstructionData, type RebalancePositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RemoveLiquidityFusionInput, type RemoveLiquidityFusionInstruction, type RemoveLiquidityFusionInstructionData, type RemoveLiquidityFusionInstructionDataArgs, type RemoveLiquidityFusionInstructionsArgs, type RemoveLiquidityOrcaInput, type RemoveLiquidityOrcaInstruction, type RemoveLiquidityOrcaInstructionData, type RemoveLiquidityOrcaInstructionDataArgs, type RemoveLiquidityOrcaInstructionsArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayDebtInput, type RepayDebtInstruction, type RepayDebtInstructionData, type RepayDebtInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIMIT_ORDERS_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, 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 SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLimitOrdersInput, type SetLimitOrdersInstruction, type SetLimitOrdersInstructionData, type SetLimitOrdersInstructionDataArgs, 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 SetTunaPositionFlagsInput, type SetTunaPositionFlagsInstruction, type SetTunaPositionFlagsInstructionData, type SetTunaPositionFlagsInstructionDataArgs, type SetTunaPositionRebalanceThresholdInput, type SetTunaPositionRebalanceThresholdInstruction, type SetTunaPositionRebalanceThresholdInstructionData, type SetTunaPositionRebalanceThresholdInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIMIT_ORDER_EXECUTION_FEE_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__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_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, 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__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_STOP_LOSS_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_STOP_LOSS_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_TAKE_PROFIT_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_TAKE_PROFIT_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaPosition, type TunaPositionArgs, TunaPositionState, type TunaPositionStateArgs, 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, addLiquidityFusionInstruction, addLiquidityFusionInstructions, addLiquidityOrcaInstruction, addLiquidityOrcaInstructions, calculateProtocolFee, closePositionFusionInstruction, closePositionOrcaInstruction, closePositionWithLiquidityFusionInstructions, closePositionWithLiquidityOrcaInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createTunaConfigInstruction, createVaultInstructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaPosition, decodeVault, depositInstruction, depositInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaPosition, fetchAllTunaPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaPosition, fetchVault, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getAddLiquidityFusionDiscriminatorBytes, getAddLiquidityFusionInstruction, getAddLiquidityFusionInstructionDataCodec, getAddLiquidityFusionInstructionDataDecoder, getAddLiquidityFusionInstructionDataEncoder, getAddLiquidityOrcaDiscriminatorBytes, getAddLiquidityOrcaInstruction, getAddLiquidityOrcaInstructionDataCodec, getAddLiquidityOrcaInstructionDataDecoder, getAddLiquidityOrcaInstructionDataEncoder, getClosePositionFusionDiscriminatorBytes, getClosePositionFusionInstruction, getClosePositionFusionInstructionDataCodec, getClosePositionFusionInstructionDataDecoder, getClosePositionFusionInstructionDataEncoder, getClosePositionOrcaDiscriminatorBytes, getClosePositionOrcaInstruction, getClosePositionOrcaInstructionDataCodec, getClosePositionOrcaInstructionDataDecoder, getClosePositionOrcaInstructionDataEncoder, 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, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLiquidatePositionFusionDiscriminatorBytes, getLiquidatePositionFusionInstruction, getLiquidatePositionFusionInstructionDataCodec, getLiquidatePositionFusionInstructionDataDecoder, getLiquidatePositionFusionInstructionDataEncoder, getLiquidatePositionOrcaDiscriminatorBytes, getLiquidatePositionOrcaInstruction, getLiquidatePositionOrcaInstructionDataCodec, getLiquidatePositionOrcaInstructionDataDecoder, getLiquidatePositionOrcaInstructionDataEncoder, getLiquidityIncreaseQuote, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenPositionFusionDiscriminatorBytes, getOpenPositionFusionInstruction, getOpenPositionFusionInstructionDataCodec, getOpenPositionFusionInstructionDataDecoder, getOpenPositionFusionInstructionDataEncoder, getOpenPositionOrcaDiscriminatorBytes, getOpenPositionOrcaInstruction, getOpenPositionOrcaInstructionDataCodec, getOpenPositionOrcaInstructionDataDecoder, getOpenPositionOrcaInstructionDataEncoder, getOpenPositionWithLiquidityFusionDiscriminatorBytes, getOpenPositionWithLiquidityFusionInstruction, getOpenPositionWithLiquidityFusionInstructionDataCodec, getOpenPositionWithLiquidityFusionInstructionDataDecoder, getOpenPositionWithLiquidityFusionInstructionDataEncoder, getOpenPositionWithLiquidityOrcaDiscriminatorBytes, getOpenPositionWithLiquidityOrcaInstruction, getOpenPositionWithLiquidityOrcaInstructionDataCodec, getOpenPositionWithLiquidityOrcaInstructionDataDecoder, getOpenPositionWithLiquidityOrcaInstructionDataEncoder, getRebalancePositionFusionDiscriminatorBytes, getRebalancePositionFusionInstruction, getRebalancePositionFusionInstructionDataCodec, getRebalancePositionFusionInstructionDataDecoder, getRebalancePositionFusionInstructionDataEncoder, getRebalancePositionOrcaDiscriminatorBytes, getRebalancePositionOrcaInstruction, getRebalancePositionOrcaInstructionDataCodec, getRebalancePositionOrcaInstructionDataDecoder, getRebalancePositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRemoveLiquidityFusionDiscriminatorBytes, getRemoveLiquidityFusionInstruction, getRemoveLiquidityFusionInstructionDataCodec, getRemoveLiquidityFusionInstructionDataDecoder, getRemoveLiquidityFusionInstructionDataEncoder, getRemoveLiquidityOrcaDiscriminatorBytes, getRemoveLiquidityOrcaInstruction, getRemoveLiquidityOrcaInstructionDataCodec, getRemoveLiquidityOrcaInstructionDataDecoder, getRemoveLiquidityOrcaInstructionDataEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayDebtDiscriminatorBytes, getRepayDebtInstruction, getRepayDebtInstructionDataCodec, getRepayDebtInstructionDataDecoder, getRepayDebtInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLimitOrdersDiscriminatorBytes, getSetLimitOrdersInstruction, getSetLimitOrdersInstructionDataCodec, getSetLimitOrdersInstructionDataDecoder, getSetLimitOrdersInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaPositionFlagsDiscriminatorBytes, getSetTunaPositionFlagsInstruction, getSetTunaPositionFlagsInstructionDataCodec, getSetTunaPositionFlagsInstructionDataDecoder, getSetTunaPositionFlagsInstructionDataEncoder, getSetTunaPositionRebalanceThresholdDiscriminatorBytes, getSetTunaPositionRebalanceThresholdInstruction, getSetTunaPositionRebalanceThresholdInstructionDataCodec, getSetTunaPositionRebalanceThresholdInstructionDataDecoder, getSetTunaPositionRebalanceThresholdInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaPositionAddress, getTunaPositionCodec, getTunaPositionDecoder, getTunaPositionDiscriminatorBytes, getTunaPositionEncoder, getTunaPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, liquidatePositionFusionInstruction, liquidatePositionFusionInstructions, liquidatePositionOrcaInstruction, liquidatePositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openPositionFusionInstruction, openPositionOrcaInstruction, openPositionWithLiquidityFusionInstruction, openPositionWithLiquidityFusionInstructions, openPositionWithLiquidityOrcaInstruction, openPositionWithLiquidityOrcaInstructions, parseAddLiquidityFusionInstruction, parseAddLiquidityOrcaInstruction, parseClosePositionFusionInstruction, parseClosePositionOrcaInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseDepositInstruction, parseLiquidatePositionFusionInstruction, parseLiquidatePositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenPositionFusionInstruction, parseOpenPositionOrcaInstruction, parseOpenPositionWithLiquidityFusionInstruction, parseOpenPositionWithLiquidityOrcaInstruction, parseRebalancePositionFusionInstruction, parseRebalancePositionOrcaInstruction, parseRemoveLiquidityFusionInstruction, parseRemoveLiquidityOrcaInstruction, parseRepayBadDebtInstruction, parseRepayDebtInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetFeeRecipientInstruction, parseSetLimitOrdersInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaPositionFlagsInstruction, parseSetTunaPositionRebalanceThresholdInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalancePositionFusionInstruction, rebalancePositionFusionInstructions, rebalancePositionOrcaInstruction, rebalancePositionOrcaInstructions, removeLiquidityFusionInstruction, removeLiquidityFusionInstructions, removeLiquidityOrcaInstruction, removeLiquidityOrcaInstructions, repayBadDebtInstruction, repayDebtInstruction, repayDebtInstructions, setLimitOrdersInstruction, tunaPositionAuthorityFilter, tunaPositionMarketMakerFilter, tunaPositionMintAFilter, tunaPositionMintBFilter, tunaPositionMintFilter, tunaPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
|