@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.
Files changed (35) hide show
  1. package/lib/constants.d.ts +5 -0
  2. package/lib/constants.js +4 -1
  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 +1 -0
  32. package/lib/trade/fees/borrowingV2/fetcher.d.ts +0 -1
  33. package/lib/trade/types.d.ts +2 -1
  34. package/lib/trade/types.js +1 -0
  35. package/package.json +1 -1
@@ -592,4 +592,5 @@ const PAIR_INDEX_TO_DESCRIPTION = {
592
592
  [types_1.PairIndex.SPX500USD]: "S&P500 to US Dollar",
593
593
  [types_1.PairIndex.NAS100USD]: "NASDAQ 100 to US Dollar",
594
594
  [types_1.PairIndex.USA30USD]: "Down Jones 30 to US Dollar",
595
+ [types_1.PairIndex.NFLXUSD2]: "Netflix to US Dollar",
595
596
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="mocha" />
2
1
  import type { GNSMultiCollatDiamond } from "../../../contracts/types/generated";
3
2
  import { BorrowingFeeV2 } from ".";
4
3
  /**
@@ -766,5 +766,6 @@ export declare enum PairIndex {
766
766
  TURTLEUSD = 435,
767
767
  SPX500USD = 436,
768
768
  NAS100USD = 437,
769
- USA30USD = 438
769
+ USA30USD = 438,
770
+ NFLXUSD2 = 439
770
771
  }
@@ -468,4 +468,5 @@ var PairIndex;
468
468
  PairIndex[PairIndex["SPX500USD"] = 436] = "SPX500USD";
469
469
  PairIndex[PairIndex["NAS100USD"] = 437] = "NAS100USD";
470
470
  PairIndex[PairIndex["USA30USD"] = 438] = "USA30USD";
471
+ PairIndex[PairIndex["NFLXUSD2"] = 439] = "NFLXUSD2";
471
472
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "1.6.1-rc1",
3
+ "version": "1.6.2-rc1",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [