@gainsnetwork/sdk 0.2.54-rc1 → 0.2.55-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 +5 -0
- package/lib/constants.js +7 -1
- package/lib/contracts/types/generated/GNSMultiCollatDiamond.d.ts +7 -192
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +2 -322
- package/lib/contracts/utils/borrowingFees.js +1 -3
- package/lib/contracts/utils/pairs.js +5 -0
- package/lib/trade/fees/borrowing/converter.d.ts +3 -5
- package/lib/trade/fees/borrowing/converter.js +3 -8
- package/lib/trade/fees/borrowing/index.d.ts +4 -9
- package/lib/trade/fees/borrowing/index.js +11 -53
- package/lib/trade/fees/borrowing/types.d.ts +0 -5
- package/lib/trade/types.d.ts +6 -1
- package/lib/trade/types.js +5 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -337,6 +337,11 @@ export declare const pairs: {
|
|
|
337
337
|
"GRIFFAIN/USD": string;
|
|
338
338
|
"SWARMS/USD": string;
|
|
339
339
|
"ANIME/USD": string;
|
|
340
|
+
"PLUME/USD": string;
|
|
341
|
+
"VVV/USD": string;
|
|
342
|
+
"VINE/USD": string;
|
|
343
|
+
"TOSHI/USD": string;
|
|
344
|
+
"BERA/USD": string;
|
|
340
345
|
};
|
|
341
346
|
export declare const syntheticPairs: Set<string>;
|
|
342
347
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -345,6 +345,11 @@ exports.pairs = {
|
|
|
345
345
|
"GRIFFAIN/USD": CRYPTO,
|
|
346
346
|
"SWARMS/USD": CRYPTO,
|
|
347
347
|
"ANIME/USD": CRYPTO,
|
|
348
|
+
"PLUME/USD": CRYPTO,
|
|
349
|
+
"VVV/USD": CRYPTO,
|
|
350
|
+
"VINE/USD": CRYPTO,
|
|
351
|
+
"TOSHI/USD": CRYPTO,
|
|
352
|
+
"BERA/USD": CRYPTO,
|
|
348
353
|
};
|
|
349
354
|
exports.syntheticPairs = new Set([
|
|
350
355
|
"BTCDEGEN/USD",
|
|
@@ -395,7 +400,8 @@ exports.delistedPairIxs = new Set([
|
|
|
395
400
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
396
401
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
397
402
|
97, 99, 101, 106, 108, 52, 131, 147, 152, 160, 179, 182, 183, 190, 229, 163,
|
|
398
|
-
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276,
|
|
403
|
+
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 338, 339, 340,
|
|
404
|
+
341,
|
|
399
405
|
]);
|
|
400
406
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
401
407
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|