@hawksightco/hawk-sdk 1.1.5 → 1.1.6-4.test

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.
Files changed (130) hide show
  1. package/dist/src/addresses.d.ts +2 -1
  2. package/dist/src/addresses.d.ts.map +1 -1
  3. package/dist/src/addresses.js +3 -1
  4. package/dist/src/anchor.d.ts +113 -2
  5. package/dist/src/anchor.d.ts.map +1 -1
  6. package/dist/src/anchor.js +33 -1
  7. package/dist/src/classes/AltStorage.d.ts +29 -0
  8. package/dist/src/classes/AltStorage.d.ts.map +1 -0
  9. package/dist/src/classes/AltStorage.js +58 -0
  10. package/dist/src/classes/Atomicity.d.ts +34 -0
  11. package/dist/src/classes/Atomicity.d.ts.map +1 -0
  12. package/dist/src/classes/Atomicity.js +110 -0
  13. package/dist/src/classes/CreateTxMetadata.d.ts +16 -1
  14. package/dist/src/classes/CreateTxMetadata.d.ts.map +1 -1
  15. package/dist/src/classes/CreateTxMetadata.js +115 -6
  16. package/dist/src/classes/General.d.ts +16 -1
  17. package/dist/src/classes/General.d.ts.map +1 -1
  18. package/dist/src/classes/General.js +32 -0
  19. package/dist/src/classes/HawkAPI.d.ts +32 -0
  20. package/dist/src/classes/HawkAPI.d.ts.map +1 -1
  21. package/dist/src/classes/HawkAPI.js +37 -0
  22. package/dist/src/classes/JupiterAlts.d.ts +37 -0
  23. package/dist/src/classes/JupiterAlts.d.ts.map +1 -0
  24. package/dist/src/classes/JupiterAlts.js +104 -0
  25. package/dist/src/classes/JupiterSwap.d.ts +19 -0
  26. package/dist/src/classes/JupiterSwap.d.ts.map +1 -0
  27. package/dist/src/classes/JupiterSwap.js +37 -0
  28. package/dist/src/classes/Logging.d.ts +13 -0
  29. package/dist/src/classes/Logging.d.ts.map +1 -0
  30. package/dist/src/classes/Logging.js +51 -0
  31. package/dist/src/classes/MultiTransaction.d.ts +75 -0
  32. package/dist/src/classes/MultiTransaction.d.ts.map +1 -0
  33. package/dist/src/classes/MultiTransaction.js +286 -0
  34. package/dist/src/classes/SimpleIxGenerator.d.ts +34 -0
  35. package/dist/src/classes/SimpleIxGenerator.d.ts.map +1 -0
  36. package/dist/src/classes/SimpleIxGenerator.js +39 -0
  37. package/dist/src/classes/SimplePdaGenerator.d.ts +28 -0
  38. package/dist/src/classes/SimplePdaGenerator.d.ts.map +1 -0
  39. package/dist/src/classes/SimplePdaGenerator.js +33 -0
  40. package/dist/src/classes/Transaction.d.ts +42 -13
  41. package/dist/src/classes/Transaction.d.ts.map +1 -1
  42. package/dist/src/classes/Transaction.js +37 -15
  43. package/dist/src/classes/Transaction2.d.ts +107 -0
  44. package/dist/src/classes/Transaction2.d.ts.map +1 -0
  45. package/dist/src/classes/Transaction2.js +239 -0
  46. package/dist/src/classes/Transaction3.d.ts +165 -0
  47. package/dist/src/classes/Transaction3.d.ts.map +1 -0
  48. package/dist/src/classes/Transaction3.js +406 -0
  49. package/dist/src/classes/TransactionBatchExecute.d.ts +163 -0
  50. package/dist/src/classes/TransactionBatchExecute.d.ts.map +1 -0
  51. package/dist/src/classes/TransactionBatchExecute.js +456 -0
  52. package/dist/src/classes/TransactionBatchExecute2.d.ts +99 -0
  53. package/dist/src/classes/TransactionBatchExecute2.d.ts.map +1 -0
  54. package/dist/src/classes/TransactionBatchExecute2.js +347 -0
  55. package/dist/src/classes/Transactions.d.ts +102 -10
  56. package/dist/src/classes/Transactions.d.ts.map +1 -1
  57. package/dist/src/classes/Transactions.js +890 -116
  58. package/dist/src/classes/TxGenerator.d.ts +95 -2
  59. package/dist/src/classes/TxGenerator.d.ts.map +1 -1
  60. package/dist/src/classes/TxGenerator.js +333 -5
  61. package/dist/src/classes/TxGeneratorAutomations.d.ts +23 -2
  62. package/dist/src/classes/TxGeneratorAutomations.d.ts.map +1 -1
  63. package/dist/src/classes/TxGeneratorAutomations.js +72 -0
  64. package/dist/src/classes/Util.d.ts +22 -0
  65. package/dist/src/classes/Util.d.ts.map +1 -1
  66. package/dist/src/classes/Util.js +33 -0
  67. package/dist/src/functions.d.ts +81 -4
  68. package/dist/src/functions.d.ts.map +1 -1
  69. package/dist/src/functions.js +442 -8
  70. package/dist/src/hawksight.d.ts +14 -1
  71. package/dist/src/hawksight.d.ts.map +1 -1
  72. package/dist/src/hawksight.js +52 -2
  73. package/dist/src/hsToMeteora.d.ts +7 -1
  74. package/dist/src/hsToMeteora.d.ts.map +1 -1
  75. package/dist/src/hsToMeteora.js +563 -32
  76. package/dist/src/idl/iyf-extension-idl.d.ts +9207 -4250
  77. package/dist/src/idl/iyf-extension-idl.d.ts.map +1 -1
  78. package/dist/src/idl/iyf-extension-idl.js +9261 -4310
  79. package/dist/src/idl/iyf-main-idl.d.ts +244 -5
  80. package/dist/src/idl/iyf-main-idl.d.ts.map +1 -1
  81. package/dist/src/idl/iyf-main-idl.js +244 -5
  82. package/dist/src/idl/jupiter-idl.d.ts +1767 -0
  83. package/dist/src/idl/jupiter-idl.d.ts.map +1 -0
  84. package/dist/src/idl/jupiter-idl.js +1768 -0
  85. package/dist/src/idl/meteora-idl.d.ts +5251 -0
  86. package/dist/src/idl/meteora-idl.d.ts.map +1 -0
  87. package/dist/src/idl/meteora-idl.js +5252 -0
  88. package/dist/src/index.d.ts +3 -0
  89. package/dist/src/index.d.ts.map +1 -1
  90. package/dist/src/index.js +6 -1
  91. package/dist/src/ixGenerator/IyfExtensionIxGenerator.d.ts +26 -0
  92. package/dist/src/ixGenerator/IyfExtensionIxGenerator.d.ts.map +1 -0
  93. package/dist/src/ixGenerator/IyfExtensionIxGenerator.js +72 -0
  94. package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts +119 -0
  95. package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts.map +1 -0
  96. package/dist/src/ixGenerator/IyfMainIxGenerator.js +295 -0
  97. package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.d.ts +49 -0
  98. package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.d.ts.map +1 -0
  99. package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.js +279 -0
  100. package/dist/src/ixGenerator/OrcaIxGenerator.d.ts +23 -0
  101. package/dist/src/ixGenerator/OrcaIxGenerator.d.ts.map +1 -0
  102. package/dist/src/ixGenerator/OrcaIxGenerator.js +119 -0
  103. package/dist/src/ixGenerator/UtilIxGenerator.d.ts +20 -0
  104. package/dist/src/ixGenerator/UtilIxGenerator.d.ts.map +1 -0
  105. package/dist/src/ixGenerator/UtilIxGenerator.js +25 -0
  106. package/dist/src/meteora.d.ts +230 -2
  107. package/dist/src/meteora.d.ts.map +1 -1
  108. package/dist/src/meteora.js +704 -11
  109. package/dist/src/orca.d.ts +16 -1
  110. package/dist/src/orca.d.ts.map +1 -1
  111. package/dist/src/orca.js +29 -1
  112. package/dist/src/pdaGenerator/HawksightPdaGenerator.d.ts +23 -0
  113. package/dist/src/pdaGenerator/HawksightPdaGenerator.d.ts.map +1 -0
  114. package/dist/src/pdaGenerator/HawksightPdaGenerator.js +56 -0
  115. package/dist/src/pdaGenerator/MeteoraPdaGenerator.d.ts +6 -0
  116. package/dist/src/pdaGenerator/MeteoraPdaGenerator.d.ts.map +1 -0
  117. package/dist/src/pdaGenerator/MeteoraPdaGenerator.js +9 -0
  118. package/dist/src/pdaGenerator/OrcaPdaGenerator.d.ts +15 -0
  119. package/dist/src/pdaGenerator/OrcaPdaGenerator.d.ts.map +1 -0
  120. package/dist/src/pdaGenerator/OrcaPdaGenerator.js +45 -0
  121. package/dist/src/pdaGenerator/RaydiumPdaGenerator.d.ts +6 -0
  122. package/dist/src/pdaGenerator/RaydiumPdaGenerator.d.ts.map +1 -0
  123. package/dist/src/pdaGenerator/RaydiumPdaGenerator.js +9 -0
  124. package/dist/src/pdaGenerator/UtilPdaGenerator.d.ts +8 -0
  125. package/dist/src/pdaGenerator/UtilPdaGenerator.d.ts.map +1 -0
  126. package/dist/src/pdaGenerator/UtilPdaGenerator.js +41 -0
  127. package/dist/src/types.d.ts +81 -15
  128. package/dist/src/types.d.ts.map +1 -1
  129. package/dist/src/types.js +31 -5
  130. package/package.json +3 -2
