@gainsnetwork/sdk 1.4.2 → 1.4.3-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 +1 -0
- package/lib/constants.js +2 -0
- package/lib/contracts/utils/pairs.js +2 -1
- package/lib/trade/types.d.ts +2 -1
- package/lib/trade/types.js +1 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -417,6 +417,7 @@ export declare const pairs: {
|
|
|
417
417
|
"OKB/USD": string;
|
|
418
418
|
"CRO/USD": string;
|
|
419
419
|
"SKY/USD": string;
|
|
420
|
+
"XPL/USD": string;
|
|
420
421
|
};
|
|
421
422
|
export declare const syntheticPairs: Set<string>;
|
|
422
423
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -425,6 +425,7 @@ exports.pairs = {
|
|
|
425
425
|
"OKB/USD": CRYPTO,
|
|
426
426
|
"CRO/USD": CRYPTO,
|
|
427
427
|
"SKY/USD": CRYPTO,
|
|
428
|
+
"XPL/USD": CRYPTO,
|
|
428
429
|
};
|
|
429
430
|
exports.syntheticPairs = new Set([
|
|
430
431
|
"BTCDEGEN/USD",
|
|
@@ -478,6 +479,7 @@ exports.delistedPairIxs = new Set([
|
|
|
478
479
|
160, 163, 170, 179, 182, 183, 188, 189, 190, 208, 209, 225, 229, 230, 231,
|
|
479
480
|
238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285, 290,
|
|
480
481
|
294, 296, 305, 311, 330, 349, 352, 353, 354, 355, 357, 365, 366, 395, 396,
|
|
482
|
+
418,
|
|
481
483
|
]);
|
|
482
484
|
exports.delistedGroupsIxs = new Set([]);
|
|
483
485
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -513,5 +513,6 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
513
513
|
[types_1.PairIndex.ASTERUSD]: "Aster to US Dollar",
|
|
514
514
|
[types_1.PairIndex.OKBUSD]: "OKB to US Dollar",
|
|
515
515
|
[types_1.PairIndex.CROUSD]: "Cronos to US Dollar",
|
|
516
|
-
[types_1.PairIndex.SKYUSD]: "
|
|
516
|
+
[types_1.PairIndex.SKYUSD]: "Sky to US Dollar",
|
|
517
|
+
[types_1.PairIndex.XPLUSD]: "Plasma to US Dollar",
|
|
517
518
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -447,4 +447,5 @@ var PairIndex;
|
|
|
447
447
|
PairIndex[PairIndex["OKBUSD"] = 415] = "OKBUSD";
|
|
448
448
|
PairIndex[PairIndex["CROUSD"] = 416] = "CROUSD";
|
|
449
449
|
PairIndex[PairIndex["SKYUSD"] = 417] = "SKYUSD";
|
|
450
|
+
PairIndex[PairIndex["XPLUSD"] = 418] = "XPLUSD";
|
|
450
451
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|