@gainsnetwork/sdk 0.2.4-rc6 → 0.2.5-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 +3 -0
- package/lib/constants.js +4 -1
- package/lib/contracts/utils/pairs.js +3 -0
- package/lib/trade/types.d.ts +4 -1
- package/lib/trade/types.js +3 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -237,6 +237,9 @@ export declare const pairs: {
|
|
|
237
237
|
"ATH/USD": string;
|
|
238
238
|
"ZRO/USD": string;
|
|
239
239
|
"ZK/USD": string;
|
|
240
|
+
"LISTA/USD": string;
|
|
241
|
+
"MTL/USD": string;
|
|
242
|
+
"BLAST/USD": string;
|
|
240
243
|
};
|
|
241
244
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
242
245
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -245,6 +245,9 @@ exports.pairs = {
|
|
|
245
245
|
"ATH/USD": CRYPTO,
|
|
246
246
|
"ZRO/USD": CRYPTO,
|
|
247
247
|
"ZK/USD": CRYPTO,
|
|
248
|
+
"LISTA/USD": CRYPTO,
|
|
249
|
+
"MTL/USD": CRYPTO,
|
|
250
|
+
"BLAST/USD": CRYPTO,
|
|
248
251
|
};
|
|
249
252
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
250
253
|
switch (groupIndex) {
|
|
@@ -279,6 +282,6 @@ exports.delistedPairIxs = new Set([
|
|
|
279
282
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
280
283
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
281
284
|
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163,
|
|
282
|
-
155, 15, 170,
|
|
285
|
+
155, 15, 170, 238, 239, 240,
|
|
283
286
|
]);
|
|
284
287
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -343,4 +343,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
343
343
|
[types_1.PairIndex.ATHUSD]: "Aethir to US Dollar",
|
|
344
344
|
[types_1.PairIndex.ZROUSD]: "LayerZero to US Dollar",
|
|
345
345
|
[types_1.PairIndex.ZKUSD]: "ZKsync to US Dollar",
|
|
346
|
+
[types_1.PairIndex.LISTAUSD]: "Lista DAO to US Dollar",
|
|
347
|
+
[types_1.PairIndex.MTLUSD]: "Metal DAO to US Dollar",
|
|
348
|
+
[types_1.PairIndex.BLASTUSD]: "Blast to US Dollar",
|
|
346
349
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -267,4 +267,7 @@ var PairIndex;
|
|
|
267
267
|
PairIndex[PairIndex["ATHUSD"] = 235] = "ATHUSD";
|
|
268
268
|
PairIndex[PairIndex["ZROUSD"] = 236] = "ZROUSD";
|
|
269
269
|
PairIndex[PairIndex["ZKUSD"] = 237] = "ZKUSD";
|
|
270
|
+
PairIndex[PairIndex["LISTAUSD"] = 238] = "LISTAUSD";
|
|
271
|
+
PairIndex[PairIndex["MTLUSD"] = 239] = "MTLUSD";
|
|
272
|
+
PairIndex[PairIndex["BLASTUSD"] = 240] = "BLASTUSD";
|
|
270
273
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|