@@ -1,5 +1,4 @@
1
- /// <reference types="@meteora-ag/dlmm/node_modules/@solana/web3.js" />
2
- import DLMM, { ClmmProgram, LbPosition, StrategyType } from '@meteora-ag/dlmm';
1
+ import DLMM, { ClmmProgram, LbPosition, StrategyType, PositionV2, Position, LbPair } from '@meteora-ag/dlmm';
3
2
  import BN from "bn.js";
4
3
  import * as web3 from "@solana/web3.js";
5
4
  import { MeteoraToHawksightFn } from './types';
@@ -7,6 +6,10 @@ export declare class MeteoraDLMM {
7
6
  readonly dlmm: DLMM;
8
7
  private constructor();
9
8
  readonly pubkey: web3.PublicKey;
9
+ private static _program;
10
+ private static _instance;
11
+ private static _poolAddress;
12
+ private static _connection;
10
13
  static create(connection: web3.Connection, poolAddress: web3.PublicKey): Promise<MeteoraDLMM>;
11
14
  /**
12
15
  * Meteora DLMM Program
@@ -61,6 +64,40 @@ export declare class MeteoraDLMM {
61
64
  slippage?: number;
62
65
  skipInputTokenCheck?: boolean;
63
66
  }, meteoraToHawksight: MeteoraToHawksightFn): Promise<InitializePositionAndAddLiquidityByStrategyBuilder>;
67
+ /**
68
+ * Initializes a position and adds liquidity to the specified strategy, with various steps including
69
+ * handling wrapped SOL tokens, depositing tokens, adding liquidity, and handling dust withdrawals.
70
+ *
71
+ * @param {web3.PublicKey} userWallet - The public key of the user's wallet executing the transaction.
72
+ * @param {web3.PublicKey} payer - The public key of the transaction payer.
73
+ * @param {Object} params - The parameters for initializing the position and adding liquidity.
74
+ * @param {web3.PublicKey} params.positionPubKey - The public key of the position to be initialized.
75
+ * @param {BN} params.totalXAmount - The total amount of X tokens to be used for liquidity.
76
+ * @param {BN} params.totalYAmount - The total amount of Y tokens to be used for liquidity.
77
+ * @param {Object} params.strategy - The strategy details for adding liquidity.
78
+ * @param {number} params.strategy.maxBinId - The maximum bin ID for the strategy.
79
+ * @param {number} params.strategy.minBinId - The minimum bin ID for the strategy.
80
+ * @param {StrategyType} params.strategy.strategyType - The type of strategy to be applied.
81
+ * @param {web3.PublicKey} params.user - The public key of the user executing the transaction.
82
+ * @param {number} [params.slippage] - Optional slippage tolerance for the transaction.
83
+ *
84
+ * @returns {Promise<web3.TransactionInstruction[]>} - A promise that resolves to an array of transaction instructions.
85
+ *
86
+ * @throws {Error} - Throws an error if input token(s) do not exist on the blockchain.
87
+ */
88
+ initializePositionAndAddLiquidityByStrategyPda(userWallet: web3.PublicKey, payer: web3.PublicKey, params: {
89
+ positionPubKey: web3.PublicKey;
90
+ totalXAmount: BN;
91
+ totalYAmount: BN;
92
+ strategy: {
93
+ maxBinId: number;
94
+ minBinId: number;
95
+ strategyType: StrategyType;
96
+ };
97
+ user: web3.PublicKey;
98
+ slippage?: number;
99
+ skipInputTokenCheck?: boolean;
100
+ }, meteoraToHawksight: MeteoraToHawksightFn): Promise<InitializePositionAndAddLiquidityByStrategyPdaBuilder>;
64
101
  /**
65
102
  * Adds liquidity to an existing position according to a specified strategy.
66
103
  *
@@ -122,6 +159,31 @@ export declare class MeteoraDLMM {
122
159
  bps: BN;
123
160
  shouldClaimAndClose?: boolean;
124
161
  }, meteoraToHawksight: MeteoraToHawksightFn): Promise<RemoveLiquidityBuilder>;
162
+ /**
163
+ * Removes liquidity from an existing position to the user pda.
164
+ *
165
+ * This method communicates with the DLMM (Dynamic Liquidity Market Maker) to remove liquidity
166
+ * from a specified trading position. It filters the transaction instructions to include only those
167
+ * relevant to the Meteora DLMM program.
168
+ *
169
+ * @param {web3.PublicKey} userWallet - The public key of the user's wallet executing the transaction.
170
+ * @param {web3.PublicKey} payer - The public key of the transaction payer.
171
+ * @param {Object} params - The parameters for removing liquidity from the position.
172
+ * @param {web3.PublicKey} params.user - The public key of the user executing the transaction.
173
+ * @param {web3.PublicKey} params.position - The public key of the position from which liquidity is being removed.
174
+ * @param {number[]} params.binIds - An array of bin IDs indicating which bins to remove liquidity from.
175
+ * @param {BN} params.bps - The basis points (in BN) indicating the proportion of liquidity to remove.
176
+ * @param {boolean} [params.shouldClaimAndClose] - Optional flag to indicate whether the position should be claimed and closed after removing liquidity.
177
+ *
178
+ * @returns {Promise<web3.TransactionInstruction[]>} - A promise that resolves to an array of transaction instructions relevant to the Meteora DLMM program.
179
+ */
180
+ removeLiquidityPda(userWallet: web3.PublicKey, payer: web3.PublicKey, params: {
181
+ user: web3.PublicKey;
182
+ position: web3.PublicKey;
183
+ binIds: number[];
184
+ bps: BN;
185
+ shouldClaimAndClose?: boolean;
186
+ }, meteoraToHawksight: MeteoraToHawksightFn): Promise<RemoveLiquidityPdaBuilder>;
125
187
  /**
126
188
  * Claims all rewards for a specified position.
127
189
  *
@@ -161,6 +223,89 @@ export declare class MeteoraDLMM {
161
223
  position: LbPosition;
162
224
  }, meteoraToHawksight: MeteoraToHawksightFn): Promise<web3.TransactionInstruction[]>;
163
225
  }
226
+ /**
227
+ * Meteora functions / transaction generators that we re-written for performance improvement purposes
228
+ */
229
+ export declare class MeteoraFunctions {
230
+ /**
231
+ * Position cache (v1)
232
+ */
233
+ readonly positions_v1: Record<string, Position>;
234
+ /**
235
+ * Position cache (v2)
236
+ */
237
+ readonly positions_v2: Record<string, PositionV2>;
238
+ /**
239
+ * Pool cache
240
+ */
241
+ readonly pools: Record<string, LbPair>;
242
+ /**
243
+ * Claims all rewards for a specified position.
244
+ *
245
+ * This method communicates with the DLMM (Dynamic Liquidity Market Maker) to claim all rewards
246
+ * for a given position. It filters the transaction instructions to include only those relevant
247
+ * to the Meteora DLMM program. The method returns a `ClaimAllRewardsByPositionBuilder` object
248
+ * which provides a structured way to build the necessary transaction instructions for the reward
249
+ * claiming process.
250
+ *
251
+ * @param {web3.PublicKey} userWallet - The public key of the user's wallet executing the transaction.
252
+ * @param {web3.PublicKey} payer - The public key of the transaction payer.
253
+ * @param {Object} params - The parameters for claiming rewards.
254
+ * @param {web3.PublicKey} params.owner - The public key of the owner of the position.
255
+ * @param {LbPosition} params.position - The position object representing the liquidity position.
256
+ * @param {Function} meteoraToHawksight - A function to convert Meteora instructions to Hawksight instructions.
257
+ *
258
+ * @returns {Promise<ClaimAllRewardsByPositionBuilder>} - A promise that resolves to a `ClaimAllRewardsByPositionBuilder` object.
259
+ */
260
+ claimAllRewardsByPosition(connection: web3.Connection, userWallet: web3.PublicKey, payer: web3.PublicKey, params: {
261
+ owner: web3.PublicKey;
262
+ lbPair: web3.PublicKey;
263
+ position: web3.PublicKey;
264
+ }, meteoraToHawksight: MeteoraToHawksightFn): Promise<ClaimAllRewardsByPositionBuilder>;
265
+ constants(program: ClmmProgram): {
266
+ MAX_BIN_ARRAY_SIZE: BN;
267
+ MAX_BIN_PER_POSITION: BN;
268
+ BIN_ARRAY_BITMAP_SIZE: BN;
269
+ EXTENSION_BINARRAY_BITMAP_SIZE: BN;
270
+ };
271
+ findMeteoraTickArrays(lbPair: web3.PublicKey, minBinId: number, maxBinId: number): web3.PublicKey[];
272
+ deriveReserve(token: web3.PublicKey, lbPair: web3.PublicKey): web3.PublicKey;
273
+ deriveBinArray(lbPair: web3.PublicKey, index: BN): web3.PublicKey;
274
+ binIdToBinArrayIndex(MAX_BIN_ARRAY_SIZE: BN, binId: BN): BN;
275
+ getPositionAndLbPair(connection: web3.Connection, lbPair: web3.PublicKey, position: web3.PublicKey): Promise<{
276
+ lbPairAccount: any;
277
+ positionAccount: any;
278
+ constants: any;
279
+ }>;
280
+ /**
281
+ * Returns all position of user
282
+ *
283
+ * @param connection
284
+ * @param userPda
285
+ */
286
+ getAllUserPosition(connection: web3.Connection, userPda: web3.PublicKey): Promise<web3.PublicKey[]>;
287
+ /**
288
+ * Generate instruction that claims all fees and rewards by user
289
+ *
290
+ * @param connection
291
+ * @param lbPair
292
+ * @param positions
293
+ * @param userPda
294
+ * @returns
295
+ */
296
+ claimFeeAndRewardIxs2(connection: web3.Connection, positions: web3.PublicKey[], userWallet: web3.PublicKey, userPda: web3.PublicKey, meteoraToHawksight: MeteoraToHawksightFn): Promise<ClaimAllRewardsByPositionBuilder>;
297
+ claimFeeAndRewardIxs(connection: web3.Connection, lbPair: web3.PublicKey, position: web3.PublicKey, userPda: web3.PublicKey): Promise<web3.TransactionInstruction[]>;
298
+ claimFeeIx(lbPair: web3.PublicKey, position: web3.PublicKey, userPda: web3.PublicKey, getPositionAndLbPairResult: {
299
+ lbPairAccount: any;
300
+ positionAccount: any;
301
+ constants: any;
302
+ }): web3.TransactionInstruction;
303
+ claimRewardIxs(lbPair: web3.PublicKey, position: web3.PublicKey, userPda: web3.PublicKey, getPositionAndLbPairResult: {
304
+ lbPairAccount: any;
305
+ positionAccount: any;
306
+ constants: any;
307
+ }): web3.TransactionInstruction[];
308
+ }
164
309
  /**
165
310
  * A builder class for constructing transaction instructions to claim all rewards by position.
166
311
  *
@@ -193,6 +338,14 @@ export declare class ClaimAllRewardsByPositionBuilder {
193
338
  * @returns {web3.TransactionInstruction[]} - An array of transaction instructions in the required order.
194
339
  */
195
340
  default(): web3.TransactionInstruction[];
341
+ /**
342
+ * Replaces claim fee token ixs into storage token account
343
+ */
344
+ replaceClaimFeeTokenToSTA(): void;
345
+ /**
346
+ * Replaces reward token into storage token account
347
+ */
348
+ replaceClaimRewardToSTA(): void;
196
349
  }
