@gainsnetwork/sdk 0.2.7-rc1 → 0.2.8-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 +4 -0
- package/lib/constants.js +4 -0
- package/lib/contracts/utils/pairs.js +4 -0
- package/lib/trade/types.d.ts +5 -1
- package/lib/trade/types.js +4 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -246,6 +246,10 @@ export declare const pairs: {
|
|
|
246
246
|
"SATS/USD": string;
|
|
247
247
|
"POPCAT/USD": string;
|
|
248
248
|
"MOG/USD": string;
|
|
249
|
+
"OM/USD": string;
|
|
250
|
+
"CORE/USD": string;
|
|
251
|
+
"JASMY/USD": string;
|
|
252
|
+
"DAR/USD": string;
|
|
249
253
|
};
|
|
250
254
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
251
255
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -254,6 +254,10 @@ exports.pairs = {
|
|
|
254
254
|
"SATS/USD": CRYPTO,
|
|
255
255
|
"POPCAT/USD": CRYPTO,
|
|
256
256
|
"MOG/USD": CRYPTO,
|
|
257
|
+
"OM/USD": CRYPTO,
|
|
258
|
+
"CORE/USD": CRYPTO,
|
|
259
|
+
"JASMY/USD": CRYPTO,
|
|
260
|
+
"DAR/USD": CRYPTO,
|
|
257
261
|
};
|
|
258
262
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
259
263
|
switch (groupIndex) {
|
|
@@ -352,4 +352,8 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
352
352
|
[types_1.PairIndex.SATSUSD]: "SATS Ordinals to US Dollar",
|
|
353
353
|
[types_1.PairIndex.POPCATUSD]: "Popcat to US Dollar",
|
|
354
354
|
[types_1.PairIndex.MOGUSD]: "Mog Coin to US Dollar",
|
|
355
|
+
[types_1.PairIndex.OMUSD]: "Mantra Chain to US Dollar",
|
|
356
|
+
[types_1.PairIndex.COREUSD]: "Core to US Dollar",
|
|
357
|
+
[types_1.PairIndex.JASMYUSD]: "Jasmy Coin to US Dollar",
|
|
358
|
+
[types_1.PairIndex.DARUSD]: "Mines of Dalarnia to US Dollar",
|
|
355
359
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -276,4 +276,8 @@ var PairIndex;
|
|
|
276
276
|
PairIndex[PairIndex["SATSUSD"] = 244] = "SATSUSD";
|
|
277
277
|
PairIndex[PairIndex["POPCATUSD"] = 245] = "POPCATUSD";
|
|
278
278
|
PairIndex[PairIndex["MOGUSD"] = 246] = "MOGUSD";
|
|
279
|
+
PairIndex[PairIndex["OMUSD"] = 247] = "OMUSD";
|
|
280
|
+
PairIndex[PairIndex["COREUSD"] = 248] = "COREUSD";
|
|
281
|
+
PairIndex[PairIndex["JASMYUSD"] = 249] = "JASMYUSD";
|
|
282
|
+
PairIndex[PairIndex["DARUSD"] = 250] = "DARUSD";
|
|
279
283
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|