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