@gainsnetwork/sdk 0.2.48 → 0.2.49-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 +4 -0
- package/lib/constants.js +5 -1
- package/lib/contracts/utils/pairs.js +4 -0
- package/lib/trade/types.d.ts +5 -1
- package/lib/trade/types.js +4 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -314,6 +314,10 @@ 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;
|
|
317
321
|
};
|
|
318
322
|
export declare const syntheticPairs: Set<string>;
|
|
319
323
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -322,6 +322,10 @@ 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,
|
|
325
329
|
};
|
|
326
330
|
exports.syntheticPairs = new Set([
|
|
327
331
|
"BTCDEGEN/USD",
|
|
@@ -368,7 +372,7 @@ exports.delistedPairIxs = new Set([
|
|
|
368
372
|
6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
369
373
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 97,
|
|
370
374
|
99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 15, 170,
|
|
371
|
-
239, 254, 230, 4, 275, 290, 296, 311,
|
|
375
|
+
239, 254, 230, 4, 275, 290, 296, 311, 315, 316, 317, 318,
|
|
372
376
|
]);
|
|
373
377
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
374
378
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -420,4 +420,8 @@ 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",
|
|
423
427
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -344,4 +344,8 @@ 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";
|
|
347
351
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|