@gainsnetwork/sdk 0.2.70-rc4 → 0.2.71-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 +9 -6
- 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
|
@@ -396,6 +396,9 @@ export declare const pairs: {
|
|
|
396
396
|
"PLTR/USD": string;
|
|
397
397
|
"BIDU/USD": string;
|
|
398
398
|
"ROKU/USD": string;
|
|
399
|
+
"LMT/USD": string;
|
|
400
|
+
"RIOT/USD": string;
|
|
401
|
+
"MARA/USD": string;
|
|
399
402
|
};
|
|
400
403
|
export declare const syntheticPairs: Set<string>;
|
|
401
404
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -404,6 +404,9 @@ exports.pairs = {
|
|
|
404
404
|
"PLTR/USD": STOCKS,
|
|
405
405
|
"BIDU/USD": STOCKS,
|
|
406
406
|
"ROKU/USD": STOCKS,
|
|
407
|
+
"LMT/USD": STOCKS,
|
|
408
|
+
"RIOT/USD": STOCKS,
|
|
409
|
+
"MARA/USD": STOCKS,
|
|
407
410
|
};
|
|
408
411
|
exports.syntheticPairs = new Set([
|
|
409
412
|
"BTCDEGEN/USD",
|
|
@@ -452,12 +455,12 @@ exports.stockSplits = {
|
|
|
452
455
|
};
|
|
453
456
|
exports.delistedPairIxs = new Set([
|
|
454
457
|
4, 6, 15, 24, 25, 27, 28, 30, 31, 36, 48, 51, 52, 53, 54, 56, 59, 60, 61, 63,
|
|
455
|
-
66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 95, 96, 97, 98, 99,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
458
|
+
66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 95, 96, 97, 98, 99, 101,
|
|
459
|
+
106, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 130, 147, 152, 160,
|
|
460
|
+
163, 170, 179, 182, 183, 187, 188, 189, 190, 208, 209, 225, 229, 230, 231,
|
|
461
|
+
238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285, 290,
|
|
462
|
+
294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366, 394, 395, 396,
|
|
463
|
+
397, 398, 399,
|
|
461
464
|
]);
|
|
462
465
|
exports.delistedGroupsIxs = new Set([]);
|
|
463
466
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -502,4 +502,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
502
502
|
[types_1.PairIndex.PLTRUSD]: "Palantir Technologies to US Dollar",
|
|
503
503
|
[types_1.PairIndex.BIDUUSD]: "Baidu to US Dollar",
|
|
504
504
|
[types_1.PairIndex.ROKUUSD]: "Roku to US Dollar",
|
|
505
|
+
[types_1.PairIndex.LMTUSD]: "Lockheed Martin to US Dollar",
|
|
506
|
+
[types_1.PairIndex.RIOTUSD]: "Riot Platforms to US Dollar",
|
|
507
|
+
[types_1.PairIndex.MARAUSD]: "MARA Holdings to US Dollar",
|
|
505
508
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -426,4 +426,7 @@ var PairIndex;
|
|
|
426
426
|
PairIndex[PairIndex["PLTRUSD"] = 394] = "PLTRUSD";
|
|
427
427
|
PairIndex[PairIndex["BIDUUSD"] = 395] = "BIDUUSD";
|
|
428
428
|
PairIndex[PairIndex["ROKUUSD"] = 396] = "ROKUUSD";
|
|
429
|
+
PairIndex[PairIndex["LMTUSD"] = 397] = "LMTUSD";
|
|
430
|
+
PairIndex[PairIndex["RIOTUSD"] = 398] = "RIOTUSD";
|
|
431
|
+
PairIndex[PairIndex["MARAUSD"] = 399] = "MARAUSD";
|
|
429
432
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|