@gainsnetwork/sdk 0.1.19-rc8 → 0.1.20-rc2
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 -1
- package/lib/constants.js +2 -2
- package/lib/contracts/utils/pairs.js +2 -1
- package/lib/trade/types.d.ts +2 -1
- package/lib/trade/types.js +2 -1
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -217,7 +217,8 @@ export declare const pairs: {
|
|
|
217
217
|
"ONDO/USD": string;
|
|
218
218
|
"MNT/USD": string;
|
|
219
219
|
"KAS/USD": string;
|
|
220
|
-
"
|
|
220
|
+
"RONIN/USD": string;
|
|
221
|
+
"ENA/USD": string;
|
|
221
222
|
};
|
|
222
223
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
223
224
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -225,7 +225,8 @@ exports.pairs = {
|
|
|
225
225
|
"ONDO/USD": CRYPTO,
|
|
226
226
|
"MNT/USD": CRYPTO,
|
|
227
227
|
"KAS/USD": CRYPTO,
|
|
228
|
-
"
|
|
228
|
+
"RONIN/USD": CRYPTO,
|
|
229
|
+
"ENA/USD": CRYPTO,
|
|
229
230
|
};
|
|
230
231
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
231
232
|
switch (groupIndex) {
|
|
@@ -260,6 +261,5 @@ exports.delistedPairIxs = new Set([
|
|
|
260
261
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
261
262
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
262
263
|
89, 97, 99, 101, 106, 107, 108, 52, 131, 147, 160, 179, 182, 183, 190, 194,
|
|
263
|
-
218,
|
|
264
264
|
]);
|
|
265
265
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -320,5 +320,6 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
320
320
|
[types_1.PairIndex.ONDOUSD]: "Ondo to US Dollar",
|
|
321
321
|
[types_1.PairIndex.MNTUSD]: "Mantle to US Dollar",
|
|
322
322
|
[types_1.PairIndex.KASUSD]: "Kaspa to US Dollar",
|
|
323
|
-
[types_1.PairIndex.
|
|
323
|
+
[types_1.PairIndex.RONINUSD]: "Ronin to US Dollar",
|
|
324
|
+
[types_1.PairIndex.ENAUSD]: "Ethena to US Dollar",
|
|
324
325
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -232,5 +232,6 @@ var PairIndex;
|
|
|
232
232
|
PairIndex[PairIndex["ONDOUSD"] = 215] = "ONDOUSD";
|
|
233
233
|
PairIndex[PairIndex["MNTUSD"] = 216] = "MNTUSD";
|
|
234
234
|
PairIndex[PairIndex["KASUSD"] = 217] = "KASUSD";
|
|
235
|
-
PairIndex[PairIndex["
|
|
235
|
+
PairIndex[PairIndex["RONINUSD"] = 218] = "RONINUSD";
|
|
236
|
+
PairIndex[PairIndex["ENAUSD"] = 219] = "ENAUSD";
|
|
236
237
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|