@gainsnetwork/sdk 0.2.66-rc1 → 0.2.67-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 +10 -0
- package/lib/constants.js +12 -2
- package/lib/contracts/utils/pairs.js +10 -0
- package/lib/trade/types.d.ts +11 -1
- package/lib/trade/types.js +10 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -376,6 +376,16 @@ 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
|
+
"NIK/USD": string;
|
|
382
|
+
"NFLX/USD": string;
|
|
383
|
+
"NDX/USD": string;
|
|
384
|
+
"DAX/USD": string;
|
|
385
|
+
"FTSE/USD": string;
|
|
386
|
+
"LAUNCHCOIN/USD": string;
|
|
387
|
+
"NXPC/USD": string;
|
|
388
|
+
"SOPH/USD": string;
|
|
379
389
|
};
|
|
380
390
|
export declare const syntheticPairs: Set<string>;
|
|
381
391
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -384,6 +384,16 @@ 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
|
+
"NIK/USD": STOCKS,
|
|
390
|
+
"NFLX/USD": STOCKS,
|
|
391
|
+
"NDX/USD": INDICES,
|
|
392
|
+
"DAX/USD": INDICES,
|
|
393
|
+
"FTSE/USD": INDICES,
|
|
394
|
+
"LAUNCHCOIN/USD": CRYPTO,
|
|
395
|
+
"NXPC/USD": CRYPTO,
|
|
396
|
+
"SOPH/USD": CRYPTO,
|
|
387
397
|
};
|
|
388
398
|
exports.syntheticPairs = new Set([
|
|
389
399
|
"BTCDEGEN/USD",
|
|
@@ -436,8 +446,8 @@ exports.delistedPairIxs = new Set([
|
|
|
436
446
|
99, 101, 106, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 130, 147, 152,
|
|
437
447
|
160, 163, 170, 179, 182, 183, 187, 188, 189, 190, 208, 209, 225, 229, 230,
|
|
438
448
|
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,
|
|
440
|
-
|
|
449
|
+
290, 294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366, 377, 378,
|
|
450
|
+
379, 380, 381, 382, 383, 384, 385, 386,
|
|
441
451
|
]);
|
|
442
452
|
exports.delistedGroupsIxs = new Set([]);
|
|
443
453
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -482,4 +482,14 @@ 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.NIKUSD]: "Nike to US Dollar",
|
|
488
|
+
[types_1.PairIndex.NFLXUSD]: "Netflix to US Dollar",
|
|
489
|
+
[types_1.PairIndex.NDXUSD]: "NASDAQ 100 to US Dollar",
|
|
490
|
+
[types_1.PairIndex.DAXUSD]: "DAX to US Dollar",
|
|
491
|
+
[types_1.PairIndex.FTSEUSD]: "FTSE 100 to US Dollar",
|
|
492
|
+
[types_1.PairIndex.LAUNCHCOINUSD]: "Launch Coin on Believe to US Dollar",
|
|
493
|
+
[types_1.PairIndex.NXPCUSD]: "NEXPACE to US Dollar",
|
|
494
|
+
[types_1.PairIndex.SOPHUSD]: "Sophon to US Dollar",
|
|
485
495
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -599,5 +599,15 @@ 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
|
+
NIKUSD = 379,
|
|
606
|
+
NFLXUSD = 380,
|
|
607
|
+
NDXUSD = 381,
|
|
608
|
+
DAXUSD = 382,
|
|
609
|
+
FTSEUSD = 383,
|
|
610
|
+
LAUNCHCOINUSD = 384,
|
|
611
|
+
NXPCUSD = 385,
|
|
612
|
+
SOPHUSD = 386
|
|
603
613
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -406,4 +406,14 @@ 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["NIKUSD"] = 379] = "NIKUSD";
|
|
412
|
+
PairIndex[PairIndex["NFLXUSD"] = 380] = "NFLXUSD";
|
|
413
|
+
PairIndex[PairIndex["NDXUSD"] = 381] = "NDXUSD";
|
|
414
|
+
PairIndex[PairIndex["DAXUSD"] = 382] = "DAXUSD";
|
|
415
|
+
PairIndex[PairIndex["FTSEUSD"] = 383] = "FTSEUSD";
|
|
416
|
+
PairIndex[PairIndex["LAUNCHCOINUSD"] = 384] = "LAUNCHCOINUSD";
|
|
417
|
+
PairIndex[PairIndex["NXPCUSD"] = 385] = "NXPCUSD";
|
|
418
|
+
PairIndex[PairIndex["SOPHUSD"] = 386] = "SOPHUSD";
|
|
409
419
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|