@gainsnetwork/sdk 0.2.67-rc1 → 0.2.67-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 +1 -3
- package/lib/constants.js +2 -4
- package/lib/contracts/utils/pairs.js +1 -3
- package/lib/trade/types.d.ts +6 -8
- package/lib/trade/types.js +6 -8
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -378,14 +378,12 @@ export declare const pairs: {
|
|
|
378
378
|
"COIN/USD": string;
|
|
379
379
|
"HOOD/USD": string;
|
|
380
380
|
"MSTR/USD": string;
|
|
381
|
-
"NIK/USD": string;
|
|
382
381
|
"NFLX/USD": string;
|
|
383
|
-
"NDX/USD": string;
|
|
384
382
|
"DAX/USD": string;
|
|
385
|
-
"FTSE/USD": string;
|
|
386
383
|
"LAUNCHCOIN/USD": string;
|
|
387
384
|
"NXPC/USD": string;
|
|
388
385
|
"SOPH/USD": string;
|
|
386
|
+
"LPT/USD": string;
|
|
389
387
|
};
|
|
390
388
|
export declare const syntheticPairs: Set<string>;
|
|
391
389
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -386,14 +386,12 @@ exports.pairs = {
|
|
|
386
386
|
"COIN/USD": STOCKS,
|
|
387
387
|
"HOOD/USD": STOCKS,
|
|
388
388
|
"MSTR/USD": STOCKS,
|
|
389
|
-
"NIK/USD": STOCKS,
|
|
390
389
|
"NFLX/USD": STOCKS,
|
|
391
|
-
"NDX/USD": INDICES,
|
|
392
390
|
"DAX/USD": INDICES,
|
|
393
|
-
"FTSE/USD": INDICES,
|
|
394
391
|
"LAUNCHCOIN/USD": CRYPTO,
|
|
395
392
|
"NXPC/USD": CRYPTO,
|
|
396
393
|
"SOPH/USD": CRYPTO,
|
|
394
|
+
"LPT/USD": CRYPTO,
|
|
397
395
|
};
|
|
398
396
|
exports.syntheticPairs = new Set([
|
|
399
397
|
"BTCDEGEN/USD",
|
|
@@ -447,7 +445,7 @@ exports.delistedPairIxs = new Set([
|
|
|
447
445
|
160, 163, 170, 179, 182, 183, 187, 188, 189, 190, 208, 209, 225, 229, 230,
|
|
448
446
|
231, 238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285,
|
|
449
447
|
290, 294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366, 377, 378,
|
|
450
|
-
379, 380, 381, 382, 383, 384,
|
|
448
|
+
379, 380, 381, 382, 383, 384,
|
|
451
449
|
]);
|
|
452
450
|
exports.delistedGroupsIxs = new Set([]);
|
|
453
451
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -484,12 +484,10 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
484
484
|
[types_1.PairIndex.COINUSD]: "Coinbase to US Dollar",
|
|
485
485
|
[types_1.PairIndex.HOODUSD]: "Robinhood Markets to US Dollar",
|
|
486
486
|
[types_1.PairIndex.MSTRUSD]: "MicroStrategy Inc to US Dollar",
|
|
487
|
-
[types_1.PairIndex.NIKUSD]: "Nike to US Dollar",
|
|
488
487
|
[types_1.PairIndex.NFLXUSD]: "Netflix to US Dollar",
|
|
489
|
-
[types_1.PairIndex.NDXUSD]: "NASDAQ 100 to US Dollar",
|
|
490
488
|
[types_1.PairIndex.DAXUSD]: "DAX to US Dollar",
|
|
491
|
-
[types_1.PairIndex.FTSEUSD]: "FTSE 100 to US Dollar",
|
|
492
489
|
[types_1.PairIndex.LAUNCHCOINUSD]: "Launch Coin on Believe to US Dollar",
|
|
493
490
|
[types_1.PairIndex.NXPCUSD]: "NEXPACE to US Dollar",
|
|
494
491
|
[types_1.PairIndex.SOPHUSD]: "Sophon to US Dollar",
|
|
492
|
+
[types_1.PairIndex.LPTUSD]: "Livepeer to US Dollar",
|
|
495
493
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -602,12 +602,10 @@ export declare enum PairIndex {
|
|
|
602
602
|
COINUSD = 376,
|
|
603
603
|
HOODUSD = 377,
|
|
604
604
|
MSTRUSD = 378,
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
NXPCUSD = 385,
|
|
612
|
-
SOPHUSD = 386
|
|
605
|
+
NFLXUSD = 379,
|
|
606
|
+
DAXUSD = 380,
|
|
607
|
+
LAUNCHCOINUSD = 381,
|
|
608
|
+
NXPCUSD = 382,
|
|
609
|
+
SOPHUSD = 383,
|
|
610
|
+
LPTUSD = 384
|
|
613
611
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -408,12 +408,10 @@ var PairIndex;
|
|
|
408
408
|
PairIndex[PairIndex["COINUSD"] = 376] = "COINUSD";
|
|
409
409
|
PairIndex[PairIndex["HOODUSD"] = 377] = "HOODUSD";
|
|
410
410
|
PairIndex[PairIndex["MSTRUSD"] = 378] = "MSTRUSD";
|
|
411
|
-
PairIndex[PairIndex["
|
|
412
|
-
PairIndex[PairIndex["
|
|
413
|
-
PairIndex[PairIndex["
|
|
414
|
-
PairIndex[PairIndex["
|
|
415
|
-
PairIndex[PairIndex["
|
|
416
|
-
PairIndex[PairIndex["
|
|
417
|
-
PairIndex[PairIndex["NXPCUSD"] = 385] = "NXPCUSD";
|
|
418
|
-
PairIndex[PairIndex["SOPHUSD"] = 386] = "SOPHUSD";
|
|
411
|
+
PairIndex[PairIndex["NFLXUSD"] = 379] = "NFLXUSD";
|
|
412
|
+
PairIndex[PairIndex["DAXUSD"] = 380] = "DAXUSD";
|
|
413
|
+
PairIndex[PairIndex["LAUNCHCOINUSD"] = 381] = "LAUNCHCOINUSD";
|
|
414
|
+
PairIndex[PairIndex["NXPCUSD"] = 382] = "NXPCUSD";
|
|
415
|
+
PairIndex[PairIndex["SOPHUSD"] = 383] = "SOPHUSD";
|
|
416
|
+
PairIndex[PairIndex["LPTUSD"] = 384] = "LPTUSD";
|
|
419
417
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|