@gainsnetwork/sdk 0.2.44-rc2 → 0.2.45-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 -1
- 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
|
@@ -306,6 +306,12 @@ export declare const pairs: {
|
|
|
306
306
|
"ZEN/USD": string;
|
|
307
307
|
"LUMIA/USD": string;
|
|
308
308
|
"ALPH/USD": string;
|
|
309
|
+
"VIRTUAL/USD": string;
|
|
310
|
+
"SPX/USD": string;
|
|
311
|
+
"ACX/USD": string;
|
|
312
|
+
"CHILLGUY/USD": string;
|
|
313
|
+
"CHEX/USD": string;
|
|
314
|
+
"BITCOIN/USD": string;
|
|
309
315
|
};
|
|
310
316
|
export declare const syntheticPairs: Set<string>;
|
|
311
317
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -314,6 +314,12 @@ exports.pairs = {
|
|
|
314
314
|
"ZEN/USD": CRYPTO,
|
|
315
315
|
"LUMIA/USD": CRYPTO,
|
|
316
316
|
"ALPH/USD": CRYPTO,
|
|
317
|
+
"VIRTUAL/USD": CRYPTO,
|
|
318
|
+
"SPX/USD": CRYPTO,
|
|
319
|
+
"ACX/USD": CRYPTO,
|
|
320
|
+
"CHILLGUY/USD": CRYPTO,
|
|
321
|
+
"CHEX/USD": CRYPTO,
|
|
322
|
+
"BITCOIN/USD": CRYPTO,
|
|
317
323
|
};
|
|
318
324
|
exports.syntheticPairs = new Set(["BTCDEGEN/USD"]);
|
|
319
325
|
exports.parentToSyntheticPairMap = new Map([["BTC/USD", "BTCDEGEN/USD"]]);
|
|
@@ -352,7 +358,7 @@ exports.delistedPairIxs = new Set([
|
|
|
352
358
|
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
353
359
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
354
360
|
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 15,
|
|
355
|
-
170, 239, 254, 230, 4, 275, 290, 296,
|
|
361
|
+
170, 239, 254, 230, 4, 275, 290, 296, 307, 308, 309, 310, 311, 312,
|
|
356
362
|
]);
|
|
357
363
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
358
364
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -412,4 +412,10 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
412
412
|
[types_1.PairIndex.ZENUSD]: "Horizen to US Dollar",
|
|
413
413
|
[types_1.PairIndex.LUMIAUSD]: "Lumia to US Dollar",
|
|
414
414
|
[types_1.PairIndex.ALPHUSD]: "Alephium to US Dollar",
|
|
415
|
+
[types_1.PairIndex.VIRTUALUSD]: "Virtuals Protocol to US Dollar",
|
|
416
|
+
[types_1.PairIndex.SPXUSD]: "SPX6900 to US Dollar",
|
|
417
|
+
[types_1.PairIndex.ACXUSD]: "Across Protocol to US Dollar",
|
|
418
|
+
[types_1.PairIndex.CHILLGUYUSD]: "Just a chill guy to US Dollar",
|
|
419
|
+
[types_1.PairIndex.CHEXUSD]: "CHEX to US Dollar",
|
|
420
|
+
[types_1.PairIndex.BITCOINUSD]: "HarryPotterObamaSonic10Inu to US Dollar",
|
|
415
421
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -525,5 +525,11 @@ export declare enum PairIndex {
|
|
|
525
525
|
GRASSUSD = 303,
|
|
526
526
|
ZENUSD = 304,
|
|
527
527
|
LUMIAUSD = 305,
|
|
528
|
-
ALPHUSD = 306
|
|
528
|
+
ALPHUSD = 306,
|
|
529
|
+
VIRTUALUSD = 307,
|
|
530
|
+
SPXUSD = 308,
|
|
531
|
+
ACXUSD = 309,
|
|
532
|
+
CHILLGUYUSD = 310,
|
|
533
|
+
CHEXUSD = 311,
|
|
534
|
+
BITCOINUSD = 312
|
|
529
535
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -336,4 +336,10 @@ var PairIndex;
|
|
|
336
336
|
PairIndex[PairIndex["ZENUSD"] = 304] = "ZENUSD";
|
|
337
337
|
PairIndex[PairIndex["LUMIAUSD"] = 305] = "LUMIAUSD";
|
|
338
338
|
PairIndex[PairIndex["ALPHUSD"] = 306] = "ALPHUSD";
|
|
339
|
+
PairIndex[PairIndex["VIRTUALUSD"] = 307] = "VIRTUALUSD";
|
|
340
|
+
PairIndex[PairIndex["SPXUSD"] = 308] = "SPXUSD";
|
|
341
|
+
PairIndex[PairIndex["ACXUSD"] = 309] = "ACXUSD";
|
|
342
|
+
PairIndex[PairIndex["CHILLGUYUSD"] = 310] = "CHILLGUYUSD";
|
|
343
|
+
PairIndex[PairIndex["CHEXUSD"] = 311] = "CHEXUSD";
|
|
344
|
+
PairIndex[PairIndex["BITCOINUSD"] = 312] = "BITCOINUSD";
|
|
339
345
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|