@gainsnetwork/sdk 1.6.0 → 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.
Files changed (35) hide show
  1. package/lib/constants.d.ts +8 -0
  2. package/lib/constants.js +14 -8
  3. package/lib/contracts/types/generated/GFarmTradingStorageV5.d.ts +1911 -0
  4. package/lib/contracts/types/generated/GFarmTradingStorageV5.js +2 -0
  5. package/lib/contracts/types/generated/GNSBorrowingFees.d.ts +1067 -0
  6. package/lib/contracts/types/generated/GNSBorrowingFees.js +2 -0
  7. package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +533 -0
  8. package/lib/contracts/types/generated/GNSNftRewardsV6.js +2 -0
  9. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +613 -0
  10. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +2 -0
  11. package/lib/contracts/types/generated/GNSTrading.d.ts +758 -0
  12. package/lib/contracts/types/generated/GNSTrading.js +2 -0
  13. package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +875 -0
  14. package/lib/contracts/types/generated/GNSTradingCallbacks.js +2 -0
  15. package/lib/contracts/types/generated/GNSTradingStorage.d.ts +1387 -0
  16. package/lib/contracts/types/generated/GNSTradingStorage.js +2 -0
  17. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +83 -0
  18. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +2691 -0
  19. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +124 -0
  20. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +1784 -0
  21. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +100 -0
  22. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +1116 -0
  23. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +100 -0
  24. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +1003 -0
  25. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +113 -0
  26. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +1428 -0
  27. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +96 -0
  28. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +2241 -0
  29. package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +95 -0
  30. package/lib/contracts/types/generated/factories/GNSTrading__factory.js +1071 -0
  31. package/lib/contracts/utils/pairs.js +4 -0
  32. package/lib/trade/fees/borrowingV2/fetcher.d.ts +0 -1
  33. package/lib/trade/types.d.ts +5 -1
  34. package/lib/trade/types.js +4 -0
  35. package/package.json +1 -1
@@ -435,6 +435,10 @@ export declare const pairs: {
435
435
  "MON/USD": string;
436
436
  "MET/USD": string;
437
437
  "TURTLE/USD": string;
438
+ "SPX500/USD": string;
439
+ "NAS100/USD": string;
440
+ "USA30/USD": string;
441
+ "NFLX_1/USD": string;
438
442
  };
439
443
  export declare const syntheticPairs: Set<string>;
440
444
  export declare const parentToSyntheticPairMap: Map<string, string>;
@@ -462,6 +466,10 @@ export declare const stockSplits: {
462
466
  date: string;
463
467
  split: number;
464
468
  };
469
+ "NFLX_1/USD": {
470
+ date: string;
471
+ split: number;
472
+ };
465
473
  };
466
474
  export declare const delistedPairIxs: Set<number>;
467
475
  export declare const delistedGroupsIxs: Set<never>;
package/lib/constants.js CHANGED
@@ -443,6 +443,10 @@ exports.pairs = {
443
443
  "MON/USD": CRYPTO,
444
444
  "MET/USD": CRYPTO,
445
445
  "TURTLE/USD": CRYPTO,
446
+ "SPX500/USD": INDICES,
447
+ "NAS100/USD": INDICES,
448
+ "USA30/USD": INDICES,
449
+ "NFLX_1/USD": STOCKS,
446
450
  };
447
451
  exports.syntheticPairs = new Set([
448
452
  "BTCDEGEN/USD",
@@ -488,16 +492,18 @@ exports.stockSplits = {
488
492
  "GOOGL_1/USD": { date: "7/18/2022", split: 20 },
489
493
  "GME_1/USD": { date: "7/22/2022", split: 4 },
490
494
  "TSLA_1/USD": { date: "8/25/2022", split: 3 },
495
+ "NFLX_1/USD": { date: "11/17/2025", split: 10 },
491
496
  };
492
497
  exports.delistedPairIxs = new Set([
493
- 4, 6, 12, 15, 24, 25, 27, 28, 30, 31, 36, 41, 48, 51, 52, 53, 54, 56, 59, 60, 61,
494
- 63, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 95, 96, 97, 98, 99,
495
- 101, 106, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 130, 147, 152,
496
- 160, 163, 170, 179, 182, 183, 186, 188, 189, 190, 198, 208, 209, 224, 225, 227,
497
- 229, 230, 231, 234, 238, 239, 241, 247, 250, 253, 254, 258, 261, 270, 272, 275,
498
- 276, 278, 279, 280, 285, 290, 291, 292, 294, 296, 303, 305, 306, 311, 322, 330,
499
- 333, 336, 337, 342, 343, 344, 347, 349, 350, 352, 354, 355, 357, 365, 366, 395,
500
- 396, 400, 401, 408, 423, 427, 433,
498
+ 4, 6, 12, 15, 24, 25, 27, 28, 30, 31, 36, 41, 48, 51, 52, 53, 54, 56, 59, 60,
499
+ 61, 63, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 95, 96, 97, 98,
500
+ 99, 101, 106, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 130, 147, 152,
501
+ 160, 163, 170, 179, 182, 183, 186, 188, 189, 190, 198, 208, 209, 224, 225,
502
+ 227, 229, 230, 231, 234, 238, 239, 241, 247, 250, 253, 254, 258, 261, 270,
503
+ 272, 275, 276, 278, 279, 280, 285, 290, 291, 292, 294, 296, 303, 305, 306,
504
+ 311, 322, 330, 333, 336, 337, 342, 343, 344, 347, 349, 350, 352, 354, 355,
505
+ 357, 365, 366, 379, 395, 396, 400, 401, 408, 423, 427, 433, 436, 437, 438,
506
+ 439,
501
507
  ]);
502
508
  exports.delistedGroupsIxs = new Set([]);
503
509
  exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;