@gainsnetwork/sdk 0.2.70-rc1 → 0.2.70-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.
- package/lib/constants.d.ts +0 -3
- package/lib/constants.js +1 -4
- package/lib/contracts/utils/pairs.js +0 -3
- package/lib/trade/types.d.ts +3 -6
- package/lib/trade/types.js +3 -6
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -393,12 +393,9 @@ export declare const pairs: {
|
|
|
393
393
|
"B/USD": string;
|
|
394
394
|
"HUMA/USD": string;
|
|
395
395
|
"SBET/USD": string;
|
|
396
|
-
"MTPLF/USD": string;
|
|
397
396
|
"PLTR/USD": string;
|
|
398
397
|
"BIDU/USD": string;
|
|
399
398
|
"ROKU/USD": string;
|
|
400
|
-
"EXOD/USD": string;
|
|
401
|
-
"CHYME/USD": string;
|
|
402
399
|
};
|
|
403
400
|
export declare const syntheticPairs: Set<string>;
|
|
404
401
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -401,12 +401,9 @@ exports.pairs = {
|
|
|
401
401
|
"B/USD": CRYPTO,
|
|
402
402
|
"HUMA/USD": CRYPTO,
|
|
403
403
|
"SBET/USD": STOCKS,
|
|
404
|
-
"MTPLF/USD": STOCKS,
|
|
405
404
|
"PLTR/USD": STOCKS,
|
|
406
405
|
"BIDU/USD": STOCKS,
|
|
407
406
|
"ROKU/USD": STOCKS,
|
|
408
|
-
"EXOD/USD": STOCKS,
|
|
409
|
-
"CHYME/USD": STOCKS,
|
|
410
407
|
};
|
|
411
408
|
exports.syntheticPairs = new Set([
|
|
412
409
|
"BTCDEGEN/USD",
|
|
@@ -460,7 +457,7 @@ exports.delistedPairIxs = new Set([
|
|
|
460
457
|
160, 163, 170, 179, 182, 183, 187, 188, 189, 190, 208, 209, 225, 229, 230,
|
|
461
458
|
231, 238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285,
|
|
462
459
|
290, 294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366, 384, 385,
|
|
463
|
-
387, 388, 389, 390, 391, 392, 393, 394, 395, 396,
|
|
460
|
+
387, 388, 389, 390, 391, 392, 393, 394, 395, 396,
|
|
464
461
|
]);
|
|
465
462
|
exports.delistedGroupsIxs = new Set([]);
|
|
466
463
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -499,10 +499,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
499
499
|
[types_1.PairIndex.BUSD]: "BUILDon to US Dollar",
|
|
500
500
|
[types_1.PairIndex.HUMAUSD]: "Huma Finance to US Dollar",
|
|
501
501
|
[types_1.PairIndex.SBETUSD]: "Sharplink Gaming Inc to US Dollar",
|
|
502
|
-
[types_1.PairIndex.MTPLFUSD]: "Metaplanet to US Dollar",
|
|
503
502
|
[types_1.PairIndex.PLTRUSD]: "Palantir Technologies to US Dollar",
|
|
504
503
|
[types_1.PairIndex.BIDUUSD]: "Baidu to US Dollar",
|
|
505
504
|
[types_1.PairIndex.ROKUUSD]: "Roku to US Dollar",
|
|
506
|
-
[types_1.PairIndex.EXODUSD]: "Exodus Movement Inc to US Dollar",
|
|
507
|
-
[types_1.PairIndex.CHYMEUSD]: "Chime Financial Inc to US Dollar",
|
|
508
505
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -617,10 +617,7 @@ export declare enum PairIndex {
|
|
|
617
617
|
BUSD = 391,
|
|
618
618
|
HUMAUSD = 392,
|
|
619
619
|
SBETUSD = 393,
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
ROKUUSD = 397,
|
|
624
|
-
EXODUSD = 398,
|
|
625
|
-
CHYMEUSD = 399
|
|
620
|
+
PLTRUSD = 394,
|
|
621
|
+
BIDUUSD = 395,
|
|
622
|
+
ROKUUSD = 396
|
|
626
623
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -423,10 +423,7 @@ var PairIndex;
|
|
|
423
423
|
PairIndex[PairIndex["BUSD"] = 391] = "BUSD";
|
|
424
424
|
PairIndex[PairIndex["HUMAUSD"] = 392] = "HUMAUSD";
|
|
425
425
|
PairIndex[PairIndex["SBETUSD"] = 393] = "SBETUSD";
|
|
426
|
-
PairIndex[PairIndex["
|
|
427
|
-
PairIndex[PairIndex["
|
|
428
|
-
PairIndex[PairIndex["
|
|
429
|
-
PairIndex[PairIndex["ROKUUSD"] = 397] = "ROKUUSD";
|
|
430
|
-
PairIndex[PairIndex["EXODUSD"] = 398] = "EXODUSD";
|
|
431
|
-
PairIndex[PairIndex["CHYMEUSD"] = 399] = "CHYMEUSD";
|
|
426
|
+
PairIndex[PairIndex["PLTRUSD"] = 394] = "PLTRUSD";
|
|
427
|
+
PairIndex[PairIndex["BIDUUSD"] = 395] = "BIDUUSD";
|
|
428
|
+
PairIndex[PairIndex["ROKUUSD"] = 396] = "ROKUUSD";
|
|
432
429
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|