@gainsnetwork/sdk 0.1.11-rc1 → 0.1.12

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.
@@ -199,6 +199,11 @@ export declare const pairs: {
199
199
  "UMA/USD": string;
200
200
  "MAGIC/USD": string;
201
201
  "API3/USD": string;
202
+ "STRK/USD": string;
203
+ "DYM/USD": string;
204
+ "NTRN/USD": string;
205
+ "PYTH/USD": string;
206
+ "SC/USD": string;
202
207
  };
203
208
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
204
209
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -207,6 +207,11 @@ exports.pairs = {
207
207
  "UMA/USD": CRYPTO,
208
208
  "MAGIC/USD": CRYPTO,
209
209
  "API3/USD": CRYPTO,
210
+ "STRK/USD": CRYPTO,
211
+ "DYM/USD": CRYPTO,
212
+ "NTRN/USD": CRYPTO,
213
+ "PYTH/USD": CRYPTO,
214
+ "SC/USD": CRYPTO
210
215
  };
211
216
  const getAssetClassFromGroupIndex = (groupIndex) => {
212
217
  switch (groupIndex) {
@@ -241,6 +246,6 @@ exports.delistedPairIxs = new Set([
241
246
  6, 31, 36, 42, 45, 48, 50, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
242
247
  69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
243
248
  88, 89, 97, 99, 101, 106, 107, 108, 52, 131, 147, 157, 160, 179, 182, 183,
244
- 190, 192, 193, 194, 195, 196, 197, 198, 199,
249
+ 190, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204
245
250
  ]);
246
251
  exports.delistedGroupsIxs = new Set([6, 7]);
@@ -287,11 +287,24 @@ const PAIR_INDEX_TO_DESCRIPTION = {
287
287
  [types_1.PairIndex.ANTUSD]: "Aragon to US Dollar",
288
288
  [types_1.PairIndex.WAVESUSD]: "Waves to US Dollar",
289
289
  [types_1.PairIndex.SKLUSD]: "SKALE to US Dollar",
290
- [types_1.PairIndex.SUPERUSD]: "SuperFarm to US Dollar",
290
+ [types_1.PairIndex.SUPERUSD]: "SuperVerse to US Dollar",
291
291
  [types_1.PairIndex.BALUSD]: "Balancer to US Dollar",
292
292
  [types_1.PairIndex.WTIUSD]: "Oil to US Dollar",
293
293
  [types_1.PairIndex.XPTUSD]: "Platinum to US Dollar",
294
294
  [types_1.PairIndex.XPDUSD]: "Palladium to US Dollar",
295
295
  [types_1.PairIndex.HGUSD]: "Copper to US Dollar",
296
296
  [types_1.PairIndex.JUPUSD]: "Jupiter to US Dollar",
297
+ [types_1.PairIndex.MANTAUSD]: "Manta to US Dollar",
298
+ [types_1.PairIndex.BONKUSD]: "Bonk to US Dollar",
299
+ [types_1.PairIndex.PENDLEUSD]: "Pendle to US Dollar",
300
+ [types_1.PairIndex.OSMOUSD]: "Osmosis to US Dollar",
301
+ [types_1.PairIndex.ALTUSD]: "AltLayer to US Dollar",
302
+ [types_1.PairIndex.UMAUSD]: "UMA to US Dollar",
303
+ [types_1.PairIndex.MAGICUSD]: "Magic to US Dollar",
304
+ [types_1.PairIndex.API3USD]: "API3 to US Dollar",
305
+ [types_1.PairIndex.STRKUSD]: "Starknet to US Dollar",
306
+ [types_1.PairIndex.DYMUSD]: "Dymension to US Dollar",
307
+ [types_1.PairIndex.NTRNUSD]: "Neutron to US Dollar",
308
+ [types_1.PairIndex.PYTHUSD]: "Pyth Network to US Dollar",
309
+ [types_1.PairIndex.SCUSD]: "Siacoin to US Dollar",
297
310
  };
@@ -372,5 +372,18 @@ export declare enum PairIndex {
372
372
  XPTUSD = 188,
373
373
  XPDUSD = 189,
374
374
  HGUSD = 190,
375
- JUPUSD = 191
375
+ JUPUSD = 191,
376
+ MANTAUSD = 192,
377
+ BONKUSD = 193,
378
+ PENDLEUSD = 194,
379
+ OSMOUSD = 195,
380
+ ALTUSD = 196,
381
+ UMAUSD = 197,
382
+ MAGICUSD = 198,
383
+ API3USD = 199,
384
+ STRKUSD = 200,
385
+ DYMUSD = 201,
386
+ NTRNUSD = 202,
387
+ PYTHUSD = 203,
388
+ SCUSD = 204
376
389
  }
@@ -206,4 +206,17 @@ var PairIndex;
206
206
  PairIndex[PairIndex["XPDUSD"] = 189] = "XPDUSD";
207
207
  PairIndex[PairIndex["HGUSD"] = 190] = "HGUSD";
208
208
  PairIndex[PairIndex["JUPUSD"] = 191] = "JUPUSD";
209
+ PairIndex[PairIndex["MANTAUSD"] = 192] = "MANTAUSD";
210
+ PairIndex[PairIndex["BONKUSD"] = 193] = "BONKUSD";
211
+ PairIndex[PairIndex["PENDLEUSD"] = 194] = "PENDLEUSD";
212
+ PairIndex[PairIndex["OSMOUSD"] = 195] = "OSMOUSD";
213
+ PairIndex[PairIndex["ALTUSD"] = 196] = "ALTUSD";
214
+ PairIndex[PairIndex["UMAUSD"] = 197] = "UMAUSD";
215
+ PairIndex[PairIndex["MAGICUSD"] = 198] = "MAGICUSD";
216
+ PairIndex[PairIndex["API3USD"] = 199] = "API3USD";
217
+ PairIndex[PairIndex["STRKUSD"] = 200] = "STRKUSD";
218
+ PairIndex[PairIndex["DYMUSD"] = 201] = "DYMUSD";
219
+ PairIndex[PairIndex["NTRNUSD"] = 202] = "NTRNUSD";
220
+ PairIndex[PairIndex["PYTHUSD"] = 203] = "PYTHUSD";
221
+ PairIndex[PairIndex["SCUSD"] = 204] = "SCUSD";
209
222
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.1.11-rc1",
3
+ "version": "0.1.12",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [