@crypticdot/defituna-client 3.2.5 → 3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +396 -184
- package/dist/index.d.ts +396 -184
- package/dist/index.js +2417 -1595
- package/dist/index.mjs +3127 -1937
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -838,7 +838,19 @@ declare const TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET = 6059;
|
|
|
838
838
|
declare const TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED = 6060;
|
|
839
839
|
/** PositionSizeLimitExceeded: Position size exceeds the maximum allowed value */
|
|
840
840
|
declare const TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED = 6061;
|
|
841
|
-
|
|
841
|
+
/** InvalidJupiterRoute: Invalid jupiter route data */
|
|
842
|
+
declare const TUNA_ERROR__INVALID_JUPITER_ROUTE = 6062;
|
|
843
|
+
/** IncorrectSwapInputAmount: Incorrect swap input amount */
|
|
844
|
+
declare const TUNA_ERROR__INCORRECT_SWAP_INPUT_AMOUNT = 6063;
|
|
845
|
+
/** InsufficientSwapOutputAmount: Insufficient swap output amount */
|
|
846
|
+
declare const TUNA_ERROR__INSUFFICIENT_SWAP_OUTPUT_AMOUNT = 6064;
|
|
847
|
+
/** AccountNotInitialized: Account is not initialized */
|
|
848
|
+
declare const TUNA_ERROR__ACCOUNT_NOT_INITIALIZED = 6065;
|
|
849
|
+
/** InvalidAccountDiscriminator: Invalid account discriminator */
|
|
850
|
+
declare const TUNA_ERROR__INVALID_ACCOUNT_DISCRIMINATOR = 6066;
|
|
851
|
+
/** InvalidPool: Invalid Fusion or Orca pool */
|
|
852
|
+
declare const TUNA_ERROR__INVALID_POOL = 6067;
|
|
853
|
+
type TunaError = typeof TUNA_ERROR__ACCOUNT_NOT_INITIALIZED | typeof TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED | typeof TUNA_ERROR__BAD_DEBT | typeof TUNA_ERROR__INCORRECT_POSITION_DIRECTION | typeof TUNA_ERROR__INCORRECT_SWAP_INPUT_AMOUNT | typeof TUNA_ERROR__INSUFFICIENT_LIQUIDITY | typeof TUNA_ERROR__INSUFFICIENT_SWAP_OUTPUT_AMOUNT | typeof TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__INVALID_ACCOUNT_DISCRIMINATOR | typeof TUNA_ERROR__INVALID_ACCOUNT_OWNER | typeof TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS | typeof TUNA_ERROR__INVALID_JUPITER_ROUTE | typeof TUNA_ERROR__INVALID_MARKET_MAKER | typeof TUNA_ERROR__INVALID_POOL | typeof TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH | typeof TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION | typeof TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE | typeof TUNA_ERROR__LEFTOVERS_EXCEEDED | typeof TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIMIT_ORDER_EXECUTION_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE | typeof TUNA_ERROR__LIQUIDITY_ZERO | typeof TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED | typeof TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED | typeof TUNA_ERROR__MARKET_DISABLED | typeof TUNA_ERROR__MATH_OVERFLOW | typeof TUNA_ERROR__MATH_UNDERFLOW | typeof TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK | typeof TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED | typeof TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE | typeof TUNA_ERROR__ORACLE_STALE_PRICE | typeof TUNA_ERROR__PARTIAL_FILL_ERROR | typeof TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE | typeof TUNA_ERROR__POSITION_IS_HEALTHY | typeof TUNA_ERROR__POSITION_IS_LIQUIDATED | typeof TUNA_ERROR__POSITION_IS_UNHEALTHY | typeof TUNA_ERROR__POSITION_NOT_EMPTY | typeof TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED | typeof TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET | typeof TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET | typeof TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE | typeof TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH | typeof TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED | typeof TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT | typeof TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS | typeof TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED | typeof TUNA_ERROR__SUSPENDED | typeof TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT | typeof TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED | typeof TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE | typeof TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED | typeof TUNA_ERROR__TICK_INDEX_OF_BOUNDS | typeof TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR | typeof TUNA_ERROR__TYPE_CAST_OVERFLOW | typeof TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA | typeof TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA | typeof TUNA_ERROR__UNEXPECTED_VALUE | typeof TUNA_ERROR__UNSUPPORTED_TOKEN_MINT | typeof TUNA_ERROR__VAULT_NOT_INITIALIZED | typeof TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE | typeof TUNA_ERROR__ZERO_AMOUNT | typeof TUNA_ERROR__ZERO_PRICE_RANGE | typeof TUNA_ERROR__ZERO_TRADABLE_AMOUNT | typeof TUNA_ERROR__ZERO_YIELD;
|
|
842
854
|
declare function getTunaErrorMessage(code: TunaError): string;
|
|
843
855
|
declare function isTunaError<TProgramErrorCode extends TunaError>(error: unknown, transactionMessage: {
|
|
844
856
|
instructions: Record<number, {
|
|
@@ -887,45 +899,46 @@ declare enum TunaInstruction {
|
|
|
887
899
|
DecreaseTunaLpPositionFusion = 13,
|
|
888
900
|
DecreaseTunaLpPositionOrca = 14,
|
|
889
901
|
DecreaseTunaSpotPositionFusion = 15,
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
902
|
+
DecreaseTunaSpotPositionJupiter = 16,
|
|
903
|
+
DecreaseTunaSpotPositionOrca = 17,
|
|
904
|
+
Deposit = 18,
|
|
905
|
+
IncreaseTunaLpPositionFusion = 19,
|
|
906
|
+
IncreaseTunaLpPositionOrca = 20,
|
|
907
|
+
IncreaseTunaSpotPositionFusion = 21,
|
|
908
|
+
IncreaseTunaSpotPositionJupiter = 22,
|
|
909
|
+
IncreaseTunaSpotPositionOrca = 23,
|
|
910
|
+
LiquidateTunaLpPositionFusion = 24,
|
|
911
|
+
LiquidateTunaLpPositionOrca = 25,
|
|
912
|
+
LiquidateTunaSpotPositionFusion = 26,
|
|
913
|
+
LiquidateTunaSpotPositionOrca = 27,
|
|
914
|
+
OpenAndIncreaseTunaLpPositionFusion = 28,
|
|
915
|
+
OpenAndIncreaseTunaLpPositionOrca = 29,
|
|
916
|
+
OpenAndIncreaseTunaSpotPositionFusion = 30,
|
|
917
|
+
OpenAndIncreaseTunaSpotPositionOrca = 31,
|
|
918
|
+
OpenLendingPosition = 32,
|
|
919
|
+
OpenTunaLpPositionFusion = 33,
|
|
920
|
+
OpenTunaLpPositionOrca = 34,
|
|
921
|
+
OpenTunaSpotPosition = 35,
|
|
922
|
+
RebalanceTunaLpPositionFusion = 36,
|
|
923
|
+
RebalanceTunaLpPositionOrca = 37,
|
|
924
|
+
RepayBadDebt = 38,
|
|
925
|
+
RepayTunaLpPositionDebt = 39,
|
|
926
|
+
ResetTunaSpotPosition = 40,
|
|
927
|
+
SetAdminAuthority = 41,
|
|
928
|
+
SetDefaultMaxPercentageOfLeftovers = 42,
|
|
929
|
+
SetDefaultMaxSwapSlippage = 43,
|
|
930
|
+
SetDefaultOraclePriceDeviationThreshold = 44,
|
|
931
|
+
SetFeeRecipient = 45,
|
|
932
|
+
SetLiquidatorAuthority = 46,
|
|
933
|
+
SetOwnerAuthority = 47,
|
|
934
|
+
SetSuspendedState = 48,
|
|
935
|
+
SetTunaLpPositionFlags = 49,
|
|
936
|
+
SetTunaLpPositionLimitOrders = 50,
|
|
937
|
+
SetTunaLpPositionRebalanceThreshold = 51,
|
|
938
|
+
SetTunaSpotPositionLimitOrders = 52,
|
|
939
|
+
UpdateMarket = 53,
|
|
940
|
+
UpdateVault = 54,
|
|
941
|
+
Withdraw = 55
|
|
929
942
|
}
|
|
930
943
|
declare function identifyTunaInstruction(instruction: {
|
|
931
944
|
data: ReadonlyUint8Array;
|
|
@@ -963,6 +976,8 @@ type ParsedTunaInstruction<TProgram extends string = 'tuna4uSQZncNeeiAMKbstuxA9C
|
|
|
963
976
|
} & ParsedDecreaseTunaLpPositionOrcaInstruction<TProgram>) | ({
|
|
964
977
|
instructionType: TunaInstruction.DecreaseTunaSpotPositionFusion;
|
|
965
978
|
} & ParsedDecreaseTunaSpotPositionFusionInstruction<TProgram>) | ({
|
|
979
|
+
instructionType: TunaInstruction.DecreaseTunaSpotPositionJupiter;
|
|
980
|
+
} & ParsedDecreaseTunaSpotPositionJupiterInstruction<TProgram>) | ({
|
|
966
981
|
instructionType: TunaInstruction.DecreaseTunaSpotPositionOrca;
|
|
967
982
|
} & ParsedDecreaseTunaSpotPositionOrcaInstruction<TProgram>) | ({
|
|
968
983
|
instructionType: TunaInstruction.Deposit;
|
|
@@ -973,6 +988,8 @@ type ParsedTunaInstruction<TProgram extends string = 'tuna4uSQZncNeeiAMKbstuxA9C
|
|
|
973
988
|
} & ParsedIncreaseTunaLpPositionOrcaInstruction<TProgram>) | ({
|
|
974
989
|
instructionType: TunaInstruction.IncreaseTunaSpotPositionFusion;
|
|
975
990
|
} & ParsedIncreaseTunaSpotPositionFusionInstruction<TProgram>) | ({
|
|
991
|
+
instructionType: TunaInstruction.IncreaseTunaSpotPositionJupiter;
|
|
992
|
+
} & ParsedIncreaseTunaSpotPositionJupiterInstruction<TProgram>) | ({
|
|
976
993
|
instructionType: TunaInstruction.IncreaseTunaSpotPositionOrca;
|
|
977
994
|
} & ParsedIncreaseTunaSpotPositionOrcaInstruction<TProgram>) | ({
|
|
978
995
|
instructionType: TunaInstruction.LiquidateTunaLpPositionFusion;
|
|
@@ -997,10 +1014,8 @@ type ParsedTunaInstruction<TProgram extends string = 'tuna4uSQZncNeeiAMKbstuxA9C
|
|
|
997
1014
|
} & ParsedOpenTunaLpPositionFusionInstruction<TProgram>) | ({
|
|
998
1015
|
instructionType: TunaInstruction.OpenTunaLpPositionOrca;
|
|
999
1016
|
} & ParsedOpenTunaLpPositionOrcaInstruction<TProgram>) | ({
|
|
1000
|
-
instructionType: TunaInstruction.
|
|
1001
|
-
} &
|
|
1002
|
-
instructionType: TunaInstruction.OpenTunaSpotPositionOrca;
|
|
1003
|
-
} & ParsedOpenTunaSpotPositionOrcaInstruction<TProgram>) | ({
|
|
1017
|
+
instructionType: TunaInstruction.OpenTunaSpotPosition;
|
|
1018
|
+
} & ParsedOpenTunaSpotPositionInstruction<TProgram>) | ({
|
|
1004
1019
|
instructionType: TunaInstruction.RebalanceTunaLpPositionFusion;
|
|
1005
1020
|
} & ParsedRebalanceTunaLpPositionFusionInstruction<TProgram>) | ({
|
|
1006
1021
|
instructionType: TunaInstruction.RebalanceTunaLpPositionOrca;
|
|
@@ -2772,6 +2787,151 @@ type ParsedDecreaseTunaSpotPositionFusionInstruction<TProgram extends string = t
|
|
|
2772
2787
|
};
|
|
2773
2788
|
declare function parseDecreaseTunaSpotPositionFusionInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedDecreaseTunaSpotPositionFusionInstruction<TProgram, TAccountMetas>;
|
|
2774
2789
|
|
|
2790
|
+
/**
|
|
2791
|
+
* This code was AUTOGENERATED using the codama library.
|
|
2792
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
2793
|
+
* to add features, then rerun codama to update it.
|
|
2794
|
+
*
|
|
2795
|
+
* @see https://github.com/codama-idl/codama
|
|
2796
|
+
*/
|
|
2797
|
+
|
|
2798
|
+
declare const DECREASE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2799
|
+
declare function getDecreaseTunaSpotPositionJupiterDiscriminatorBytes(): ReadonlyUint8Array;
|
|
2800
|
+
type DecreaseTunaSpotPositionJupiterInstruction<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, TAccountTunaPositionAtaA extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaB extends string | IAccountMeta<string> = string, TAccountTunaPositionOwnerAtaA extends string | IAccountMeta<string> = string, TAccountTunaPositionOwnerAtaB extends string | IAccountMeta<string> = string, TAccountPythOraclePriceFeedA extends string | IAccountMeta<string> = string, TAccountPythOraclePriceFeedB extends string | IAccountMeta<string> = string, TAccountPool 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, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
2801
|
+
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & IAccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
2802
|
+
TAccountTunaConfig extends string ? ReadonlyAccount<TAccountTunaConfig> : TAccountTunaConfig,
|
|
2803
|
+
TAccountMintA extends string ? ReadonlyAccount<TAccountMintA> : TAccountMintA,
|
|
2804
|
+
TAccountMintB extends string ? ReadonlyAccount<TAccountMintB> : TAccountMintB,
|
|
2805
|
+
TAccountTokenProgramA extends string ? ReadonlyAccount<TAccountTokenProgramA> : TAccountTokenProgramA,
|
|
2806
|
+
TAccountTokenProgramB extends string ? ReadonlyAccount<TAccountTokenProgramB> : TAccountTokenProgramB,
|
|
2807
|
+
TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
|
|
2808
|
+
TAccountVaultA extends string ? WritableAccount<TAccountVaultA> : TAccountVaultA,
|
|
2809
|
+
TAccountVaultB extends string ? WritableAccount<TAccountVaultB> : TAccountVaultB,
|
|
2810
|
+
TAccountVaultAAta extends string ? WritableAccount<TAccountVaultAAta> : TAccountVaultAAta,
|
|
2811
|
+
TAccountVaultBAta extends string ? WritableAccount<TAccountVaultBAta> : TAccountVaultBAta,
|
|
2812
|
+
TAccountTunaPosition extends string ? WritableAccount<TAccountTunaPosition> : TAccountTunaPosition,
|
|
2813
|
+
TAccountTunaPositionAtaA extends string ? WritableAccount<TAccountTunaPositionAtaA> : TAccountTunaPositionAtaA,
|
|
2814
|
+
TAccountTunaPositionAtaB extends string ? WritableAccount<TAccountTunaPositionAtaB> : TAccountTunaPositionAtaB,
|
|
2815
|
+
TAccountTunaPositionOwnerAtaA extends string ? WritableAccount<TAccountTunaPositionOwnerAtaA> : TAccountTunaPositionOwnerAtaA,
|
|
2816
|
+
TAccountTunaPositionOwnerAtaB extends string ? WritableAccount<TAccountTunaPositionOwnerAtaB> : TAccountTunaPositionOwnerAtaB,
|
|
2817
|
+
TAccountPythOraclePriceFeedA extends string ? ReadonlyAccount<TAccountPythOraclePriceFeedA> : TAccountPythOraclePriceFeedA,
|
|
2818
|
+
TAccountPythOraclePriceFeedB extends string ? ReadonlyAccount<TAccountPythOraclePriceFeedB> : TAccountPythOraclePriceFeedB,
|
|
2819
|
+
TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
|
|
2820
|
+
TAccountJupiterProgram extends string ? ReadonlyAccount<TAccountJupiterProgram> : TAccountJupiterProgram,
|
|
2821
|
+
TAccountJupiterEventAuthority extends string ? ReadonlyAccount<TAccountJupiterEventAuthority> : TAccountJupiterEventAuthority,
|
|
2822
|
+
TAccountJupiterProgramAuthority extends string ? ReadonlyAccount<TAccountJupiterProgramAuthority> : TAccountJupiterProgramAuthority,
|
|
2823
|
+
TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
|
|
2824
|
+
TAccountMemoProgram extends string ? ReadonlyAccount<TAccountMemoProgram> : TAccountMemoProgram,
|
|
2825
|
+
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
2826
|
+
...TRemainingAccounts
|
|
2827
|
+
]>;
|
|
2828
|
+
type DecreaseTunaSpotPositionJupiterInstructionData = {
|
|
2829
|
+
discriminator: ReadonlyUint8Array;
|
|
2830
|
+
withdrawPercent: number;
|
|
2831
|
+
routeData: ReadonlyUint8Array;
|
|
2832
|
+
};
|
|
2833
|
+
type DecreaseTunaSpotPositionJupiterInstructionDataArgs = {
|
|
2834
|
+
withdrawPercent: number;
|
|
2835
|
+
routeData: ReadonlyUint8Array;
|
|
2836
|
+
};
|
|
2837
|
+
declare function getDecreaseTunaSpotPositionJupiterInstructionDataEncoder(): Encoder<DecreaseTunaSpotPositionJupiterInstructionDataArgs>;
|
|
2838
|
+
declare function getDecreaseTunaSpotPositionJupiterInstructionDataDecoder(): Decoder<DecreaseTunaSpotPositionJupiterInstructionData>;
|
|
2839
|
+
declare function getDecreaseTunaSpotPositionJupiterInstructionDataCodec(): Codec<DecreaseTunaSpotPositionJupiterInstructionDataArgs, DecreaseTunaSpotPositionJupiterInstructionData>;
|
|
2840
|
+
type DecreaseTunaSpotPositionJupiterInput<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, TAccountTunaPositionAtaA extends string = string, TAccountTunaPositionAtaB extends string = string, TAccountTunaPositionOwnerAtaA extends string = string, TAccountTunaPositionOwnerAtaB extends string = string, TAccountPythOraclePriceFeedA extends string = string, TAccountPythOraclePriceFeedB extends string = string, TAccountPool extends string = string, TAccountJupiterProgram extends string = string, TAccountJupiterEventAuthority extends string = string, TAccountJupiterProgramAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountMemoProgram extends string = string, TAccountSystemProgram extends string = string> = {
|
|
2841
|
+
/**
|
|
2842
|
+
*
|
|
2843
|
+
* TUNA accounts
|
|
2844
|
+
*
|
|
2845
|
+
*/
|
|
2846
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
2847
|
+
tunaConfig: Address<TAccountTunaConfig>;
|
|
2848
|
+
mintA: Address<TAccountMintA>;
|
|
2849
|
+
mintB: Address<TAccountMintB>;
|
|
2850
|
+
tokenProgramA: Address<TAccountTokenProgramA>;
|
|
2851
|
+
tokenProgramB: Address<TAccountTokenProgramB>;
|
|
2852
|
+
market: Address<TAccountMarket>;
|
|
2853
|
+
vaultA: Address<TAccountVaultA>;
|
|
2854
|
+
vaultB: Address<TAccountVaultB>;
|
|
2855
|
+
vaultAAta: Address<TAccountVaultAAta>;
|
|
2856
|
+
vaultBAta: Address<TAccountVaultBAta>;
|
|
2857
|
+
tunaPosition: Address<TAccountTunaPosition>;
|
|
2858
|
+
tunaPositionAtaA: Address<TAccountTunaPositionAtaA>;
|
|
2859
|
+
tunaPositionAtaB: Address<TAccountTunaPositionAtaB>;
|
|
2860
|
+
tunaPositionOwnerAtaA: Address<TAccountTunaPositionOwnerAtaA>;
|
|
2861
|
+
tunaPositionOwnerAtaB: Address<TAccountTunaPositionOwnerAtaB>;
|
|
2862
|
+
pythOraclePriceFeedA: Address<TAccountPythOraclePriceFeedA>;
|
|
2863
|
+
pythOraclePriceFeedB: Address<TAccountPythOraclePriceFeedB>;
|
|
2864
|
+
pool: Address<TAccountPool>;
|
|
2865
|
+
/**
|
|
2866
|
+
*
|
|
2867
|
+
* Jupiter accounts
|
|
2868
|
+
*
|
|
2869
|
+
*/
|
|
2870
|
+
jupiterProgram: Address<TAccountJupiterProgram>;
|
|
2871
|
+
jupiterEventAuthority: Address<TAccountJupiterEventAuthority>;
|
|
2872
|
+
jupiterProgramAuthority: Address<TAccountJupiterProgramAuthority>;
|
|
2873
|
+
/**
|
|
2874
|
+
*
|
|
2875
|
+
* Other accounts
|
|
2876
|
+
*
|
|
2877
|
+
*/
|
|
2878
|
+
tokenProgram?: Address<TAccountTokenProgram>;
|
|
2879
|
+
memoProgram: Address<TAccountMemoProgram>;
|
|
2880
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
2881
|
+
withdrawPercent: DecreaseTunaSpotPositionJupiterInstructionDataArgs['withdrawPercent'];
|
|
2882
|
+
routeData: DecreaseTunaSpotPositionJupiterInstructionDataArgs['routeData'];
|
|
2883
|
+
};
|
|
2884
|
+
declare function getDecreaseTunaSpotPositionJupiterInstruction<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, TAccountTunaPositionAtaA extends string, TAccountTunaPositionAtaB extends string, TAccountTunaPositionOwnerAtaA extends string, TAccountTunaPositionOwnerAtaB extends string, TAccountPythOraclePriceFeedA extends string, TAccountPythOraclePriceFeedB extends string, TAccountPool extends string, TAccountJupiterProgram extends string, TAccountJupiterEventAuthority extends string, TAccountJupiterProgramAuthority extends string, TAccountTokenProgram extends string, TAccountMemoProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: DecreaseTunaSpotPositionJupiterInput<TAccountAuthority, TAccountTunaConfig, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMarket, TAccountVaultA, TAccountVaultB, TAccountVaultAAta, TAccountVaultBAta, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountTunaPositionOwnerAtaA, TAccountTunaPositionOwnerAtaB, TAccountPythOraclePriceFeedA, TAccountPythOraclePriceFeedB, TAccountPool, TAccountJupiterProgram, TAccountJupiterEventAuthority, TAccountJupiterProgramAuthority, TAccountTokenProgram, TAccountMemoProgram, TAccountSystemProgram>, config?: {
|
|
2885
|
+
programAddress?: TProgramAddress;
|
|
2886
|
+
}): DecreaseTunaSpotPositionJupiterInstruction<TProgramAddress, TAccountAuthority, TAccountTunaConfig, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMarket, TAccountVaultA, TAccountVaultB, TAccountVaultAAta, TAccountVaultBAta, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountTunaPositionOwnerAtaA, TAccountTunaPositionOwnerAtaB, TAccountPythOraclePriceFeedA, TAccountPythOraclePriceFeedB, TAccountPool, TAccountJupiterProgram, TAccountJupiterEventAuthority, TAccountJupiterProgramAuthority, TAccountTokenProgram, TAccountMemoProgram, TAccountSystemProgram>;
|
|
2887
|
+
type ParsedDecreaseTunaSpotPositionJupiterInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
2888
|
+
programAddress: Address<TProgram>;
|
|
2889
|
+
accounts: {
|
|
2890
|
+
/**
|
|
2891
|
+
*
|
|
2892
|
+
* TUNA accounts
|
|
2893
|
+
*
|
|
2894
|
+
*/
|
|
2895
|
+
authority: TAccountMetas[0];
|
|
2896
|
+
tunaConfig: TAccountMetas[1];
|
|
2897
|
+
mintA: TAccountMetas[2];
|
|
2898
|
+
mintB: TAccountMetas[3];
|
|
2899
|
+
tokenProgramA: TAccountMetas[4];
|
|
2900
|
+
tokenProgramB: TAccountMetas[5];
|
|
2901
|
+
market: TAccountMetas[6];
|
|
2902
|
+
vaultA: TAccountMetas[7];
|
|
2903
|
+
vaultB: TAccountMetas[8];
|
|
2904
|
+
vaultAAta: TAccountMetas[9];
|
|
2905
|
+
vaultBAta: TAccountMetas[10];
|
|
2906
|
+
tunaPosition: TAccountMetas[11];
|
|
2907
|
+
tunaPositionAtaA: TAccountMetas[12];
|
|
2908
|
+
tunaPositionAtaB: TAccountMetas[13];
|
|
2909
|
+
tunaPositionOwnerAtaA: TAccountMetas[14];
|
|
2910
|
+
tunaPositionOwnerAtaB: TAccountMetas[15];
|
|
2911
|
+
pythOraclePriceFeedA: TAccountMetas[16];
|
|
2912
|
+
pythOraclePriceFeedB: TAccountMetas[17];
|
|
2913
|
+
pool: TAccountMetas[18];
|
|
2914
|
+
/**
|
|
2915
|
+
*
|
|
2916
|
+
* Jupiter accounts
|
|
2917
|
+
*
|
|
2918
|
+
*/
|
|
2919
|
+
jupiterProgram: TAccountMetas[19];
|
|
2920
|
+
jupiterEventAuthority: TAccountMetas[20];
|
|
2921
|
+
jupiterProgramAuthority: TAccountMetas[21];
|
|
2922
|
+
/**
|
|
2923
|
+
*
|
|
2924
|
+
* Other accounts
|
|
2925
|
+
*
|
|
2926
|
+
*/
|
|
2927
|
+
tokenProgram: TAccountMetas[22];
|
|
2928
|
+
memoProgram: TAccountMetas[23];
|
|
2929
|
+
systemProgram: TAccountMetas[24];
|
|
2930
|
+
};
|
|
2931
|
+
data: DecreaseTunaSpotPositionJupiterInstructionData;
|
|
2932
|
+
};
|
|
2933
|
+
declare function parseDecreaseTunaSpotPositionJupiterInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedDecreaseTunaSpotPositionJupiterInstruction<TProgram, TAccountMetas>;
|
|
2934
|
+
|
|
2775
2935
|
/**
|
|
2776
2936
|
* This code was AUTOGENERATED using the codama library.
|
|
2777
2937
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -3429,6 +3589,160 @@ type ParsedIncreaseTunaSpotPositionFusionInstruction<TProgram extends string = t
|
|
|
3429
3589
|
};
|
|
3430
3590
|
declare function parseIncreaseTunaSpotPositionFusionInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedIncreaseTunaSpotPositionFusionInstruction<TProgram, TAccountMetas>;
|
|
3431
3591
|
|
|
3592
|
+
/**
|
|
3593
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3594
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
3595
|
+
* to add features, then rerun codama to update it.
|
|
3596
|
+
*
|
|
3597
|
+
* @see https://github.com/codama-idl/codama
|
|
3598
|
+
*/
|
|
3599
|
+
|
|
3600
|
+
declare const INCREASE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3601
|
+
declare function getIncreaseTunaSpotPositionJupiterDiscriminatorBytes(): ReadonlyUint8Array;
|
|
3602
|
+
type IncreaseTunaSpotPositionJupiterInstruction<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, TAccountTunaPositionAtaA extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaB extends string | IAccountMeta<string> = string, TAccountTunaPositionOwnerAtaA extends string | IAccountMeta<string> = string, TAccountTunaPositionOwnerAtaB extends string | IAccountMeta<string> = string, TAccountFeeRecipientAtaA extends string | IAccountMeta<string> = string, TAccountFeeRecipientAtaB extends string | IAccountMeta<string> = string, TAccountPythOraclePriceFeedA extends string | IAccountMeta<string> = string, TAccountPythOraclePriceFeedB extends string | IAccountMeta<string> = string, TAccountPool 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, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
3603
|
+
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & IAccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
3604
|
+
TAccountTunaConfig extends string ? ReadonlyAccount<TAccountTunaConfig> : TAccountTunaConfig,
|
|
3605
|
+
TAccountMintA extends string ? ReadonlyAccount<TAccountMintA> : TAccountMintA,
|
|
3606
|
+
TAccountMintB extends string ? ReadonlyAccount<TAccountMintB> : TAccountMintB,
|
|
3607
|
+
TAccountTokenProgramA extends string ? ReadonlyAccount<TAccountTokenProgramA> : TAccountTokenProgramA,
|
|
3608
|
+
TAccountTokenProgramB extends string ? ReadonlyAccount<TAccountTokenProgramB> : TAccountTokenProgramB,
|
|
3609
|
+
TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
|
|
3610
|
+
TAccountVaultA extends string ? WritableAccount<TAccountVaultA> : TAccountVaultA,
|
|
3611
|
+
TAccountVaultB extends string ? WritableAccount<TAccountVaultB> : TAccountVaultB,
|
|
3612
|
+
TAccountVaultAAta extends string ? WritableAccount<TAccountVaultAAta> : TAccountVaultAAta,
|
|
3613
|
+
TAccountVaultBAta extends string ? WritableAccount<TAccountVaultBAta> : TAccountVaultBAta,
|
|
3614
|
+
TAccountTunaPosition extends string ? WritableAccount<TAccountTunaPosition> : TAccountTunaPosition,
|
|
3615
|
+
TAccountTunaPositionAtaA extends string ? WritableAccount<TAccountTunaPositionAtaA> : TAccountTunaPositionAtaA,
|
|
3616
|
+
TAccountTunaPositionAtaB extends string ? WritableAccount<TAccountTunaPositionAtaB> : TAccountTunaPositionAtaB,
|
|
3617
|
+
TAccountTunaPositionOwnerAtaA extends string ? WritableAccount<TAccountTunaPositionOwnerAtaA> : TAccountTunaPositionOwnerAtaA,
|
|
3618
|
+
TAccountTunaPositionOwnerAtaB extends string ? WritableAccount<TAccountTunaPositionOwnerAtaB> : TAccountTunaPositionOwnerAtaB,
|
|
3619
|
+
TAccountFeeRecipientAtaA extends string ? WritableAccount<TAccountFeeRecipientAtaA> : TAccountFeeRecipientAtaA,
|
|
3620
|
+
TAccountFeeRecipientAtaB extends string ? WritableAccount<TAccountFeeRecipientAtaB> : TAccountFeeRecipientAtaB,
|
|
3621
|
+
TAccountPythOraclePriceFeedA extends string ? ReadonlyAccount<TAccountPythOraclePriceFeedA> : TAccountPythOraclePriceFeedA,
|
|
3622
|
+
TAccountPythOraclePriceFeedB extends string ? ReadonlyAccount<TAccountPythOraclePriceFeedB> : TAccountPythOraclePriceFeedB,
|
|
3623
|
+
TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
|
|
3624
|
+
TAccountJupiterProgram extends string ? ReadonlyAccount<TAccountJupiterProgram> : TAccountJupiterProgram,
|
|
3625
|
+
TAccountJupiterEventAuthority extends string ? ReadonlyAccount<TAccountJupiterEventAuthority> : TAccountJupiterEventAuthority,
|
|
3626
|
+
TAccountJupiterProgramAuthority extends string ? ReadonlyAccount<TAccountJupiterProgramAuthority> : TAccountJupiterProgramAuthority,
|
|
3627
|
+
TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
|
|
3628
|
+
TAccountMemoProgram extends string ? ReadonlyAccount<TAccountMemoProgram> : TAccountMemoProgram,
|
|
3629
|
+
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
3630
|
+
...TRemainingAccounts
|
|
3631
|
+
]>;
|
|
3632
|
+
type IncreaseTunaSpotPositionJupiterInstructionData = {
|
|
3633
|
+
discriminator: ReadonlyUint8Array;
|
|
3634
|
+
collateralAmount: bigint;
|
|
3635
|
+
borrowAmount: bigint;
|
|
3636
|
+
routeData: ReadonlyUint8Array;
|
|
3637
|
+
};
|
|
3638
|
+
type IncreaseTunaSpotPositionJupiterInstructionDataArgs = {
|
|
3639
|
+
collateralAmount: number | bigint;
|
|
3640
|
+
borrowAmount: number | bigint;
|
|
3641
|
+
routeData: ReadonlyUint8Array;
|
|
3642
|
+
};
|
|
3643
|
+
declare function getIncreaseTunaSpotPositionJupiterInstructionDataEncoder(): Encoder<IncreaseTunaSpotPositionJupiterInstructionDataArgs>;
|
|
3644
|
+
declare function getIncreaseTunaSpotPositionJupiterInstructionDataDecoder(): Decoder<IncreaseTunaSpotPositionJupiterInstructionData>;
|
|
3645
|
+
declare function getIncreaseTunaSpotPositionJupiterInstructionDataCodec(): Codec<IncreaseTunaSpotPositionJupiterInstructionDataArgs, IncreaseTunaSpotPositionJupiterInstructionData>;
|
|
3646
|
+
type IncreaseTunaSpotPositionJupiterInput<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, TAccountTunaPositionAtaA extends string = string, TAccountTunaPositionAtaB extends string = string, TAccountTunaPositionOwnerAtaA extends string = string, TAccountTunaPositionOwnerAtaB extends string = string, TAccountFeeRecipientAtaA extends string = string, TAccountFeeRecipientAtaB extends string = string, TAccountPythOraclePriceFeedA extends string = string, TAccountPythOraclePriceFeedB extends string = string, TAccountPool extends string = string, TAccountJupiterProgram extends string = string, TAccountJupiterEventAuthority extends string = string, TAccountJupiterProgramAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountMemoProgram extends string = string, TAccountSystemProgram extends string = string> = {
|
|
3647
|
+
/**
|
|
3648
|
+
*
|
|
3649
|
+
* TUNA accounts
|
|
3650
|
+
*
|
|
3651
|
+
*/
|
|
3652
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
3653
|
+
tunaConfig: Address<TAccountTunaConfig>;
|
|
3654
|
+
mintA: Address<TAccountMintA>;
|
|
3655
|
+
mintB: Address<TAccountMintB>;
|
|
3656
|
+
tokenProgramA: Address<TAccountTokenProgramA>;
|
|
3657
|
+
tokenProgramB: Address<TAccountTokenProgramB>;
|
|
3658
|
+
market: Address<TAccountMarket>;
|
|
3659
|
+
vaultA: Address<TAccountVaultA>;
|
|
3660
|
+
vaultB: Address<TAccountVaultB>;
|
|
3661
|
+
vaultAAta: Address<TAccountVaultAAta>;
|
|
3662
|
+
vaultBAta: Address<TAccountVaultBAta>;
|
|
3663
|
+
tunaPosition: Address<TAccountTunaPosition>;
|
|
3664
|
+
tunaPositionAtaA: Address<TAccountTunaPositionAtaA>;
|
|
3665
|
+
tunaPositionAtaB: Address<TAccountTunaPositionAtaB>;
|
|
3666
|
+
tunaPositionOwnerAtaA?: Address<TAccountTunaPositionOwnerAtaA>;
|
|
3667
|
+
tunaPositionOwnerAtaB?: Address<TAccountTunaPositionOwnerAtaB>;
|
|
3668
|
+
feeRecipientAtaA: Address<TAccountFeeRecipientAtaA>;
|
|
3669
|
+
feeRecipientAtaB: Address<TAccountFeeRecipientAtaB>;
|
|
3670
|
+
pythOraclePriceFeedA: Address<TAccountPythOraclePriceFeedA>;
|
|
3671
|
+
pythOraclePriceFeedB: Address<TAccountPythOraclePriceFeedB>;
|
|
3672
|
+
pool: Address<TAccountPool>;
|
|
3673
|
+
/**
|
|
3674
|
+
*
|
|
3675
|
+
* Jupiter accounts
|
|
3676
|
+
*
|
|
3677
|
+
*/
|
|
3678
|
+
jupiterProgram: Address<TAccountJupiterProgram>;
|
|
3679
|
+
jupiterEventAuthority: Address<TAccountJupiterEventAuthority>;
|
|
3680
|
+
jupiterProgramAuthority: Address<TAccountJupiterProgramAuthority>;
|
|
3681
|
+
/**
|
|
3682
|
+
*
|
|
3683
|
+
* Other accounts
|
|
3684
|
+
*
|
|
3685
|
+
*/
|
|
3686
|
+
tokenProgram?: Address<TAccountTokenProgram>;
|
|
3687
|
+
memoProgram: Address<TAccountMemoProgram>;
|
|
3688
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
3689
|
+
collateralAmount: IncreaseTunaSpotPositionJupiterInstructionDataArgs['collateralAmount'];
|
|
3690
|
+
borrowAmount: IncreaseTunaSpotPositionJupiterInstructionDataArgs['borrowAmount'];
|
|
3691
|
+
routeData: IncreaseTunaSpotPositionJupiterInstructionDataArgs['routeData'];
|
|
3692
|
+
};
|
|
3693
|
+
declare function getIncreaseTunaSpotPositionJupiterInstruction<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, TAccountTunaPositionAtaA extends string, TAccountTunaPositionAtaB extends string, TAccountTunaPositionOwnerAtaA extends string, TAccountTunaPositionOwnerAtaB extends string, TAccountFeeRecipientAtaA extends string, TAccountFeeRecipientAtaB extends string, TAccountPythOraclePriceFeedA extends string, TAccountPythOraclePriceFeedB extends string, TAccountPool extends string, TAccountJupiterProgram extends string, TAccountJupiterEventAuthority extends string, TAccountJupiterProgramAuthority extends string, TAccountTokenProgram extends string, TAccountMemoProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: IncreaseTunaSpotPositionJupiterInput<TAccountAuthority, TAccountTunaConfig, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMarket, TAccountVaultA, TAccountVaultB, TAccountVaultAAta, TAccountVaultBAta, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountTunaPositionOwnerAtaA, TAccountTunaPositionOwnerAtaB, TAccountFeeRecipientAtaA, TAccountFeeRecipientAtaB, TAccountPythOraclePriceFeedA, TAccountPythOraclePriceFeedB, TAccountPool, TAccountJupiterProgram, TAccountJupiterEventAuthority, TAccountJupiterProgramAuthority, TAccountTokenProgram, TAccountMemoProgram, TAccountSystemProgram>, config?: {
|
|
3694
|
+
programAddress?: TProgramAddress;
|
|
3695
|
+
}): IncreaseTunaSpotPositionJupiterInstruction<TProgramAddress, TAccountAuthority, TAccountTunaConfig, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMarket, TAccountVaultA, TAccountVaultB, TAccountVaultAAta, TAccountVaultBAta, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountTunaPositionOwnerAtaA, TAccountTunaPositionOwnerAtaB, TAccountFeeRecipientAtaA, TAccountFeeRecipientAtaB, TAccountPythOraclePriceFeedA, TAccountPythOraclePriceFeedB, TAccountPool, TAccountJupiterProgram, TAccountJupiterEventAuthority, TAccountJupiterProgramAuthority, TAccountTokenProgram, TAccountMemoProgram, TAccountSystemProgram>;
|
|
3696
|
+
type ParsedIncreaseTunaSpotPositionJupiterInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
3697
|
+
programAddress: Address<TProgram>;
|
|
3698
|
+
accounts: {
|
|
3699
|
+
/**
|
|
3700
|
+
*
|
|
3701
|
+
* TUNA accounts
|
|
3702
|
+
*
|
|
3703
|
+
*/
|
|
3704
|
+
authority: TAccountMetas[0];
|
|
3705
|
+
tunaConfig: TAccountMetas[1];
|
|
3706
|
+
mintA: TAccountMetas[2];
|
|
3707
|
+
mintB: TAccountMetas[3];
|
|
3708
|
+
tokenProgramA: TAccountMetas[4];
|
|
3709
|
+
tokenProgramB: TAccountMetas[5];
|
|
3710
|
+
market: TAccountMetas[6];
|
|
3711
|
+
vaultA: TAccountMetas[7];
|
|
3712
|
+
vaultB: TAccountMetas[8];
|
|
3713
|
+
vaultAAta: TAccountMetas[9];
|
|
3714
|
+
vaultBAta: TAccountMetas[10];
|
|
3715
|
+
tunaPosition: TAccountMetas[11];
|
|
3716
|
+
tunaPositionAtaA: TAccountMetas[12];
|
|
3717
|
+
tunaPositionAtaB: TAccountMetas[13];
|
|
3718
|
+
tunaPositionOwnerAtaA?: TAccountMetas[14] | undefined;
|
|
3719
|
+
tunaPositionOwnerAtaB?: TAccountMetas[15] | undefined;
|
|
3720
|
+
feeRecipientAtaA: TAccountMetas[16];
|
|
3721
|
+
feeRecipientAtaB: TAccountMetas[17];
|
|
3722
|
+
pythOraclePriceFeedA: TAccountMetas[18];
|
|
3723
|
+
pythOraclePriceFeedB: TAccountMetas[19];
|
|
3724
|
+
pool: TAccountMetas[20];
|
|
3725
|
+
/**
|
|
3726
|
+
*
|
|
3727
|
+
* Jupiter accounts
|
|
3728
|
+
*
|
|
3729
|
+
*/
|
|
3730
|
+
jupiterProgram: TAccountMetas[21];
|
|
3731
|
+
jupiterEventAuthority: TAccountMetas[22];
|
|
3732
|
+
jupiterProgramAuthority: TAccountMetas[23];
|
|
3733
|
+
/**
|
|
3734
|
+
*
|
|
3735
|
+
* Other accounts
|
|
3736
|
+
*
|
|
3737
|
+
*/
|
|
3738
|
+
tokenProgram: TAccountMetas[24];
|
|
3739
|
+
memoProgram: TAccountMetas[25];
|
|
3740
|
+
systemProgram: TAccountMetas[26];
|
|
3741
|
+
};
|
|
3742
|
+
data: IncreaseTunaSpotPositionJupiterInstructionData;
|
|
3743
|
+
};
|
|
3744
|
+
declare function parseIncreaseTunaSpotPositionJupiterInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedIncreaseTunaSpotPositionJupiterInstruction<TProgram, TAccountMetas>;
|
|
3745
|
+
|
|
3432
3746
|
/**
|
|
3433
3747
|
* This code was AUTOGENERATED using the codama library.
|
|
3434
3748
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -5150,9 +5464,9 @@ declare function parseOpenTunaLpPositionOrcaInstruction<TProgram extends string,
|
|
|
5150
5464
|
* @see https://github.com/codama-idl/codama
|
|
5151
5465
|
*/
|
|
5152
5466
|
|
|
5153
|
-
declare const
|
|
5154
|
-
declare function
|
|
5155
|
-
type
|
|
5467
|
+
declare const OPEN_TUNA_SPOT_POSITION_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
5468
|
+
declare function getOpenTunaSpotPositionDiscriminatorBytes(): ReadonlyUint8Array;
|
|
5469
|
+
type OpenTunaSpotPositionInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountAuthority 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, TAccountTunaPosition extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaA extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaB extends string | IAccountMeta<string> = string, TAccountPool extends string | IAccountMeta<string> = string, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TAccountAssociatedTokenProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
5156
5470
|
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & IAccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
5157
5471
|
TAccountMintA extends string ? ReadonlyAccount<TAccountMintA> : TAccountMintA,
|
|
5158
5472
|
TAccountMintB extends string ? ReadonlyAccount<TAccountMintB> : TAccountMintB,
|
|
@@ -5161,127 +5475,24 @@ type OpenTunaSpotPositionFusionInstruction<TProgram extends string = typeof TUNA
|
|
|
5161
5475
|
TAccountTunaPosition extends string ? WritableAccount<TAccountTunaPosition> : TAccountTunaPosition,
|
|
5162
5476
|
TAccountTunaPositionAtaA extends string ? WritableAccount<TAccountTunaPositionAtaA> : TAccountTunaPositionAtaA,
|
|
5163
5477
|
TAccountTunaPositionAtaB extends string ? WritableAccount<TAccountTunaPositionAtaB> : TAccountTunaPositionAtaB,
|
|
5164
|
-
|
|
5165
|
-
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
5166
|
-
TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
|
|
5167
|
-
...TRemainingAccounts
|
|
5168
|
-
]>;
|
|
5169
|
-
type OpenTunaSpotPositionFusionInstructionData = {
|
|
5170
|
-
discriminator: ReadonlyUint8Array;
|
|
5171
|
-
positionToken: PoolToken;
|
|
5172
|
-
collateralToken: PoolToken;
|
|
5173
|
-
};
|
|
5174
|
-
type OpenTunaSpotPositionFusionInstructionDataArgs = {
|
|
5175
|
-
positionToken: PoolTokenArgs;
|
|
5176
|
-
collateralToken: PoolTokenArgs;
|
|
5177
|
-
};
|
|
5178
|
-
declare function getOpenTunaSpotPositionFusionInstructionDataEncoder(): Encoder<OpenTunaSpotPositionFusionInstructionDataArgs>;
|
|
5179
|
-
declare function getOpenTunaSpotPositionFusionInstructionDataDecoder(): Decoder<OpenTunaSpotPositionFusionInstructionData>;
|
|
5180
|
-
declare function getOpenTunaSpotPositionFusionInstructionDataCodec(): Codec<OpenTunaSpotPositionFusionInstructionDataArgs, OpenTunaSpotPositionFusionInstructionData>;
|
|
5181
|
-
type OpenTunaSpotPositionFusionInput<TAccountAuthority extends string = string, TAccountMintA extends string = string, TAccountMintB extends string = string, TAccountTokenProgramA extends string = string, TAccountTokenProgramB extends string = string, TAccountTunaPosition extends string = string, TAccountTunaPositionAtaA extends string = string, TAccountTunaPositionAtaB extends string = string, TAccountFusionPool extends string = string, TAccountSystemProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
|
|
5182
|
-
/**
|
|
5183
|
-
*
|
|
5184
|
-
* TUNA accounts
|
|
5185
|
-
*
|
|
5186
|
-
*/
|
|
5187
|
-
authority: TransactionSigner<TAccountAuthority>;
|
|
5188
|
-
mintA: Address<TAccountMintA>;
|
|
5189
|
-
mintB: Address<TAccountMintB>;
|
|
5190
|
-
tokenProgramA: Address<TAccountTokenProgramA>;
|
|
5191
|
-
tokenProgramB: Address<TAccountTokenProgramB>;
|
|
5192
|
-
tunaPosition: Address<TAccountTunaPosition>;
|
|
5193
|
-
tunaPositionAtaA: Address<TAccountTunaPositionAtaA>;
|
|
5194
|
-
tunaPositionAtaB: Address<TAccountTunaPositionAtaB>;
|
|
5195
|
-
/**
|
|
5196
|
-
*
|
|
5197
|
-
* Fusion accounts
|
|
5198
|
-
*
|
|
5199
|
-
*/
|
|
5200
|
-
fusionPool: Address<TAccountFusionPool>;
|
|
5201
|
-
/**
|
|
5202
|
-
*
|
|
5203
|
-
* Other accounts
|
|
5204
|
-
*
|
|
5205
|
-
*/
|
|
5206
|
-
systemProgram?: Address<TAccountSystemProgram>;
|
|
5207
|
-
associatedTokenProgram: Address<TAccountAssociatedTokenProgram>;
|
|
5208
|
-
positionToken: OpenTunaSpotPositionFusionInstructionDataArgs['positionToken'];
|
|
5209
|
-
collateralToken: OpenTunaSpotPositionFusionInstructionDataArgs['collateralToken'];
|
|
5210
|
-
};
|
|
5211
|
-
declare function getOpenTunaSpotPositionFusionInstruction<TAccountAuthority extends string, TAccountMintA extends string, TAccountMintB extends string, TAccountTokenProgramA extends string, TAccountTokenProgramB extends string, TAccountTunaPosition extends string, TAccountTunaPositionAtaA extends string, TAccountTunaPositionAtaB extends string, TAccountFusionPool extends string, TAccountSystemProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: OpenTunaSpotPositionFusionInput<TAccountAuthority, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountFusionPool, TAccountSystemProgram, TAccountAssociatedTokenProgram>, config?: {
|
|
5212
|
-
programAddress?: TProgramAddress;
|
|
5213
|
-
}): OpenTunaSpotPositionFusionInstruction<TProgramAddress, TAccountAuthority, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountFusionPool, TAccountSystemProgram, TAccountAssociatedTokenProgram>;
|
|
5214
|
-
type ParsedOpenTunaSpotPositionFusionInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
5215
|
-
programAddress: Address<TProgram>;
|
|
5216
|
-
accounts: {
|
|
5217
|
-
/**
|
|
5218
|
-
*
|
|
5219
|
-
* TUNA accounts
|
|
5220
|
-
*
|
|
5221
|
-
*/
|
|
5222
|
-
authority: TAccountMetas[0];
|
|
5223
|
-
mintA: TAccountMetas[1];
|
|
5224
|
-
mintB: TAccountMetas[2];
|
|
5225
|
-
tokenProgramA: TAccountMetas[3];
|
|
5226
|
-
tokenProgramB: TAccountMetas[4];
|
|
5227
|
-
tunaPosition: TAccountMetas[5];
|
|
5228
|
-
tunaPositionAtaA: TAccountMetas[6];
|
|
5229
|
-
tunaPositionAtaB: TAccountMetas[7];
|
|
5230
|
-
/**
|
|
5231
|
-
*
|
|
5232
|
-
* Fusion accounts
|
|
5233
|
-
*
|
|
5234
|
-
*/
|
|
5235
|
-
fusionPool: TAccountMetas[8];
|
|
5236
|
-
/**
|
|
5237
|
-
*
|
|
5238
|
-
* Other accounts
|
|
5239
|
-
*
|
|
5240
|
-
*/
|
|
5241
|
-
systemProgram: TAccountMetas[9];
|
|
5242
|
-
associatedTokenProgram: TAccountMetas[10];
|
|
5243
|
-
};
|
|
5244
|
-
data: OpenTunaSpotPositionFusionInstructionData;
|
|
5245
|
-
};
|
|
5246
|
-
declare function parseOpenTunaSpotPositionFusionInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedOpenTunaSpotPositionFusionInstruction<TProgram, TAccountMetas>;
|
|
5247
|
-
|
|
5248
|
-
/**
|
|
5249
|
-
* This code was AUTOGENERATED using the codama library.
|
|
5250
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5251
|
-
* to add features, then rerun codama to update it.
|
|
5252
|
-
*
|
|
5253
|
-
* @see https://github.com/codama-idl/codama
|
|
5254
|
-
*/
|
|
5255
|
-
|
|
5256
|
-
declare const OPEN_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
5257
|
-
declare function getOpenTunaSpotPositionOrcaDiscriminatorBytes(): ReadonlyUint8Array;
|
|
5258
|
-
type OpenTunaSpotPositionOrcaInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountAuthority 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, TAccountTunaPosition extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaA extends string | IAccountMeta<string> = string, TAccountTunaPositionAtaB extends string | IAccountMeta<string> = string, TAccountWhirlpool extends string | IAccountMeta<string> = string, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TAccountAssociatedTokenProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
5259
|
-
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & IAccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
5260
|
-
TAccountMintA extends string ? ReadonlyAccount<TAccountMintA> : TAccountMintA,
|
|
5261
|
-
TAccountMintB extends string ? ReadonlyAccount<TAccountMintB> : TAccountMintB,
|
|
5262
|
-
TAccountTokenProgramA extends string ? ReadonlyAccount<TAccountTokenProgramA> : TAccountTokenProgramA,
|
|
5263
|
-
TAccountTokenProgramB extends string ? ReadonlyAccount<TAccountTokenProgramB> : TAccountTokenProgramB,
|
|
5264
|
-
TAccountTunaPosition extends string ? WritableAccount<TAccountTunaPosition> : TAccountTunaPosition,
|
|
5265
|
-
TAccountTunaPositionAtaA extends string ? WritableAccount<TAccountTunaPositionAtaA> : TAccountTunaPositionAtaA,
|
|
5266
|
-
TAccountTunaPositionAtaB extends string ? WritableAccount<TAccountTunaPositionAtaB> : TAccountTunaPositionAtaB,
|
|
5267
|
-
TAccountWhirlpool extends string ? WritableAccount<TAccountWhirlpool> : TAccountWhirlpool,
|
|
5478
|
+
TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
|
|
5268
5479
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
5269
5480
|
TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
|
|
5270
5481
|
...TRemainingAccounts
|
|
5271
5482
|
]>;
|
|
5272
|
-
type
|
|
5483
|
+
type OpenTunaSpotPositionInstructionData = {
|
|
5273
5484
|
discriminator: ReadonlyUint8Array;
|
|
5274
5485
|
positionToken: PoolToken;
|
|
5275
5486
|
collateralToken: PoolToken;
|
|
5276
5487
|
};
|
|
5277
|
-
type
|
|
5488
|
+
type OpenTunaSpotPositionInstructionDataArgs = {
|
|
5278
5489
|
positionToken: PoolTokenArgs;
|
|
5279
5490
|
collateralToken: PoolTokenArgs;
|
|
5280
5491
|
};
|
|
5281
|
-
declare function
|
|
5282
|
-
declare function
|
|
5283
|
-
declare function
|
|
5284
|
-
type
|
|
5492
|
+
declare function getOpenTunaSpotPositionInstructionDataEncoder(): Encoder<OpenTunaSpotPositionInstructionDataArgs>;
|
|
5493
|
+
declare function getOpenTunaSpotPositionInstructionDataDecoder(): Decoder<OpenTunaSpotPositionInstructionData>;
|
|
5494
|
+
declare function getOpenTunaSpotPositionInstructionDataCodec(): Codec<OpenTunaSpotPositionInstructionDataArgs, OpenTunaSpotPositionInstructionData>;
|
|
5495
|
+
type OpenTunaSpotPositionInput<TAccountAuthority extends string = string, TAccountMintA extends string = string, TAccountMintB extends string = string, TAccountTokenProgramA extends string = string, TAccountTokenProgramB extends string = string, TAccountTunaPosition extends string = string, TAccountTunaPositionAtaA extends string = string, TAccountTunaPositionAtaB extends string = string, TAccountPool extends string = string, TAccountSystemProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
|
|
5285
5496
|
/**
|
|
5286
5497
|
*
|
|
5287
5498
|
* TUNA accounts
|
|
@@ -5297,10 +5508,10 @@ type OpenTunaSpotPositionOrcaInput<TAccountAuthority extends string = string, TA
|
|
|
5297
5508
|
tunaPositionAtaB: Address<TAccountTunaPositionAtaB>;
|
|
5298
5509
|
/**
|
|
5299
5510
|
*
|
|
5300
|
-
* Fusion accounts
|
|
5511
|
+
* Fusion or Orca accounts
|
|
5301
5512
|
*
|
|
5302
5513
|
*/
|
|
5303
|
-
|
|
5514
|
+
pool: Address<TAccountPool>;
|
|
5304
5515
|
/**
|
|
5305
5516
|
*
|
|
5306
5517
|
* Other accounts
|
|
@@ -5308,13 +5519,13 @@ type OpenTunaSpotPositionOrcaInput<TAccountAuthority extends string = string, TA
|
|
|
5308
5519
|
*/
|
|
5309
5520
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
5310
5521
|
associatedTokenProgram: Address<TAccountAssociatedTokenProgram>;
|
|
5311
|
-
positionToken:
|
|
5312
|
-
collateralToken:
|
|
5522
|
+
positionToken: OpenTunaSpotPositionInstructionDataArgs['positionToken'];
|
|
5523
|
+
collateralToken: OpenTunaSpotPositionInstructionDataArgs['collateralToken'];
|
|
5313
5524
|
};
|
|
5314
|
-
declare function
|
|
5525
|
+
declare function getOpenTunaSpotPositionInstruction<TAccountAuthority extends string, TAccountMintA extends string, TAccountMintB extends string, TAccountTokenProgramA extends string, TAccountTokenProgramB extends string, TAccountTunaPosition extends string, TAccountTunaPositionAtaA extends string, TAccountTunaPositionAtaB extends string, TAccountPool extends string, TAccountSystemProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof TUNA_PROGRAM_ADDRESS>(input: OpenTunaSpotPositionInput<TAccountAuthority, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountPool, TAccountSystemProgram, TAccountAssociatedTokenProgram>, config?: {
|
|
5315
5526
|
programAddress?: TProgramAddress;
|
|
5316
|
-
}):
|
|
5317
|
-
type
|
|
5527
|
+
}): OpenTunaSpotPositionInstruction<TProgramAddress, TAccountAuthority, TAccountMintA, TAccountMintB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountTunaPosition, TAccountTunaPositionAtaA, TAccountTunaPositionAtaB, TAccountPool, TAccountSystemProgram, TAccountAssociatedTokenProgram>;
|
|
5528
|
+
type ParsedOpenTunaSpotPositionInstruction<TProgram extends string = typeof TUNA_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
5318
5529
|
programAddress: Address<TProgram>;
|
|
5319
5530
|
accounts: {
|
|
5320
5531
|
/**
|
|
@@ -5332,10 +5543,10 @@ type ParsedOpenTunaSpotPositionOrcaInstruction<TProgram extends string = typeof
|
|
|
5332
5543
|
tunaPositionAtaB: TAccountMetas[7];
|
|
5333
5544
|
/**
|
|
5334
5545
|
*
|
|
5335
|
-
* Fusion accounts
|
|
5546
|
+
* Fusion or Orca accounts
|
|
5336
5547
|
*
|
|
5337
5548
|
*/
|
|
5338
|
-
|
|
5549
|
+
pool: TAccountMetas[8];
|
|
5339
5550
|
/**
|
|
5340
5551
|
*
|
|
5341
5552
|
* Other accounts
|
|
@@ -5344,9 +5555,9 @@ type ParsedOpenTunaSpotPositionOrcaInstruction<TProgram extends string = typeof
|
|
|
5344
5555
|
systemProgram: TAccountMetas[9];
|
|
5345
5556
|
associatedTokenProgram: TAccountMetas[10];
|
|
5346
5557
|
};
|
|
5347
|
-
data:
|
|
5558
|
+
data: OpenTunaSpotPositionInstructionData;
|
|
5348
5559
|
};
|
|
5349
|
-
declare function
|
|
5560
|
+
declare function parseOpenTunaSpotPositionInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedOpenTunaSpotPositionInstruction<TProgram, TAccountMetas>;
|
|
5350
5561
|
|
|
5351
5562
|
/**
|
|
5352
5563
|
* This code was AUTOGENERATED using the codama library.
|
|
@@ -6636,6 +6847,9 @@ declare function getCreateAtaInstructions(rpc: Rpc<GetAccountInfoApi> | undefine
|
|
|
6636
6847
|
cleanup: IInstruction[];
|
|
6637
6848
|
}>;
|
|
6638
6849
|
|
|
6850
|
+
declare function sharesToFunds(shares: bigint, totalFunds: bigint, totalShares: bigint, roundUp?: boolean): bigint;
|
|
6851
|
+
declare function fundsToShares(funds: bigint, totalFunds: bigint, totalShares: bigint, roundUp?: boolean): bigint;
|
|
6852
|
+
|
|
6639
6853
|
type CreateAddressLookupTableResult = {
|
|
6640
6854
|
instructions: IInstruction[];
|
|
6641
6855
|
lookupTableAddress: Address;
|
|
@@ -6685,16 +6899,6 @@ type IncreaseLpPositionQuoteResult = {
|
|
|
6685
6899
|
protocolFeeB: bigint;
|
|
6686
6900
|
};
|
|
6687
6901
|
declare function getIncreaseLpPositionQuote(args: IncreaseLpPositionQuoteArgs): IncreaseLpPositionQuoteResult;
|
|
6688
|
-
/**
|
|
6689
|
-
* Calculates the protocol fee for collateral and borrowed amounts based on market's protocol fee rate.
|
|
6690
|
-
*
|
|
6691
|
-
* @param {bigint} collateralAmount - The amount of tokens provided by the user.
|
|
6692
|
-
* @param {bigint} borrowAmount - The amount of tokens borrowed.
|
|
6693
|
-
* @param {bigint} protocolFeeRateOnCollateral - The protocol fee rate of a market applied to a collateral amount.
|
|
6694
|
-
* @param {bigint} protocolFeeRate - The protocol fee rate of a market applied to a borrowed amount.
|
|
6695
|
-
* @returns {bigint} Protocol fee amount.
|
|
6696
|
-
*/
|
|
6697
|
-
declare function calculateProtocolFee(collateralAmount: bigint, borrowAmount: bigint, protocolFeeRateOnCollateral: number, protocolFeeRate: number): bigint;
|
|
6698
6902
|
|
|
6699
6903
|
type IncreaseTunaLpPositionOrcaInstructionsArgs = Omit<IncreaseTunaLpPositionOrcaInstructionDataArgs, "remainingAccountsInfo" | "minAddedAmountA" | "minAddedAmountB"> & {
|
|
6700
6904
|
maxAmountSlippage: number;
|
|
@@ -6753,6 +6957,10 @@ type IncreaseTunaSpotPositionFusionInstructionsArgs = Omit<IncreaseTunaSpotPosit
|
|
|
6753
6957
|
declare function increaseTunaSpotPositionFusionInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, fusionPoolAddress: Address, args: IncreaseTunaSpotPositionFusionInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<IInstruction[]>;
|
|
6754
6958
|
declare function increaseTunaSpotPositionFusionInstruction(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, args: IncreaseTunaSpotPositionFusionInstructionsArgs): Promise<IInstruction>;
|
|
6755
6959
|
|
|
6960
|
+
type IncreaseTunaSpotPositionJupiterInstructionsArgs = Omit<IncreaseTunaSpotPositionJupiterInstructionDataArgs, "remainingAccountsInfo">;
|
|
6961
|
+
declare function increaseTunaSpotPositionJupiterInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, poolAddress: Address, remainingAccounts: IAccountMeta[], openArgs: OpenTunaSpotPositionInstructionDataArgs | undefined, increaseArgs: IncreaseTunaSpotPositionJupiterInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<IInstruction[]>;
|
|
6962
|
+
declare function increaseTunaSpotPositionJupiterInstruction(authority: TransactionSigner, poolAddress: Address, collateralToken: PoolToken, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, remainingAccounts: IAccountMeta[], args: IncreaseTunaSpotPositionJupiterInstructionsArgs): Promise<IInstruction>;
|
|
6963
|
+
|
|
6756
6964
|
type DecreaseTunaSpotPositionOrcaInstructionsArgs = Omit<DecreaseTunaSpotPositionOrcaInstructionDataArgs, "remainingAccountsInfo">;
|
|
6757
6965
|
declare function decreaseTunaSpotPositionOrcaInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, whirlpoolAddress: Address, args: DecreaseTunaSpotPositionOrcaInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<IInstruction[]>;
|
|
6758
6966
|
declare function decreaseTunaSpotPositionOrcaInstruction(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, whirlpool: Account<Whirlpool>, setTunaPositionOwnerAtaA: boolean, setTunaPositionOwnerAtaB: boolean, args: DecreaseTunaSpotPositionOrcaInstructionsArgs): Promise<IInstruction>;
|
|
@@ -6761,6 +6969,10 @@ type DecreaseTunaSpotPositionFusionInstructionsArgs = Omit<DecreaseTunaSpotPosit
|
|
|
6761
6969
|
declare function decreaseTunaSpotPositionFusionInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, fusionPoolAddress: Address, args: DecreaseTunaSpotPositionFusionInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<IInstruction[]>;
|
|
6762
6970
|
declare function decreaseTunaSpotPositionFusionInstruction(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, fusionPool: Account<FusionPool>, setTunaPositionOwnerAtaA: boolean, setTunaPositionOwnerAtaB: boolean, args: DecreaseTunaSpotPositionFusionInstructionsArgs): Promise<IInstruction>;
|
|
6763
6971
|
|
|
6972
|
+
type DecreaseTunaSpotPositionJupiterInstructionsArgs = Omit<DecreaseTunaSpotPositionJupiterInstructionDataArgs, "remainingAccountsInfo">;
|
|
6973
|
+
declare function decreaseTunaSpotPositionJupiterInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, poolAddress: Address, remainingAccounts: IAccountMeta[], args: DecreaseTunaSpotPositionJupiterInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<IInstruction[]>;
|
|
6974
|
+
declare function decreaseTunaSpotPositionJupiterInstruction(authority: TransactionSigner, tunaPosition: Account<TunaSpotPosition>, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, remainingAccounts: IAccountMeta[], args: DecreaseTunaSpotPositionJupiterInstructionsArgs): Promise<IInstruction>;
|
|
6975
|
+
|
|
6764
6976
|
declare function closeTunaSpotPositionInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, poolAddress: Address): Promise<IInstruction[]>;
|
|
6765
6977
|
declare function closeTunaSpotPositionInstruction(authority: TransactionSigner, poolAddress: Address, mintA: Account<Mint>, mintB: Account<Mint>): Promise<IInstruction>;
|
|
6766
6978
|
|
|
@@ -6825,11 +7037,8 @@ type OpenAndIncreaseTunaSpotPositionOrcaInstructionsArgs = Omit<OpenAndIncreaseT
|
|
|
6825
7037
|
declare function openAndIncreaseTunaSpotPositionOrcaInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, whirlpoolAddress: Address, args: OpenAndIncreaseTunaSpotPositionOrcaInstructionsArgs, createInstructions?: IInstruction[], cleanupInstructions?: IInstruction[]): Promise<IInstruction[]>;
|
|
6826
7038
|
declare function openAndIncreaseTunaSpotPositionOrcaInstruction(authority: TransactionSigner, tunaConfig: Account<TunaConfig>, mintA: Account<Mint>, mintB: Account<Mint>, vaultA: Account<Vault>, vaultB: Account<Vault>, whirlpool: Account<Whirlpool>, args: Omit<OpenAndIncreaseTunaSpotPositionOrcaInstructionDataArgs, "remainingAccountsInfo">): Promise<IInstruction>;
|
|
6827
7039
|
|
|
6828
|
-
declare function
|
|
6829
|
-
declare function
|
|
6830
|
-
|
|
6831
|
-
declare function openTunaSpotPositionOrcaInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, whirlpoolAddress: Address, args: OpenTunaSpotPositionFusionInstructionDataArgs): Promise<IInstruction[]>;
|
|
6832
|
-
declare function openTunaSpotPositionOrcaInstruction(authority: TransactionSigner, mintA: Account<Mint>, mintB: Account<Mint>, whirlpoolAddress: Address, args: OpenTunaSpotPositionOrcaInstructionDataArgs): Promise<IInstruction>;
|
|
7040
|
+
declare function openTunaSpotPositionInstructions(rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi>, authority: TransactionSigner, poolAddress: Address, args: OpenTunaSpotPositionInstructionDataArgs): Promise<IInstruction[]>;
|
|
7041
|
+
declare function openTunaSpotPositionInstruction(authority: TransactionSigner, mintA: Account<Mint>, mintB: Account<Mint>, poolAddress: Address, args: OpenTunaSpotPositionInstructionDataArgs): Promise<IInstruction>;
|
|
6833
7042
|
|
|
6834
7043
|
type DecreaseTunaLpPositionOrcaInstructionsArgs = Omit<DecreaseTunaLpPositionOrcaInstructionDataArgs, "remainingAccountsInfo" | "minRemovedAmountA" | "minRemovedAmountB"> & {
|
|
6835
7044
|
maxAmountSlippage: number;
|
|
@@ -6884,6 +7093,7 @@ declare function rebalanceTunaLpPositionFusionInstruction(authority: Transaction
|
|
|
6884
7093
|
|
|
6885
7094
|
declare const DEFAULT_ADDRESS: _solana_kit.Address<"11111111111111111111111111111111">;
|
|
6886
7095
|
declare const HUNDRED_PERCENT = 1000000;
|
|
7096
|
+
declare const HUNDRED_PERCENTn = 1000000n;
|
|
6887
7097
|
declare const LEVERAGE_ONE = 1000000;
|
|
6888
7098
|
declare const MAX_LEVERAGE: number;
|
|
6889
7099
|
declare const MAX_PROTOCOL_FEE: number;
|
|
@@ -6904,7 +7114,9 @@ declare const TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE: number;
|
|
|
6904
7114
|
declare const TUNA_POSITION_FLAGS_ALLOW_REBALANCING: number;
|
|
6905
7115
|
declare const WP_NFT_UPDATE_AUTH: _solana_kit.Address<"3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr">;
|
|
6906
7116
|
declare const DEFAULT_PUSH_ORACLE_PROGRAM_ID: _solana_kit.Address<"pythWSnswVUd12oZpeFP8e9CVaEqJg25g1Vtc2biRsT">;
|
|
7117
|
+
declare const JUPITER_EVENT_AUTHORITY: _solana_kit.Address<"D8cy77BBepLMngZx6ZukaTff5hCt1HrWyKk3Hnd9oitf">;
|
|
7118
|
+
declare const JUPITER_PROGRAM_AUTHORITY: _solana_kit.Address<"9nnLbotNTcUhvbrsA6Mdkx45Sm82G35zo28AqUvjExn8">;
|
|
6907
7119
|
declare const MIN_SQRT_PRICE = 4295048016n;
|
|
6908
7120
|
declare const MAX_SQRT_PRICE = 79226673515401279992447579055n;
|
|
6909
7121
|
|
|
6910
|
-
export { AccountsType, type AccountsTypeArgs, CLOSE_ACTIVE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, CLOSE_ACTIVE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, 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_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, type CloseActiveTunaLpPositionInstructionArgs, type CloseActiveTunaSpotPositionFusionInput, type CloseActiveTunaSpotPositionFusionInstruction, type CloseActiveTunaSpotPositionFusionInstructionData, type CloseActiveTunaSpotPositionFusionInstructionDataArgs, type CloseActiveTunaSpotPositionFusionInstructionsArgs, type CloseActiveTunaSpotPositionOrcaInput, type CloseActiveTunaSpotPositionOrcaInstruction, type CloseActiveTunaSpotPositionOrcaInstructionData, type CloseActiveTunaSpotPositionOrcaInstructionDataArgs, type CloseActiveTunaSpotPositionOrcaInstructionsArgs, 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 CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, DECREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, DECREASE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_SPOT_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 DecreaseTunaSpotPositionFusionInput, type DecreaseTunaSpotPositionFusionInstruction, type DecreaseTunaSpotPositionFusionInstructionData, type DecreaseTunaSpotPositionFusionInstructionDataArgs, type DecreaseTunaSpotPositionFusionInstructionsArgs, type DecreaseTunaSpotPositionOrcaInput, type DecreaseTunaSpotPositionOrcaInstruction, type DecreaseTunaSpotPositionOrcaInstructionData, type DecreaseTunaSpotPositionOrcaInstructionDataArgs, type DecreaseTunaSpotPositionOrcaInstructionsArgs, type DepositInput, type DepositInstruction, type DepositInstructionData, type DepositInstructionDataArgs, FusionUtils, HUNDRED_PERCENT, INCREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, INCREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, INCREASE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, INCREASE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type IncreaseLpPositionQuoteArgs, type IncreaseLpPositionQuoteResult, type IncreaseTunaLpPositionFusionInput, type IncreaseTunaLpPositionFusionInstruction, type IncreaseTunaLpPositionFusionInstructionData, type IncreaseTunaLpPositionFusionInstructionDataArgs, type IncreaseTunaLpPositionFusionInstructionsArgs, type IncreaseTunaLpPositionOrcaInput, type IncreaseTunaLpPositionOrcaInstruction, type IncreaseTunaLpPositionOrcaInstructionData, type IncreaseTunaLpPositionOrcaInstructionDataArgs, type IncreaseTunaLpPositionOrcaInstructionsArgs, type IncreaseTunaSpotPositionFusionInput, type IncreaseTunaSpotPositionFusionInstruction, type IncreaseTunaSpotPositionFusionInstructionData, type IncreaseTunaSpotPositionFusionInstructionDataArgs, type IncreaseTunaSpotPositionFusionInstructionsArgs, type IncreaseTunaSpotPositionOrcaInput, type IncreaseTunaSpotPositionOrcaInstruction, type IncreaseTunaSpotPositionOrcaInstructionData, type IncreaseTunaSpotPositionOrcaInstructionDataArgs, type IncreaseTunaSpotPositionOrcaInstructionsArgs, 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_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 LiquidateTunaSpotPositionOrcaInput, type LiquidateTunaSpotPositionOrcaInstruction, type LiquidateTunaSpotPositionOrcaInstructionData, type LiquidateTunaSpotPositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIMIT_ORDER_EXECUTION_FEE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, MAX_SQRT_PRICE, MIN_SQRT_PRICE, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, 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_AND_INCREASE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, OPEN_AND_INCREASE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, OPEN_LENDING_POSITION_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, OPEN_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, OPEN_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, OPEN_TUNA_SPOT_POSITION_ORCA_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 OpenAndIncreaseTunaSpotPositionFusionInput, type OpenAndIncreaseTunaSpotPositionFusionInstruction, type OpenAndIncreaseTunaSpotPositionFusionInstructionData, type OpenAndIncreaseTunaSpotPositionFusionInstructionDataArgs, type OpenAndIncreaseTunaSpotPositionFusionInstructionsArgs, type OpenAndIncreaseTunaSpotPositionOrcaInput, type OpenAndIncreaseTunaSpotPositionOrcaInstruction, type OpenAndIncreaseTunaSpotPositionOrcaInstructionData, type OpenAndIncreaseTunaSpotPositionOrcaInstructionDataArgs, type OpenAndIncreaseTunaSpotPositionOrcaInstructionsArgs, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenTunaLpPositionFusionInput, type OpenTunaLpPositionFusionInstruction, type OpenTunaLpPositionFusionInstructionData, type OpenTunaLpPositionFusionInstructionDataArgs, type OpenTunaLpPositionOrcaInput, type OpenTunaLpPositionOrcaInstruction, type OpenTunaLpPositionOrcaInstructionData, type OpenTunaLpPositionOrcaInstructionDataArgs, type OpenTunaSpotPositionFusionInput, type OpenTunaSpotPositionFusionInstruction, type OpenTunaSpotPositionFusionInstructionData, type OpenTunaSpotPositionFusionInstructionDataArgs, type OpenTunaSpotPositionOrcaInput, type OpenTunaSpotPositionOrcaInstruction, type OpenTunaSpotPositionOrcaInstructionData, type OpenTunaSpotPositionOrcaInstructionDataArgs, OrcaUtils, type ParsedCloseActiveTunaSpotPositionFusionInstruction, type ParsedCloseActiveTunaSpotPositionOrcaInstruction, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedDecreaseTunaLpPositionFusionInstruction, type ParsedDecreaseTunaLpPositionOrcaInstruction, type ParsedDecreaseTunaSpotPositionFusionInstruction, type ParsedDecreaseTunaSpotPositionOrcaInstruction, type ParsedDepositInstruction, type ParsedIncreaseTunaLpPositionFusionInstruction, type ParsedIncreaseTunaLpPositionOrcaInstruction, type ParsedIncreaseTunaSpotPositionFusionInstruction, type ParsedIncreaseTunaSpotPositionOrcaInstruction, type ParsedLiquidateTunaLpPositionFusionInstruction, type ParsedLiquidateTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaSpotPositionFusionInstruction, type ParsedLiquidateTunaSpotPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaLpPositionFusionInstruction, type ParsedOpenAndIncreaseTunaLpPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaSpotPositionFusionInstruction, type ParsedOpenAndIncreaseTunaSpotPositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenTunaLpPositionFusionInstruction, type ParsedOpenTunaLpPositionOrcaInstruction, type ParsedOpenTunaSpotPositionFusionInstruction, type ParsedOpenTunaSpotPositionOrcaInstruction, type ParsedRebalanceTunaLpPositionFusionInstruction, type ParsedRebalanceTunaLpPositionOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayTunaLpPositionDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, PoolToken, type PoolTokenArgs, REBALANCE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR, RESET_TUNA_SPOT_POSITION_DISCRIMINATOR, type RebalanceTunaLpPositionFusion, type RebalanceTunaLpPositionFusionInput, type RebalanceTunaLpPositionFusionInstruction, type RebalanceTunaLpPositionFusionInstructionData, type RebalanceTunaLpPositionFusionInstructionDataArgs, type RebalanceTunaLpPositionOrca, type RebalanceTunaLpPositionOrcaInput, type RebalanceTunaLpPositionOrcaInstruction, type RebalanceTunaLpPositionOrcaInstructionData, type RebalanceTunaLpPositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayTunaLpPositionDebtInput, type RepayTunaLpPositionDebtInstruction, type RepayTunaLpPositionDebtInstructionData, type RepayTunaLpPositionDebtInstructionDataArgs, type ResetTunaSpotPositionInput, type ResetTunaSpotPositionInstruction, type ResetTunaSpotPositionInstructionData, type ResetTunaSpotPositionInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR, SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, type SetDefaultMaxPercentageOfLeftoversInput, type SetDefaultMaxPercentageOfLeftoversInstruction, type SetDefaultMaxPercentageOfLeftoversInstructionData, type SetDefaultMaxPercentageOfLeftoversInstructionDataArgs, type SetDefaultMaxSwapSlippageInput, type SetDefaultMaxSwapSlippageInstruction, type SetDefaultMaxSwapSlippageInstructionData, type SetDefaultMaxSwapSlippageInstructionDataArgs, type SetDefaultOraclePriceDeviationThresholdInput, type SetDefaultOraclePriceDeviationThresholdInstruction, type SetDefaultOraclePriceDeviationThresholdInstructionData, type SetDefaultOraclePriceDeviationThresholdInstructionDataArgs, type SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLiquidatorAuthorityInput, type SetLiquidatorAuthorityInstruction, type SetLiquidatorAuthorityInstructionData, type SetLiquidatorAuthorityInstructionDataArgs, type SetOwnerAuthorityInput, type SetOwnerAuthorityInstruction, type SetOwnerAuthorityInstructionData, type SetOwnerAuthorityInstructionDataArgs, type SetSuspendedStateInput, type SetSuspendedStateInstruction, type SetSuspendedStateInstructionData, type SetSuspendedStateInstructionDataArgs, type SetTunaLpPositionFlagsInput, type SetTunaLpPositionFlagsInstruction, type SetTunaLpPositionFlagsInstructionData, type SetTunaLpPositionFlagsInstructionDataArgs, type SetTunaLpPositionLimitOrdersInput, type SetTunaLpPositionLimitOrdersInstruction, type SetTunaLpPositionLimitOrdersInstructionData, type SetTunaLpPositionLimitOrdersInstructionDataArgs, type SetTunaLpPositionRebalanceThresholdInput, type SetTunaLpPositionRebalanceThresholdInstruction, type SetTunaLpPositionRebalanceThresholdInstructionData, type SetTunaLpPositionRebalanceThresholdInstructionDataArgs, type SetTunaSpotPositionLimitOrdersInput, type SetTunaSpotPositionLimitOrdersInstruction, type SetTunaSpotPositionLimitOrdersInstructionData, type SetTunaSpotPositionLimitOrdersInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INCORRECT_POSITION_DIRECTION, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIMIT_ORDER_EXECUTION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDITY_ZERO, TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED, TUNA_ERROR__MARKET_DISABLED, TUNA_ERROR__MATH_OVERFLOW, TUNA_ERROR__MATH_UNDERFLOW, TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE, TUNA_ERROR__ORACLE_STALE_PRICE, TUNA_ERROR__PARTIAL_FILL_ERROR, TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE, TUNA_ERROR__POSITION_IS_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET, TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE, TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH, TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED, TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT, TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS, TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED, TUNA_ERROR__SUSPENDED, TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT, TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED, TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE, TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED, TUNA_ERROR__TICK_INDEX_OF_BOUNDS, TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR, TUNA_ERROR__TYPE_CAST_OVERFLOW, TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA, TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA, TUNA_ERROR__UNEXPECTED_VALUE, TUNA_ERROR__UNSUPPORTED_TOKEN_MINT, TUNA_ERROR__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_LP_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateVaultInput, type UpdateVaultInstruction, type UpdateVaultInstructionData, type UpdateVaultInstructionDataArgs, VAULT_DISCRIMINATOR, type Vault, type VaultArgs, WITHDRAW_DISCRIMINATOR, WP_NFT_UPDATE_AUTH, type WithdrawInput, type WithdrawInstruction, type WithdrawInstructionData, type WithdrawInstructionDataArgs, calculateProtocolFee, closeActiveTunaLpPositionFusionInstructions, closeActiveTunaLpPositionOrcaInstructions, closeActiveTunaSpotPositionFusionInstruction, closeActiveTunaSpotPositionFusionInstructions, closeActiveTunaSpotPositionOrcaInstruction, closeActiveTunaSpotPositionOrcaInstructions, closeTunaLpPositionFusionInstruction, closeTunaLpPositionOrcaInstruction, closeTunaSpotPositionInstruction, closeTunaSpotPositionInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createTunaConfigInstruction, createVaultInstructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, decreaseTunaSpotPositionFusionInstruction, decreaseTunaSpotPositionFusionInstructions, decreaseTunaSpotPositionOrcaInstruction, decreaseTunaSpotPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaSpotPosition, fetchVault, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getCloseActiveTunaSpotPositionFusionDiscriminatorBytes, getCloseActiveTunaSpotPositionFusionInstruction, getCloseActiveTunaSpotPositionFusionInstructionDataCodec, getCloseActiveTunaSpotPositionFusionInstructionDataDecoder, getCloseActiveTunaSpotPositionFusionInstructionDataEncoder, getCloseActiveTunaSpotPositionOrcaDiscriminatorBytes, getCloseActiveTunaSpotPositionOrcaInstruction, getCloseActiveTunaSpotPositionOrcaInstructionDataCodec, getCloseActiveTunaSpotPositionOrcaInstructionDataDecoder, getCloseActiveTunaSpotPositionOrcaInstructionDataEncoder, 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, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getDecreaseTunaLpPositionFusionDiscriminatorBytes, getDecreaseTunaLpPositionFusionInstruction, getDecreaseTunaLpPositionFusionInstructionDataCodec, getDecreaseTunaLpPositionFusionInstructionDataDecoder, getDecreaseTunaLpPositionFusionInstructionDataEncoder, getDecreaseTunaLpPositionOrcaDiscriminatorBytes, getDecreaseTunaLpPositionOrcaInstruction, getDecreaseTunaLpPositionOrcaInstructionDataCodec, getDecreaseTunaLpPositionOrcaInstructionDataDecoder, getDecreaseTunaLpPositionOrcaInstructionDataEncoder, getDecreaseTunaSpotPositionFusionDiscriminatorBytes, getDecreaseTunaSpotPositionFusionInstruction, getDecreaseTunaSpotPositionFusionInstructionDataCodec, getDecreaseTunaSpotPositionFusionInstructionDataDecoder, getDecreaseTunaSpotPositionFusionInstructionDataEncoder, getDecreaseTunaSpotPositionOrcaDiscriminatorBytes, getDecreaseTunaSpotPositionOrcaInstruction, getDecreaseTunaSpotPositionOrcaInstructionDataCodec, getDecreaseTunaSpotPositionOrcaInstructionDataDecoder, getDecreaseTunaSpotPositionOrcaInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getIncreaseLpPositionQuote, getIncreaseTunaLpPositionFusionDiscriminatorBytes, getIncreaseTunaLpPositionFusionInstruction, getIncreaseTunaLpPositionFusionInstructionDataCodec, getIncreaseTunaLpPositionFusionInstructionDataDecoder, getIncreaseTunaLpPositionFusionInstructionDataEncoder, getIncreaseTunaLpPositionOrcaDiscriminatorBytes, getIncreaseTunaLpPositionOrcaInstruction, getIncreaseTunaLpPositionOrcaInstructionDataCodec, getIncreaseTunaLpPositionOrcaInstructionDataDecoder, getIncreaseTunaLpPositionOrcaInstructionDataEncoder, getIncreaseTunaSpotPositionFusionDiscriminatorBytes, getIncreaseTunaSpotPositionFusionInstruction, getIncreaseTunaSpotPositionFusionInstructionDataCodec, getIncreaseTunaSpotPositionFusionInstructionDataDecoder, getIncreaseTunaSpotPositionFusionInstructionDataEncoder, getIncreaseTunaSpotPositionOrcaDiscriminatorBytes, getIncreaseTunaSpotPositionOrcaInstruction, getIncreaseTunaSpotPositionOrcaInstructionDataCodec, getIncreaseTunaSpotPositionOrcaInstructionDataDecoder, getIncreaseTunaSpotPositionOrcaInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLiquidateTunaLpPositionFusionDiscriminatorBytes, getLiquidateTunaLpPositionFusionInstruction, getLiquidateTunaLpPositionFusionInstructionDataCodec, getLiquidateTunaLpPositionFusionInstructionDataDecoder, getLiquidateTunaLpPositionFusionInstructionDataEncoder, getLiquidateTunaLpPositionOrcaDiscriminatorBytes, getLiquidateTunaLpPositionOrcaInstruction, getLiquidateTunaLpPositionOrcaInstructionDataCodec, getLiquidateTunaLpPositionOrcaInstructionDataDecoder, getLiquidateTunaLpPositionOrcaInstructionDataEncoder, getLiquidateTunaSpotPositionFusionDiscriminatorBytes, getLiquidateTunaSpotPositionFusionInstruction, getLiquidateTunaSpotPositionFusionInstructionDataCodec, getLiquidateTunaSpotPositionFusionInstructionDataDecoder, getLiquidateTunaSpotPositionFusionInstructionDataEncoder, getLiquidateTunaSpotPositionOrcaDiscriminatorBytes, getLiquidateTunaSpotPositionOrcaInstruction, getLiquidateTunaSpotPositionOrcaInstructionDataCodec, getLiquidateTunaSpotPositionOrcaInstructionDataDecoder, getLiquidateTunaSpotPositionOrcaInstructionDataEncoder, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getOpenAndIncreaseTunaLpPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionFusionInstruction, getOpenAndIncreaseTunaLpPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaLpPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaSpotPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaSpotPositionFusionInstruction, getOpenAndIncreaseTunaSpotPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaSpotPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaSpotPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaSpotPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaSpotPositionOrcaInstruction, getOpenAndIncreaseTunaSpotPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaSpotPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaSpotPositionOrcaInstructionDataEncoder, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaSpotPositionFusionDiscriminatorBytes, getOpenTunaSpotPositionFusionInstruction, getOpenTunaSpotPositionFusionInstructionDataCodec, getOpenTunaSpotPositionFusionInstructionDataDecoder, getOpenTunaSpotPositionFusionInstructionDataEncoder, getOpenTunaSpotPositionOrcaDiscriminatorBytes, getOpenTunaSpotPositionOrcaInstruction, getOpenTunaSpotPositionOrcaInstructionDataCodec, getOpenTunaSpotPositionOrcaInstructionDataDecoder, getOpenTunaSpotPositionOrcaInstructionDataEncoder, getPoolTokenCodec, getPoolTokenDecoder, getPoolTokenEncoder, getPythPriceUpdateAccountAddress, getRebalanceTunaLpPositionFusionDiscriminatorBytes, getRebalanceTunaLpPositionFusionInstruction, getRebalanceTunaLpPositionFusionInstructionDataCodec, getRebalanceTunaLpPositionFusionInstructionDataDecoder, getRebalanceTunaLpPositionFusionInstructionDataEncoder, getRebalanceTunaLpPositionOrcaDiscriminatorBytes, getRebalanceTunaLpPositionOrcaInstruction, getRebalanceTunaLpPositionOrcaInstructionDataCodec, getRebalanceTunaLpPositionOrcaInstructionDataDecoder, getRebalanceTunaLpPositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayTunaLpPositionDebtDiscriminatorBytes, getRepayTunaLpPositionDebtInstruction, getRepayTunaLpPositionDebtInstructionDataCodec, getRepayTunaLpPositionDebtInstructionDataDecoder, getRepayTunaLpPositionDebtInstructionDataEncoder, getResetTunaSpotPositionDiscriminatorBytes, getResetTunaSpotPositionInstruction, getResetTunaSpotPositionInstructionDataCodec, getResetTunaSpotPositionInstructionDataDecoder, getResetTunaSpotPositionInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaLpPositionFlagsDiscriminatorBytes, getSetTunaLpPositionFlagsInstruction, getSetTunaLpPositionFlagsInstructionDataCodec, getSetTunaLpPositionFlagsInstructionDataDecoder, getSetTunaLpPositionFlagsInstructionDataEncoder, getSetTunaLpPositionLimitOrdersDiscriminatorBytes, getSetTunaLpPositionLimitOrdersInstruction, getSetTunaLpPositionLimitOrdersInstructionDataCodec, getSetTunaLpPositionLimitOrdersInstructionDataDecoder, getSetTunaLpPositionLimitOrdersInstructionDataEncoder, getSetTunaLpPositionRebalanceThresholdDiscriminatorBytes, getSetTunaLpPositionRebalanceThresholdInstruction, getSetTunaLpPositionRebalanceThresholdInstructionDataCodec, getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder, getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder, getSetTunaSpotPositionLimitOrdersDiscriminatorBytes, getSetTunaSpotPositionLimitOrdersInstruction, getSetTunaSpotPositionLimitOrdersInstructionDataCodec, getSetTunaSpotPositionLimitOrdersInstructionDataDecoder, getSetTunaSpotPositionLimitOrdersInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaLpPositionAddress, getTunaLpPositionCodec, getTunaLpPositionDecoder, getTunaLpPositionDiscriminatorBytes, getTunaLpPositionEncoder, getTunaLpPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, increaseTunaLpPositionFusionInstruction, increaseTunaLpPositionFusionInstructions, increaseTunaLpPositionOrcaInstruction, increaseTunaLpPositionOrcaInstructions, increaseTunaSpotPositionFusionInstruction, increaseTunaSpotPositionFusionInstructions, increaseTunaSpotPositionOrcaInstruction, increaseTunaSpotPositionOrcaInstructions, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, liquidateTunaLpPositionFusionInstruction, liquidateTunaLpPositionFusionInstructions, liquidateTunaLpPositionOrcaInstruction, liquidateTunaLpPositionOrcaInstructions, liquidateTunaSpotPositionFusionInstruction, liquidateTunaSpotPositionFusionInstructions, liquidateTunaSpotPositionOrcaInstruction, liquidateTunaSpotPositionOrcaInstructions, mulDiv, openAndIncreaseTunaLpPositionFusionInstruction, openAndIncreaseTunaLpPositionFusionInstructions, openAndIncreaseTunaLpPositionOrcaInstruction, openAndIncreaseTunaLpPositionOrcaInstructions, openAndIncreaseTunaSpotPositionFusionInstruction, openAndIncreaseTunaSpotPositionFusionInstructions, openAndIncreaseTunaSpotPositionOrcaInstruction, openAndIncreaseTunaSpotPositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openTunaLpPositionFusionInstruction, openTunaLpPositionOrcaInstruction, openTunaSpotPositionFusionInstruction, openTunaSpotPositionFusionInstructions, openTunaSpotPositionOrcaInstruction, openTunaSpotPositionOrcaInstructions, parseCloseActiveTunaSpotPositionFusionInstruction, parseCloseActiveTunaSpotPositionOrcaInstruction, parseCloseTunaLpPositionFusionInstruction, parseCloseTunaLpPositionOrcaInstruction, parseCloseTunaSpotPositionInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDecreaseTunaSpotPositionFusionInstruction, parseDecreaseTunaSpotPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseIncreaseTunaSpotPositionFusionInstruction, parseIncreaseTunaSpotPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenAndIncreaseTunaSpotPositionFusionInstruction, parseOpenAndIncreaseTunaSpotPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionFusionInstruction, parseOpenTunaSpotPositionOrcaInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalanceTunaLpPositionFusionInstruction, rebalanceTunaLpPositionFusionInstructions, rebalanceTunaLpPositionOrcaInstruction, rebalanceTunaLpPositionOrcaInstructions, repayBadDebtInstruction, repayTunaLpPositionDebtInstruction, repayTunaLpPositionDebtInstructions, resetTunaSpotPositionInstruction, setTunaLpPositionLimitOrdersInstruction, setTunaSpotPositionLimitOrdersInstruction, tunaLpPositionAuthorityFilter, tunaLpPositionMarketMakerFilter, tunaLpPositionMintAFilter, tunaLpPositionMintBFilter, tunaLpPositionMintFilter, tunaLpPositionPoolFilter, tunaSpotPositionAuthorityFilter, tunaSpotPositionMintAFilter, tunaSpotPositionMintBFilter, tunaSpotPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
|
|
7122
|
+
export { AccountsType, type AccountsTypeArgs, CLOSE_ACTIVE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, CLOSE_ACTIVE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, 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_TUNA_CONFIG_DISCRIMINATOR, CREATE_VAULT_DISCRIMINATOR, type CloseActiveTunaLpPositionInstructionArgs, type CloseActiveTunaSpotPositionFusionInput, type CloseActiveTunaSpotPositionFusionInstruction, type CloseActiveTunaSpotPositionFusionInstructionData, type CloseActiveTunaSpotPositionFusionInstructionDataArgs, type CloseActiveTunaSpotPositionFusionInstructionsArgs, type CloseActiveTunaSpotPositionOrcaInput, type CloseActiveTunaSpotPositionOrcaInstruction, type CloseActiveTunaSpotPositionOrcaInstructionData, type CloseActiveTunaSpotPositionOrcaInstructionDataArgs, type CloseActiveTunaSpotPositionOrcaInstructionsArgs, 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 CreateTunaConfigInput, type CreateTunaConfigInstruction, type CreateTunaConfigInstructionData, type CreateTunaConfigInstructionDataArgs, type CreateVaultInput, type CreateVaultInstruction, type CreateVaultInstructionData, type CreateVaultInstructionDataArgs, DECREASE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, DECREASE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, DECREASE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, DECREASE_TUNA_SPOT_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 DecreaseTunaSpotPositionFusionInput, type DecreaseTunaSpotPositionFusionInstruction, type DecreaseTunaSpotPositionFusionInstructionData, type DecreaseTunaSpotPositionFusionInstructionDataArgs, type DecreaseTunaSpotPositionFusionInstructionsArgs, type DecreaseTunaSpotPositionJupiterInput, type DecreaseTunaSpotPositionJupiterInstruction, type DecreaseTunaSpotPositionJupiterInstructionData, type DecreaseTunaSpotPositionJupiterInstructionDataArgs, type DecreaseTunaSpotPositionJupiterInstructionsArgs, type DecreaseTunaSpotPositionOrcaInput, type DecreaseTunaSpotPositionOrcaInstruction, type DecreaseTunaSpotPositionOrcaInstructionData, type DecreaseTunaSpotPositionOrcaInstructionDataArgs, type DecreaseTunaSpotPositionOrcaInstructionsArgs, 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, INCREASE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, INCREASE_TUNA_SPOT_POSITION_JUPITER_DISCRIMINATOR, INCREASE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, type IncreaseLpPositionQuoteArgs, type IncreaseLpPositionQuoteResult, type IncreaseTunaLpPositionFusionInput, type IncreaseTunaLpPositionFusionInstruction, type IncreaseTunaLpPositionFusionInstructionData, type IncreaseTunaLpPositionFusionInstructionDataArgs, type IncreaseTunaLpPositionFusionInstructionsArgs, type IncreaseTunaLpPositionOrcaInput, type IncreaseTunaLpPositionOrcaInstruction, type IncreaseTunaLpPositionOrcaInstructionData, type IncreaseTunaLpPositionOrcaInstructionDataArgs, type IncreaseTunaLpPositionOrcaInstructionsArgs, type IncreaseTunaSpotPositionFusionInput, type IncreaseTunaSpotPositionFusionInstruction, type IncreaseTunaSpotPositionFusionInstructionData, type IncreaseTunaSpotPositionFusionInstructionDataArgs, type IncreaseTunaSpotPositionFusionInstructionsArgs, type IncreaseTunaSpotPositionJupiterInput, type IncreaseTunaSpotPositionJupiterInstruction, type IncreaseTunaSpotPositionJupiterInstructionData, type IncreaseTunaSpotPositionJupiterInstructionDataArgs, type IncreaseTunaSpotPositionJupiterInstructionsArgs, type IncreaseTunaSpotPositionOrcaInput, type IncreaseTunaSpotPositionOrcaInstruction, type IncreaseTunaSpotPositionOrcaInstructionData, type IncreaseTunaSpotPositionOrcaInstructionDataArgs, type IncreaseTunaSpotPositionOrcaInstructionsArgs, 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_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 LiquidateTunaSpotPositionOrcaInput, type LiquidateTunaSpotPositionOrcaInstruction, type LiquidateTunaSpotPositionOrcaInstructionData, type LiquidateTunaSpotPositionOrcaInstructionDataArgs, MARKET_DISCRIMINATOR, MAX_LEVERAGE, MAX_LIMIT_ORDER_EXECUTION_FEE, MAX_LIQUIDATION_FEE, MAX_LIQUIDATION_THRESHOLD, MAX_PROTOCOL_FEE, MAX_SQRT_PRICE, MIN_SQRT_PRICE, type Market, type MarketArgs, MarketMaker, type MarketMakerArgs, 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_AND_INCREASE_TUNA_SPOT_POSITION_FUSION_DISCRIMINATOR, OPEN_AND_INCREASE_TUNA_SPOT_POSITION_ORCA_DISCRIMINATOR, OPEN_LENDING_POSITION_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 OpenAndIncreaseTunaSpotPositionFusionInput, type OpenAndIncreaseTunaSpotPositionFusionInstruction, type OpenAndIncreaseTunaSpotPositionFusionInstructionData, type OpenAndIncreaseTunaSpotPositionFusionInstructionDataArgs, type OpenAndIncreaseTunaSpotPositionFusionInstructionsArgs, type OpenAndIncreaseTunaSpotPositionOrcaInput, type OpenAndIncreaseTunaSpotPositionOrcaInstruction, type OpenAndIncreaseTunaSpotPositionOrcaInstructionData, type OpenAndIncreaseTunaSpotPositionOrcaInstructionDataArgs, type OpenAndIncreaseTunaSpotPositionOrcaInstructionsArgs, type OpenLendingPositionInput, type OpenLendingPositionInstruction, type OpenLendingPositionInstructionData, type OpenLendingPositionInstructionDataArgs, type OpenTunaLpPositionFusionInput, type OpenTunaLpPositionFusionInstruction, type OpenTunaLpPositionFusionInstructionData, type OpenTunaLpPositionFusionInstructionDataArgs, type OpenTunaLpPositionOrcaInput, type OpenTunaLpPositionOrcaInstruction, type OpenTunaLpPositionOrcaInstructionData, type OpenTunaLpPositionOrcaInstructionDataArgs, type OpenTunaSpotPositionInput, type OpenTunaSpotPositionInstruction, type OpenTunaSpotPositionInstructionData, type OpenTunaSpotPositionInstructionDataArgs, OrcaUtils, type ParsedCloseActiveTunaSpotPositionFusionInstruction, type ParsedCloseActiveTunaSpotPositionOrcaInstruction, type ParsedCloseTunaLpPositionFusionInstruction, type ParsedCloseTunaLpPositionOrcaInstruction, type ParsedCloseTunaSpotPositionInstruction, type ParsedCollectAndCompoundFeesFusionInstruction, type ParsedCollectAndCompoundFeesOrcaInstruction, type ParsedCollectFeesFusionInstruction, type ParsedCollectFeesOrcaInstruction, type ParsedCollectRewardOrcaInstruction, type ParsedCreateMarketInstruction, type ParsedCreateTunaConfigInstruction, type ParsedCreateVaultInstruction, type ParsedDecreaseTunaLpPositionFusionInstruction, type ParsedDecreaseTunaLpPositionOrcaInstruction, type ParsedDecreaseTunaSpotPositionFusionInstruction, type ParsedDecreaseTunaSpotPositionJupiterInstruction, type ParsedDecreaseTunaSpotPositionOrcaInstruction, type ParsedDepositInstruction, type ParsedIncreaseTunaLpPositionFusionInstruction, type ParsedIncreaseTunaLpPositionOrcaInstruction, type ParsedIncreaseTunaSpotPositionFusionInstruction, type ParsedIncreaseTunaSpotPositionJupiterInstruction, type ParsedIncreaseTunaSpotPositionOrcaInstruction, type ParsedLiquidateTunaLpPositionFusionInstruction, type ParsedLiquidateTunaLpPositionOrcaInstruction, type ParsedLiquidateTunaSpotPositionFusionInstruction, type ParsedLiquidateTunaSpotPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaLpPositionFusionInstruction, type ParsedOpenAndIncreaseTunaLpPositionOrcaInstruction, type ParsedOpenAndIncreaseTunaSpotPositionFusionInstruction, type ParsedOpenAndIncreaseTunaSpotPositionOrcaInstruction, type ParsedOpenLendingPositionInstruction, type ParsedOpenTunaLpPositionFusionInstruction, type ParsedOpenTunaLpPositionOrcaInstruction, type ParsedOpenTunaSpotPositionInstruction, type ParsedRebalanceTunaLpPositionFusionInstruction, type ParsedRebalanceTunaLpPositionOrcaInstruction, type ParsedRepayBadDebtInstruction, type ParsedRepayTunaLpPositionDebtInstruction, type ParsedResetTunaSpotPositionInstruction, type ParsedSetAdminAuthorityInstruction, type ParsedSetDefaultMaxPercentageOfLeftoversInstruction, type ParsedSetDefaultMaxSwapSlippageInstruction, type ParsedSetDefaultOraclePriceDeviationThresholdInstruction, type ParsedSetFeeRecipientInstruction, type ParsedSetLiquidatorAuthorityInstruction, type ParsedSetOwnerAuthorityInstruction, type ParsedSetSuspendedStateInstruction, type ParsedSetTunaLpPositionFlagsInstruction, type ParsedSetTunaLpPositionLimitOrdersInstruction, type ParsedSetTunaLpPositionRebalanceThresholdInstruction, type ParsedSetTunaSpotPositionLimitOrdersInstruction, type ParsedTunaInstruction, type ParsedUpdateMarketInstruction, type ParsedUpdateVaultInstruction, type ParsedWithdrawInstruction, PoolToken, type PoolTokenArgs, REBALANCE_TUNA_LP_POSITION_FUSION_DISCRIMINATOR, REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR, REPAY_BAD_DEBT_DISCRIMINATOR, REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR, RESET_TUNA_SPOT_POSITION_DISCRIMINATOR, type RebalanceTunaLpPositionFusion, type RebalanceTunaLpPositionFusionInput, type RebalanceTunaLpPositionFusionInstruction, type RebalanceTunaLpPositionFusionInstructionData, type RebalanceTunaLpPositionFusionInstructionDataArgs, type RebalanceTunaLpPositionOrca, type RebalanceTunaLpPositionOrcaInput, type RebalanceTunaLpPositionOrcaInstruction, type RebalanceTunaLpPositionOrcaInstructionData, type RebalanceTunaLpPositionOrcaInstructionDataArgs, type RemainingAccountsInfo, type RemainingAccountsInfoArgs, type RemainingAccountsSlice, type RemainingAccountsSliceArgs, type RepayBadDebtInput, type RepayBadDebtInstruction, type RepayBadDebtInstructionData, type RepayBadDebtInstructionDataArgs, type RepayTunaLpPositionDebtInput, type RepayTunaLpPositionDebtInstruction, type RepayTunaLpPositionDebtInstructionData, type RepayTunaLpPositionDebtInstructionDataArgs, type ResetTunaSpotPositionInput, type ResetTunaSpotPositionInstruction, type ResetTunaSpotPositionInstructionData, type ResetTunaSpotPositionInstructionDataArgs, SET_ADMIN_AUTHORITY_DISCRIMINATOR, SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR, SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR, SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR, SET_FEE_RECIPIENT_DISCRIMINATOR, SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR, SET_OWNER_AUTHORITY_DISCRIMINATOR, SET_SUSPENDED_STATE_DISCRIMINATOR, SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR, SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR, SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR, SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR, type SetAdminAuthorityInput, type SetAdminAuthorityInstruction, type SetAdminAuthorityInstructionData, type SetAdminAuthorityInstructionDataArgs, type SetDefaultMaxPercentageOfLeftoversInput, type SetDefaultMaxPercentageOfLeftoversInstruction, type SetDefaultMaxPercentageOfLeftoversInstructionData, type SetDefaultMaxPercentageOfLeftoversInstructionDataArgs, type SetDefaultMaxSwapSlippageInput, type SetDefaultMaxSwapSlippageInstruction, type SetDefaultMaxSwapSlippageInstructionData, type SetDefaultMaxSwapSlippageInstructionDataArgs, type SetDefaultOraclePriceDeviationThresholdInput, type SetDefaultOraclePriceDeviationThresholdInstruction, type SetDefaultOraclePriceDeviationThresholdInstructionData, type SetDefaultOraclePriceDeviationThresholdInstructionDataArgs, type SetFeeRecipientInput, type SetFeeRecipientInstruction, type SetFeeRecipientInstructionData, type SetFeeRecipientInstructionDataArgs, type SetLiquidatorAuthorityInput, type SetLiquidatorAuthorityInstruction, type SetLiquidatorAuthorityInstructionData, type SetLiquidatorAuthorityInstructionDataArgs, type SetOwnerAuthorityInput, type SetOwnerAuthorityInstruction, type SetOwnerAuthorityInstructionData, type SetOwnerAuthorityInstructionDataArgs, type SetSuspendedStateInput, type SetSuspendedStateInstruction, type SetSuspendedStateInstructionData, type SetSuspendedStateInstructionDataArgs, type SetTunaLpPositionFlagsInput, type SetTunaLpPositionFlagsInstruction, type SetTunaLpPositionFlagsInstructionData, type SetTunaLpPositionFlagsInstructionDataArgs, type SetTunaLpPositionLimitOrdersInput, type SetTunaLpPositionLimitOrdersInstruction, type SetTunaLpPositionLimitOrdersInstructionData, type SetTunaLpPositionLimitOrdersInstructionDataArgs, type SetTunaLpPositionRebalanceThresholdInput, type SetTunaLpPositionRebalanceThresholdInstruction, type SetTunaLpPositionRebalanceThresholdInstructionData, type SetTunaLpPositionRebalanceThresholdInstructionDataArgs, type SetTunaSpotPositionLimitOrdersInput, type SetTunaSpotPositionLimitOrdersInstruction, type SetTunaSpotPositionLimitOrdersInstructionData, type SetTunaSpotPositionLimitOrdersInstructionDataArgs, TUNA_CONFIG_DISCRIMINATOR, TUNA_ERROR__ACCOUNT_NOT_INITIALIZED, TUNA_ERROR__AMOUNT_SLIPPAGE_EXCEEDED, TUNA_ERROR__BAD_DEBT, TUNA_ERROR__INCORRECT_POSITION_DIRECTION, TUNA_ERROR__INCORRECT_SWAP_INPUT_AMOUNT, TUNA_ERROR__INSUFFICIENT_LIQUIDITY, TUNA_ERROR__INSUFFICIENT_SWAP_OUTPUT_AMOUNT, TUNA_ERROR__INTEREST_RATE_IS_OUT_OF_RANGE, TUNA_ERROR__INVALID_ACCOUNT_DISCRIMINATOR, TUNA_ERROR__INVALID_ACCOUNT_OWNER, TUNA_ERROR__INVALID_INSTRUCTION_ARGUMENTS, TUNA_ERROR__INVALID_JUPITER_ROUTE, TUNA_ERROR__INVALID_MARKET_MAKER, TUNA_ERROR__INVALID_POOL, TUNA_ERROR__INVALID_REMAINING_ACCOUNTS_LENGTH, TUNA_ERROR__INVALID_SQRT_PRICE_LIMIT_DIRECTION, TUNA_ERROR__INVALID_TICK_ARRAY_SEQUENCE, TUNA_ERROR__LEFTOVERS_EXCEEDED, TUNA_ERROR__LEVERAGE_IS_OUT_OF_RANGE, TUNA_ERROR__LIMIT_ORDER_EXECUTION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDATION_THRESHOLD_IS_OUT_OF_RANGE, TUNA_ERROR__LIQUIDITY_ZERO, TUNA_ERROR__MARKET_DEBT_LIMIT_EXCEEDED, TUNA_ERROR__MARKET_DISABLED, TUNA_ERROR__MATH_OVERFLOW, TUNA_ERROR__MATH_UNDERFLOW, TUNA_ERROR__M_A_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__NO_EXTRA_ACCOUNTS_FOR_TRANSFER_HOOK, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_EXCEEDED, TUNA_ERROR__ORACLE_PRICE_DEVIATION_THRESHOLD_OUT_OF_RANGE, TUNA_ERROR__ORACLE_STALE_PRICE, TUNA_ERROR__PARTIAL_FILL_ERROR, TUNA_ERROR__POSITION_IS_AUTO_REBALANCEABLE, TUNA_ERROR__POSITION_IS_HEALTHY, TUNA_ERROR__POSITION_IS_LIQUIDATED, TUNA_ERROR__POSITION_IS_UNHEALTHY, TUNA_ERROR__POSITION_NOT_EMPTY, TUNA_ERROR__POSITION_SIZE_LIMIT_EXCEEDED, TUNA_ERROR__PROTOCOL_FEE_IS_OUT_OF_RANGE, TUNA_ERROR__REBALANCE_CONDITIONS_NOT_MET, TUNA_ERROR__RECIPIENT_ACCOUNT_IS_NOT_SET, TUNA_ERROR__REMAINING_ACCOUNTS_DUPLICATED_ACCOUNTS_TYPE, TUNA_ERROR__REMAINING_ACCOUNTS_INSUFFICIENT, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE, TUNA_ERROR__REMAINING_ACCOUNTS_INVALID_SLICE_LENGTH, TUNA_ERROR__REQUIRED_REMAINING_ACCOUNT_NOT_PROVIDED, TUNA_ERROR__SOLVER_FAILED_TO_FIND_ROOT, TUNA_ERROR__SQRT_PRICE_OUT_OF_BOUNDS, TUNA_ERROR__SUPPLY_LIMIT_EXCEEDED, TUNA_ERROR__SUSPENDED, TUNA_ERROR__SWAP_QUOTE_NOT_EQUAL_TO_ACTUAL_SWAP_AMOUNT, TUNA_ERROR__SWAP_SLIPPAGE_EXCEEDED, TUNA_ERROR__SWAP_SLIPPAGE_IS_OUT_OF_RANGE, TUNA_ERROR__SWAP_TO_POSITION_RATIO_ESTIMATION_FAILED, TUNA_ERROR__TICK_INDEX_OF_BOUNDS, TUNA_ERROR__TRANSFER_FEE_CALCULATION_ERROR, TUNA_ERROR__TYPE_CAST_OVERFLOW, TUNA_ERROR__UNABLE_TO_DESERIALIZE_ACCOUNT_DATA, TUNA_ERROR__UNABLE_TO_LOAD_ACCOUNT_DATA, TUNA_ERROR__UNEXPECTED_VALUE, TUNA_ERROR__UNSUPPORTED_TOKEN_MINT, TUNA_ERROR__VAULT_NOT_INITIALIZED, TUNA_ERROR__WITHDRAW_REQUEST_EXCEEDS_USER_BALANCE, TUNA_ERROR__ZERO_AMOUNT, TUNA_ERROR__ZERO_PRICE_RANGE, TUNA_ERROR__ZERO_TRADABLE_AMOUNT, TUNA_ERROR__ZERO_YIELD, TUNA_LP_POSITION_DISCRIMINATOR, TUNA_POSITION_FLAGS_ALLOW_REBALANCING, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD, TUNA_POSITION_FLAGS_AUTO_COMPOUND_YIELD_WITH_LEVERAGE, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_LOWER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_A, TUNA_POSITION_FLAGS_UPPER_LIMIT_ORDER_SWAP_TO_TOKEN_B, TUNA_PROGRAM_ADDRESS, TUNA_SPOT_POSITION_DISCRIMINATOR, TunaAccount, type TunaConfig, type TunaConfigArgs, type TunaError, TunaInstruction, type TunaLpPosition, type TunaLpPositionArgs, TunaPositionState, type TunaPositionStateArgs, type TunaSpotPosition, type TunaSpotPositionArgs, UNLIMITED_SUPPLY_LIMIT, UPDATE_MARKET_DISCRIMINATOR, UPDATE_VAULT_DISCRIMINATOR, type UpdateMarketInput, type UpdateMarketInstruction, type UpdateMarketInstructionData, type UpdateMarketInstructionDataArgs, type UpdateVaultInput, type UpdateVaultInstruction, type UpdateVaultInstructionData, type UpdateVaultInstructionDataArgs, VAULT_DISCRIMINATOR, type Vault, type VaultArgs, WITHDRAW_DISCRIMINATOR, WP_NFT_UPDATE_AUTH, type WithdrawInput, type WithdrawInstruction, type WithdrawInstructionData, type WithdrawInstructionDataArgs, closeActiveTunaLpPositionFusionInstructions, closeActiveTunaLpPositionOrcaInstructions, closeActiveTunaSpotPositionFusionInstruction, closeActiveTunaSpotPositionFusionInstructions, closeActiveTunaSpotPositionOrcaInstruction, closeActiveTunaSpotPositionOrcaInstructions, closeTunaLpPositionFusionInstruction, closeTunaLpPositionOrcaInstruction, closeTunaSpotPositionInstruction, closeTunaSpotPositionInstructions, collectAndCompoundFeesFusionInstruction, collectAndCompoundFeesFusionInstructions, collectAndCompoundFeesOrcaInstruction, collectAndCompoundFeesOrcaInstructions, collectFeesFusionInstruction, collectFeesFusionInstructions, collectFeesOrcaInstruction, collectFeesOrcaInstructions, createAddressLookupTableForMarketInstructions, createAddressLookupTableInstructions, createMarketInstruction, createTunaConfigInstruction, createVaultInstructions, decodeLendingPosition, decodeMarket, decodeTunaConfig, decodeTunaLpPosition, decodeTunaSpotPosition, decodeVault, decreaseTunaLpPositionFusionInstruction, decreaseTunaLpPositionFusionInstructions, decreaseTunaLpPositionOrcaInstruction, decreaseTunaLpPositionOrcaInstructions, decreaseTunaSpotPositionFusionInstruction, decreaseTunaSpotPositionFusionInstructions, decreaseTunaSpotPositionJupiterInstruction, decreaseTunaSpotPositionJupiterInstructions, decreaseTunaSpotPositionOrcaInstruction, decreaseTunaSpotPositionOrcaInstructions, depositInstruction, depositInstructions, extendAddressLookupTableForMarketInstructions, fetchAllLendingPosition, fetchAllLendingPositionWithFilter, fetchAllMarket, fetchAllMarketWithFilter, fetchAllMaybeLendingPosition, fetchAllMaybeMarket, fetchAllMaybeTunaConfig, fetchAllMaybeTunaLpPosition, fetchAllMaybeTunaSpotPosition, fetchAllMaybeVault, fetchAllTunaConfig, fetchAllTunaLpPosition, fetchAllTunaLpPositionWithFilter, fetchAllTunaSpotPosition, fetchAllTunaSpotPositionWithFilter, fetchAllVault, fetchLendingPosition, fetchMarket, fetchMaybeLendingPosition, fetchMaybeMarket, fetchMaybeTunaConfig, fetchMaybeTunaLpPosition, fetchMaybeTunaSpotPosition, fetchMaybeVault, fetchTunaConfig, fetchTunaLpPosition, fetchTunaSpotPosition, fetchVault, fundsToShares, getAccountsTypeCodec, getAccountsTypeDecoder, getAccountsTypeEncoder, getCloseActiveTunaSpotPositionFusionDiscriminatorBytes, getCloseActiveTunaSpotPositionFusionInstruction, getCloseActiveTunaSpotPositionFusionInstructionDataCodec, getCloseActiveTunaSpotPositionFusionInstructionDataDecoder, getCloseActiveTunaSpotPositionFusionInstructionDataEncoder, getCloseActiveTunaSpotPositionOrcaDiscriminatorBytes, getCloseActiveTunaSpotPositionOrcaInstruction, getCloseActiveTunaSpotPositionOrcaInstructionDataCodec, getCloseActiveTunaSpotPositionOrcaInstructionDataDecoder, getCloseActiveTunaSpotPositionOrcaInstructionDataEncoder, 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, getCreateTunaConfigDiscriminatorBytes, getCreateTunaConfigInstruction, getCreateTunaConfigInstructionDataCodec, getCreateTunaConfigInstructionDataDecoder, getCreateTunaConfigInstructionDataEncoder, getCreateVaultDiscriminatorBytes, getCreateVaultInstruction, getCreateVaultInstructionDataCodec, getCreateVaultInstructionDataDecoder, getCreateVaultInstructionDataEncoder, getDecreaseTunaLpPositionFusionDiscriminatorBytes, getDecreaseTunaLpPositionFusionInstruction, getDecreaseTunaLpPositionFusionInstructionDataCodec, getDecreaseTunaLpPositionFusionInstructionDataDecoder, getDecreaseTunaLpPositionFusionInstructionDataEncoder, getDecreaseTunaLpPositionOrcaDiscriminatorBytes, getDecreaseTunaLpPositionOrcaInstruction, getDecreaseTunaLpPositionOrcaInstructionDataCodec, getDecreaseTunaLpPositionOrcaInstructionDataDecoder, getDecreaseTunaLpPositionOrcaInstructionDataEncoder, getDecreaseTunaSpotPositionFusionDiscriminatorBytes, getDecreaseTunaSpotPositionFusionInstruction, getDecreaseTunaSpotPositionFusionInstructionDataCodec, getDecreaseTunaSpotPositionFusionInstructionDataDecoder, getDecreaseTunaSpotPositionFusionInstructionDataEncoder, getDecreaseTunaSpotPositionJupiterDiscriminatorBytes, getDecreaseTunaSpotPositionJupiterInstruction, getDecreaseTunaSpotPositionJupiterInstructionDataCodec, getDecreaseTunaSpotPositionJupiterInstructionDataDecoder, getDecreaseTunaSpotPositionJupiterInstructionDataEncoder, getDecreaseTunaSpotPositionOrcaDiscriminatorBytes, getDecreaseTunaSpotPositionOrcaInstruction, getDecreaseTunaSpotPositionOrcaInstructionDataCodec, getDecreaseTunaSpotPositionOrcaInstructionDataDecoder, getDecreaseTunaSpotPositionOrcaInstructionDataEncoder, getDepositDiscriminatorBytes, getDepositInstruction, getDepositInstructionDataCodec, getDepositInstructionDataDecoder, getDepositInstructionDataEncoder, getIncreaseLpPositionQuote, getIncreaseTunaLpPositionFusionDiscriminatorBytes, getIncreaseTunaLpPositionFusionInstruction, getIncreaseTunaLpPositionFusionInstructionDataCodec, getIncreaseTunaLpPositionFusionInstructionDataDecoder, getIncreaseTunaLpPositionFusionInstructionDataEncoder, getIncreaseTunaLpPositionOrcaDiscriminatorBytes, getIncreaseTunaLpPositionOrcaInstruction, getIncreaseTunaLpPositionOrcaInstructionDataCodec, getIncreaseTunaLpPositionOrcaInstructionDataDecoder, getIncreaseTunaLpPositionOrcaInstructionDataEncoder, getIncreaseTunaSpotPositionFusionDiscriminatorBytes, getIncreaseTunaSpotPositionFusionInstruction, getIncreaseTunaSpotPositionFusionInstructionDataCodec, getIncreaseTunaSpotPositionFusionInstructionDataDecoder, getIncreaseTunaSpotPositionFusionInstructionDataEncoder, getIncreaseTunaSpotPositionJupiterDiscriminatorBytes, getIncreaseTunaSpotPositionJupiterInstruction, getIncreaseTunaSpotPositionJupiterInstructionDataCodec, getIncreaseTunaSpotPositionJupiterInstructionDataDecoder, getIncreaseTunaSpotPositionJupiterInstructionDataEncoder, getIncreaseTunaSpotPositionOrcaDiscriminatorBytes, getIncreaseTunaSpotPositionOrcaInstruction, getIncreaseTunaSpotPositionOrcaInstructionDataCodec, getIncreaseTunaSpotPositionOrcaInstructionDataDecoder, getIncreaseTunaSpotPositionOrcaInstructionDataEncoder, getLendingPositionAddress, getLendingPositionCodec, getLendingPositionDecoder, getLendingPositionDiscriminatorBytes, getLendingPositionEncoder, getLendingPositionSize, getLendingVaultAddress, getLiquidateTunaLpPositionFusionDiscriminatorBytes, getLiquidateTunaLpPositionFusionInstruction, getLiquidateTunaLpPositionFusionInstructionDataCodec, getLiquidateTunaLpPositionFusionInstructionDataDecoder, getLiquidateTunaLpPositionFusionInstructionDataEncoder, getLiquidateTunaLpPositionOrcaDiscriminatorBytes, getLiquidateTunaLpPositionOrcaInstruction, getLiquidateTunaLpPositionOrcaInstructionDataCodec, getLiquidateTunaLpPositionOrcaInstructionDataDecoder, getLiquidateTunaLpPositionOrcaInstructionDataEncoder, getLiquidateTunaSpotPositionFusionDiscriminatorBytes, getLiquidateTunaSpotPositionFusionInstruction, getLiquidateTunaSpotPositionFusionInstructionDataCodec, getLiquidateTunaSpotPositionFusionInstructionDataDecoder, getLiquidateTunaSpotPositionFusionInstructionDataEncoder, getLiquidateTunaSpotPositionOrcaDiscriminatorBytes, getLiquidateTunaSpotPositionOrcaInstruction, getLiquidateTunaSpotPositionOrcaInstructionDataCodec, getLiquidateTunaSpotPositionOrcaInstructionDataDecoder, getLiquidateTunaSpotPositionOrcaInstructionDataEncoder, getMarketAddress, getMarketCodec, getMarketDecoder, getMarketDiscriminatorBytes, getMarketEncoder, getMarketMakerCodec, getMarketMakerDecoder, getMarketMakerEncoder, getMarketSize, getOpenAndIncreaseTunaLpPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionFusionInstruction, getOpenAndIncreaseTunaLpPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaLpPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaLpPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaLpPositionOrcaInstruction, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaLpPositionOrcaInstructionDataEncoder, getOpenAndIncreaseTunaSpotPositionFusionDiscriminatorBytes, getOpenAndIncreaseTunaSpotPositionFusionInstruction, getOpenAndIncreaseTunaSpotPositionFusionInstructionDataCodec, getOpenAndIncreaseTunaSpotPositionFusionInstructionDataDecoder, getOpenAndIncreaseTunaSpotPositionFusionInstructionDataEncoder, getOpenAndIncreaseTunaSpotPositionOrcaDiscriminatorBytes, getOpenAndIncreaseTunaSpotPositionOrcaInstruction, getOpenAndIncreaseTunaSpotPositionOrcaInstructionDataCodec, getOpenAndIncreaseTunaSpotPositionOrcaInstructionDataDecoder, getOpenAndIncreaseTunaSpotPositionOrcaInstructionDataEncoder, getOpenLendingPositionDiscriminatorBytes, getOpenLendingPositionInstruction, getOpenLendingPositionInstructionDataCodec, getOpenLendingPositionInstructionDataDecoder, getOpenLendingPositionInstructionDataEncoder, getOpenTunaLpPositionFusionDiscriminatorBytes, getOpenTunaLpPositionFusionInstruction, getOpenTunaLpPositionFusionInstructionDataCodec, getOpenTunaLpPositionFusionInstructionDataDecoder, getOpenTunaLpPositionFusionInstructionDataEncoder, getOpenTunaLpPositionOrcaDiscriminatorBytes, getOpenTunaLpPositionOrcaInstruction, getOpenTunaLpPositionOrcaInstructionDataCodec, getOpenTunaLpPositionOrcaInstructionDataDecoder, getOpenTunaLpPositionOrcaInstructionDataEncoder, getOpenTunaSpotPositionDiscriminatorBytes, getOpenTunaSpotPositionInstruction, getOpenTunaSpotPositionInstructionDataCodec, getOpenTunaSpotPositionInstructionDataDecoder, getOpenTunaSpotPositionInstructionDataEncoder, getPoolTokenCodec, getPoolTokenDecoder, getPoolTokenEncoder, getPythPriceUpdateAccountAddress, getRebalanceTunaLpPositionFusionDiscriminatorBytes, getRebalanceTunaLpPositionFusionInstruction, getRebalanceTunaLpPositionFusionInstructionDataCodec, getRebalanceTunaLpPositionFusionInstructionDataDecoder, getRebalanceTunaLpPositionFusionInstructionDataEncoder, getRebalanceTunaLpPositionOrcaDiscriminatorBytes, getRebalanceTunaLpPositionOrcaInstruction, getRebalanceTunaLpPositionOrcaInstructionDataCodec, getRebalanceTunaLpPositionOrcaInstructionDataDecoder, getRebalanceTunaLpPositionOrcaInstructionDataEncoder, getRemainingAccountsInfoCodec, getRemainingAccountsInfoDecoder, getRemainingAccountsInfoEncoder, getRemainingAccountsSliceCodec, getRemainingAccountsSliceDecoder, getRemainingAccountsSliceEncoder, getRepayBadDebtDiscriminatorBytes, getRepayBadDebtInstruction, getRepayBadDebtInstructionDataCodec, getRepayBadDebtInstructionDataDecoder, getRepayBadDebtInstructionDataEncoder, getRepayTunaLpPositionDebtDiscriminatorBytes, getRepayTunaLpPositionDebtInstruction, getRepayTunaLpPositionDebtInstructionDataCodec, getRepayTunaLpPositionDebtInstructionDataDecoder, getRepayTunaLpPositionDebtInstructionDataEncoder, getResetTunaSpotPositionDiscriminatorBytes, getResetTunaSpotPositionInstruction, getResetTunaSpotPositionInstructionDataCodec, getResetTunaSpotPositionInstructionDataDecoder, getResetTunaSpotPositionInstructionDataEncoder, getSetAdminAuthorityDiscriminatorBytes, getSetAdminAuthorityInstruction, getSetAdminAuthorityInstructionDataCodec, getSetAdminAuthorityInstructionDataDecoder, getSetAdminAuthorityInstructionDataEncoder, getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes, getSetDefaultMaxPercentageOfLeftoversInstruction, getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec, getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder, getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder, getSetDefaultMaxSwapSlippageDiscriminatorBytes, getSetDefaultMaxSwapSlippageInstruction, getSetDefaultMaxSwapSlippageInstructionDataCodec, getSetDefaultMaxSwapSlippageInstructionDataDecoder, getSetDefaultMaxSwapSlippageInstructionDataEncoder, getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes, getSetDefaultOraclePriceDeviationThresholdInstruction, getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec, getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder, getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder, getSetFeeRecipientDiscriminatorBytes, getSetFeeRecipientInstruction, getSetFeeRecipientInstructionDataCodec, getSetFeeRecipientInstructionDataDecoder, getSetFeeRecipientInstructionDataEncoder, getSetLiquidatorAuthorityDiscriminatorBytes, getSetLiquidatorAuthorityInstruction, getSetLiquidatorAuthorityInstructionDataCodec, getSetLiquidatorAuthorityInstructionDataDecoder, getSetLiquidatorAuthorityInstructionDataEncoder, getSetOwnerAuthorityDiscriminatorBytes, getSetOwnerAuthorityInstruction, getSetOwnerAuthorityInstructionDataCodec, getSetOwnerAuthorityInstructionDataDecoder, getSetOwnerAuthorityInstructionDataEncoder, getSetSuspendedStateDiscriminatorBytes, getSetSuspendedStateInstruction, getSetSuspendedStateInstructionDataCodec, getSetSuspendedStateInstructionDataDecoder, getSetSuspendedStateInstructionDataEncoder, getSetTunaLpPositionFlagsDiscriminatorBytes, getSetTunaLpPositionFlagsInstruction, getSetTunaLpPositionFlagsInstructionDataCodec, getSetTunaLpPositionFlagsInstructionDataDecoder, getSetTunaLpPositionFlagsInstructionDataEncoder, getSetTunaLpPositionLimitOrdersDiscriminatorBytes, getSetTunaLpPositionLimitOrdersInstruction, getSetTunaLpPositionLimitOrdersInstructionDataCodec, getSetTunaLpPositionLimitOrdersInstructionDataDecoder, getSetTunaLpPositionLimitOrdersInstructionDataEncoder, getSetTunaLpPositionRebalanceThresholdDiscriminatorBytes, getSetTunaLpPositionRebalanceThresholdInstruction, getSetTunaLpPositionRebalanceThresholdInstructionDataCodec, getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder, getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder, getSetTunaSpotPositionLimitOrdersDiscriminatorBytes, getSetTunaSpotPositionLimitOrdersInstruction, getSetTunaSpotPositionLimitOrdersInstructionDataCodec, getSetTunaSpotPositionLimitOrdersInstructionDataDecoder, getSetTunaSpotPositionLimitOrdersInstructionDataEncoder, getTunaConfigAddress, getTunaConfigCodec, getTunaConfigDecoder, getTunaConfigDiscriminatorBytes, getTunaConfigEncoder, getTunaConfigSize, getTunaErrorMessage, getTunaLpPositionAddress, getTunaLpPositionCodec, getTunaLpPositionDecoder, getTunaLpPositionDiscriminatorBytes, getTunaLpPositionEncoder, getTunaLpPositionSize, getTunaPositionStateCodec, getTunaPositionStateDecoder, getTunaPositionStateEncoder, getTunaSpotPositionAddress, getTunaSpotPositionCodec, getTunaSpotPositionDecoder, getTunaSpotPositionDiscriminatorBytes, getTunaSpotPositionEncoder, getTunaSpotPositionSize, getUpdateMarketDiscriminatorBytes, getUpdateMarketInstruction, getUpdateMarketInstructionDataCodec, getUpdateMarketInstructionDataDecoder, getUpdateMarketInstructionDataEncoder, getUpdateVaultDiscriminatorBytes, getUpdateVaultInstruction, getUpdateVaultInstructionDataCodec, getUpdateVaultInstructionDataDecoder, getUpdateVaultInstructionDataEncoder, getVaultCodec, getVaultDecoder, getVaultDiscriminatorBytes, getVaultEncoder, getVaultSize, getWithdrawDiscriminatorBytes, getWithdrawInstruction, getWithdrawInstructionDataCodec, getWithdrawInstructionDataDecoder, getWithdrawInstructionDataEncoder, identifyTunaAccount, identifyTunaInstruction, increaseTunaLpPositionFusionInstruction, increaseTunaLpPositionFusionInstructions, increaseTunaLpPositionOrcaInstruction, increaseTunaLpPositionOrcaInstructions, increaseTunaSpotPositionFusionInstruction, increaseTunaSpotPositionFusionInstructions, increaseTunaSpotPositionJupiterInstruction, increaseTunaSpotPositionJupiterInstructions, increaseTunaSpotPositionOrcaInstruction, increaseTunaSpotPositionOrcaInstructions, isTunaError, lendingPositionAuthorityFilter, lendingPositionMintFilter, liquidateTunaLpPositionFusionInstruction, liquidateTunaLpPositionFusionInstructions, liquidateTunaLpPositionOrcaInstruction, liquidateTunaLpPositionOrcaInstructions, liquidateTunaSpotPositionFusionInstruction, liquidateTunaSpotPositionFusionInstructions, liquidateTunaSpotPositionOrcaInstruction, liquidateTunaSpotPositionOrcaInstructions, mulDiv, openAndIncreaseTunaLpPositionFusionInstruction, openAndIncreaseTunaLpPositionFusionInstructions, openAndIncreaseTunaLpPositionOrcaInstruction, openAndIncreaseTunaLpPositionOrcaInstructions, openAndIncreaseTunaSpotPositionFusionInstruction, openAndIncreaseTunaSpotPositionFusionInstructions, openAndIncreaseTunaSpotPositionOrcaInstruction, openAndIncreaseTunaSpotPositionOrcaInstructions, openLendingPositionAndDepositInstructions, openLendingPositionInstruction, openTunaLpPositionFusionInstruction, openTunaLpPositionOrcaInstruction, openTunaSpotPositionInstruction, openTunaSpotPositionInstructions, parseCloseActiveTunaSpotPositionFusionInstruction, parseCloseActiveTunaSpotPositionOrcaInstruction, parseCloseTunaLpPositionFusionInstruction, parseCloseTunaLpPositionOrcaInstruction, parseCloseTunaSpotPositionInstruction, parseCollectAndCompoundFeesFusionInstruction, parseCollectAndCompoundFeesOrcaInstruction, parseCollectFeesFusionInstruction, parseCollectFeesOrcaInstruction, parseCollectRewardOrcaInstruction, parseCreateMarketInstruction, parseCreateTunaConfigInstruction, parseCreateVaultInstruction, parseDecreaseTunaLpPositionFusionInstruction, parseDecreaseTunaLpPositionOrcaInstruction, parseDecreaseTunaSpotPositionFusionInstruction, parseDecreaseTunaSpotPositionJupiterInstruction, parseDecreaseTunaSpotPositionOrcaInstruction, parseDepositInstruction, parseIncreaseTunaLpPositionFusionInstruction, parseIncreaseTunaLpPositionOrcaInstruction, parseIncreaseTunaSpotPositionFusionInstruction, parseIncreaseTunaSpotPositionJupiterInstruction, parseIncreaseTunaSpotPositionOrcaInstruction, parseLiquidateTunaLpPositionFusionInstruction, parseLiquidateTunaLpPositionOrcaInstruction, parseLiquidateTunaSpotPositionFusionInstruction, parseLiquidateTunaSpotPositionOrcaInstruction, parseOpenAndIncreaseTunaLpPositionFusionInstruction, parseOpenAndIncreaseTunaLpPositionOrcaInstruction, parseOpenAndIncreaseTunaSpotPositionFusionInstruction, parseOpenAndIncreaseTunaSpotPositionOrcaInstruction, parseOpenLendingPositionInstruction, parseOpenTunaLpPositionFusionInstruction, parseOpenTunaLpPositionOrcaInstruction, parseOpenTunaSpotPositionInstruction, parseRebalanceTunaLpPositionFusionInstruction, parseRebalanceTunaLpPositionOrcaInstruction, parseRepayBadDebtInstruction, parseRepayTunaLpPositionDebtInstruction, parseResetTunaSpotPositionInstruction, parseSetAdminAuthorityInstruction, parseSetDefaultMaxPercentageOfLeftoversInstruction, parseSetDefaultMaxSwapSlippageInstruction, parseSetDefaultOraclePriceDeviationThresholdInstruction, parseSetFeeRecipientInstruction, parseSetLiquidatorAuthorityInstruction, parseSetOwnerAuthorityInstruction, parseSetSuspendedStateInstruction, parseSetTunaLpPositionFlagsInstruction, parseSetTunaLpPositionLimitOrdersInstruction, parseSetTunaLpPositionRebalanceThresholdInstruction, parseSetTunaSpotPositionLimitOrdersInstruction, parseUpdateMarketInstruction, parseUpdateVaultInstruction, parseWithdrawInstruction, rebalanceTunaLpPositionFusionInstruction, rebalanceTunaLpPositionFusionInstructions, rebalanceTunaLpPositionOrcaInstruction, rebalanceTunaLpPositionOrcaInstructions, repayBadDebtInstruction, repayTunaLpPositionDebtInstruction, repayTunaLpPositionDebtInstructions, resetTunaSpotPositionInstruction, setTunaLpPositionLimitOrdersInstruction, setTunaSpotPositionLimitOrdersInstruction, sharesToFunds, tunaLpPositionAuthorityFilter, tunaLpPositionMarketMakerFilter, tunaLpPositionMintAFilter, tunaLpPositionMintBFilter, tunaLpPositionMintFilter, tunaLpPositionPoolFilter, tunaSpotPositionAuthorityFilter, tunaSpotPositionMintAFilter, tunaSpotPositionMintBFilter, tunaSpotPositionPoolFilter, updateMarketInstruction, updateVaultInstruction, withdrawInstruction, withdrawInstructions };
|