@gainsnetwork/sdk 0.2.50-rc2 → 0.2.51-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 +2 -2
- 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
|
@@ -327,6 +327,7 @@ export declare const pairs: {
|
|
|
327
327
|
"BIO/USD": string;
|
|
328
328
|
"XRPDEGEN/USD": string;
|
|
329
329
|
"BNBDEGEN/USD": string;
|
|
330
|
+
"TRUMP/USD": string;
|
|
330
331
|
};
|
|
331
332
|
export declare const syntheticPairs: Set<string>;
|
|
332
333
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -335,6 +335,7 @@ exports.pairs = {
|
|
|
335
335
|
"BIO/USD": CRYPTO,
|
|
336
336
|
"XRPDEGEN/USD": CRYPTO,
|
|
337
337
|
"BNBDEGEN/USD": CRYPTO,
|
|
338
|
+
"TRUMP/USD": CRYPTO,
|
|
338
339
|
};
|
|
339
340
|
exports.syntheticPairs = new Set([
|
|
340
341
|
"BTCDEGEN/USD",
|
|
@@ -385,8 +386,7 @@ exports.delistedPairIxs = new Set([
|
|
|
385
386
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
386
387
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
387
388
|
97, 99, 101, 106, 108, 52, 131, 147, 152, 160, 179, 182, 183, 190, 229, 163,
|
|
388
|
-
15, 170, 239, 254, 230, 4, 275, 290, 296, 311,
|
|
389
|
-
326, 327,
|
|
389
|
+
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 328,
|
|
390
390
|
]);
|
|
391
391
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
392
392
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -433,4 +433,5 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
433
433
|
[types_1.PairIndex.BIOUSD]: "Bio Protocol to US Dollar",
|
|
434
434
|
[types_1.PairIndex.XRPDEGEN]: "Ripple to US Dollar",
|
|
435
435
|
[types_1.PairIndex.BNBDEGEN]: "Binance Coin to US Dollar",
|
|
436
|
+
[types_1.PairIndex.TRUMPUSD]: "Official Trump to US Dollar",
|
|
436
437
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -357,4 +357,5 @@ var PairIndex;
|
|
|
357
357
|
PairIndex[PairIndex["BIOUSD"] = 325] = "BIOUSD";
|
|
358
358
|
PairIndex[PairIndex["XRPDEGEN"] = 326] = "XRPDEGEN";
|
|
359
359
|
PairIndex[PairIndex["BNBDEGEN"] = 327] = "BNBDEGEN";
|
|
360
|
+
PairIndex[PairIndex["TRUMPUSD"] = 328] = "TRUMPUSD";
|
|
360
361
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|