@gainsnetwork/sdk 0.2.56-rc1 → 0.2.56-rc3
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 +327 -7
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +508 -3
- package/lib/contracts/utils/borrowingFees.js +3 -1
- package/lib/contracts/utils/pairs.js +4 -0
- package/lib/trade/fees/borrowing/converter.d.ts +5 -3
- package/lib/trade/fees/borrowing/converter.js +8 -3
- package/lib/trade/fees/borrowing/index.d.ts +9 -4
- package/lib/trade/fees/borrowing/index.js +53 -11
- package/lib/trade/fees/borrowing/types.d.ts +5 -0
- package/lib/trade/types.d.ts +5 -1
- package/lib/trade/types.js +4 -0
- package/package.json +1 -1
- package/lib/contracts/types/generated/GFarmTradingStorageV5.d.ts +0 -1911
- package/lib/contracts/types/generated/GFarmTradingStorageV5.js +0 -2
- package/lib/contracts/types/generated/GNSBorrowingFees.d.ts +0 -1067
- package/lib/contracts/types/generated/GNSBorrowingFees.js +0 -2
- package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +0 -533
- package/lib/contracts/types/generated/GNSNftRewardsV6.js +0 -2
- package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +0 -613
- package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +0 -2
- package/lib/contracts/types/generated/GNSTrading.d.ts +0 -758
- package/lib/contracts/types/generated/GNSTrading.js +0 -2
- package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +0 -875
- package/lib/contracts/types/generated/GNSTradingCallbacks.js +0 -2
- package/lib/contracts/types/generated/GNSTradingStorage.d.ts +0 -1387
- package/lib/contracts/types/generated/GNSTradingStorage.js +0 -2
- package/lib/contracts/types/generated/GTokenV6_3_2.d.ts +0 -1838
- package/lib/contracts/types/generated/GTokenV6_3_2.js +0 -2
- package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +0 -83
- package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +0 -2691
- package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +0 -124
- package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +0 -1784
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +0 -100
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +0 -1116
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +0 -100
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +0 -1003
- package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +0 -113
- package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +0 -1428
- package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +0 -96
- package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +0 -2241
- package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +0 -95
- package/lib/contracts/types/generated/factories/GNSTrading__factory.js +0 -1071
- package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.d.ts +0 -110
- package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.js +0 -2682
- package/lib/contracts/utils/openLimitOrders.d.ts +0 -8
- package/lib/contracts/utils/openLimitOrders.js +0 -88
- package/lib/trade/openLimitOrder.d.ts +0 -2
- package/lib/trade/openLimitOrder.js +0 -23
package/lib/constants.d.ts
CHANGED
|
@@ -342,6 +342,10 @@ export declare const pairs: {
|
|
|
342
342
|
"VINE/USD": string;
|
|
343
343
|
"TOSHI/USD": string;
|
|
344
344
|
"BERA/USD": string;
|
|
345
|
+
"LAYER/USD": string;
|
|
346
|
+
"CHEEMS/USD": string;
|
|
347
|
+
"SOLV/USD": string;
|
|
348
|
+
"TST/USD": string;
|
|
345
349
|
};
|
|
346
350
|
export declare const syntheticPairs: Set<string>;
|
|
347
351
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -350,6 +350,10 @@ exports.pairs = {
|
|
|
350
350
|
"VINE/USD": CRYPTO,
|
|
351
351
|
"TOSHI/USD": CRYPTO,
|
|
352
352
|
"BERA/USD": CRYPTO,
|
|
353
|
+
"LAYER/USD": CRYPTO,
|
|
354
|
+
"CHEEMS/USD": CRYPTO,
|
|
355
|
+
"SOLV/USD": CRYPTO,
|
|
356
|
+
"TST/USD": CRYPTO,
|
|
353
357
|
};
|
|
354
358
|
exports.syntheticPairs = new Set([
|
|
355
359
|
"BTCDEGEN/USD",
|
|
@@ -400,7 +404,8 @@ exports.delistedPairIxs = new Set([
|
|
|
400
404
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
401
405
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
402
406
|
97, 99, 101, 106, 108, 52, 131, 147, 152, 160, 179, 182, 183, 190, 229, 163,
|
|
403
|
-
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276,
|
|
407
|
+
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 343, 344, 345,
|
|
408
|
+
346,
|
|
404
409
|
]);
|
|
405
410
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
406
411
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|