@hawksightco/hawk-sdk 1.2.81 → 1.2.82
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.
|
@@ -323,7 +323,7 @@ class RaydiumIxGenerator {
|
|
|
323
323
|
const vault1Mint = fetch.poolStateInfo.tokenMint1;
|
|
324
324
|
const tokenVault0 = fetch.poolStateInfo.tokenVault0;
|
|
325
325
|
const tokenVault1 = fetch.poolStateInfo.tokenVault1;
|
|
326
|
-
const { amount0Min, amount1Min } = yield getAmountsFromLiquidity(connection, fetch.positionInfo.poolId,
|
|
326
|
+
const { amount0Min, amount1Min } = yield getAmountsFromLiquidity(connection, fetch.positionInfo.poolId, params.liquidity, fetch.positionInfo.tickLowerIndex, fetch.positionInfo.tickUpperIndex, params.slippage, false);
|
|
327
327
|
return yield this.iyfExtension.raydiumDecreaseLiquidity({
|
|
328
328
|
connection,
|
|
329
329
|
liquidity: params.liquidity,
|