@gainsnetwork/sdk 0.2.35-rc1 → 0.2.36
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 +0 -8
- package/lib/constants.js +1 -9
- package/lib/contracts/types/generated/GFarmTradingStorageV5.d.ts +1911 -0
- package/lib/contracts/types/generated/GFarmTradingStorageV5.js +2 -0
- package/lib/contracts/types/generated/GNSBorrowingFees.d.ts +1067 -0
- package/lib/contracts/types/generated/GNSBorrowingFees.js +2 -0
- package/lib/contracts/types/generated/GNSMultiCollatDiamond.d.ts +673 -312
- package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +533 -0
- package/lib/contracts/types/generated/GNSNftRewardsV6.js +2 -0
- package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +613 -0
- package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +2 -0
- package/lib/contracts/types/generated/GNSTrading.d.ts +758 -0
- package/lib/contracts/types/generated/GNSTrading.js +2 -0
- package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +875 -0
- package/lib/contracts/types/generated/GNSTradingCallbacks.js +2 -0
- package/lib/contracts/types/generated/GNSTradingStorage.d.ts +1387 -0
- package/lib/contracts/types/generated/GNSTradingStorage.js +2 -0
- package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +83 -0
- package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +2691 -0
- package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +124 -0
- package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +1784 -0
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +1437 -532
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +100 -0
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +1116 -0
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +100 -0
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +1003 -0
- package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +113 -0
- package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +1428 -0
- package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +96 -0
- package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +2241 -0
- package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +95 -0
- package/lib/contracts/types/generated/factories/GNSTrading__factory.js +1071 -0
- package/lib/contracts/utils/pairs.js +4 -12
- package/lib/trade/fees/index.js +2 -2
- package/lib/trade/spread.d.ts +4 -5
- package/lib/trade/spread.js +32 -15
- package/lib/trade/types.d.ts +13 -11
- package/lib/trade/types.js +0 -8
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -285,14 +285,6 @@ 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;
|
|
296
288
|
};
|
|
297
289
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
298
290
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -293,14 +293,6 @@ 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,
|
|
304
296
|
};
|
|
305
297
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
306
298
|
switch (groupIndex) {
|
|
@@ -336,7 +328,7 @@ exports.delistedPairIxs = new Set([
|
|
|
336
328
|
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
337
329
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
338
330
|
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 15,
|
|
339
|
-
170, 239, 254, 230, 4, 275,
|
|
331
|
+
170, 239, 254, 230, 4, 275,
|
|
340
332
|
]);
|
|
341
333
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
342
334
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|