@gainsnetwork/sdk 0.2.33-rc4 → 0.2.35-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 +8 -0
- package/lib/constants.js +9 -1
- package/lib/contracts/types/generated/GNSMultiCollatDiamond.d.ts +312 -673
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +538 -1443
- package/lib/contracts/utils/pairs.js +12 -4
- package/lib/trade/fees/index.js +2 -3
- package/lib/trade/spread.d.ts +5 -3
- package/lib/trade/spread.js +2 -7
- package/lib/trade/types.d.ts +11 -13
- package/lib/trade/types.js +8 -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/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/constants.d.ts
CHANGED
|
@@ -285,6 +285,14 @@ export declare const pairs: {
|
|
|
285
285
|
"POLYX/USD": string;
|
|
286
286
|
"MOODENG/USD": string;
|
|
287
287
|
"MOTHER/USD": string;
|
|
288
|
+
"AERO/USD": string;
|
|
289
|
+
"CVC/USD": string;
|
|
290
|
+
"NEIROCTO/USD": string;
|
|
291
|
+
"ARK/USD": string;
|
|
292
|
+
"NPC/USD": string;
|
|
293
|
+
"ORBS/USD": string;
|
|
294
|
+
"APU/USD": string;
|
|
295
|
+
"BSV/USD": string;
|
|
288
296
|
};
|
|
289
297
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
290
298
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -293,6 +293,14 @@ exports.pairs = {
|
|
|
293
293
|
"POLYX/USD": CRYPTO,
|
|
294
294
|
"MOODENG/USD": CRYPTO,
|
|
295
295
|
"MOTHER/USD": CRYPTO,
|
|
296
|
+
"AERO/USD": CRYPTO,
|
|
297
|
+
"CVC/USD": CRYPTO,
|
|
298
|
+
"NEIROCTO/USD": CRYPTO,
|
|
299
|
+
"ARK/USD": CRYPTO,
|
|
300
|
+
"NPC/USD": CRYPTO,
|
|
301
|
+
"ORBS/USD": CRYPTO,
|
|
302
|
+
"APU/USD": CRYPTO,
|
|
303
|
+
"BSV/USD": CRYPTO,
|
|
296
304
|
};
|
|
297
305
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
298
306
|
switch (groupIndex) {
|
|
@@ -328,7 +336,7 @@ exports.delistedPairIxs = new Set([
|
|
|
328
336
|
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
329
337
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
330
338
|
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 15,
|
|
331
|
-
170, 239, 254, 230, 4, 275,
|
|
339
|
+
170, 239, 254, 230, 4, 275, 286, 287, 288, 289, 290, 291, 292, 293,
|
|
332
340
|
]);
|
|
333
341
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
334
342
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|