@hawksightco/hawk-sdk 1.3.72 → 1.3.73
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/src/hsToMeteora.js +3 -1
- package/package.json +1 -1
package/dist/src/hsToMeteora.js
CHANGED
|
@@ -2555,10 +2555,12 @@ class MeteoraDlmmWithdraw2Automation extends HawksightMeteoraAutomationCpi {
|
|
|
2555
2555
|
this.ix.keys[7].pubkey = util.generateAta(this.userPda, tokenXMint, tokenXMintInfo.info.owner);
|
|
2556
2556
|
this.ix.keys[8].pubkey = util.generateAta(this.userPda, tokenYMint, tokenYMintInfo.info.owner);
|
|
2557
2557
|
}
|
|
2558
|
+
// 8 + 4 + 4 + 2
|
|
2559
|
+
const ixDataArgs = this.ix.data.subarray(18);
|
|
2558
2560
|
// Generate IX via extension contract
|
|
2559
2561
|
// @ts-ignore
|
|
2560
2562
|
const withdrawIx = yield anchor_1.Anchor.instance().iyfExtension.methods
|
|
2561
|
-
.meteoraDlmmWithdraw2Automation(
|
|
2563
|
+
.meteoraDlmmWithdraw2Automation(ixDataArgs)
|
|
2562
2564
|
.accounts({
|
|
2563
2565
|
farm,
|
|
2564
2566
|
userPda,
|