@gainsnetwork/sdk 0.2.49-rc3 → 0.2.50-rc1
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.
- package/lib/constants.d.ts +6 -0
- package/lib/constants.js +7 -1
- package/lib/contracts/utils/pairs.js +6 -0
- package/lib/trade/types.d.ts +7 -1
- package/lib/trade/types.js +6 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -319,6 +319,12 @@ 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;
|
|
322
328
|
};
|
|
323
329
|
export declare const syntheticPairs: Set<string>;
|
|
324
330
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -327,6 +327,12 @@ 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,
|
|
330
336
|
};
|
|
331
337
|
exports.syntheticPairs = new Set([
|
|
332
338
|
"BTCDEGEN/USD",
|
|
@@ -373,7 +379,7 @@ exports.delistedPairIxs = new Set([
|
|
|
373
379
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
374
380
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
375
381
|
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,
|
|
382
|
+
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 320, 321, 322, 323, 324, 325,
|
|
377
383
|
]);
|
|
378
384
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
379
385
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -425,4 +425,10 @@ 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",
|
|
428
434
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -538,5 +538,11 @@ 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
|
|
542
548
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -349,4 +349,10 @@ 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";
|
|
352
358
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|