@hawksightco/hawk-sdk 1.3.62 → 1.3.64
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.
|
@@ -310,7 +310,7 @@ class MeteoraDlmmIxGenerator {
|
|
|
310
310
|
return ix.programId.equals(METEORA_DLMM_PROGRAM) &&
|
|
311
311
|
ix.data.subarray(0, 8).equals(Buffer.from([3, 221, 149, 218, 111, 141, 118, 213]));
|
|
312
312
|
})[0];
|
|
313
|
-
const binArrayBitmapExtension = addLiquidityByStrategyIx.keys[2];
|
|
313
|
+
const binArrayBitmapExtension = addLiquidityByStrategyIx.keys[2].pubkey;
|
|
314
314
|
if (!addLiquidityByStrategyIx) {
|
|
315
315
|
throw new Error('add_liquidity_by_strategy2 instruction not found in transaction');
|
|
316
316
|
}
|
|
@@ -322,8 +322,8 @@ class MeteoraDlmmIxGenerator {
|
|
|
322
322
|
console.log('Remaining accounts count:', remainingAccountMeta.length);
|
|
323
323
|
console.log('Remaining accounts info length:', remainingAccountsInfo.length);
|
|
324
324
|
// Generate instruction
|
|
325
|
-
return this.ix.iyfMain.
|
|
326
|
-
userWallet,
|
|
325
|
+
return this.ix.iyfMain.iyfExtensionExecuteV2(connection, {
|
|
326
|
+
authority: userWallet,
|
|
327
327
|
// @ts-ignore
|
|
328
328
|
iyfExtensionIx: yield anchor_1.Anchor.instance().iyfExtension
|
|
329
329
|
.methods
|