@hawksightco/hawk-sdk 1.1.4 → 1.1.6
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.
|
@@ -434,14 +434,14 @@ class Transactions {
|
|
|
434
434
|
skipInputTokenCheck: true,
|
|
435
435
|
}, hsToMeteora_1.meteoraToHawksightAutomationIxs);
|
|
436
436
|
const mainInstructions = [
|
|
437
|
-
//
|
|
438
|
-
|
|
437
|
+
// Initialize required ATA
|
|
438
|
+
...removeLiquidityBuilder.createAtaIxs,
|
|
439
439
|
// Remove liquidity
|
|
440
440
|
...removeLiquidityBuilder.mainIxs,
|
|
441
441
|
// Re-deposit liquidity
|
|
442
442
|
...initPositionAndAddLiquidityBuilder.mainIxs,
|
|
443
|
-
//
|
|
444
|
-
|
|
443
|
+
// Sweep dust
|
|
444
|
+
...sweepLiquidityBuilder.mainIxs,
|
|
445
445
|
];
|
|
446
446
|
return (0, functions_1.createTransactionMeta)({
|
|
447
447
|
payer: params.userWallet,
|
package/dist/src/meteora.js
CHANGED
|
@@ -642,10 +642,10 @@ class InitializePositionAndAddLiquidityByStrategyBuilder {
|
|
|
642
642
|
this.depositToPdaIxs,
|
|
643
643
|
// Step 3: Add liquidity by strategy
|
|
644
644
|
...this.mainIxs,
|
|
645
|
-
// Step 4: Refund dust to user wallet
|
|
646
|
-
this.refundDustIxs,
|
|
647
|
-
// Step 5: Close wSOL account (if there's any)
|
|
648
|
-
...this.unwrapWsolIxs,
|
|
645
|
+
// // Step 4: Refund dust to user wallet
|
|
646
|
+
// this.refundDustIxs,
|
|
647
|
+
// // Step 5: Close wSOL account (if there's any)
|
|
648
|
+
// ...this.unwrapWsolIxs,
|
|
649
649
|
];
|
|
650
650
|
}
|
|
651
651
|
}
|