@hawksightco/hawk-sdk 1.3.65 → 1.3.66
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.
|
@@ -292,7 +292,7 @@ class MeteoraDlmmIxGenerator {
|
|
|
292
292
|
console.log('Creating DLMM instance...');
|
|
293
293
|
let DLMM = yield this.dlmm(connection, lbPair);
|
|
294
294
|
console.log('Calling addLiquidityByStrategy...');
|
|
295
|
-
const addLiquidityByStrategyTx = yield DLMM.dlmm.
|
|
295
|
+
const addLiquidityByStrategyTx = yield DLMM.dlmm.initializePositionAndAddLiquidityByStrategy({
|
|
296
296
|
positionPubKey: position,
|
|
297
297
|
totalXAmount: new bn_js_1.default(0),
|
|
298
298
|
totalYAmount: new bn_js_1.default(0),
|