@gainsnetwork/sdk 0.1.25-rc1 → 0.1.26-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 +1 -0
- package/lib/constants.js +3 -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
|
@@ -222,6 +222,7 @@ export declare const pairs: {
|
|
|
222
222
|
"W/USD": string;
|
|
223
223
|
"ZEUS/USD": string;
|
|
224
224
|
"TNSR/USD": string;
|
|
225
|
+
"TAO/USD": string;
|
|
225
226
|
};
|
|
226
227
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
227
228
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -230,6 +230,7 @@ exports.pairs = {
|
|
|
230
230
|
"W/USD": CRYPTO,
|
|
231
231
|
"ZEUS/USD": CRYPTO,
|
|
232
232
|
"TNSR/USD": CRYPTO,
|
|
233
|
+
"TAO/USD": CRYPTO,
|
|
233
234
|
};
|
|
234
235
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
235
236
|
switch (groupIndex) {
|
|
@@ -263,6 +264,7 @@ exports.stockSplits = {
|
|
|
263
264
|
exports.delistedPairIxs = new Set([
|
|
264
265
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
265
266
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
266
|
-
89, 97, 99, 101, 106, 107, 108, 52, 131, 147, 160, 179, 182, 183, 190, 194,
|
|
267
|
+
89, 97, 99, 101, 106, 107, 108, 52, 131, 147, 160, 179, 182, 183, 190, 194,
|
|
268
|
+
221, 222, 223,
|
|
267
269
|
]);
|
|
268
270
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -325,4 +325,5 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
325
325
|
[types_1.PairIndex.WUSD]: "Wormhole to US Dollar",
|
|
326
326
|
[types_1.PairIndex.ZEUSUSD]: "Zeus to US Dollar",
|
|
327
327
|
[types_1.PairIndex.TNSRUSD]: "Tensor to US Dollar",
|
|
328
|
+
[types_1.PairIndex.TAOUSD]: "Bittensor to US Dollar",
|
|
328
329
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -237,4 +237,5 @@ var PairIndex;
|
|
|
237
237
|
PairIndex[PairIndex["WUSD"] = 220] = "WUSD";
|
|
238
238
|
PairIndex[PairIndex["ZEUSUSD"] = 221] = "ZEUSUSD";
|
|
239
239
|
PairIndex[PairIndex["TNSRUSD"] = 222] = "TNSRUSD";
|
|
240
|
+
PairIndex[PairIndex["TAOUSD"] = 223] = "TAOUSD";
|
|
240
241
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|