@gainsnetwork/sdk 1.6.1-rc1 → 1.6.2-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 +5 -0
- package/lib/constants.js +4 -1
- 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/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/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 +1 -0
- package/lib/trade/fees/borrowingV2/fetcher.d.ts +0 -1
- package/lib/trade/types.d.ts +2 -1
- package/lib/trade/types.js +1 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -438,6 +438,7 @@ export declare const pairs: {
|
|
|
438
438
|
"SPX500/USD": string;
|
|
439
439
|
"NAS100/USD": string;
|
|
440
440
|
"USA30/USD": string;
|
|
441
|
+
"NFLX_1/USD": string;
|
|
441
442
|
};
|
|
442
443
|
export declare const syntheticPairs: Set<string>;
|
|
443
444
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
|
@@ -465,6 +466,10 @@ export declare const stockSplits: {
|
|
|
465
466
|
date: string;
|
|
466
467
|
split: number;
|
|
467
468
|
};
|
|
469
|
+
"NFLX_1/USD": {
|
|
470
|
+
date: string;
|
|
471
|
+
split: number;
|
|
472
|
+
};
|
|
468
473
|
};
|
|
469
474
|
export declare const delistedPairIxs: Set<number>;
|
|
470
475
|
export declare const delistedGroupsIxs: Set<never>;
|
package/lib/constants.js
CHANGED
|
@@ -446,6 +446,7 @@ exports.pairs = {
|
|
|
446
446
|
"SPX500/USD": INDICES,
|
|
447
447
|
"NAS100/USD": INDICES,
|
|
448
448
|
"USA30/USD": INDICES,
|
|
449
|
+
"NFLX_1/USD": STOCKS,
|
|
449
450
|
};
|
|
450
451
|
exports.syntheticPairs = new Set([
|
|
451
452
|
"BTCDEGEN/USD",
|
|
@@ -491,6 +492,7 @@ exports.stockSplits = {
|
|
|
491
492
|
"GOOGL_1/USD": { date: "7/18/2022", split: 20 },
|
|
492
493
|
"GME_1/USD": { date: "7/22/2022", split: 4 },
|
|
493
494
|
"TSLA_1/USD": { date: "8/25/2022", split: 3 },
|
|
495
|
+
"NFLX_1/USD": { date: "11/17/2025", split: 10 },
|
|
494
496
|
};
|
|
495
497
|
exports.delistedPairIxs = new Set([
|
|
496
498
|
4, 6, 12, 15, 24, 25, 27, 28, 30, 31, 36, 41, 48, 51, 52, 53, 54, 56, 59, 60,
|
|
@@ -500,7 +502,8 @@ exports.delistedPairIxs = new Set([
|
|
|
500
502
|
227, 229, 230, 231, 234, 238, 239, 241, 247, 250, 253, 254, 258, 261, 270,
|
|
501
503
|
272, 275, 276, 278, 279, 280, 285, 290, 291, 292, 294, 296, 303, 305, 306,
|
|
502
504
|
311, 322, 330, 333, 336, 337, 342, 343, 344, 347, 349, 350, 352, 354, 355,
|
|
503
|
-
357, 365, 366, 395, 396, 400, 401, 408, 423, 427, 433, 436, 437, 438,
|
|
505
|
+
357, 365, 366, 379, 395, 396, 400, 401, 408, 423, 427, 433, 436, 437, 438,
|
|
506
|
+
439,
|
|
504
507
|
]);
|
|
505
508
|
exports.delistedGroupsIxs = new Set([]);
|
|
506
509
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|