@gainsnetwork/sdk 0.2.19-rc1 → 0.2.20-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 +5 -0
- package/lib/constants.js +9 -4
- package/lib/contracts/utils/pairs.js +5 -0
- package/lib/trade/types.d.ts +6 -1
- package/lib/trade/types.js +5 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -263,6 +263,11 @@ export declare const pairs: {
|
|
|
263
263
|
"SYN/USD": string;
|
|
264
264
|
"AUCTION/USD": string;
|
|
265
265
|
"ALICE/USD": string;
|
|
266
|
+
"SUN/USD": string;
|
|
267
|
+
"TRB/USD": string;
|
|
268
|
+
"DOGS/USD": string;
|
|
269
|
+
"SSV/USD": string;
|
|
270
|
+
"PONKE/USD": string;
|
|
266
271
|
};
|
|
267
272
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
268
273
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -271,6 +271,11 @@ exports.pairs = {
|
|
|
271
271
|
"SYN/USD": CRYPTO,
|
|
272
272
|
"AUCTION/USD": CRYPTO,
|
|
273
273
|
"ALICE/USD": CRYPTO,
|
|
274
|
+
"SUN/USD": CRYPTO,
|
|
275
|
+
"TRB/USD": CRYPTO,
|
|
276
|
+
"DOGS/USD": CRYPTO,
|
|
277
|
+
"SSV/USD": CRYPTO,
|
|
278
|
+
"PONKE/USD": CRYPTO,
|
|
274
279
|
};
|
|
275
280
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
276
281
|
switch (groupIndex) {
|
|
@@ -303,9 +308,9 @@ exports.stockSplits = {
|
|
|
303
308
|
"TSLA_1/USD": { date: "8/25/2022", split: 3 },
|
|
304
309
|
};
|
|
305
310
|
exports.delistedPairIxs = new Set([
|
|
306
|
-
6, 31, 36,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
311
|
+
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
312
|
+
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
313
|
+
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 155,
|
|
314
|
+
15, 170, 239, 254, 230, 264, 265, 266, 267, 268,
|
|
310
315
|
]);
|
|
311
316
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -369,4 +369,9 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
369
369
|
[types_1.PairIndex.SYNUSD]: "Synapse to US Dollar",
|
|
370
370
|
[types_1.PairIndex.AUCTIONUSD]: "Bounce to US Dollar",
|
|
371
371
|
[types_1.PairIndex.ALICEUSD]: "My Neighbor Alice to US Dollar",
|
|
372
|
+
[types_1.PairIndex.SUNUSD]: "Sun to US Dollar",
|
|
373
|
+
[types_1.PairIndex.TRBUSD]: "Tellor tributes to US Dollar",
|
|
374
|
+
[types_1.PairIndex.DOGSUSD]: "DOGS to US Dollar",
|
|
375
|
+
[types_1.PairIndex.SSVUSD]: "ssv.network to US Dollar",
|
|
376
|
+
[types_1.PairIndex.PONKEUSD]: "Ponke to US Dollar",
|
|
372
377
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -293,4 +293,9 @@ var PairIndex;
|
|
|
293
293
|
PairIndex[PairIndex["SYNUSD"] = 261] = "SYNUSD";
|
|
294
294
|
PairIndex[PairIndex["AUCTIONUSD"] = 262] = "AUCTIONUSD";
|
|
295
295
|
PairIndex[PairIndex["ALICEUSD"] = 263] = "ALICEUSD";
|
|
296
|
+
PairIndex[PairIndex["SUNUSD"] = 264] = "SUNUSD";
|
|
297
|
+
PairIndex[PairIndex["TRBUSD"] = 265] = "TRBUSD";
|
|
298
|
+
PairIndex[PairIndex["DOGSUSD"] = 266] = "DOGSUSD";
|
|
299
|
+
PairIndex[PairIndex["SSVUSD"] = 267] = "SSVUSD";
|
|
300
|
+
PairIndex[PairIndex["PONKEUSD"] = 268] = "PONKEUSD";
|
|
296
301
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|