@gainsnetwork/sdk 0.2.47 → 0.2.49-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 +5 -0
- package/lib/constants.js +9 -4
- package/lib/contracts/utils/pairs.js +5 -0
- package/lib/trade/types.d.ts +6 -1
- package/lib/trade/types.js +5 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -314,6 +314,11 @@ export declare const pairs: {
|
|
|
314
314
|
"BITCOIN/USD": string;
|
|
315
315
|
"ETHDEGEN/USD": string;
|
|
316
316
|
"SOLDEGEN/USD": string;
|
|
317
|
+
"MOVE/USD": string;
|
|
318
|
+
"ME/USD": string;
|
|
319
|
+
"COW/USD": string;
|
|
320
|
+
"AVA/USD": string;
|
|
321
|
+
"USUAL/USD": string;
|
|
317
322
|
};
|
|
318
323
|
export declare const syntheticPairs: Set<string>;
|
|
319
324
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -322,6 +322,11 @@ exports.pairs = {
|
|
|
322
322
|
"BITCOIN/USD": CRYPTO,
|
|
323
323
|
"ETHDEGEN/USD": CRYPTO,
|
|
324
324
|
"SOLDEGEN/USD": CRYPTO,
|
|
325
|
+
"MOVE/USD": CRYPTO,
|
|
326
|
+
"ME/USD": CRYPTO,
|
|
327
|
+
"COW/USD": CRYPTO,
|
|
328
|
+
"AVA/USD": CRYPTO,
|
|
329
|
+
"USUAL/USD": CRYPTO,
|
|
325
330
|
};
|
|
326
331
|
exports.syntheticPairs = new Set([
|
|
327
332
|
"BTCDEGEN/USD",
|
|
@@ -365,10 +370,10 @@ exports.stockSplits = {
|
|
|
365
370
|
"TSLA_1/USD": { date: "8/25/2022", split: 3 },
|
|
366
371
|
};
|
|
367
372
|
exports.delistedPairIxs = new Set([
|
|
368
|
-
6, 31, 36,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
373
|
+
6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
374
|
+
72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 97,
|
|
375
|
+
99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 15, 170,
|
|
376
|
+
239, 254, 230, 4, 275, 290, 296, 311, 315, 316, 317, 318, 319,
|
|
372
377
|
]);
|
|
373
378
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
374
379
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -420,4 +420,9 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
420
420
|
[types_1.PairIndex.BITCOINUSD]: "HarryPotterObamaSonic10Inu to US Dollar",
|
|
421
421
|
[types_1.PairIndex.ETHDEGEN]: "Ethereum to US Dollar",
|
|
422
422
|
[types_1.PairIndex.SOLDEGEN]: "Solana to US Dollar",
|
|
423
|
+
[types_1.PairIndex.MOVEUSD]: "Movement to US Dollar",
|
|
424
|
+
[types_1.PairIndex.MEUSD]: "Magic Eden to US Dollar",
|
|
425
|
+
[types_1.PairIndex.COWUSD]: "CoW Protocol to US Dollar",
|
|
426
|
+
[types_1.PairIndex.AVAUSD]: "Travala to US Dollar",
|
|
427
|
+
[types_1.PairIndex.USUALUSD]: "Usual to US Dollar",
|
|
423
428
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -344,4 +344,9 @@ var PairIndex;
|
|
|
344
344
|
PairIndex[PairIndex["BITCOINUSD"] = 312] = "BITCOINUSD";
|
|
345
345
|
PairIndex[PairIndex["ETHDEGEN"] = 313] = "ETHDEGEN";
|
|
346
346
|
PairIndex[PairIndex["SOLDEGEN"] = 314] = "SOLDEGEN";
|
|
347
|
+
PairIndex[PairIndex["MOVEUSD"] = 315] = "MOVEUSD";
|
|
348
|
+
PairIndex[PairIndex["MEUSD"] = 316] = "MEUSD";
|
|
349
|
+
PairIndex[PairIndex["COWUSD"] = 317] = "COWUSD";
|
|
350
|
+
PairIndex[PairIndex["AVAUSD"] = 318] = "AVAUSD";
|
|
351
|
+
PairIndex[PairIndex["USUALUSD"] = 319] = "USUALUSD";
|
|
347
352
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|