@curvefi/api 2.50.4 → 2.50.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.
|
@@ -407,7 +407,7 @@ export var depositPlainMixin = {
|
|
|
407
407
|
if (estimateGas)
|
|
408
408
|
return [2 /*return*/, smartNumber(gas)];
|
|
409
409
|
gasLimit = mulBy1_3(DIGas(gas));
|
|
410
|
-
return [4 /*yield*/, contract.add_liquidity(_amounts, _minMintAmount, __assign(__assign({}, curve.options), { gasLimit: gasLimit, value: value }))];
|
|
410
|
+
return [4 /*yield*/, contract.add_liquidity(_amounts, _minMintAmount, false, __assign(__assign({}, curve.options), { gasLimit: gasLimit, value: value }))];
|
|
411
411
|
case 5: return [2 /*return*/, (_a.sent()).hash];
|
|
412
412
|
}
|
|
413
413
|
});
|
|
@@ -379,7 +379,7 @@ export var withdrawPlainMixin = {
|
|
|
379
379
|
if (estimateGas)
|
|
380
380
|
return [2 /*return*/, smartNumber(gas)];
|
|
381
381
|
gasLimit = mulBy1_3(DIGas(gas));
|
|
382
|
-
return [4 /*yield*/, contract.remove_liquidity(_lpTokenAmount, _minAmounts, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
|
|
382
|
+
return [4 /*yield*/, contract.remove_liquidity(_lpTokenAmount, _minAmounts, false, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
|
|
383
383
|
case 3: return [2 /*return*/, (_b.sent()).hash];
|
|
384
384
|
}
|
|
385
385
|
});
|
|
@@ -380,7 +380,7 @@ export var withdrawOneCoinPlainMixin = {
|
|
|
380
380
|
if (estimateGas)
|
|
381
381
|
return [2 /*return*/, smartNumber(gas)];
|
|
382
382
|
gasLimit = mulBy1_3(DIGas(gas));
|
|
383
|
-
return [4 /*yield*/, contract.remove_liquidity_one_coin(_lpTokenAmount, i, _minAmount, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
|
|
383
|
+
return [4 /*yield*/, contract.remove_liquidity_one_coin(_lpTokenAmount, i, _minAmount, false, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
|
|
384
384
|
case 3: return [2 /*return*/, (_a.sent()).hash];
|
|
385
385
|
}
|
|
386
386
|
});
|