@gainsnetwork/sdk 0.2.71-rc4 → 0.2.72-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 +9 -0
- 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
|
@@ -399,6 +399,14 @@ export declare const pairs: {
|
|
|
399
399
|
"LMT/USD": string;
|
|
400
400
|
"RIOT/USD": string;
|
|
401
401
|
"MARA/USD": string;
|
|
402
|
+
"LOKA/USD": string;
|
|
403
|
+
"STO/USD": string;
|
|
404
|
+
"FUN/USD": string;
|
|
405
|
+
"KNC/USD": string;
|
|
406
|
+
"H/USD": string;
|
|
407
|
+
"ICNT/USD": string;
|
|
408
|
+
"NEWT/USD": string;
|
|
409
|
+
"PUMP/USD": string;
|
|
402
410
|
};
|
|
403
411
|
export declare const syntheticPairs: Set<string>;
|
|
404
412
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -407,6 +407,14 @@ exports.pairs = {
|
|
|
407
407
|
"LMT/USD": STOCKS,
|
|
408
408
|
"RIOT/USD": STOCKS,
|
|
409
409
|
"MARA/USD": STOCKS,
|
|
410
|
+
"LOKA/USD": CRYPTO,
|
|
411
|
+
"STO/USD": CRYPTO,
|
|
412
|
+
"FUN/USD": CRYPTO,
|
|
413
|
+
"KNC/USD": CRYPTO,
|
|
414
|
+
"H/USD": CRYPTO,
|
|
415
|
+
"ICNT/USD": CRYPTO,
|
|
416
|
+
"NEWT/USD": CRYPTO,
|
|
417
|
+
"PUMP/USD": CRYPTO,
|
|
410
418
|
};
|
|
411
419
|
exports.syntheticPairs = new Set([
|
|
412
420
|
"BTCDEGEN/USD",
|
|
@@ -460,6 +468,7 @@ exports.delistedPairIxs = new Set([
|
|
|
460
468
|
160, 163, 170, 179, 182, 183, 188, 189, 190, 208, 209, 225, 229, 230, 231,
|
|
461
469
|
238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285, 290,
|
|
462
470
|
294, 296, 305, 311, 330, 349, 352, 353, 354, 355, 357, 365, 366, 395, 396,
|
|
471
|
+
400, 401, 402, 403, 404, 405, 406, 407,
|
|
463
472
|
]);
|
|
464
473
|
exports.delistedGroupsIxs = new Set([]);
|
|
465
474
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -505,4 +505,12 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
505
505
|
[types_1.PairIndex.LMTUSD]: "Lockheed Martin to US Dollar",
|
|
506
506
|
[types_1.PairIndex.RIOTUSD]: "Riot Platforms to US Dollar",
|
|
507
507
|
[types_1.PairIndex.MARAUSD]: "MARA Holdings to US Dollar",
|
|
508
|
+
[types_1.PairIndex.LOKAUSD]: "League of Kingdoms Arena to US Dollar",
|
|
509
|
+
[types_1.PairIndex.STOUSD]: "StakeStone to US Dollar",
|
|
510
|
+
[types_1.PairIndex.FUNUSD]: "FUNToken to US Dollar",
|
|
511
|
+
[types_1.PairIndex.KNCUSD]: "Kyber Network Crystal v2 to US Dollar",
|
|
512
|
+
[types_1.PairIndex.HUSD]: "Humanity Protocol to US Dollar",
|
|
513
|
+
[types_1.PairIndex.ICNTUSD]: "Impossible Cloud Network to US Dollar",
|
|
514
|
+
[types_1.PairIndex.NEWTUSD]: "Newton Protocol to US Dollar",
|
|
515
|
+
[types_1.PairIndex.PUMPUSD]: "Pump.fun to US Dollar",
|
|
508
516
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -622,5 +622,13 @@ export declare enum PairIndex {
|
|
|
622
622
|
ROKUUSD = 396,
|
|
623
623
|
LMTUSD = 397,
|
|
624
624
|
RIOTUSD = 398,
|
|
625
|
-
MARAUSD = 399
|
|
625
|
+
MARAUSD = 399,
|
|
626
|
+
LOKAUSD = 400,
|
|
627
|
+
STOUSD = 401,
|
|
628
|
+
FUNUSD = 402,
|
|
629
|
+
KNCUSD = 403,
|
|
630
|
+
HUSD = 404,
|
|
631
|
+
ICNTUSD = 405,
|
|
632
|
+
NEWTUSD = 406,
|
|
633
|
+
PUMPUSD = 407
|
|
626
634
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -429,4 +429,12 @@ var PairIndex;
|
|
|
429
429
|
PairIndex[PairIndex["LMTUSD"] = 397] = "LMTUSD";
|
|
430
430
|
PairIndex[PairIndex["RIOTUSD"] = 398] = "RIOTUSD";
|
|
431
431
|
PairIndex[PairIndex["MARAUSD"] = 399] = "MARAUSD";
|
|
432
|
+
PairIndex[PairIndex["LOKAUSD"] = 400] = "LOKAUSD";
|
|
433
|
+
PairIndex[PairIndex["STOUSD"] = 401] = "STOUSD";
|
|
434
|
+
PairIndex[PairIndex["FUNUSD"] = 402] = "FUNUSD";
|
|
435
|
+
PairIndex[PairIndex["KNCUSD"] = 403] = "KNCUSD";
|
|
436
|
+
PairIndex[PairIndex["HUSD"] = 404] = "HUSD";
|
|
437
|
+
PairIndex[PairIndex["ICNTUSD"] = 405] = "ICNTUSD";
|
|
438
|
+
PairIndex[PairIndex["NEWTUSD"] = 406] = "NEWTUSD";
|
|
439
|
+
PairIndex[PairIndex["PUMPUSD"] = 407] = "PUMPUSD";
|
|
432
440
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|