@gainsnetwork/sdk 0.2.54-rc1 → 0.2.55-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 +4 -0
- package/lib/constants.js +6 -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 +4 -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 +5 -1
- package/lib/trade/types.js +4 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -337,6 +337,10 @@ 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;
|
|
340
344
|
};
|
|
341
345
|
export declare const syntheticPairs: Set<string>;
|
|
342
346
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -345,6 +345,10 @@ 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,
|
|
348
352
|
};
|
|
349
353
|
exports.syntheticPairs = new Set([
|
|
350
354
|
"BTCDEGEN/USD",
|
|
@@ -395,7 +399,8 @@ exports.delistedPairIxs = new Set([
|
|
|
395
399
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
396
400
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
397
401
|
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,
|
|
402
|
+
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 338, 339, 340,
|
|
403
|
+
341,
|
|
399
404
|
]);
|
|
400
405
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
401
406
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|