197
350
  /**
198
351
  * A builder class for constructing transaction instructions to add liquidity according to a specified strategy.
@@ -272,6 +425,53 @@ export declare class RemoveLiquidityBuilder {
272
425
  * Replaces reward token into storage token account
273
426
  */
274
427
  replaceClaimRewardToSTA(): void;
428
+ /**
429
+ * Replaces claim fee token ixs into associated token account
430
+ */
431
+ replaceClaimFeeTokenToATA(): void;
432
+ /**
433
+ * Replaces reward token into associated token account
434
+ */
435
+ replaceClaimRewardToATA(): void;
436
+ }
437
+ /**
438
+ * A builder class for constructing transaction instructions to remove liquidity from a position to the pda.
439
+ *
440
+ * This class provides a structured way to build the necessary transaction instructions for removing liquidity
441
+ * from a position, handling operations such as creating associated token accounts (ATAs), claiming rewards,
442
+ * withdrawing tokens, and managing wrapped SOL (wSOL) accounts.
443
+ */
444
+ export declare class RemoveLiquidityPdaBuilder {
445
+ readonly createAtaIxs: web3.TransactionInstruction[];
446
+ readonly mainIxs: web3.TransactionInstruction[];
447
+ /**
448
+ * Constructs an instance of the RemoveLiquidityBuilder class.
449
+ *
450
+ * @param {web3.TransactionInstruction[]} createAtaIxs - Instructions to create associated token accounts (ATAs) prior to withdrawal.
451
+ * @param {web3.TransactionInstruction[]} mainIxs - Main instructions for claiming fees/rewards, removing liquidity, and possibly closing the position.
452
+ * @param {web3.TransactionInstruction[]} unwrapWsolIxs - Instructions to close wSOL accounts, if any.
453
+ */
454
+ constructor(createAtaIxs: web3.TransactionInstruction[], mainIxs: web3.TransactionInstruction[]);
455
+ /**
456
+ * Builds the default sequence of transaction instructions for removing liquidity from a position.
457
+ *
458
+ * This method returns an array of transaction instructions that includes:
459
+ * - Initializing associated token accounts (ATAs) prior to withdrawal
460
+ * - Claiming fees and/or rewards, removing liquidity, and possibly closing the position
461
+ * - Withdrawing tokens to the user wallet
462
+ * - Closing wSOL accounts, if any
463
+ *
464
+ * @returns {web3.TransactionInstruction[]} - An array of transaction instructions in the required order.
465
+ */
466
+ default(): web3.TransactionInstruction[];
467
+ /**
468
+ * Replaces claim fee token ixs into storage token account
469
+ */
470
+ replaceClaimFeeTokenToSTA(): void;
471
+ /**
472
+ * Replaces reward token into storage token account
473
+ */
474
+ replaceClaimRewardToSTA(): void;
275
475
  }
