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