@gainsnetwork/sdk 0.2.32-rc2 → 0.2.33-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 (37) hide show
  1. package/lib/constants.d.ts +2 -0
  2. package/lib/constants.js +3 -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/GNSMultiCollatDiamond.d.ts +673 -312
  8. package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +533 -0
  9. package/lib/contracts/types/generated/GNSNftRewardsV6.js +2 -0
  10. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +613 -0
  11. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +2 -0
  12. package/lib/contracts/types/generated/GNSTrading.d.ts +758 -0
  13. package/lib/contracts/types/generated/GNSTrading.js +2 -0
  14. package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +875 -0
  15. package/lib/contracts/types/generated/GNSTradingCallbacks.js +2 -0
  16. package/lib/contracts/types/generated/GNSTradingStorage.d.ts +1387 -0
  17. package/lib/contracts/types/generated/GNSTradingStorage.js +2 -0
  18. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +83 -0
  19. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +2691 -0
  20. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +124 -0
  21. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +1784 -0
  22. package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +1437 -532
  23. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +100 -0
  24. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +1116 -0
  25. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +100 -0
  26. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +1003 -0
  27. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +113 -0
  28. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +1428 -0
  29. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +96 -0
  30. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +2241 -0
  31. package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +95 -0
  32. package/lib/contracts/types/generated/factories/GNSTrading__factory.js +1071 -0
  33. package/lib/contracts/utils/pairs.js +6 -4
  34. package/lib/trade/fees/index.js +3 -2
  35. package/lib/trade/types.d.ts +12 -3
  36. package/lib/trade/types.js +2 -0
  37. package/package.json +1 -1
@@ -283,6 +283,8 @@ export declare const pairs: {
283
283
  "HMSTR/USD": string;
284
284
  "EIGEN/USD": string;
285
285
  "POLYX/USD": string;
286
+ "MOODENG/USD": string;
287
+ "MOTHER/USD": string;
286
288
  };
287
289
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
288
290
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -291,6 +291,8 @@ exports.pairs = {
291
291
  "HMSTR/USD": CRYPTO,
292
292
  "EIGEN/USD": CRYPTO,
293
293
  "POLYX/USD": CRYPTO,
294
+ "MOODENG/USD": CRYPTO,
295
+ "MOTHER/USD": CRYPTO,
294
296
  };
295
297
  const getAssetClassFromGroupIndex = (groupIndex) => {
296
298
  switch (groupIndex) {
@@ -326,7 +328,7 @@ exports.delistedPairIxs = new Set([
326
328
  6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
327
329
  71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
328
330
  97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 155,
329
- 15, 170, 239, 254, 230, 4, 275, 282, 283,
331
+ 15, 170, 239, 254, 230, 4, 275, 282, 283, 284, 285,
330
332
  ]);
331
333
  exports.delistedGroupsIxs = new Set([6, 7]);
332
334
  exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;