@curvefi/api 2.46.0 → 2.46.1

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.
@@ -1,2 +1,5 @@
1
1
  import { IDict, IPoolData, ICurve } from "../interfaces";
2
+ export declare const BLACK_LIST: {
3
+ [index: number]: any;
4
+ };
2
5
  export declare function getFactoryPoolData(this: ICurve, fromIdx?: number, swapAddress?: string, factoryAddress?: string): Promise<IDict<IPoolData>>;
@@ -61,9 +61,10 @@ import factoryGaugeABI from "../constants/abis/gauge_factory.json" assert { type
61
61
  import gaugeChildABI from "../constants/abis/gauge_child.json" assert { type: 'json' };
62
62
  import { setFactoryZapContracts } from "./common.js";
63
63
  import { FACTORY_CONSTANTS } from "./constants.js";
64
- var BLACK_LIST = {
64
+ export var BLACK_LIST = {
65
65
  1: [
66
66
  "0x066b6e1e93fa7dcd3f0eb7f8bac7d5a747ce0bf9",
67
+ "0xc61557c5d177bd7dc889a3b621eec333e168f68a",
67
68
  ],
68
69
  137: [
69
70
  "0x666dc3b4babfd063faf965bd020024af0dc51b64",
@@ -349,7 +350,7 @@ export function getFactoryPoolData(fromIdx, swapAddress, factoryAddress) {
349
350
  };
350
351
  }
351
352
  else {
352
- var allPoolsData_1 = __assign(__assign({}, this_1.constants.POOLS_DATA), FACTORY_POOLS_DATA);
353
+ var allPoolsData_1 = __assign(__assign(__assign({}, this_1.constants.POOLS_DATA), this_1.constants.FACTORY_POOLS_DATA), FACTORY_POOLS_DATA);
353
354
  // @ts-ignore
354
355
  var basePoolIdCoinsDict = Object.fromEntries(basePoolIds.map(function (poolId) { var _a; return [poolId, (_a = allPoolsData_1[poolId]) === null || _a === void 0 ? void 0 : _a.underlying_coins]; }));
355
356
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.46.0",
3
+ "version": "2.46.1",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",