@gainsnetwork/sdk 0.2.31-rc3 → 0.2.32-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 +2 -0
- package/lib/constants.js +3 -1
- package/lib/contracts/utils/pairs.js +2 -0
- package/lib/trade/types.d.ts +3 -1
- package/lib/trade/types.js +2 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -281,6 +281,8 @@ export declare const pairs: {
|
|
|
281
281
|
"LOOM/USD": string;
|
|
282
282
|
"ZETA/USD": string;
|
|
283
283
|
"HMSTR/USD": string;
|
|
284
|
+
"EIGEN/USD": string;
|
|
285
|
+
"POLYX/USD": string;
|
|
284
286
|
};
|
|
285
287
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
286
288
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -289,6 +289,8 @@ exports.pairs = {
|
|
|
289
289
|
"LOOM/USD": CRYPTO,
|
|
290
290
|
"ZETA/USD": CRYPTO,
|
|
291
291
|
"HMSTR/USD": CRYPTO,
|
|
292
|
+
"EIGEN/USD": CRYPTO,
|
|
293
|
+
"POLYX/USD": CRYPTO,
|
|
292
294
|
};
|
|
293
295
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
294
296
|
switch (groupIndex) {
|
|
@@ -324,7 +326,7 @@ exports.delistedPairIxs = new Set([
|
|
|
324
326
|
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
325
327
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
326
328
|
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 155,
|
|
327
|
-
15, 170, 239, 254, 230, 4, 275,
|
|
329
|
+
15, 170, 239, 254, 230, 4, 275,
|
|
328
330
|
]);
|
|
329
331
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
330
332
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -387,4 +387,6 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
387
387
|
[types_1.PairIndex.LOOMUSD]: "Loom Network to US Dollar",
|
|
388
388
|
[types_1.PairIndex.ZETAUSD]: "ZetaChain to US Dollar",
|
|
389
389
|
[types_1.PairIndex.HMSTRUSD]: "Hamster Kombat to US Dollar",
|
|
390
|
+
[types_1.PairIndex.EIGENUSD]: "EigenLayer to US Dollar",
|
|
391
|
+
[types_1.PairIndex.POLYXUSD]: "Polymesh to US Dollar",
|
|
390
392
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -311,4 +311,6 @@ var PairIndex;
|
|
|
311
311
|
PairIndex[PairIndex["LOOMUSD"] = 279] = "LOOMUSD";
|
|
312
312
|
PairIndex[PairIndex["ZETAUSD"] = 280] = "ZETAUSD";
|
|
313
313
|
PairIndex[PairIndex["HMSTRUSD"] = 281] = "HMSTRUSD";
|
|
314
|
+
PairIndex[PairIndex["EIGENUSD"] = 282] = "EIGENUSD";
|
|
315
|
+
PairIndex[PairIndex["POLYXUSD"] = 283] = "POLYXUSD";
|
|
314
316
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|