@crypticdot/defituna-client 3.6.0 → 3.6.1
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.cjs +2425 -1872
- package/dist/index.d.cts +323 -43
- package/dist/index.d.ts +323 -43
- package/dist/index.js +1863 -1299
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _solana_kit from '@solana/kit';
|
|
2
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, Option, OptionOrNullable, ReadonlySignerAccount, ProgramDerivedAddress, GetProgramAccountsMemcmpFilter, Rpc, GetProgramAccountsApi, GetAccountInfoApi, Slot, GetMultipleAccountsApi, Lamports } from '@solana/kit';
|
|
3
3
|
import { Whirlpool } from '@orca-so/whirlpools-client';
|
|
4
|
-
import { FusionPool } from '@crypticdot/fusionamm-client';
|
|
4
|
+
import { FusionPool, PositionLockType as PositionLockType$1 } from '@crypticdot/fusionamm-client';
|
|
5
5
|
import { Mint } from '@solana-program/token-2022';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -79,7 +79,8 @@ declare enum AccountsType {
|
|
|
79
79
|
WhirlpoolOracle = 5,
|
|
80
80
|
Rewards = 6,
|
|
81
81
|
SecondaryTickArrayLower = 7,
|
|
82
|
-
SecondaryTickArrayUpper = 8
|
|
82
|
+
SecondaryTickArrayUpper = 8,
|
|
83
|
+
JupiterRoute = 9
|
|
83
84
|
}
|
|
84
85
|
type AccountsTypeArgs = AccountsType;
|
|
85
86
|
declare function getAccountsTypeEncoder(): Encoder<AccountsTypeArgs>;
|
|
@@ -140,6 +141,22 @@ declare function getPoolTokenEncoder(): Encoder<PoolTokenArgs>;
|
|
|
140
141
|
declare function getPoolTokenDecoder(): Decoder<PoolToken>;
|
|
141
142
|
declare function getPoolTokenCodec(): Codec<PoolTokenArgs, PoolToken>;
|
|
142
143
|
|
|
144
|
+
/**
|
|
145
|
+
* This code was AUTOGENERATED using the codama library.
|
|
146
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
147
|
+
* to add features, then rerun codama to update it.
|
|
148
|
+
*
|
|
149
|
+
* @see https://github.com/codama-idl/codama
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
declare enum PositionLockType {
|
|
153
|
+
Permanent = 0
|
|
154
|
+
}
|
|
155
|
+
type PositionLockTypeArgs = PositionLockType;
|
|
156
|
+
declare function getPositionLockTypeEncoder(): Encoder<PositionLockTypeArgs>;
|
|
157
|
+
declare function getPositionLockTypeDecoder(): Decoder<PositionLockType>;
|
|
158
|
+
declare function getPositionLockTypeCodec(): Codec<PositionLockTypeArgs, PositionLockType>;
|
|
159
|
+
|
|
143
160
|
/**
|
|
144
161
|
* This code was AUTOGENERATED using the codama library.
|
|
145
162
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -1008,46 +1025,48 @@ declare enum TunaInstruction {
|
|
|
1008
1025
|
IncreaseTunaLpPositionFusion = 17,
|
|
1009
1026
|
IncreaseTunaLpPositionOrca = 18,
|
|
1010
1027
|
LiquidateTunaLpPositionFusion = 19,
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1028
|
+
LiquidateTunaLpPositionFusionJupiter = 20,
|
|
1029
|
+
LiquidateTunaLpPositionOrca = 21,
|
|
1030
|
+
LiquidateTunaSpotPositionFusion = 22,
|
|
1031
|
+
LiquidateTunaSpotPositionJupiter = 23,
|
|
1032
|
+
LiquidateTunaSpotPositionOrca = 24,
|
|
1033
|
+
LockLpPositionFusion = 25,
|
|
1034
|
+
ModifyTunaSpotPositionFusion = 26,
|
|
1035
|
+
ModifyTunaSpotPositionJupiter = 27,
|
|
1036
|
+
ModifyTunaSpotPositionOrca = 28,
|
|
1037
|
+
OpenAndIncreaseTunaLpPositionFusion = 29,
|
|
1038
|
+
OpenAndIncreaseTunaLpPositionOrca = 30,
|
|
1039
|
+
OpenLendingPosition = 31,
|
|
1040
|
+
OpenLendingPositionV2 = 32,
|
|
1041
|
+
OpenTunaLpPositionFusion = 33,
|
|
1042
|
+
OpenTunaLpPositionOrca = 34,
|
|
1043
|
+
OpenTunaSpotPosition = 35,
|
|
1044
|
+
RebalanceTunaLpPositionFusion = 36,
|
|
1045
|
+
RebalanceTunaLpPositionOrca = 37,
|
|
1046
|
+
RepayBadDebt = 38,
|
|
1047
|
+
RepayTunaLpPositionDebt = 39,
|
|
1048
|
+
ResetMarketBadDebt = 40,
|
|
1049
|
+
ResetTunaSpotPosition = 41,
|
|
1050
|
+
SetAdminAuthority = 42,
|
|
1051
|
+
SetDefaultLiquidationFeeRate = 43,
|
|
1052
|
+
SetDefaultMaxPercentageOfLeftovers = 44,
|
|
1053
|
+
SetDefaultMaxSwapSlippage = 45,
|
|
1054
|
+
SetDefaultOraclePriceDeviationThreshold = 46,
|
|
1055
|
+
SetDefaultProtocolFeeRate = 47,
|
|
1056
|
+
SetDefaultRebalanceFeeRate = 48,
|
|
1057
|
+
SetFeeRecipient = 49,
|
|
1058
|
+
SetLiquidatorAuthority = 50,
|
|
1059
|
+
SetOraclePriceUpdateAuthority = 51,
|
|
1060
|
+
SetOwnerAuthority = 52,
|
|
1061
|
+
SetSuspendedState = 53,
|
|
1062
|
+
SetTunaLpPositionFlags = 54,
|
|
1063
|
+
SetTunaLpPositionLimitOrders = 55,
|
|
1064
|
+
SetTunaLpPositionRebalanceThreshold = 56,
|
|
1065
|
+
SetTunaSpotPositionLimitOrders = 57,
|
|
1066
|
+
UpdateMarket = 58,
|
|
1067
|
+
UpdateOraclePrice = 59,
|
|
1068
|
+
UpdateVault = 60,
|
|
1069
|
+
Withdraw = 61
|
|
1051
1070
|
}
|
|
1052
1071
|
declare function identifyTunaInstruction(instruction: {
|
|
1053
1072
|
data: ReadonlyUint8Array;
|
|
@@ -1093,6 +1112,8 @@ type ParsedTunaInstruction<TProgram extends string = 'tuna4uSQZncNeeiAMKbstuxA9C
|
|
|
1093
1112
|
} & ParsedIncreaseTunaLpPositionOrcaInstruction<TProgram>) | ({
|
|
1094
1113
|
instructionType: TunaInstruction.LiquidateTunaLpPositionFusion;
|
|
1095
1114
|
} & ParsedLiquidateTunaLpPositionFusionInstruction<TProgram>) | ({
|
|
1115
|
+
instructionType: TunaInstruction.LiquidateTunaLpPositionFusionJupiter;
|
|
1116
|
+
} & ParsedLiquidateTunaLpPositionFusionJupiterInstruction<TProgram>) | ({
|
|
1096
1117
|
instructionType: TunaInstruction.LiquidateTunaLpPositionOrca;
|
|
1097
1118
|
} & ParsedLiquidateTunaLpPositionOrcaInstruction<TProgram>) | ({
|
|
1098
1119
|
instructionType: TunaInstruction.LiquidateTunaSpotPositionFusion;
|
|
@@ -1101,6 +1122,8 @@ type ParsedTunaInstruction<TProgram extends string = 'tuna4uSQZncNeeiAMKbstuxA9C
|
|
|
1101
1122
|
} & ParsedLiquidateTunaSpotPositionJupiterInstruction<TProgram>) | ({
|
|
1102
1123
|
instructionType: TunaInstruction.LiquidateTunaSpotPositionOrca;
|
|
1103
1124
|
} & ParsedLiquidateTunaSpotPositionOrcaInstruction<TProgram>) | ({
|
|
1125
|
+
instructionType: TunaInstruction.LockLpPositionFusion;
|
|
1126
|
+
} & ParsedLockLpPositionFusionInstruction<TProgram>) | ({
|
|
1104
1127
|
instructionType: TunaInstruction.ModifyTunaSpotPositionFusion;
|
|
1105
1128
|
} & ParsedModifyTunaSpotPositionFusionInstruction<TProgram>) | ({
|
|
1106
1129
|
instructionType: TunaInstruction.ModifyTunaSpotPositionJupiter;
|
|
@@ -3242,6 +3265,173 @@ type ParsedLiquidateTunaLpPositionFusionInstruction<TProgram extends string = ty
|
|
|
3242
3265
|
};
|
|
3243
3266
|
declare function parseLiquidateTunaLpPositionFusionInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedLiquidateTunaLpPositionFusionInstruction<TProgram, TAccountMetas>;
|
|
3244
3267
|
|
|
3268
|
+
/**
|
|
3269
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3270
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
3271
|
+
* to add features, then rerun codama to update it.
|
|
3272
|
+
*
|
|
3273
|
+
* @see https://github.com/codama-idl/codama
|
|
3274
|
+
*/
|
|
3275
|
+
|
|
3276
|
+
declare const LIQUIDATE_TUNA_LP_POSITION_FUSION_JUPITER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3277
|
+
declare function getLiquidateTunaLpPositionFusionJupiterDiscriminatorBytes(): ReadonlyUint8Array;
|
|
3278
|
+
type LiquidateTunaLpPositionFusionJupiterInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountAuthority extends string | IAccountMeta<string> = string, TAccountTunaConfig extends string | IAccountMeta<string> = string, TAccountMintA extends string | IAccountMeta<string> = string, TAccountMintB extends string | IAccountMeta<string> = string, TAccountTokenProgramA extends string | IAccountMeta<string> = string, TAccountTokenProgramB extends string | IAccountMeta<string> = string, TAccountMarket extends string | IAccountMeta<string> = string, TAccountVaultA extends string | IAccountMeta<string> = string, TAccountVaultB extends string | IAccountMeta<string> = string, TAccountVaultAAta extends string | IAccountMeta<string> = string, TAccountVaultBAta extends string | IAccountMeta<string> = string, TAccountTunaPosition extends string | IAccountMeta<string> = string, TAccountTunaPositionAta extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaA extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaB extends string | IAccountMeta<string> = string, TAccountFeeRecipientAtaA extends string | IAccountMeta<string> = string, TAccountFeeRecipientAtaB extends string | IAccountMeta<string> = string, TAccountOraclePriceUpdateA extends string | IAccountMeta<string> = string, TAccountOraclePriceUpdateB extends string | IAccountMeta<string> = string, TAccountFusionammProgram extends string | IAccountMeta<string> = string, TAccountFusionPool extends string | IAccountMeta<string> = string, TAccountFusionPosition extends string | IAccountMeta<string> = string, TAccountJupiterProgram extends string | IAccountMeta<string> = string, TAccountJupiterEventAuthority extends string | IAccountMeta<string> = string, TAccountJupiterProgramAuthority extends string | IAccountMeta<string> = string, TAccountTokenProgram extends string | IAccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountMemoProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
3279
|
+
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & IAccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
3280
|
+
TAccountTunaConfig extends string ? ReadonlyAccount<TAccountTunaConfig> : TAccountTunaConfig,
|
|
3281
|
+
TAccountMintA extends string ? ReadonlyAccount<TAccountMintA> : TAccountMintA,
|
|
3282
|
+
TAccountMintB extends string ? ReadonlyAccount<TAccountMintB> : TAccountMintB,
|
|
3283
|
+
TAccountTokenProgramA extends string ? ReadonlyAccount<TAccountTokenProgramA> : TAccountTokenProgramA,
|
|
3284
|
+
TAccountTokenProgramB extends string ? ReadonlyAccount<TAccountTokenProgramB> : TAccountTokenProgramB,
|
|
3285
|
+
TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
|
|
3286
|
+
TAccountVaultA extends string ? WritableAccount<TAccountVaultA> : TAccountVaultA,
|
|
3287
|
+
TAccountVaultB extends string ? WritableAccount<TAccountVaultB> : TAccountVaultB,
|
|
3288
|
+
TAccountVaultAAta extends string ? WritableAccount<TAccountVaultAAta> : TAccountVaultAAta,
|
|
3289
|
+
TAccountVaultBAta extends string ? WritableAccount<TAccountVaultBAta> : TAccountVaultBAta,
|
|
3290
|
+
TAccountTunaPosition extends string ? WritableAccount<TAccountTunaPosition> : TAccountTunaPosition,
|
|
3291
|
+
TAccountTunaPositionAta extends string ? WritableAccount<TAccountTunaPositionAta> : TAccountTunaPositionAta,
|
|
3292
|
+
TAccountTunaPositionAtaA extends string ? WritableAccount<TAccountTunaPositionAtaA> : TAccountTunaPositionAtaA,
|
|
3293
|
+
TAccountTunaPositionAtaB extends string ? WritableAccount<TAccountTunaPositionAtaB> : TAccountTunaPositionAtaB,
|
|
3294
|
+
TAccountFeeRecipientAtaA extends string ? WritableAccount<TAccountFeeRecipientAtaA> : TAccountFeeRecipientAtaA,
|
|
3295
|
+
TAccountFeeRecipientAtaB extends string ? WritableAccount<TAccountFeeRecipientAtaB> : TAccountFeeRecipientAtaB,
|
|
3296
|
+
TAccountOraclePriceUpdateA extends string ? ReadonlyAccount<TAccountOraclePriceUpdateA> : TAccountOraclePriceUpdateA,
|
|
3297
|
+
TAccountOraclePriceUpdateB extends string ? ReadonlyAccount<TAccountOraclePriceUpdateB> : TAccountOraclePriceUpdateB,
|
|
3298
|
+
TAccountFusionammProgram extends string ? ReadonlyAccount<TAccountFusionammProgram> : TAccountFusionammProgram,
|
|
3299
|
+
TAccountFusionPool extends string ? WritableAccount<TAccountFusionPool> : TAccountFusionPool,
|
|
3300
|
+
TAccountFusionPosition extends string ? WritableAccount<TAccountFusionPosition> : TAccountFusionPosition,
|
|
3301
|
+
TAccountJupiterProgram extends string ? ReadonlyAccount<TAccountJupiterProgram> : TAccountJupiterProgram,
|
|
3302
|
+
TAccountJupiterEventAuthority extends string ? ReadonlyAccount<TAccountJupiterEventAuthority> : TAccountJupiterEventAuthority,
|
|
3303
|
+
TAccountJupiterProgramAuthority extends string ? ReadonlyAccount<TAccountJupiterProgramAuthority> : TAccountJupiterProgramAuthority,
|
|
3304
|
+
TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
|
|
3305
|
+
TAccountMemoProgram extends string ? ReadonlyAccount<TAccountMemoProgram> : TAccountMemoProgram,
|
|
3306
|
+
...TRemainingAccounts
|
|
3307
|
+
]>;
|
|
3308
|
+
type LiquidateTunaLpPositionFusionJupiterInstructionData = {
|
|
3309
|
+
discriminator: ReadonlyUint8Array;
|
|
3310
|
+
decreasePercent: number;
|
|
3311
|
+
routeData: ReadonlyUint8Array;
|
|
3312
|
+
aToB: boolean;
|
|
3313
|
+
remainingAccountsInfo: RemainingAccountsInfo;
|
|
3314
|
+
};
|
|
3315
|
+
type LiquidateTunaLpPositionFusionJupiterInstructionDataArgs = {
|
|
3316
|
+
decreasePercent: number;
|
|
3317
|
+
routeData: ReadonlyUint8Array;
|
|
3318
|
+
aToB: boolean;
|
|
3319
|
+
remainingAccountsInfo: RemainingAccountsInfoArgs;
|
|
3320
|
+
};
|
|
3321
|
+
declare function getLiquidateTunaLpPositionFusionJupiterInstructionDataEncoder(): Encoder<LiquidateTunaLpPositionFusionJupiterInstructionDataArgs>;
|
|
3322
|
+
declare function getLiquidateTunaLpPositionFusionJupiterInstructionDataDecoder(): Decoder<LiquidateTunaLpPositionFusionJupiterInstructionData>;
|
|
3323
|
+
declare function getLiquidateTunaLpPositionFusionJupiterInstructionDataCodec(): Codec<LiquidateTunaLpPositionFusionJupiterInstructionDataArgs, LiquidateTunaLpPositionFusionJupiterInstructionData>;
|
|
3324
|
+
type LiquidateTunaLpPositionFusionJupiterInput<TAccountAuthority extends string = string, TAccountTunaConfig extends string = string, TAccountMintA extends string = string, TAccountMintB extends string = string, TAccountTokenProgramA extends string = string, TAccountTokenProgramB extends string = string, TAccountMarket extends string = string, TAccountVaultA extends string = string, TAccountVaultB extends string = string, TAccountVaultAAta extends string = string, TAccountVaultBAta extends string = string, TAccountTunaPosition extends string = string, TAccountTunaPositionAta extends string = string, TAccountTunaPositionAtaA extends string = string, TAccountTunaPositionAtaB extends string = string, TAccountFeeRecipientAtaA extends string = string, TAccountFeeRecipientAtaB extends string = string, TAccountOraclePriceUpdateA extends string = string, TAccountOraclePriceUpdateB extends string = string, TAccountFusionammProgram extends string = string, TAccountFusionPool extends string = string, TAccountFusionPosition extends string = string, TAccountJupiterProgram extends string = string, TAccountJupiterEventAuthority extends string = string, TAccountJupiterProgramAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountMemoProgram extends string = string> = {
|
|
3325
|
+
/**
|
|
3326
|
+
*
|
|
3327
|
+
* TUNA accounts
|
|
3328
|
+
*
|
|
3329
|
+
*/
|
|
3330
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
3331
|
+
tunaConfig: Address<TAccountTunaConfig>;
|
|
3332
|
+
mintA: Address<TAccountMintA>;
|
|
3333
|
+
mintB: Address<TAccountMintB>;
|
|
3334
|
+
tokenProgramA: Address<TAccountTokenProgramA>;
|
|
3335
|
+
tokenProgramB: Address<TAccountTokenProgramB>;
|
|
3336
|
+
market: Address<TAccountMarket>;
|
|
3337
|
+
vaultA: Address<TAccountVaultA>;
|
|
3338
|
+
vaultB: Address<TAccountVaultB>;
|
|
3339
|
+
vaultAAta: Address<TAccountVaultAAta>;
|
|
3340
|
+
vaultBAta: Address<TAccountVaultBAta>;
|
|
3341
|
+
tunaPosition: Address<TAccountTunaPosition>;
|
|
3342
|
+
tunaPositionAta: Address<TAccountTunaPositionAta>;
|
|
3343
|
+
tunaPositionAtaA: Address<TAccountTunaPositionAtaA>;
|
|
3344
|
+
tunaPositionAtaB: Address<TAccountTunaPositionAtaB>;
|
|
3345
|
+
feeRecipientAtaA: Address<TAccountFeeRecipientAtaA>;
|
|
3346
|
+
feeRecipientAtaB: Address<TAccountFeeRecipientAtaB>;
|
|
3347
|
+
oraclePriceUpdateA: Address<TAccountOraclePriceUpdateA>;
|
|
3348
|
+
oraclePriceUpdateB: Address<TAccountOraclePriceUpdateB>;
|
|
3349
|
+
/**
|
|
3350
|
+
*
|
|
3351
|
+
* Fusion accounts
|
|
3352
|
+
*
|
|
3353
|
+
*/
|
|
3354
|
+
fusionammProgram: Address<TAccountFusionammProgram>;
|
|
3355
|
+
fusionPool: Address<TAccountFusionPool>;
|
|
3356
|
+
fusionPosition: Address<TAccountFusionPosition>;
|
|
3357
|
+
/**
|
|
3358
|
+
*
|
|
3359
|
+
* Jupiter accounts
|
|
3360
|
+
*
|
|
3361
|
+
*/
|
|
3362
|
+
jupiterProgram: Address<TAccountJupiterProgram>;
|
|
3363
|
+
jupiterEventAuthority: Address<TAccountJupiterEventAuthority>;
|
|
3364
|
+
jupiterProgramAuthority: Address<TAccountJupiterProgramAuthority>;
|
|
3365
|
+
/**
|
|
3366
|
+
*
|
|
3367
|
+
* Other accounts
|
|
3368
|
+
*
|
|
3369
|
+
*/
|
|
3370
|
+
tokenProgram?: Address<TAccountTokenProgram>;
|
|
3371
|
+
memoProgram: Address<TAccountMemoProgram>;
|
|
3372
|
+
decreasePercent: LiquidateTunaLpPositionFusionJupiterInstructionDataArgs['decreasePercent'];
|
|
3373
|
+
routeData: LiquidateTunaLpPositionFusionJupiterInstructionDataArgs['routeData'];
|
|
3374
|
+
aToB: LiquidateTunaLpPositionFusionJupiterInstructionDataArgs['aToB'];
|
|
3375
|
+
remainingAccountsInfo: LiquidateTunaLpPositionFusionJupiterInstructionDataArgs['remainingAccountsInfo'];
|
|
3376
|
+
};
|
|
3377
|
+
declare function getLiquidateTunaLpPositionFusionJupiterInstruction<TAccountAuthority extends string, TAccountTunaConfig extends string, TAccountMintA extends string, TAccountMintB extends string, TAccountTokenProgramA extends string, TAccountTokenProgramB extends string, TAccountMarket extends string, TAccountVaultA extends string, TAccountVaultB extends string, TAccountVaultAAta extends string, TAccountVaultBAta extends string, TAccountTunaPosition extends string, TAccountTunaPositionAta extends string, TAccountTunaPositionAtaA extends string, TAccountTunaPositionAtaB extends string, TAccountFeeRecipientAtaA extends string, TAccountFeeRecipientAtaB extends string, TAccountOraclePriceUpdateA extends string, TAccountOraclePriceUpdateB extends string, TAccountFusionammProgram extends string, TAccountFusionPool extends string, TAccountFusionPosition extends string, TAccountJupiterProgram extends string, TAccountJupiterEventAuthority extends string, TAccountJupiterProgramAuthority extends string, TAccountTokenProgram extends string, TAccountMemoProgram extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: LiquidateTunaLpPositionFusionJupiterInput<TAccountAuthority, TAccountTunaConfig, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMarket, TAccountVaultA, TAccountVaultB, TAccountVaultAAta, TAccountVaultBAta, TAccountTunaPosition, TAccountTunaPositionAta, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountFeeRecipientAtaA, TAccountFeeRecipientAtaB, TAccountOraclePriceUpdateA, TAccountOraclePriceUpdateB, TAccountFusionammProgram, TAccountFusionPool, TAccountFusionPosition, TAccountJupiterProgram, TAccountJupiterEventAuthority, TAccountJupiterProgramAuthority, TAccountTokenProgram, TAccountMemoProgram>, config?: {
|
|
3378
|
+
programAddress?: TProgramAddress;
|
|
3379
|
+
}): LiquidateTunaLpPositionFusionJupiterInstruction<TProgramAddress, TAccountAuthority, TAccountTunaConfig, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMarket, TAccountVaultA, TAccountVaultB, TAccountVaultAAta, TAccountVaultBAta, TAccountTunaPosition, TAccountTunaPositionAta, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountFeeRecipientAtaA, TAccountFeeRecipientAtaB, TAccountOraclePriceUpdateA, TAccountOraclePriceUpdateB, TAccountFusionammProgram, TAccountFusionPool, TAccountFusionPosition, TAccountJupiterProgram, TAccountJupiterEventAuthority, TAccountJupiterProgramAuthority, TAccountTokenProgram, TAccountMemoProgram>;
|
|
3380
|
+
type ParsedLiquidateTunaLpPositionFusionJupiterInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
3381
|
+
programAddress: Address<TProgram>;
|
|
3382
|
+
accounts: {
|
|
3383
|
+
/**
|
|
3384
|
+
*
|
|
3385
|
+
* TUNA accounts
|
|
3386
|
+
*
|
|
3387
|
+
*/
|
|
3388
|
+
authority: TAccountMetas[0];
|
|
3389
|
+
tunaConfig: TAccountMetas[1];
|
|
3390
|
+
mintA: TAccountMetas[2];
|
|
3391
|
+
mintB: TAccountMetas[3];
|
|
3392
|
+
tokenProgramA: TAccountMetas[4];
|
|
3393
|
+
tokenProgramB: TAccountMetas[5];
|
|
3394
|
+
market: TAccountMetas[6];
|
|
3395
|
+
vaultA: TAccountMetas[7];
|
|
3396
|
+
vaultB: TAccountMetas[8];
|
|
3397
|
+
vaultAAta: TAccountMetas[9];
|
|
3398
|
+
vaultBAta: TAccountMetas[10];
|
|
3399
|
+
tunaPosition: TAccountMetas[11];
|
|
3400
|
+
tunaPositionAta: TAccountMetas[12];
|
|
3401
|
+
tunaPositionAtaA: TAccountMetas[13];
|
|
3402
|
+
tunaPositionAtaB: TAccountMetas[14];
|
|
3403
|
+
feeRecipientAtaA: TAccountMetas[15];
|
|
3404
|
+
feeRecipientAtaB: TAccountMetas[16];
|
|
3405
|
+
oraclePriceUpdateA: TAccountMetas[17];
|
|
3406
|
+
oraclePriceUpdateB: TAccountMetas[18];
|
|
3407
|
+
/**
|
|
3408
|
+
*
|
|
3409
|
+
* Fusion accounts
|
|
3410
|
+
*
|
|
3411
|
+
*/
|
|
3412
|
+
fusionammProgram: TAccountMetas[19];
|
|
3413
|
+
fusionPool: TAccountMetas[20];
|
|
3414
|
+
fusionPosition: TAccountMetas[21];
|
|
3415
|
+
/**
|
|
3416
|
+
*
|
|
3417
|
+
* Jupiter accounts
|
|
3418
|
+
*
|
|
3419
|
+
*/
|
|
3420
|
+
jupiterProgram: TAccountMetas[22];
|
|
3421
|
+
jupiterEventAuthority: TAccountMetas[23];
|
|
3422
|
+
jupiterProgramAuthority: TAccountMetas[24];
|
|
3423
|
+
/**
|
|
3424
|
+
*
|
|
3425
|
+
* Other accounts
|
|
3426
|
+
*
|
|
3427
|
+
*/
|
|
3428
|
+
tokenProgram: TAccountMetas[25];
|
|
3429
|
+
memoProgram: TAccountMetas[26];
|
|
3430
|
+
};
|
|
3431
|
+
data: LiquidateTunaLpPositionFusionJupiterInstructionData;
|
|
3432
|
+
};
|
|
3433
|
+
declare function parseLiquidateTunaLpPositionFusionJupiterInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedLiquidateTunaLpPositionFusionJupiterInstruction<TProgram, TAccountMetas>;
|
|
3434
|
+
|
|
3245
3435
|
/**
|
|
3246
3436
|
* This code was AUTOGENERATED using the codama library.
|
|
3247
3437
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -3815,6 +4005,90 @@ type ParsedLiquidateTunaSpotPositionOrcaInstruction<TProgram extends string = ty
|
|
|
3815
4005
|
};
|
|
3816
4006
|
declare function parseLiquidateTunaSpotPositionOrcaInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedLiquidateTunaSpotPositionOrcaInstruction<TProgram, TAccountMetas>;
|
|
3817
4007
|
|
|
4008
|
+
/**
|
|
4009
|
+
* This code was AUTOGENERATED using the codama library.
|
|
4010
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4011
|
+
* to add features, then rerun codama to update it.
|
|
4012
|
+
*
|
|
4013
|
+
* @see https://github.com/codama-idl/codama
|
|
4014
|
+
*/
|
|
4015
|
+
|
|
4016
|
+
declare const LOCK_LP_POSITION_FUSION_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
4017
|
+
declare function getLockLpPositionFusionDiscriminatorBytes(): ReadonlyUint8Array;
|
|
4018
|
+
type LockLpPositionFusionInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountAuthority extends string | IAccountMeta<string> = string, TAccountTunaPosition extends string | IAccountMeta<string> = string, TAccountTunaPositionAta extends string | IAccountMeta<string> = string, TAccountTunaPositionMint extends string | IAccountMeta<string> = string, TAccountFusionammProgram extends string | IAccountMeta<string> = string, TAccountFusionPool extends string | IAccountMeta<string> = string, TAccountPositionLock extends string | IAccountMeta<string> = string, TAccountToken2022Program extends string | IAccountMeta<string> = string, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
4019
|
+
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & IAccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
4020
|
+
TAccountTunaPosition extends string ? WritableAccount<TAccountTunaPosition> : TAccountTunaPosition,
|
|
4021
|
+
TAccountTunaPositionAta extends string ? WritableAccount<TAccountTunaPositionAta> : TAccountTunaPositionAta,
|
|
4022
|
+
TAccountTunaPositionMint extends string ? WritableAccount<TAccountTunaPositionMint> : TAccountTunaPositionMint,
|
|
4023
|
+
TAccountFusionammProgram extends string ? ReadonlyAccount<TAccountFusionammProgram> : TAccountFusionammProgram,
|
|
4024
|
+
TAccountFusionPool extends string ? WritableAccount<TAccountFusionPool> : TAccountFusionPool,
|
|
4025
|
+
TAccountPositionLock extends string ? WritableAccount<TAccountPositionLock> : TAccountPositionLock,
|
|
4026
|
+
TAccountToken2022Program extends string ? ReadonlyAccount<TAccountToken2022Program> : TAccountToken2022Program,
|
|
4027
|
+
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
4028
|
+
...TRemainingAccounts
|
|
4029
|
+
]>;
|
|
4030
|
+
type LockLpPositionFusionInstructionData = {
|
|
4031
|
+
discriminator: ReadonlyUint8Array;
|
|
4032
|
+
lockType: PositionLockType;
|
|
4033
|
+
};
|
|
4034
|
+
type LockLpPositionFusionInstructionDataArgs = {
|
|
4035
|
+
lockType: PositionLockTypeArgs;
|
|
4036
|
+
};
|
|
4037
|
+
declare function getLockLpPositionFusionInstructionDataEncoder(): Encoder<LockLpPositionFusionInstructionDataArgs>;
|
|
4038
|
+
declare function getLockLpPositionFusionInstructionDataDecoder(): Decoder<LockLpPositionFusionInstructionData>;
|
|
4039
|
+
declare function getLockLpPositionFusionInstructionDataCodec(): Codec<LockLpPositionFusionInstructionDataArgs, LockLpPositionFusionInstructionData>;
|
|
4040
|
+
type LockLpPositionFusionInput<TAccountAuthority extends string = string, TAccountTunaPosition extends string = string, TAccountTunaPositionAta extends string = string, TAccountTunaPositionMint extends string = string, TAccountFusionammProgram extends string = string, TAccountFusionPool extends string = string, TAccountPositionLock extends string = string, TAccountToken2022Program extends string = string, TAccountSystemProgram extends string = string> = {
|
|
4041
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
4042
|
+
tunaPosition: Address<TAccountTunaPosition>;
|
|
4043
|
+
tunaPositionAta: Address<TAccountTunaPositionAta>;
|
|
4044
|
+
tunaPositionMint: Address<TAccountTunaPositionMint>;
|
|
4045
|
+
/**
|
|
4046
|
+
*
|
|
4047
|
+
* Fusion accounts
|
|
4048
|
+
*
|
|
4049
|
+
*/
|
|
4050
|
+
fusionammProgram: Address<TAccountFusionammProgram>;
|
|
4051
|
+
fusionPool: Address<TAccountFusionPool>;
|
|
4052
|
+
positionLock: Address<TAccountPositionLock>;
|
|
4053
|
+
/**
|
|
4054
|
+
*
|
|
4055
|
+
* Other accounts
|
|
4056
|
+
*
|
|
4057
|
+
*/
|
|
4058
|
+
token2022Program: Address<TAccountToken2022Program>;
|
|
4059
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
4060
|
+
lockType: LockLpPositionFusionInstructionDataArgs['lockType'];
|
|
4061
|
+
};
|
|
4062
|
+
declare function getLockLpPositionFusionInstruction<TAccountAuthority extends string, TAccountTunaPosition extends string, TAccountTunaPositionAta extends string, TAccountTunaPositionMint extends string, TAccountFusionammProgram extends string, TAccountFusionPool extends string, TAccountPositionLock extends string, TAccountToken2022Program extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: LockLpPositionFusionInput<TAccountAuthority, TAccountTunaPosition, TAccountTunaPositionAta, TAccountTunaPositionMint, TAccountFusionammProgram, TAccountFusionPool, TAccountPositionLock, TAccountToken2022Program, TAccountSystemProgram>, config?: {
|
|
4063
|
+
programAddress?: TProgramAddress;
|
|
4064
|
+
}): LockLpPositionFusionInstruction<TProgramAddress, TAccountAuthority, TAccountTunaPosition, TAccountTunaPositionAta, TAccountTunaPositionMint, TAccountFusionammProgram, TAccountFusionPool, TAccountPositionLock, TAccountToken2022Program, TAccountSystemProgram>;
|
|
4065
|
+
type ParsedLockLpPositionFusionInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
4066
|
+
programAddress: Address<TProgram>;
|
|
4067
|
+
accounts: {
|
|
4068
|
+
authority: TAccountMetas[0];
|
|
4069
|
+
tunaPosition: TAccountMetas[1];
|
|
4070
|
+
tunaPositionAta: TAccountMetas[2];
|
|
4071
|
+
tunaPositionMint: TAccountMetas[3];
|
|
4072
|
+
/**
|
|
4073
|
+
*
|
|
4074
|
+
* Fusion accounts
|
|
4075
|
+
*
|
|
4076
|
+
*/
|
|
4077
|
+
fusionammProgram: TAccountMetas[4];
|
|
4078
|
+
fusionPool: TAccountMetas[5];
|
|
4079
|
+
positionLock: TAccountMetas[6];
|
|
4080
|
+
/**
|
|
4081
|
+
*
|
|
4082
|
+
* Other accounts
|
|
4083
|
+
*
|
|
4084
|
+
*/
|
|
4085
|
+
token2022Program: TAccountMetas[7];
|
|
4086
|
+
systemProgram: TAccountMetas[8];
|
|
4087
|
+
};
|
|
4088
|
+
data: LockLpPositionFusionInstructionData;
|
|
4089
|
+
};
|
|
4090
|
+
declare function parseLockLpPositionFusionInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedLockLpPositionFusionInstruction<TProgram, TAccountMetas>;
|
|
4091
|
+
|
|
3818
4092
|
/**
|
|
3819
4093
|
* This code was AUTOGENERATED using the codama library.
|
|
3820
4094
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -6761,6 +7035,10 @@ declare function liquidateTunaLpPositionOrcaInstruction(authority: TransactionSi
|
|
|
6761
7035
|
declare function liquidateTunaLpPositionFusionInstructions(authority: TransactionSigner, tunaPosition: Account<TunaLpPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, whirlpool: Account<FusionPool>, decreasePercent: number): Promise<IInstruction[]>;
|
|
6762
7036
|
declare function liquidateTunaLpPositionFusionInstruction(authority: TransactionSigner, tunaPosition: Account<TunaLpPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, decreasePercent: number): Promise<IInstruction>;
|
|
6763
7037
|
|
|
7038
|
+
type LiquidateTunaLpPositionFusionJupiterInstructionsArgs = Omit<LiquidateTunaLpPositionFusionJupiterInstructionDataArgs, "remainingAccountsInfo">;
|
|
7039
|
+
declare function liquidateTunaLpPositionFusionJupiterInstructions(authority: TransactionSigner, tunaPosition: Account<TunaLpPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, routeAccounts: IAccountMeta[], args: LiquidateTunaLpPositionFusionJupiterInstructionsArgs): Promise<IInstruction[]>;
|
|
7040
|
+
declare function liquidateTunaLpPositionFusionJupiterInstruction(authority: TransactionSigner, tunaPosition: Account<TunaLpPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, routeAccounts: IAccountMeta[], args: LiquidateTunaLpPositionFusionJupiterInstructionsArgs): Promise<IInstruction>;
|
|
7041
|
+
|
|
6764
7042
|
declare function liquidateTunaSpotPositionFusionInstructions(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, decreasePercent: number): Promise<IInstruction[]>;
|
|
6765
7043
|
declare function liquidateTunaSpotPositionFusionInstruction(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, decreasePercent: number): Promise<IInstruction>;
|
|
6766
7044
|
|
|
@@ -6770,6 +7048,8 @@ declare function liquidateTunaSpotPositionJupiterInstruction(authority: Transact
|
|
|
6770
7048
|
declare function liquidateTunaSpotPositionOrcaInstructions(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, whirlpool: Account<Whirlpool>, decreasePercent: number): Promise<IInstruction[]>;
|
|
6771
7049
|
declare function liquidateTunaSpotPositionOrcaInstruction(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, whirlpool: Account<Whirlpool>, decreasePercent: number): Promise<IInstruction>;
|
|
6772
7050
|
|
|
7051
|
+
declare function lockTunaLpPositionFusionInstruction(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, tunaPositionMint: Address, lockType: PositionLockType$1): Promise<IInstruction>;
|
|
7052
|
+
|
|
6773
7053
|
declare function openTunaLpPositionOrcaInstruction(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, positionMint: TransactionSigner | Address, whirlpoolAddress: Address, args: OpenTunaLpPositionOrcaInstructionDataArgs): Promise<IInstruction>;
|
|
6774
7054
|
type OpenTunaLpPositionOrcaInputWithEphemeralSigner<TAccountTunaPositionMint extends string = string> = Omit<OpenTunaLpPositionOrcaInput, "tunaPositionMint"> & {
|
|
6775
7055
|
tunaPositionMint: Address<TAccountTunaPositionMint>;
|
|
@@ -6887,4 +7167,4 @@ declare const JUPITER_PROGRAM_AUTHORITY: _solana_kit.Address<"9nnLbotNTcUhvbrsA6
|
|
|
6887
7167
|
declare const MIN_SQRT_PRICE = 4295048016n;
|
|
6888
7168
|
declare const MAX_SQRT_PRICE = 79226673515401279992447579055n;
|
|
6889
7169
|
|
|
6890
|
-
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_PERMISSIONLESS_DISCRIMINATOR, CREATE_PRICE_UPDATE_DISCRIMINATOR, CREATE_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, CREATE_VAULT_PERMISSIONLESS_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 CreateMarketPermissionlessInput, type CreateMarketPermissionlessInstruction, type CreateMarketPermissionlessInstructionData, type CreateMarketPermissionlessInstructionDataArgs, type CreatePriceUpdateInput, type CreatePriceUpdateInstruction, type CreatePriceUpdateInstructionData, type CreatePriceUpdateInstructionDataArgs, type CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, type CreateVaultPermissionlessInput, type CreateVaultPermissionlessInstruction, type CreateVaultPermissionlessInstructionData, type CreateVaultPermissionlessInstructionDataArgs, 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, type OraclePriceUpdate, type OraclePriceUpdateArgs, OrcaUtils, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateMarketPermissionlessInstruction, type ParsedCreatePriceUpdateInstruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedCreateVaultPermissionlessInstruction, 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 ParsedResetMarketBadDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultLiquidationFeeRateInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetDefaultProtocolFeeRateInstruction, type ParsedSetDefaultRebalanceFeeRateInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOraclePriceUpdateAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateOraclePriceInstruction, 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_MARKET_BAD_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 ResetMarketBadDebtInput, type ResetMarketBadDebtInstruction, type ResetMarketBadDebtInstructionData, type ResetMarketBadDebtInstructionDataArgs, 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_ORACLE_PRICE_UPDATE_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 SetOraclePriceUpdateAuthorityInput, type SetOraclePriceUpdateAuthorityInstruction, type SetOraclePriceUpdateAuthorityInstructionData, type SetOraclePriceUpdateAuthorityInstructionDataArgs, 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_PRICE_UPDATE_ACCOUNT, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, 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__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__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__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__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_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, 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_PRICE_UPDATE_DISCRIMINATOR, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaPriceUpdate, type TunaPriceUpdateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_ORACLE_PRICE_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateOraclePriceInput, type UpdateOraclePriceInstruction, type UpdateOraclePriceInstructionData, type UpdateOraclePriceInstructionDataArgs, 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, createMarketPermissionlessInstruction, createTunaConfigInstruction, createVaultInstructions, createVaultPermissionlessInstructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaPriceUpdate, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaPriceUpdate, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaPriceUpdate, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaPriceUpdate, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaPriceUpdate, 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, getCreateMarketPermissionlessDiscriminatorBytes, getCreateMarketPermissionlessInstruction, getCreateMarketPermissionlessInstructionDataCodec, getCreateMarketPermissionlessInstructionDataDecoder, getCreateMarketPermissionlessInstructionDataEncoder, getCreatePriceUpdateDiscriminatorBytes, getCreatePriceUpdateInstruction, getCreatePriceUpdateInstructionDataCodec, getCreatePriceUpdateInstructionDataDecoder, getCreatePriceUpdateInstructionDataEncoder, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getCreateVaultPermissionlessDiscriminatorBytes, getCreateVaultPermissionlessInstruction, getCreateVaultPermissionlessInstructionDataCodec, getCreateVaultPermissionlessInstructionDataDecoder, getCreateVaultPermissionlessInstructionDataEncoder, 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, 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, getOpenAndIncreaseTunaLpPositionFusionInstructionWithEphemeralSigner, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionWithEphemeralSigner, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenLendingPositionV2DiscriminatorBytes, getOpenLendingPositionV2Instruction, getOpenLendingPositionV2InstructionDataCodec, getOpenLendingPositionV2InstructionDataDecoder, getOpenLendingPositionV2InstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionFusionInstructionWithEphemeralSigner, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaLpPositionOrcaInstructionWithEphemeralSigner, getOpenTunaSpotPositionDiscriminatorBytes, getOpenTunaSpotPositionInstruction, getOpenTunaSpotPositionInstructionDataCodec, getOpenTunaSpotPositionInstructionDataDecoder, getOpenTunaSpotPositionInstructionDataEncoder, getOraclePriceUpdateCodec, getOraclePriceUpdateDecoder, getOraclePriceUpdateEncoder, 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, getResetMarketBadDebtDiscriminatorBytes, getResetMarketBadDebtInstruction, getResetMarketBadDebtInstructionDataCodec, getResetMarketBadDebtInstructionDataDecoder, getResetMarketBadDebtInstructionDataEncoder, 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, getSetOraclePriceUpdateAuthorityDiscriminatorBytes, getSetOraclePriceUpdateAuthorityInstruction, getSetOraclePriceUpdateAuthorityInstructionDataCodec, getSetOraclePriceUpdateAuthorityInstructionDataDecoder, getSetOraclePriceUpdateAuthorityInstructionDataEncoder, 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, getTunaPriceUpdateAddress, getTunaPriceUpdateCodec, getTunaPriceUpdateDecoder, getTunaPriceUpdateDiscriminatorBytes, getTunaPriceUpdateEncoder, getTunaPriceUpdateSize, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateOraclePriceDiscriminatorBytes, getUpdateOraclePriceInstruction, getUpdateOraclePriceInstructionDataCodec, getUpdateOraclePriceInstructionDataDecoder, getUpdateOraclePriceInstructionDataEncoder, 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, parseCreateMarketPermissionlessInstruction, parseCreatePriceUpdateInstruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseCreateVaultPermissionlessInstruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionJupiterInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseModifyTunaSpotPositionFusionInstruction, parseModifyTunaSpotPositionJupiterInstruction, parseModifyTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenLendingPositionV2Instruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetMarketBadDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultLiquidationFeeRateInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetDefaultProtocolFeeRateInstruction, parseSetDefaultRebalanceFeeRateInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOraclePriceUpdateAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateOraclePriceInstruction, 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 };
|
|
7170
|
+
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_PERMISSIONLESS_DISCRIMINATOR, CREATE_PRICE_UPDATE_DISCRIMINATOR, CREATE_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, CREATE_VAULT_PERMISSIONLESS_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 CreateMarketPermissionlessInput, type CreateMarketPermissionlessInstruction, type CreateMarketPermissionlessInstructionData, type CreateMarketPermissionlessInstructionDataArgs, type CreatePriceUpdateInput, type CreatePriceUpdateInstruction, type CreatePriceUpdateInstructionData, type CreatePriceUpdateInstructionDataArgs, type CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, type CreateVaultPermissionlessInput, type CreateVaultPermissionlessInstruction, type CreateVaultPermissionlessInstructionData, type CreateVaultPermissionlessInstructionDataArgs, 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_FUSION_JUPITER_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, LOCK_LP_POSITION_FUSION_DISCRIMINATOR, type LendingPosition, type LendingPositionArgs, type LiquidateTunaLpPositionFusionInput, type LiquidateTunaLpPositionFusionInstruction, type LiquidateTunaLpPositionFusionInstructionData, type LiquidateTunaLpPositionFusionInstructionDataArgs, type LiquidateTunaLpPositionFusionJupiterInput, type LiquidateTunaLpPositionFusionJupiterInstruction, type LiquidateTunaLpPositionFusionJupiterInstructionData, type LiquidateTunaLpPositionFusionJupiterInstructionDataArgs, type LiquidateTunaLpPositionFusionJupiterInstructionsArgs, 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, type LockLpPositionFusionInput, type LockLpPositionFusionInstruction, type LockLpPositionFusionInstructionData, type LockLpPositionFusionInstructionDataArgs, 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, type OraclePriceUpdate, type OraclePriceUpdateArgs, OrcaUtils, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateMarketPermissionlessInstruction, type ParsedCreatePriceUpdateInstruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedCreateVaultPermissionlessInstruction, type ParsedDecreaseTunaLpPositionFusionInstruction, type ParsedDecreaseTunaLpPositionOrcaInstruction, type ParsedDepositInstruction, type ParsedIncreaseTunaLpPositionFusionInstruction, type ParsedIncreaseTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaLpPositionFusionInstruction, type ParsedLiquidateTunaLpPositionFusionJupiterInstruction, type ParsedLiquidateTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaSpotPositionFusionInstruction, type ParsedLiquidateTunaSpotPositionJupiterInstruction, type ParsedLiquidateTunaSpotPositionOrcaInstruction, type ParsedLockLpPositionFusionInstruction, 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 ParsedResetMarketBadDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultLiquidationFeeRateInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetDefaultProtocolFeeRateInstruction, type ParsedSetDefaultRebalanceFeeRateInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOraclePriceUpdateAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateOraclePriceInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, PoolToken, type PoolTokenArgs, PositionLockType, type PositionLockTypeArgs, REBALANCE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR, RESET_MARKET_BAD_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 ResetMarketBadDebtInput, type ResetMarketBadDebtInstruction, type ResetMarketBadDebtInstructionData, type ResetMarketBadDebtInstructionDataArgs, 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_ORACLE_PRICE_UPDATE_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 SetOraclePriceUpdateAuthorityInput, type SetOraclePriceUpdateAuthorityInstruction, type SetOraclePriceUpdateAuthorityInstructionData, type SetOraclePriceUpdateAuthorityInstructionDataArgs, 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_PRICE_UPDATE_ACCOUNT, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, 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__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__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__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__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_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, 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_PRICE_UPDATE_DISCRIMINATOR, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaPriceUpdate, type TunaPriceUpdateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_ORACLE_PRICE_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateOraclePriceInput, type UpdateOraclePriceInstruction, type UpdateOraclePriceInstructionData, type UpdateOraclePriceInstructionDataArgs, 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, createMarketPermissionlessInstruction, createTunaConfigInstruction, createVaultInstructions, createVaultPermissionlessInstructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaPriceUpdate, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaPriceUpdate, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaPriceUpdate, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaPriceUpdate, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaPriceUpdate, 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, getCreateMarketPermissionlessDiscriminatorBytes, getCreateMarketPermissionlessInstruction, getCreateMarketPermissionlessInstructionDataCodec, getCreateMarketPermissionlessInstructionDataDecoder, getCreateMarketPermissionlessInstructionDataEncoder, getCreatePriceUpdateDiscriminatorBytes, getCreatePriceUpdateInstruction, getCreatePriceUpdateInstructionDataCodec, getCreatePriceUpdateInstructionDataDecoder, getCreatePriceUpdateInstructionDataEncoder, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getCreateVaultPermissionlessDiscriminatorBytes, getCreateVaultPermissionlessInstruction, getCreateVaultPermissionlessInstructionDataCodec, getCreateVaultPermissionlessInstructionDataDecoder, getCreateVaultPermissionlessInstructionDataEncoder, 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, getLiquidateTunaLpPositionFusionDiscriminatorBytes, getLiquidateTunaLpPositionFusionInstruction, getLiquidateTunaLpPositionFusionInstructionDataCodec, getLiquidateTunaLpPositionFusionInstructionDataDecoder, getLiquidateTunaLpPositionFusionInstructionDataEncoder, getLiquidateTunaLpPositionFusionJupiterDiscriminatorBytes, getLiquidateTunaLpPositionFusionJupiterInstruction, getLiquidateTunaLpPositionFusionJupiterInstructionDataCodec, getLiquidateTunaLpPositionFusionJupiterInstructionDataDecoder, getLiquidateTunaLpPositionFusionJupiterInstructionDataEncoder, getLiquidateTunaLpPositionOrcaDiscriminatorBytes, getLiquidateTunaLpPositionOrcaInstruction, getLiquidateTunaLpPositionOrcaInstructionDataCodec, getLiquidateTunaLpPositionOrcaInstructionDataDecoder, getLiquidateTunaLpPositionOrcaInstructionDataEncoder, getLiquidateTunaSpotPositionFusionDiscriminatorBytes, getLiquidateTunaSpotPositionFusionInstruction, getLiquidateTunaSpotPositionFusionInstructionDataCodec, getLiquidateTunaSpotPositionFusionInstructionDataDecoder, getLiquidateTunaSpotPositionFusionInstructionDataEncoder, getLiquidateTunaSpotPositionJupiterDiscriminatorBytes, getLiquidateTunaSpotPositionJupiterInstruction, getLiquidateTunaSpotPositionJupiterInstructionDataCodec, getLiquidateTunaSpotPositionJupiterInstructionDataDecoder, getLiquidateTunaSpotPositionJupiterInstructionDataEncoder, getLiquidateTunaSpotPositionOrcaDiscriminatorBytes, getLiquidateTunaSpotPositionOrcaInstruction, getLiquidateTunaSpotPositionOrcaInstructionDataCodec, getLiquidateTunaSpotPositionOrcaInstructionDataDecoder, getLiquidateTunaSpotPositionOrcaInstructionDataEncoder, getLockLpPositionFusionDiscriminatorBytes, getLockLpPositionFusionInstruction, getLockLpPositionFusionInstructionDataCodec, getLockLpPositionFusionInstructionDataDecoder, getLockLpPositionFusionInstructionDataEncoder, 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, getOpenAndIncreaseTunaLpPositionFusionInstructionWithEphemeralSigner, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionWithEphemeralSigner, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenLendingPositionV2DiscriminatorBytes, getOpenLendingPositionV2Instruction, getOpenLendingPositionV2InstructionDataCodec, getOpenLendingPositionV2InstructionDataDecoder, getOpenLendingPositionV2InstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionFusionInstructionWithEphemeralSigner, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaLpPositionOrcaInstructionWithEphemeralSigner, getOpenTunaSpotPositionDiscriminatorBytes, getOpenTunaSpotPositionInstruction, getOpenTunaSpotPositionInstructionDataCodec, getOpenTunaSpotPositionInstructionDataDecoder, getOpenTunaSpotPositionInstructionDataEncoder, getOraclePriceUpdateCodec, getOraclePriceUpdateDecoder, getOraclePriceUpdateEncoder, getPoolTokenCodec, getPoolTokenDecoder, getPoolTokenEncoder, getPositionLockTypeCodec, getPositionLockTypeDecoder, getPositionLockTypeEncoder, 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, getResetMarketBadDebtDiscriminatorBytes, getResetMarketBadDebtInstruction, getResetMarketBadDebtInstructionDataCodec, getResetMarketBadDebtInstructionDataDecoder, getResetMarketBadDebtInstructionDataEncoder, 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, getSetOraclePriceUpdateAuthorityDiscriminatorBytes, getSetOraclePriceUpdateAuthorityInstruction, getSetOraclePriceUpdateAuthorityInstructionDataCodec, getSetOraclePriceUpdateAuthorityInstructionDataDecoder, getSetOraclePriceUpdateAuthorityInstructionDataEncoder, 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, getTunaPriceUpdateAddress, getTunaPriceUpdateCodec, getTunaPriceUpdateDecoder, getTunaPriceUpdateDiscriminatorBytes, getTunaPriceUpdateEncoder, getTunaPriceUpdateSize, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateOraclePriceDiscriminatorBytes, getUpdateOraclePriceInstruction, getUpdateOraclePriceInstructionDataCodec, getUpdateOraclePriceInstructionDataDecoder, getUpdateOraclePriceInstructionDataEncoder, 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, liquidateTunaLpPositionFusionJupiterInstruction, liquidateTunaLpPositionFusionJupiterInstructions, liquidateTunaLpPositionOrcaInstruction, liquidateTunaLpPositionOrcaInstructions, liquidateTunaSpotPositionFusionInstruction, liquidateTunaSpotPositionFusionInstructions, liquidateTunaSpotPositionJupiterInstruction, liquidateTunaSpotPositionJupiterInstructions, liquidateTunaSpotPositionOrcaInstruction, liquidateTunaSpotPositionOrcaInstructions, lockTunaLpPositionFusionInstruction, 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, parseCreateMarketPermissionlessInstruction, parseCreatePriceUpdateInstruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseCreateVaultPermissionlessInstruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionFusionJupiterInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionJupiterInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseLockLpPositionFusionInstruction, parseModifyTunaSpotPositionFusionInstruction, parseModifyTunaSpotPositionJupiterInstruction, parseModifyTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenLendingPositionV2Instruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetMarketBadDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultLiquidationFeeRateInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetDefaultProtocolFeeRateInstruction, parseSetDefaultRebalanceFeeRateInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOraclePriceUpdateAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateOraclePriceInstruction, 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 };
|