276
476
  /**
277
477
  * A builder class for constructing transaction instructions to remove liquidity from a position.
@@ -309,4 +509,32 @@ export declare class InitializePositionAndAddLiquidityByStrategyBuilder {
309
509
  */
310
510
  default(): web3.TransactionInstruction[];
311
511
  }
512
+ /**
513
+ * A builder class for constructing transaction instructions to remove liquidity from a position.
514
+ *
515
+ * This class provides a structured way to build the necessary transaction instructions for removing liquidity
516
+ * from a position, handling operations such as creating associated token accounts (ATAs), claiming rewards,
517
+ * withdrawing tokens, and managing wrapped SOL (wSOL) accounts.
518
+ */
519
+ export declare class InitializePositionAndAddLiquidityByStrategyPdaBuilder {
520
+ readonly mainIxs: web3.TransactionInstruction[];
521
+ /**
522
+ * Constructs an instance of the InitializePositionAndAddLiquidityByStrategyBuilder class.
523
+ *
524
+ * @param {web3.TransactionInstruction[]} mainIxs - Main instructions for adding liquidity by strategy.
525
+ */
526
+ constructor(mainIxs: web3.TransactionInstruction[]);
527
+ /**
528
+ * Builds the default sequence of transaction instructions for removing liquidity from a position.
529
+ *
530
+ * This method returns an array of transaction instructions that includes:
531
+ * - Initializing associated token accounts (ATAs) prior to withdrawal
532
+ * - Claiming fees and/or rewards, removing liquidity, and possibly closing the position
533
+ * - Withdrawing tokens to the user wallet
534
+ * - Closing wSOL accounts, if any
535
+ *
536
+ * @returns {web3.TransactionInstruction[]} - An array of transaction instructions in the required order.
537
+ */
538
+ default(): web3.TransactionInstruction[];
539
+ }
312
540
  //# sourceMappingURL=meteora.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meteora.d.ts","sourceRoot":"","sources":["../../src/meteora.ts"],"names":[],"mappings":";AAAA,OAAO,IAAI,EAAE,EAAuF,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACpK,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAQxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAG/C,qBAAa,WAAW;aACc,IAAI,EAAE,IAAI;IAA9C,OAAO;IAEP,QAAQ,CAAC,MAAM,iBAAoB;WAEtB,MAAM,CACjB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;IAM7B;;;;OAIG;WACU,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC;IAKvE,uBAAuB,CACrB,YAAY,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,EAC1C,SAAS,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,E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