@gainsnetwork/sdk 1.4.3 → 1.4.4-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 +6 -0
- package/lib/constants.js +7 -0
- package/lib/contracts/utils/pairs.js +6 -0
- package/lib/trade/types.d.ts +7 -1
- package/lib/trade/types.js +6 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -418,6 +418,12 @@ export declare const pairs: {
|
|
|
418
418
|
"CRO/USD": string;
|
|
419
419
|
"SKY/USD": string;
|
|
420
420
|
"XPL/USD": string;
|
|
421
|
+
"AVNT/USD": string;
|
|
422
|
+
"APEX/USD": string;
|
|
423
|
+
"ORDER/USD": string;
|
|
424
|
+
"DRIFT/USD": string;
|
|
425
|
+
"MYX/USD": string;
|
|
426
|
+
"NOM/USD": string;
|
|
421
427
|
};
|
|
422
428
|
export declare const syntheticPairs: Set<string>;
|
|
423
429
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -426,6 +426,12 @@ exports.pairs = {
|
|
|
426
426
|
"CRO/USD": CRYPTO,
|
|
427
427
|
"SKY/USD": CRYPTO,
|
|
428
428
|
"XPL/USD": CRYPTO,
|
|
429
|
+
"AVNT/USD": CRYPTO,
|
|
430
|
+
"APEX/USD": CRYPTO,
|
|
431
|
+
"ORDER/USD": CRYPTO,
|
|
432
|
+
"DRIFT/USD": CRYPTO,
|
|
433
|
+
"MYX/USD": CRYPTO,
|
|
434
|
+
"NOM/USD": CRYPTO,
|
|
429
435
|
};
|
|
430
436
|
exports.syntheticPairs = new Set([
|
|
431
437
|
"BTCDEGEN/USD",
|
|
@@ -479,6 +485,7 @@ exports.delistedPairIxs = new Set([
|
|
|
479
485
|
160, 163, 170, 179, 182, 183, 188, 189, 190, 208, 209, 225, 229, 230, 231,
|
|
480
486
|
238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285, 290,
|
|
481
487
|
294, 296, 305, 311, 330, 349, 352, 353, 354, 355, 357, 365, 366, 395, 396,
|
|
488
|
+
419, 420, 421, 422, 423, 424,
|
|
482
489
|
]);
|
|
483
490
|
exports.delistedGroupsIxs = new Set([]);
|
|
484
491
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -515,4 +515,10 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
515
515
|
[types_1.PairIndex.CROUSD]: "Cronos to US Dollar",
|
|
516
516
|
[types_1.PairIndex.SKYUSD]: "Sky to US Dollar",
|
|
517
517
|
[types_1.PairIndex.XPLUSD]: "Plasma to US Dollar",
|
|
518
|
+
[types_1.PairIndex.AVNTUSD]: "Avantis to US Dollar",
|
|
519
|
+
[types_1.PairIndex.APEXUSD]: "ApeX Protocol to US Dollar",
|
|
520
|
+
[types_1.PairIndex.ORDERUSD]: "Orderly to US Dollar",
|
|
521
|
+
[types_1.PairIndex.DRIFTUSD]: "Drift to US Dollar",
|
|
522
|
+
[types_1.PairIndex.MYXUSD]: "MYX Finance to US Dollar",
|
|
523
|
+
[types_1.PairIndex.NOMUSD]: "Nomina to US Dollar",
|
|
518
524
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -448,4 +448,10 @@ var PairIndex;
|
|
|
448
448
|
PairIndex[PairIndex["CROUSD"] = 416] = "CROUSD";
|
|
449
449
|
PairIndex[PairIndex["SKYUSD"] = 417] = "SKYUSD";
|
|
450
450
|
PairIndex[PairIndex["XPLUSD"] = 418] = "XPLUSD";
|
|
451
|
+
PairIndex[PairIndex["AVNTUSD"] = 419] = "AVNTUSD";
|
|
452
|
+
PairIndex[PairIndex["APEXUSD"] = 420] = "APEXUSD";
|
|
453
|
+
PairIndex[PairIndex["ORDERUSD"] = 421] = "ORDERUSD";
|
|
454
|
+
PairIndex[PairIndex["DRIFTUSD"] = 422] = "DRIFTUSD";
|
|
455
|
+
PairIndex[PairIndex["MYXUSD"] = 423] = "MYXUSD";
|
|
456
|
+
PairIndex[PairIndex["NOMUSD"] = 424] = "NOMUSD";
|
|
451
457
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|