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