@curvefi/api 2.53.13 → 2.54.0
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/lib/factory/deploy.js +1 -1
- package/package.json +2 -2
package/lib/factory/deploy.js
CHANGED
|
@@ -636,7 +636,7 @@ initialPrices, estimateGas) { return __awaiter(void 0, void 0, void 0, function
|
|
|
636
636
|
_emaTime = parseUnits(Math.floor(emaTime / Math.log(2)), 0);
|
|
637
637
|
_initialPrices = [parseUnits(initialPrices[0]), parseUnits(initialPrices[1])];
|
|
638
638
|
contract = curve.contracts[curve.constants.ALIASES.tricrypto_factory].contract;
|
|
639
|
-
return [4 /*yield*/, contract.deploy_pool.estimateGas(name, symbol, coins, curve.constants.
|
|
639
|
+
return [4 /*yield*/, contract.deploy_pool.estimateGas(name, symbol, coins, curve.constants.ZERO_ADDRESS, 0, _A, _gamma, _midFee, _outFee, _feeGamma, _allowedExtraProfit, _adjustmentStep, _emaTime, _initialPrices, curve.constantOptions)];
|
|
640
640
|
case 1:
|
|
641
641
|
gas = _a.sent();
|
|
642
642
|
if (estimateGas)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@curvefi/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.54.0",
|
|
4
4
|
"description": "JavaScript library for curve.fi",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "Macket",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"axios": "^0.21.1",
|
|
36
36
|
"bignumber.js": "^9.0.1",
|
|
37
37
|
"ethcall": "^6.0.2",
|
|
38
|
-
"ethers": "^6.
|
|
38
|
+
"ethers": "^6.10.0",
|
|
39
39
|
"memoizee": "^0.4.15"
|
|
40
40
|
}
|
|
41
41
|
}
|