@gainsnetwork/sdk 0.2.66-rc2 → 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 +8 -0
- package/lib/constants.js +10 -1
- package/lib/contracts/utils/pairs.js +8 -0
- package/lib/trade/types.d.ts +9 -1
- package/lib/trade/types.js +8 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -376,6 +376,14 @@ export declare const pairs: {
|
|
|
376
376
|
"SIGN/USD": string;
|
|
377
377
|
"ZORA/USD": string;
|
|
378
378
|
"COIN/USD": string;
|
|
379
|
+
"HOOD/USD": string;
|
|
380
|
+
"MSTR/USD": string;
|
|
381
|
+
"NFLX/USD": string;
|
|
382
|
+
"DAX/USD": string;
|
|
383
|
+
"LAUNCHCOIN/USD": string;
|
|
384
|
+
"NXPC/USD": string;
|
|
385
|
+
"SOPH/USD": string;
|
|
386
|
+
"LPT/USD": string;
|
|
379
387
|
};
|
|
380
388
|
export declare const syntheticPairs: Set<string>;
|
|
381
389
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -384,6 +384,14 @@ exports.pairs = {
|
|
|
384
384
|
"SIGN/USD": CRYPTO,
|
|
385
385
|
"ZORA/USD": CRYPTO,
|
|
386
386
|
"COIN/USD": STOCKS,
|
|
387
|
+
"HOOD/USD": STOCKS,
|
|
388
|
+
"MSTR/USD": STOCKS,
|
|
389
|
+
"NFLX/USD": STOCKS,
|
|
390
|
+
"DAX/USD": INDICES,
|
|
391
|
+
"LAUNCHCOIN/USD": CRYPTO,
|
|
392
|
+
"NXPC/USD": CRYPTO,
|
|
393
|
+
"SOPH/USD": CRYPTO,
|
|
394
|
+
"LPT/USD": CRYPTO,
|
|
387
395
|
};
|
|
388
396
|
exports.syntheticPairs = new Set([
|
|
389
397
|
"BTCDEGEN/USD",
|
|
@@ -436,7 +444,8 @@ exports.delistedPairIxs = new Set([
|
|
|
436
444
|
99, 101, 106, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 130, 147, 152,
|
|
437
445
|
160, 163, 170, 179, 182, 183, 187, 188, 189, 190, 208, 209, 225, 229, 230,
|
|
438
446
|
231, 238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285,
|
|
439
|
-
290, 294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366,
|
|
447
|
+
290, 294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366, 377, 378,
|
|
448
|
+
379, 380, 381, 382, 383, 384,
|
|
440
449
|
]);
|
|
441
450
|
exports.delistedGroupsIxs = new Set([]);
|
|
442
451
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -482,4 +482,12 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
482
482
|
[types_1.PairIndex.SIGNUSD]: "Sign to US Dollar",
|
|
483
483
|
[types_1.PairIndex.ZORAUSD]: "ZORA to US Dollar",
|
|
484
484
|
[types_1.PairIndex.COINUSD]: "Coinbase to US Dollar",
|
|
485
|
+
[types_1.PairIndex.HOODUSD]: "Robinhood Markets to US Dollar",
|
|
486
|
+
[types_1.PairIndex.MSTRUSD]: "MicroStrategy Inc to US Dollar",
|
|
487
|
+
[types_1.PairIndex.NFLXUSD]: "Netflix to US Dollar",
|
|
488
|
+
[types_1.PairIndex.DAXUSD]: "DAX to US Dollar",
|
|
489
|
+
[types_1.PairIndex.LAUNCHCOINUSD]: "Launch Coin on Believe to US Dollar",
|
|
490
|
+
[types_1.PairIndex.NXPCUSD]: "NEXPACE to US Dollar",
|
|
491
|
+
[types_1.PairIndex.SOPHUSD]: "Sophon to US Dollar",
|
|
492
|
+
[types_1.PairIndex.LPTUSD]: "Livepeer to US Dollar",
|
|
485
493
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -599,5 +599,13 @@ export declare enum PairIndex {
|
|
|
599
599
|
SYRUPUSD = 373,
|
|
600
600
|
SIGNUSD = 374,
|
|
601
601
|
ZORAUSD = 375,
|
|
602
|
-
COINUSD = 376
|
|
602
|
+
COINUSD = 376,
|
|
603
|
+
HOODUSD = 377,
|
|
604
|
+
MSTRUSD = 378,
|
|
605
|
+
NFLXUSD = 379,
|
|
606
|
+
DAXUSD = 380,
|
|
607
|
+
LAUNCHCOINUSD = 381,
|
|
608
|
+
NXPCUSD = 382,
|
|
609
|
+
SOPHUSD = 383,
|
|
610
|
+
LPTUSD = 384
|
|
603
611
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -406,4 +406,12 @@ var PairIndex;
|
|
|
406
406
|
PairIndex[PairIndex["SIGNUSD"] = 374] = "SIGNUSD";
|
|
407
407
|
PairIndex[PairIndex["ZORAUSD"] = 375] = "ZORAUSD";
|
|
408
408
|
PairIndex[PairIndex["COINUSD"] = 376] = "COINUSD";
|
|
409
|
+
PairIndex[PairIndex["HOODUSD"] = 377] = "HOODUSD";
|
|
410
|
+
PairIndex[PairIndex["MSTRUSD"] = 378] = "MSTRUSD";
|
|
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";
|
|
409
417
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|