@gainsnetwork/sdk 0.2.59-rc2 → 0.2.59-rc4
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 +4 -0
- package/lib/constants.js +6 -1
- package/lib/contracts/utils/pairs.js +4 -0
- package/lib/trade/types.d.ts +5 -1
- package/lib/trade/types.js +4 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -348,6 +348,10 @@ export declare const pairs: {
|
|
|
348
348
|
"TST/USD": string;
|
|
349
349
|
"IP/USD": string;
|
|
350
350
|
"KAITO/USD": string;
|
|
351
|
+
"ELX/USD": string;
|
|
352
|
+
"PI/USD": string;
|
|
353
|
+
"SHELL/USD": string;
|
|
354
|
+
"BMT/USD": string;
|
|
351
355
|
};
|
|
352
356
|
export declare const syntheticPairs: Set<string>;
|
|
353
357
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -356,6 +356,10 @@ exports.pairs = {
|
|
|
356
356
|
"TST/USD": CRYPTO,
|
|
357
357
|
"IP/USD": CRYPTO,
|
|
358
358
|
"KAITO/USD": CRYPTO,
|
|
359
|
+
"ELX/USD": CRYPTO,
|
|
360
|
+
"PI/USD": CRYPTO,
|
|
361
|
+
"SHELL/USD": CRYPTO,
|
|
362
|
+
"BMT/USD": CRYPTO,
|
|
359
363
|
};
|
|
360
364
|
exports.syntheticPairs = new Set([
|
|
361
365
|
"BTCDEGEN/USD",
|
|
@@ -406,7 +410,8 @@ exports.delistedPairIxs = new Set([
|
|
|
406
410
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
407
411
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
408
412
|
97, 99, 101, 106, 52, 147, 152, 160, 179, 182, 183, 190, 229, 163, 15, 170,
|
|
409
|
-
239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 347, 348,
|
|
413
|
+
239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 347, 348, 349, 350, 351,
|
|
414
|
+
352,
|
|
410
415
|
]);
|
|
411
416
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
412
417
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -454,4 +454,8 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
454
454
|
[types_1.PairIndex.TSTUSD]: "Test to US Dollar",
|
|
455
455
|
[types_1.PairIndex.IPUSD]: "Story to US Dollar",
|
|
456
456
|
[types_1.PairIndex.KAITOUSD]: "KAITO to US Dollar",
|
|
457
|
+
[types_1.PairIndex.ELXUSD]: "Elixir to US Dollar",
|
|
458
|
+
[types_1.PairIndex.PIUSD]: "Pi Network to US Dollar",
|
|
459
|
+
[types_1.PairIndex.SHELLUSD]: "MyShell to US Dollar",
|
|
460
|
+
[types_1.PairIndex.BMTUSD]: "Bubblemaps to US Dollar",
|
|
457
461
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -378,4 +378,8 @@ var PairIndex;
|
|
|
378
378
|
PairIndex[PairIndex["TSTUSD"] = 346] = "TSTUSD";
|
|
379
379
|
PairIndex[PairIndex["IPUSD"] = 347] = "IPUSD";
|
|
380
380
|
PairIndex[PairIndex["KAITOUSD"] = 348] = "KAITOUSD";
|
|
381
|
+
PairIndex[PairIndex["ELXUSD"] = 349] = "ELXUSD";
|
|
382
|
+
PairIndex[PairIndex["PIUSD"] = 350] = "PIUSD";
|
|
383
|
+
PairIndex[PairIndex["SHELLUSD"] = 351] = "SHELLUSD";
|
|
384
|
+
PairIndex[PairIndex["BMTUSD"] = 352] = "BMTUSD";
|
|
381
385
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|