@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.minter].contract.mint.estimateGas(this.gauge, curve.constantOptions)];
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.minter].contract;
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:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.46.4",
3
+ "version": "2.46.5",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",