@gainsnetwork/sdk 0.2.17-rc1 → 0.2.17-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 (37) hide show
  1. package/lib/constants.js +1 -0
  2. package/lib/contracts/types/generated/GFarmTradingStorageV5.d.ts +1911 -0
  3. package/lib/contracts/types/generated/GFarmTradingStorageV5.js +2 -0
  4. package/lib/contracts/types/generated/GNSBorrowingFees.d.ts +1067 -0
  5. package/lib/contracts/types/generated/GNSBorrowingFees.js +2 -0
  6. package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +533 -0
  7. package/lib/contracts/types/generated/GNSNftRewardsV6.js +2 -0
  8. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +613 -0
  9. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +2 -0
  10. package/lib/contracts/types/generated/GNSTrading.d.ts +758 -0
  11. package/lib/contracts/types/generated/GNSTrading.js +2 -0
  12. package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +875 -0
  13. package/lib/contracts/types/generated/GNSTradingCallbacks.js +2 -0
  14. package/lib/contracts/types/generated/GNSTradingStorage.d.ts +1387 -0
  15. package/lib/contracts/types/generated/GNSTradingStorage.js +2 -0
  16. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +83 -0
  17. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +2691 -0
  18. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +124 -0
  19. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +1784 -0
  20. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +100 -0
  21. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +1116 -0
  22. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +100 -0
  23. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +1003 -0
  24. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +113 -0
  25. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +1428 -0
  26. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +96 -0
  27. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +2241 -0
  28. package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +95 -0
  29. package/lib/contracts/types/generated/factories/GNSTrading__factory.js +1071 -0
  30. package/lib/trade/fees/borrowing/index.d.ts +1 -0
  31. package/lib/trade/fees/index.d.ts +1 -1
  32. package/lib/trade/fees/index.js +6 -3
  33. package/lib/trade/liquidation.d.ts +4 -1
  34. package/lib/trade/liquidation.js +1 -1
  35. package/lib/trade/pnl.d.ts +1 -0
  36. package/lib/trade/pnl.js +1 -1
  37. package/package.json +1 -1
package/lib/constants.js CHANGED
@@ -268,6 +268,7 @@ exports.pairs = {
268
268
  const getAssetClassFromGroupIndex = (groupIndex) => {
269
269
  switch (groupIndex) {
270
270
  case 0:
271
+ case 10:
271
272
  return CRYPTO;
272
273
  case 1:
273
274
  case 8: