@gainsnetwork/sdk 0.2.49-rc4 → 0.2.50-rc2

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.
@@ -319,6 +319,14 @@ export declare const pairs: {
319
319
  "COW/USD": string;
320
320
  "AVA/USD": string;
321
321
  "USUAL/USD": string;
322
+ "PENGU/USD": string;
323
+ "FARTCOIN/USD": string;
324
+ "ZEREBRO/USD": string;
325
+ "AI16Z/USD": string;
326
+ "AIXBT/USD": string;
327
+ "BIO/USD": string;
328
+ "XRPDEGEN/USD": string;
329
+ "BNBDEGEN/USD": string;
322
330
  };
323
331
  export declare const syntheticPairs: Set<string>;
324
332
  export declare const parentToSyntheticPairMap: Map<string, string>;
package/lib/constants.js CHANGED
@@ -327,16 +327,28 @@ exports.pairs = {
327
327
  "COW/USD": CRYPTO,
328
328
  "AVA/USD": CRYPTO,
329
329
  "USUAL/USD": CRYPTO,
330
+ "PENGU/USD": CRYPTO,
331
+ "FARTCOIN/USD": CRYPTO,
332
+ "ZEREBRO/USD": CRYPTO,
333
+ "AI16Z/USD": CRYPTO,
334
+ "AIXBT/USD": CRYPTO,
335
+ "BIO/USD": CRYPTO,
336
+ "XRPDEGEN/USD": CRYPTO,
337
+ "BNBDEGEN/USD": CRYPTO,
330
338
  };
331
339
  exports.syntheticPairs = new Set([
332
340
  "BTCDEGEN/USD",
333
341
  "ETHDEGEN/USD",
334
342
  "SOLDEGEN/USD",
343
+ "XRPDEGEN/USD",
344
+ "BNBDEGEN/USD",
335
345
  ]);
336
346
  exports.parentToSyntheticPairMap = new Map([
337
347
  ["BTC/USD", "BTCDEGEN/USD"],
338
348
  ["ETH/USD", "ETHDEGEN/USD"],
339
349
  ["SOL/USD", "SOLDEGEN/USD"],
350
+ ["XRP/USD", "XRPDEGEN/USD"],
351
+ ["BNB/USD", "BNBDEGEN/USD"],
340
352
  ]);
341
353
  const getAssetClassFromGroupIndex = (groupIndex) => {
342
354
  switch (groupIndex) {
@@ -373,7 +385,8 @@ exports.delistedPairIxs = new Set([
373
385
  4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
374
386
  71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
375
387
  97, 99, 101, 106, 108, 52, 131, 147, 152, 160, 179, 182, 183, 190, 229, 163,
376
- 15, 170, 239, 254, 230, 4, 275, 290, 296, 311,
388
+ 15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 320, 321, 322, 323, 324, 325,
389
+ 326, 327,
377
390
  ]);
378
391
  exports.delistedGroupsIxs = new Set([6, 7]);
379
392
  exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
@@ -425,4 +425,12 @@ const PAIR_INDEX_TO_DESCRIPTION = {
425
425
  [types_1.PairIndex.COWUSD]: "CoW Protocol to US Dollar",
426
426
  [types_1.PairIndex.AVAUSD]: "Travala to US Dollar",
427
427
  [types_1.PairIndex.USUALUSD]: "Usual to US Dollar",
428
+ [types_1.PairIndex.PENGUUSD]: "Pudgy Penguins to US Dollar",
429
+ [types_1.PairIndex.FARTCOINUSD]: "Fartcoin to US Dollar",
430
+ [types_1.PairIndex.ZEREBROUSD]: "Zerebro to US Dollar",
431
+ [types_1.PairIndex.AI16ZUSD]: "ai16z to US Dollar",
432
+ [types_1.PairIndex.AIXBTUSD]: "aixbt by Virtuals to US Dollar",
433
+ [types_1.PairIndex.BIOUSD]: "Bio Protocol to US Dollar",
434
+ [types_1.PairIndex.XRPDEGEN]: "Ripple to US Dollar",
435
+ [types_1.PairIndex.BNBDEGEN]: "Binance Coin to US Dollar",
428
436
  };
@@ -538,5 +538,13 @@ export declare enum PairIndex {
538
538
  MEUSD = 316,
539
539
  COWUSD = 317,
540
540
  AVAUSD = 318,
541
- USUALUSD = 319
541
+ USUALUSD = 319,
542
+ PENGUUSD = 320,
543
+ FARTCOINUSD = 321,
544
+ ZEREBROUSD = 322,
545
+ AI16ZUSD = 323,
546
+ AIXBTUSD = 324,
547
+ BIOUSD = 325,
548
+ XRPDEGEN = 326,
549
+ BNBDEGEN = 327
542
550
  }
@@ -349,4 +349,12 @@ var PairIndex;
349
349
  PairIndex[PairIndex["COWUSD"] = 317] = "COWUSD";
350
350
  PairIndex[PairIndex["AVAUSD"] = 318] = "AVAUSD";
351
351
  PairIndex[PairIndex["USUALUSD"] = 319] = "USUALUSD";
352
+ PairIndex[PairIndex["PENGUUSD"] = 320] = "PENGUUSD";
353
+ PairIndex[PairIndex["FARTCOINUSD"] = 321] = "FARTCOINUSD";
354
+ PairIndex[PairIndex["ZEREBROUSD"] = 322] = "ZEREBROUSD";
355
+ PairIndex[PairIndex["AI16ZUSD"] = 323] = "AI16ZUSD";
356
+ PairIndex[PairIndex["AIXBTUSD"] = 324] = "AIXBTUSD";
357
+ PairIndex[PairIndex["BIOUSD"] = 325] = "BIOUSD";
358
+ PairIndex[PairIndex["XRPDEGEN"] = 326] = "XRPDEGEN";
359
+ PairIndex[PairIndex["BNBDEGEN"] = 327] = "BNBDEGEN";
352
360
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.49-rc4",
3
+ "version": "0.2.50-rc2",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [