@gainsnetwork/sdk 1.7.3 → 1.7.4-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 +3 -0
- package/lib/constants.js +5 -2
- package/lib/contracts/utils/pairs.js +3 -0
- package/lib/trade/types.d.ts +4 -1
- package/lib/trade/types.js +3 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -442,6 +442,9 @@ export declare const pairs: {
|
|
|
442
442
|
"STABLE/USD": string;
|
|
443
443
|
"VOOI/USD": string;
|
|
444
444
|
"LIT/USD": string;
|
|
445
|
+
"DUSK /USD": string;
|
|
446
|
+
"SCRT/USD": string;
|
|
447
|
+
"DCR/USD": string;
|
|
445
448
|
};
|
|
446
449
|
export declare const syntheticPairs: Set<string>;
|
|
447
450
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -450,6 +450,9 @@ exports.pairs = {
|
|
|
450
450
|
"STABLE/USD": CRYPTO,
|
|
451
451
|
"VOOI/USD": CRYPTO,
|
|
452
452
|
"LIT/USD": CRYPTO,
|
|
453
|
+
"DUSK /USD": CRYPTO,
|
|
454
|
+
"SCRT/USD": CRYPTO,
|
|
455
|
+
"DCR/USD": CRYPTO,
|
|
453
456
|
};
|
|
454
457
|
exports.syntheticPairs = new Set([
|
|
455
458
|
"BTCDEGEN/USD",
|
|
@@ -498,7 +501,7 @@ exports.stockSplits = {
|
|
|
498
501
|
"NFLX_1/USD": { date: "11/17/2025", split: 10 },
|
|
499
502
|
};
|
|
500
503
|
exports.delistedPairIxs = new Set([
|
|
501
|
-
4, 6, 12, 15, 24, 25, 27, 28, 30, 31, 36, 41,
|
|
504
|
+
4, 6, 12, 15, 24, 25, 27, 28, 30, 31, 36, 41, 52, 53, 54, 59, 60,
|
|
502
505
|
61, 63, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 95, 96, 97, 98, 99,
|
|
503
506
|
101, 106, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 130, 147, 152, 160,
|
|
504
507
|
163, 170, 179, 182, 183, 186, 198, 208, 209, 221, 224, 225, 227,
|
|
@@ -506,7 +509,7 @@ exports.delistedPairIxs = new Set([
|
|
|
506
509
|
272, 273, 275, 276, 278, 279, 280, 281, 284, 285, 290, 291, 292, 294, 296, 303,
|
|
507
510
|
305, 306, 311, 312, 322, 323, 330, 333, 335, 336, 337, 342, 343, 344, 346, 347,
|
|
508
511
|
349, 350, 351, 352, 353, 354, 355, 357, 362, 365, 366, 372, 379, 380, 387, 395,
|
|
509
|
-
396, 400, 401, 408, 423, 427, 428, 430, 435, 436, 437, 438, 441,
|
|
512
|
+
396, 400, 401, 408, 423, 427, 428, 430, 435, 436, 437, 438, 441, 443, 444, 445,
|
|
510
513
|
]);
|
|
511
514
|
exports.delistedGroupsIxs = new Set([]);
|
|
512
515
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -596,4 +596,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
596
596
|
[types_1.PairIndex.STABLEUSD]: "Stable to US Dollar",
|
|
597
597
|
[types_1.PairIndex.VOOIUSD]: "VOOI to US Dollar",
|
|
598
598
|
[types_1.PairIndex.LITUSD]: "Lighter to US Dollar",
|
|
599
|
+
[types_1.PairIndex.DUSKUSD]: "DUSK to US Dollar",
|
|
600
|
+
[types_1.PairIndex.SCRTUSD]: "Secret to US Dollar",
|
|
601
|
+
[types_1.PairIndex.DCRUSD]: "Decred to US Dollar",
|
|
599
602
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -472,4 +472,7 @@ var PairIndex;
|
|
|
472
472
|
PairIndex[PairIndex["STABLEUSD"] = 440] = "STABLEUSD";
|
|
473
473
|
PairIndex[PairIndex["VOOIUSD"] = 441] = "VOOIUSD";
|
|
474
474
|
PairIndex[PairIndex["LITUSD"] = 442] = "LITUSD";
|
|
475
|
+
PairIndex[PairIndex["DUSKUSD"] = 443] = "DUSKUSD";
|
|
476
|
+
PairIndex[PairIndex["SCRTUSD"] = 444] = "SCRTUSD";
|
|
477
|
+
PairIndex[PairIndex["DCRUSD"] = 445] = "DCRUSD";
|
|
475
478
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|