@curvefi/api 2.46.4 → 2.46.5
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.
|
@@ -1745,7 +1745,7 @@ var PoolTemplate = /** @class */ (function () {
|
|
|
1745
1745
|
if (this.rewardsOnly())
|
|
1746
1746
|
throw Error("".concat(this.name, " has Rewards-Only Gauge. Use claimRewards instead"));
|
|
1747
1747
|
_c = Number;
|
|
1748
|
-
return [4 /*yield*/, curve.contracts[curve.constants.ALIASES.
|
|
1748
|
+
return [4 /*yield*/, curve.contracts[curve.constants.ALIASES.gauge_factory].contract.mint.estimateGas(this.gauge, curve.constantOptions)];
|
|
1749
1749
|
case 1: return [2 /*return*/, _c.apply(void 0, [_d.sent()])];
|
|
1750
1750
|
}
|
|
1751
1751
|
});
|
|
@@ -1759,7 +1759,7 @@ var PoolTemplate = /** @class */ (function () {
|
|
|
1759
1759
|
case 0:
|
|
1760
1760
|
if (this.rewardsOnly())
|
|
1761
1761
|
throw Error("".concat(this.name, " has Rewards-Only Gauge. Use claimRewards instead"));
|
|
1762
|
-
contract = curve.contracts[curve.constants.ALIASES.
|
|
1762
|
+
contract = curve.contracts[curve.constants.ALIASES.gauge_factory].contract;
|
|
1763
1763
|
_c = mulBy1_3;
|
|
1764
1764
|
return [4 /*yield*/, contract.mint.estimateGas(this.gauge, curve.constantOptions)];
|
|
1765
1765
|
case 1:
|