@gainsnetwork/sdk 0.2.8-rc2 → 0.2.10-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 +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
|
@@ -250,6 +250,10 @@ export declare const pairs: {
|
|
|
250
250
|
"CORE/USD": string;
|
|
251
251
|
"JASMY/USD": string;
|
|
252
252
|
"DAR/USD": string;
|
|
253
|
+
"MEW/USD": string;
|
|
254
|
+
"DEGEN/USD": string;
|
|
255
|
+
"SLERF/USD": string;
|
|
256
|
+
"UXLINK/USD": string;
|
|
253
257
|
};
|
|
254
258
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
255
259
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -258,6 +258,10 @@ exports.pairs = {
|
|
|
258
258
|
"CORE/USD": CRYPTO,
|
|
259
259
|
"JASMY/USD": CRYPTO,
|
|
260
260
|
"DAR/USD": CRYPTO,
|
|
261
|
+
"MEW/USD": CRYPTO,
|
|
262
|
+
"DEGEN/USD": CRYPTO,
|
|
263
|
+
"SLERF/USD": CRYPTO,
|
|
264
|
+
"UXLINK/USD": CRYPTO,
|
|
261
265
|
};
|
|
262
266
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
263
267
|
switch (groupIndex) {
|
|
@@ -292,6 +296,6 @@ exports.delistedPairIxs = new Set([
|
|
|
292
296
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
293
297
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
294
298
|
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163,
|
|
295
|
-
155, 15, 170, 239,
|
|
299
|
+
155, 15, 170, 239, 251, 252, 253, 254,
|
|
296
300
|
]);
|
|
297
301
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -356,4 +356,8 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
356
356
|
[types_1.PairIndex.COREUSD]: "Core to US Dollar",
|
|
357
357
|
[types_1.PairIndex.JASMYUSD]: "Jasmy Coin to US Dollar",
|
|
358
358
|
[types_1.PairIndex.DARUSD]: "Mines of Dalarnia to US Dollar",
|
|
359
|
+
[types_1.PairIndex.MEWUSD]: "Cats in a dog world to US Dollar",
|
|
360
|
+
[types_1.PairIndex.DEGENUSD]: "Degen Base to US Dollar",
|
|
361
|
+
[types_1.PairIndex.SLERFUSD]: "Slerf to US Dollar",
|
|
362
|
+
[types_1.PairIndex.UXLINKUSD]: "UXLink to US Dollar",
|
|
359
363
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -280,4 +280,8 @@ var PairIndex;
|
|
|
280
280
|
PairIndex[PairIndex["COREUSD"] = 248] = "COREUSD";
|
|
281
281
|
PairIndex[PairIndex["JASMYUSD"] = 249] = "JASMYUSD";
|
|
282
282
|
PairIndex[PairIndex["DARUSD"] = 250] = "DARUSD";
|
|
283
|
+
PairIndex[PairIndex["MEWUSD"] = 251] = "MEWUSD";
|
|
284
|
+
PairIndex[PairIndex["DEGENUSD"] = 252] = "DEGENUSD";
|
|
285
|
+
PairIndex[PairIndex["SLERFUSD"] = 253] = "SLERFUSD";
|
|
286
|
+
PairIndex[PairIndex["UXLINKUSD"] = 254] = "UXLINKUSD";
|
|
283
287
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|