@gainsnetwork/sdk 1.7.5-rc1 → 1.7.5-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 +2 -15
- package/lib/constants.js +2 -16
- package/lib/contracts/utils/pairs.js +2 -15
- package/lib/trade/types.d.ts +3 -16
- package/lib/trade/types.js +3 -16
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -445,22 +445,9 @@ export declare const pairs: {
|
|
|
445
445
|
"DUSK/USD": string;
|
|
446
446
|
"SCRT/USD": string;
|
|
447
447
|
"DCR/USD": string;
|
|
448
|
-
"RKLB/USD": string;
|
|
449
|
-
"ASTS/USD": string;
|
|
450
|
-
"ARKX/USD": string;
|
|
451
|
-
"CC/USD": string;
|
|
452
|
-
"KC/USD": string;
|
|
453
|
-
"CT/USD": string;
|
|
454
|
-
"RB/USD": string;
|
|
455
|
-
"NG/USD": string;
|
|
456
|
-
"ZS/USD": string;
|
|
457
|
-
"SB/USD": string;
|
|
458
|
-
"ZW/USD": string;
|
|
459
|
-
"UX/USD": string;
|
|
460
448
|
"GDX/USD": string;
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"CC1/USD": string;
|
|
449
|
+
"URA/USD": string;
|
|
450
|
+
"WPM/USD": string;
|
|
464
451
|
};
|
|
465
452
|
export declare const syntheticPairs: Set<string>;
|
|
466
453
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -453,22 +453,9 @@ exports.pairs = {
|
|
|
453
453
|
"DUSK/USD": CRYPTO,
|
|
454
454
|
"SCRT/USD": CRYPTO,
|
|
455
455
|
"DCR/USD": CRYPTO,
|
|
456
|
-
"RKLB/USD": STOCKS,
|
|
457
|
-
"ASTS/USD": STOCKS,
|
|
458
|
-
"ARKX/USD": STOCKS,
|
|
459
|
-
"CC/USD": COMMODITIES,
|
|
460
|
-
"KC/USD": COMMODITIES,
|
|
461
|
-
"CT/USD": COMMODITIES,
|
|
462
|
-
"RB/USD": COMMODITIES,
|
|
463
|
-
"NG/USD": COMMODITIES,
|
|
464
|
-
"ZS/USD": COMMODITIES,
|
|
465
|
-
"SB/USD": COMMODITIES,
|
|
466
|
-
"ZW/USD": COMMODITIES,
|
|
467
|
-
"UX/USD": COMMODITIES,
|
|
468
456
|
"GDX/USD": INDICES,
|
|
469
|
-
"
|
|
470
|
-
"
|
|
471
|
-
"CC1/USD": COMMODITIES,
|
|
457
|
+
"URA/USD": INDICES,
|
|
458
|
+
"WPM/USD": STOCKS,
|
|
472
459
|
};
|
|
473
460
|
exports.syntheticPairs = new Set([
|
|
474
461
|
"BTCDEGEN/USD",
|
|
@@ -526,7 +513,6 @@ exports.delistedPairIxs = new Set([
|
|
|
526
513
|
305, 306, 311, 312, 322, 323, 330, 333, 335, 336, 337, 342, 343, 344, 346, 347,
|
|
527
514
|
349, 350, 351, 352, 353, 354, 355, 357, 362, 365, 366, 372, 379, 380, 387, 395,
|
|
528
515
|
396, 400, 401, 408, 423, 427, 428, 430, 435, 436, 437, 438, 441, 446, 447, 448,
|
|
529
|
-
449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461,
|
|
530
516
|
]);
|
|
531
517
|
exports.delistedGroupsIxs = new Set([]);
|
|
532
518
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -599,20 +599,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
599
599
|
[types_1.PairIndex.DUSKUSD]: "DUSK to US Dollar",
|
|
600
600
|
[types_1.PairIndex.SCRTUSD]: "Secret to US Dollar",
|
|
601
601
|
[types_1.PairIndex.DCRUSD]: "Decred to US Dollar",
|
|
602
|
-
[types_1.PairIndex.RKLBUSD]: "Rocket Lab Corp to US Dollar",
|
|
603
|
-
[types_1.PairIndex.ASTSUSD]: "AST SpaceMobile to US Dollar",
|
|
604
|
-
[types_1.PairIndex.ARKXUSD]: "ARK Space & Defense Innovation ETF to US Dollar",
|
|
605
|
-
[types_1.PairIndex.CCUSD]: "US Cocoa to US Dollar",
|
|
606
|
-
[types_1.PairIndex.KCUSD]: "Coffee Arabica to US Dollar",
|
|
607
|
-
[types_1.PairIndex.CTUSD]: "Cotton to US Dollar",
|
|
608
|
-
[types_1.PairIndex.RBUSD]: "Gasoline to US Dollar",
|
|
609
|
-
[types_1.PairIndex.NGUSD]: "Natural Gas to US Dollar",
|
|
610
|
-
[types_1.PairIndex.ZSUSD]: "Soybean to US Dollar",
|
|
611
|
-
[types_1.PairIndex.SBUSD]: "Sugar Raw to US Dollar",
|
|
612
|
-
[types_1.PairIndex.ZWUSD]: "US Wheat to US Dollar",
|
|
613
|
-
[types_1.PairIndex.UXUSD]: "Uranium to US Dollar",
|
|
614
602
|
[types_1.PairIndex.GDXUSD]: "VanEck Gold Miners ETF to US Dollar",
|
|
615
|
-
[types_1.PairIndex.
|
|
616
|
-
[types_1.PairIndex.
|
|
617
|
-
[types_1.PairIndex.CC1USD]: "US Cocoa3 to US Dollar",
|
|
603
|
+
[types_1.PairIndex.URAUSD]: "Global X Uranium ETF to US Dollar",
|
|
604
|
+
[types_1.PairIndex.WPMUSD]: "Wheaton Precious Metals Corp to US Dollar",
|
|
618
605
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -774,20 +774,7 @@ export declare enum PairIndex {
|
|
|
774
774
|
DUSKUSD = 443,
|
|
775
775
|
SCRTUSD = 444,
|
|
776
776
|
DCRUSD = 445,
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
CCUSD = 449,
|
|
781
|
-
KCUSD = 450,
|
|
782
|
-
CTUSD = 451,
|
|
783
|
-
RBUSD = 452,
|
|
784
|
-
NGUSD = 453,
|
|
785
|
-
ZSUSD = 454,
|
|
786
|
-
SBUSD = 455,
|
|
787
|
-
ZWUSD = 456,
|
|
788
|
-
UXUSD = 457,
|
|
789
|
-
GDXUSD = 458,
|
|
790
|
-
SOYBEANUSD = 459,
|
|
791
|
-
USCOCOAUSD = 460,
|
|
792
|
-
CC1USD = 461
|
|
777
|
+
GDXUSD = 446,
|
|
778
|
+
URAUSD = 447,
|
|
779
|
+
WPMUSD = 448
|
|
793
780
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -475,20 +475,7 @@ var PairIndex;
|
|
|
475
475
|
PairIndex[PairIndex["DUSKUSD"] = 443] = "DUSKUSD";
|
|
476
476
|
PairIndex[PairIndex["SCRTUSD"] = 444] = "SCRTUSD";
|
|
477
477
|
PairIndex[PairIndex["DCRUSD"] = 445] = "DCRUSD";
|
|
478
|
-
PairIndex[PairIndex["
|
|
479
|
-
PairIndex[PairIndex["
|
|
480
|
-
PairIndex[PairIndex["
|
|
481
|
-
PairIndex[PairIndex["CCUSD"] = 449] = "CCUSD";
|
|
482
|
-
PairIndex[PairIndex["KCUSD"] = 450] = "KCUSD";
|
|
483
|
-
PairIndex[PairIndex["CTUSD"] = 451] = "CTUSD";
|
|
484
|
-
PairIndex[PairIndex["RBUSD"] = 452] = "RBUSD";
|
|
485
|
-
PairIndex[PairIndex["NGUSD"] = 453] = "NGUSD";
|
|
486
|
-
PairIndex[PairIndex["ZSUSD"] = 454] = "ZSUSD";
|
|
487
|
-
PairIndex[PairIndex["SBUSD"] = 455] = "SBUSD";
|
|
488
|
-
PairIndex[PairIndex["ZWUSD"] = 456] = "ZWUSD";
|
|
489
|
-
PairIndex[PairIndex["UXUSD"] = 457] = "UXUSD";
|
|
490
|
-
PairIndex[PairIndex["GDXUSD"] = 458] = "GDXUSD";
|
|
491
|
-
PairIndex[PairIndex["SOYBEANUSD"] = 459] = "SOYBEANUSD";
|
|
492
|
-
PairIndex[PairIndex["USCOCOAUSD"] = 460] = "USCOCOAUSD";
|
|
493
|
-
PairIndex[PairIndex["CC1USD"] = 461] = "CC1USD";
|
|
478
|
+
PairIndex[PairIndex["GDXUSD"] = 446] = "GDXUSD";
|
|
479
|
+
PairIndex[PairIndex["URAUSD"] = 447] = "URAUSD";
|
|
480
|
+
PairIndex[PairIndex["WPMUSD"] = 448] = "WPMUSD";
|
|
494
481
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|