@gainsnetwork/sdk 0.2.56-rc1 → 0.2.56-rc3

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 (50) hide show
  1. package/lib/constants.d.ts +4 -0
  2. package/lib/constants.js +6 -1
  3. package/lib/contracts/types/generated/GNSMultiCollatDiamond.d.ts +327 -7
  4. package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +508 -3
  5. package/lib/contracts/utils/borrowingFees.js +3 -1
  6. package/lib/contracts/utils/pairs.js +4 -0
  7. package/lib/trade/fees/borrowing/converter.d.ts +5 -3
  8. package/lib/trade/fees/borrowing/converter.js +8 -3
  9. package/lib/trade/fees/borrowing/index.d.ts +9 -4
  10. package/lib/trade/fees/borrowing/index.js +53 -11
  11. package/lib/trade/fees/borrowing/types.d.ts +5 -0
  12. package/lib/trade/types.d.ts +5 -1
  13. package/lib/trade/types.js +4 -0
  14. package/package.json +1 -1
  15. package/lib/contracts/types/generated/GFarmTradingStorageV5.d.ts +0 -1911
  16. package/lib/contracts/types/generated/GFarmTradingStorageV5.js +0 -2
  17. package/lib/contracts/types/generated/GNSBorrowingFees.d.ts +0 -1067
  18. package/lib/contracts/types/generated/GNSBorrowingFees.js +0 -2
  19. package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +0 -533
  20. package/lib/contracts/types/generated/GNSNftRewardsV6.js +0 -2
  21. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +0 -613
  22. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +0 -2
  23. package/lib/contracts/types/generated/GNSTrading.d.ts +0 -758
  24. package/lib/contracts/types/generated/GNSTrading.js +0 -2
  25. package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +0 -875
  26. package/lib/contracts/types/generated/GNSTradingCallbacks.js +0 -2
  27. package/lib/contracts/types/generated/GNSTradingStorage.d.ts +0 -1387
  28. package/lib/contracts/types/generated/GNSTradingStorage.js +0 -2
  29. package/lib/contracts/types/generated/GTokenV6_3_2.d.ts +0 -1838
  30. package/lib/contracts/types/generated/GTokenV6_3_2.js +0 -2
  31. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +0 -83
  32. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +0 -2691
  33. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +0 -124
  34. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +0 -1784
  35. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +0 -100
  36. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +0 -1116
  37. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +0 -100
  38. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +0 -1003
  39. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +0 -113
  40. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +0 -1428
  41. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +0 -96
  42. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +0 -2241
  43. package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +0 -95
  44. package/lib/contracts/types/generated/factories/GNSTrading__factory.js +0 -1071
  45. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.d.ts +0 -110
  46. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.js +0 -2682
  47. package/lib/contracts/utils/openLimitOrders.d.ts +0 -8
  48. package/lib/contracts/utils/openLimitOrders.js +0 -88
  49. package/lib/trade/openLimitOrder.d.ts +0 -2
  50. package/lib/trade/openLimitOrder.js +0 -23
@@ -342,6 +342,10 @@ export declare const pairs: {
342
342
  "VINE/USD": string;
343
343
  "TOSHI/USD": string;
344
344
  "BERA/USD": string;
345
+ "LAYER/USD": string;
346
+ "CHEEMS/USD": string;
347
+ "SOLV/USD": string;
348
+ "TST/USD": string;
345
349
  };
346
350
  export declare const syntheticPairs: Set<string>;
347
351
  export declare const parentToSyntheticPairMap: Map<string, string>;
package/lib/constants.js CHANGED
@@ -350,6 +350,10 @@ exports.pairs = {
350
350
  "VINE/USD": CRYPTO,
351
351
  "TOSHI/USD": CRYPTO,
352
352
  "BERA/USD": CRYPTO,
353
+ "LAYER/USD": CRYPTO,
354
+ "CHEEMS/USD": CRYPTO,
355
+ "SOLV/USD": CRYPTO,
356
+ "TST/USD": CRYPTO,
353
357
  };
354
358
  exports.syntheticPairs = new Set([
355
359
  "BTCDEGEN/USD",
@@ -400,7 +404,8 @@ exports.delistedPairIxs = new Set([
400
404
  4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
401
405
  71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
402
406
  97, 99, 101, 106, 108, 52, 131, 147, 152, 160, 179, 182, 183, 190, 229, 163,
403
- 15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276,
407
+ 15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 343, 344, 345,
408
+ 346,
404
409
  ]);
405
410
  exports.delistedGroupsIxs = new Set([6, 7]);
406
411
  exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;