@gainsnetwork/sdk 0.2.61-rc2 → 0.2.63-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 +6 -0
- package/lib/constants.js +9 -1
- package/lib/contracts/types/generated/GNSMultiCollatDiamond.d.ts +311 -47
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.d.ts +45 -36
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +669 -47
- package/lib/contracts/utils/pairs.js +6 -0
- package/lib/trade/liquidation.d.ts +2 -1
- package/lib/trade/liquidation.js +6 -4
- package/lib/trade/spread.d.ts +3 -2
- package/lib/trade/spread.js +17 -9
- package/lib/trade/types.d.ts +11 -1
- package/lib/trade/types.js +6 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -363,6 +363,12 @@ export declare const pairs: {
|
|
|
363
363
|
"PARTI/USD": string;
|
|
364
364
|
"SIREN/USD": string;
|
|
365
365
|
"BANANAS31/USD": string;
|
|
366
|
+
"HYPER/USD": string;
|
|
367
|
+
"PROMPT/USD": string;
|
|
368
|
+
"RFC/USD": string;
|
|
369
|
+
"WCT/USD": string;
|
|
370
|
+
"BIGTIME/USD": string;
|
|
371
|
+
"BABY/USD": string;
|
|
366
372
|
};
|
|
367
373
|
export declare const syntheticPairs: Set<string>;
|
|
368
374
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -371,6 +371,12 @@ exports.pairs = {
|
|
|
371
371
|
"PARTI/USD": CRYPTO,
|
|
372
372
|
"SIREN/USD": CRYPTO,
|
|
373
373
|
"BANANAS31/USD": CRYPTO,
|
|
374
|
+
"HYPER/USD": CRYPTO,
|
|
375
|
+
"PROMPT/USD": CRYPTO,
|
|
376
|
+
"RFC/USD": CRYPTO,
|
|
377
|
+
"WCT/USD": CRYPTO,
|
|
378
|
+
"BIGTIME/USD": CRYPTO,
|
|
379
|
+
"BABY/USD": CRYPTO,
|
|
374
380
|
};
|
|
375
381
|
exports.syntheticPairs = new Set([
|
|
376
382
|
"BTCDEGEN/USD",
|
|
@@ -421,7 +427,9 @@ exports.delistedPairIxs = new Set([
|
|
|
421
427
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
422
428
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
423
429
|
97, 99, 101, 106, 52, 147, 152, 160, 179, 182, 183, 190, 229, 163, 15, 170,
|
|
424
|
-
239, 254, 230,
|
|
430
|
+
239, 254, 230, 275, 290, 296, 311, 330, 250, 276, 282, 253, 53, 56, 130, 209,
|
|
431
|
+
208, 231, 285, 279, 225, 305, 270, 294, 349, 278, 364, 365, 366, 367, 368,
|
|
432
|
+
369,
|
|
425
433
|
]);
|
|
426
434
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
427
435
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|