@gainsnetwork/sdk 0.2.26-rc3 → 0.2.27-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 +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
|
@@ -272,6 +272,9 @@ export declare const pairs: {
|
|
|
272
272
|
"RDNT/USD": string;
|
|
273
273
|
"FLUX/USD": string;
|
|
274
274
|
"NEIRO/USD": string;
|
|
275
|
+
"SUNDOG/USD": string;
|
|
276
|
+
"CAT/USD": string;
|
|
277
|
+
"BABYDOGE/USD": string;
|
|
275
278
|
};
|
|
276
279
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
277
280
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -280,6 +280,9 @@ exports.pairs = {
|
|
|
280
280
|
"RDNT/USD": CRYPTO,
|
|
281
281
|
"FLUX/USD": CRYPTO,
|
|
282
282
|
"NEIRO/USD": CRYPTO,
|
|
283
|
+
"SUNDOG/USD": CRYPTO,
|
|
284
|
+
"CAT/USD": CRYPTO,
|
|
285
|
+
"BABYDOGE/USD": CRYPTO,
|
|
283
286
|
};
|
|
284
287
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
285
288
|
switch (groupIndex) {
|
|
@@ -315,7 +318,7 @@ exports.delistedPairIxs = new Set([
|
|
|
315
318
|
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
316
319
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
317
320
|
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 155,
|
|
318
|
-
15, 170, 239, 254, 230, 4,
|
|
321
|
+
15, 170, 239, 254, 230, 4, 273, 274, 275,
|
|
319
322
|
]);
|
|
320
323
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
321
324
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -378,4 +378,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
378
378
|
[types_1.PairIndex.RDNTUSD]: "Radiant Capital to US Dollar",
|
|
379
379
|
[types_1.PairIndex.FLUXUSD]: "Flux to US Dollar",
|
|
380
380
|
[types_1.PairIndex.NEIROUSD]: "Neiro on ETH to US Dollar",
|
|
381
|
+
[types_1.PairIndex.SUNDOGUSD]: "Sundog to US Dollar",
|
|
382
|
+
[types_1.PairIndex.CATUSD]: "Simon's Cat to US Dollar",
|
|
383
|
+
[types_1.PairIndex.BABYDOGEUSD]: "Baby Doge Coin to US Dollar",
|
|
381
384
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -302,4 +302,7 @@ var PairIndex;
|
|
|
302
302
|
PairIndex[PairIndex["RDNTUSD"] = 270] = "RDNTUSD";
|
|
303
303
|
PairIndex[PairIndex["FLUXUSD"] = 271] = "FLUXUSD";
|
|
304
304
|
PairIndex[PairIndex["NEIROUSD"] = 272] = "NEIROUSD";
|
|
305
|
+
PairIndex[PairIndex["SUNDOGUSD"] = 273] = "SUNDOGUSD";
|
|
306
|
+
PairIndex[PairIndex["CATUSD"] = 274] = "CATUSD";
|
|
307
|
+
PairIndex[PairIndex["BABYDOGEUSD"] = 275] = "BABYDOGEUSD";
|
|
305
308
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|