@gainsnetwork/sdk 0.1.15-rc1 → 0.1.16-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
CHANGED
|
@@ -210,6 +210,10 @@ export declare const pairs: {
|
|
|
210
210
|
"MAVIA/USD": string;
|
|
211
211
|
"MYRO/USD": string;
|
|
212
212
|
"STG/USD": string;
|
|
213
|
+
"BOME/USD": string;
|
|
214
|
+
"ETHFI/USD": string;
|
|
215
|
+
"METIS/USD": string;
|
|
216
|
+
"AEVO/USD": string;
|
|
213
217
|
};
|
|
214
218
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
215
219
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -218,6 +218,10 @@ exports.pairs = {
|
|
|
218
218
|
"MAVIA/USD": CRYPTO,
|
|
219
219
|
"MYRO/USD": CRYPTO,
|
|
220
220
|
"STG/USD": CRYPTO,
|
|
221
|
+
"BOME/USD": CRYPTO,
|
|
222
|
+
"ETHFI/USD": CRYPTO,
|
|
223
|
+
"METIS/USD": CRYPTO,
|
|
224
|
+
"AEVO/USD": CRYPTO,
|
|
221
225
|
};
|
|
222
226
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
223
227
|
switch (groupIndex) {
|
|
@@ -252,6 +256,6 @@ exports.delistedPairIxs = new Set([
|
|
|
252
256
|
6, 31, 36, 42, 45, 48, 50, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
|
|
253
257
|
69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
|
|
254
258
|
88, 89, 97, 99, 101, 106, 107, 108, 52, 131, 147, 157, 160, 179, 182, 183,
|
|
255
|
-
190, 194, 205, 206, 207, 208, 209, 210,
|
|
259
|
+
190, 194, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
256
260
|
]);
|
|
257
261
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -5,11 +5,3 @@ export declare const fetchPairDepths: (contracts: Contracts, pairIxs: number[])
|
|
|
5
5
|
export declare const fetchFees: (contracts: Contracts, feeIxs: PairIndex[]) => Promise<Fee[]>;
|
|
6
6
|
export declare const fetchOpenInterest: (contracts: Contracts, pairIxs: number[]) => Promise<OpenInterest[]>;
|
|
7
7
|
export declare const getPairDescription: (pairIndex: PairIndex) => string;
|
|
8
|
-
/**
|
|
9
|
-
* "WIF/USD": CRYPTO,
|
|
10
|
-
"PIXEL/USD": CRYPTO,
|
|
11
|
-
"JTO/USD": CRYPTO,
|
|
12
|
-
"MAVIA/USD": CRYPTO,
|
|
13
|
-
"MYRO/USD": CRYPTO,
|
|
14
|
-
"STG/USD": CRYPTO,
|
|
15
|
-
*/
|
|
@@ -313,12 +313,8 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
313
313
|
[types_1.PairIndex.MAVIAUSD]: "Heroes of Mavia to US Dollar",
|
|
314
314
|
[types_1.PairIndex.MYROUSD]: "Myro to US Dollar",
|
|
315
315
|
[types_1.PairIndex.STGUSD]: "Stargate to US Dollar",
|
|
316
|
+
[types_1.PairIndex.BOMEUSD]: "Book Of Meme to US Dollar",
|
|
317
|
+
[types_1.PairIndex.ETHFIUSD]: "EtherFi to US Dollar",
|
|
318
|
+
[types_1.PairIndex.METISUSD]: "Metis to US Dollar",
|
|
319
|
+
[types_1.PairIndex.AEVOUSD]: "Aevo to US Dollar",
|
|
316
320
|
};
|
|
317
|
-
/**
|
|
318
|
-
* "WIF/USD": CRYPTO,
|
|
319
|
-
"PIXEL/USD": CRYPTO,
|
|
320
|
-
"JTO/USD": CRYPTO,
|
|
321
|
-
"MAVIA/USD": CRYPTO,
|
|
322
|
-
"MYRO/USD": CRYPTO,
|
|
323
|
-
"STG/USD": CRYPTO,
|
|
324
|
-
*/
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -225,4 +225,8 @@ var PairIndex;
|
|
|
225
225
|
PairIndex[PairIndex["MAVIAUSD"] = 208] = "MAVIAUSD";
|
|
226
226
|
PairIndex[PairIndex["MYROUSD"] = 209] = "MYROUSD";
|
|
227
227
|
PairIndex[PairIndex["STGUSD"] = 210] = "STGUSD";
|
|
228
|
+
PairIndex[PairIndex["BOMEUSD"] = 211] = "BOMEUSD";
|
|
229
|
+
PairIndex[PairIndex["ETHFIUSD"] = 212] = "ETHFIUSD";
|
|
230
|
+
PairIndex[PairIndex["METISUSD"] = 213] = "METISUSD";
|
|
231
|
+
PairIndex[PairIndex["AEVOUSD"] = 214] = "AEVOUSD";
|
|
228
232
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|