@gainsnetwork/sdk 0.2.26-rc2 → 0.2.27-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 +2 -0
- package/lib/constants.js +3 -1
- package/lib/contracts/utils/pairs.js +2 -0
- package/lib/trade/types.d.ts +3 -1
- package/lib/trade/types.js +2 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -272,6 +272,8 @@ 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;
|
|
275
277
|
};
|
|
276
278
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
277
279
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -280,6 +280,8 @@ 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,
|
|
283
285
|
};
|
|
284
286
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
285
287
|
switch (groupIndex) {
|
|
@@ -315,7 +317,7 @@ exports.delistedPairIxs = new Set([
|
|
|
315
317
|
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
316
318
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
317
319
|
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 155,
|
|
318
|
-
15, 170, 239, 254, 230,
|
|
320
|
+
15, 170, 239, 254, 230, 4,
|
|
319
321
|
]);
|
|
320
322
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
321
323
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -378,4 +378,6 @@ 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",
|
|
381
383
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -302,4 +302,6 @@ 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";
|
|
305
307
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|