@gainsnetwork/sdk 0.2.4-rc2 → 0.2.4-rc3
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
|
@@ -236,6 +236,7 @@ export declare const pairs: {
|
|
|
236
236
|
"BRETT/USD": string;
|
|
237
237
|
"ATH/USD": string;
|
|
238
238
|
"ZK/USD": string;
|
|
239
|
+
"ZRO/USD": string;
|
|
239
240
|
};
|
|
240
241
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
241
242
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -244,6 +244,7 @@ exports.pairs = {
|
|
|
244
244
|
"BRETT/USD": CRYPTO,
|
|
245
245
|
"ATH/USD": CRYPTO,
|
|
246
246
|
"ZK/USD": CRYPTO,
|
|
247
|
+
"ZRO/USD": CRYPTO,
|
|
247
248
|
};
|
|
248
249
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
249
250
|
switch (groupIndex) {
|
|
@@ -278,6 +279,6 @@ exports.delistedPairIxs = new Set([
|
|
|
278
279
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
279
280
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
280
281
|
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 155,
|
|
281
|
-
163, 15, 236,
|
|
282
|
+
163, 15, 236, 237, 170,
|
|
282
283
|
]);
|
|
283
284
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -342,4 +342,5 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
342
342
|
[types_1.PairIndex.BRETTUSD]: "Brett to US Dollar",
|
|
343
343
|
[types_1.PairIndex.ATHUSD]: "Aethir to US Dollar",
|
|
344
344
|
[types_1.PairIndex.ZKUSD]: "ZKsync to US Dollar",
|
|
345
|
+
[types_1.PairIndex.ZROUSD]: "LayerZero to US Dollar",
|
|
345
346
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -266,4 +266,5 @@ var PairIndex;
|
|
|
266
266
|
PairIndex[PairIndex["BRETTUSD"] = 234] = "BRETTUSD";
|
|
267
267
|
PairIndex[PairIndex["ATHUSD"] = 235] = "ATHUSD";
|
|
268
268
|
PairIndex[PairIndex["ZKUSD"] = 236] = "ZKUSD";
|
|
269
|
+
PairIndex[PairIndex["ZROUSD"] = 237] = "ZROUSD";
|
|
269
270
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|