@gainsnetwork/sdk 0.1.19-rc7 → 0.1.20-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 (36) hide show
  1. package/lib/constants.d.ts +2 -1
  2. package/lib/constants.js +6 -5
  3. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.d.ts +979 -0
  4. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.js +2 -0
  5. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.d.ts +1058 -0
  6. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.js +2 -0
  7. package/lib/contracts/types/generated/GNSPairInfosV6_1.d.ts +911 -0
  8. package/lib/contracts/types/generated/GNSPairInfosV6_1.js +2 -0
  9. package/lib/contracts/types/generated/GNSPairsStorageV6.d.ts +660 -0
  10. package/lib/contracts/types/generated/GNSPairsStorageV6.js +2 -0
  11. package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.d.ts +806 -0
  12. package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.js +2 -0
  13. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.d.ts +821 -0
  14. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.js +2 -0
  15. package/lib/contracts/types/generated/GTokenV6_3_2.d.ts +1838 -0
  16. package/lib/contracts/types/generated/GTokenV6_3_2.js +2 -0
  17. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.d.ts +88 -0
  18. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.js +1654 -0
  19. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.d.ts +113 -0
  20. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.js +1742 -0
  21. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.d.ts +98 -0
  22. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.js +1485 -0
  23. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.d.ts +117 -0
  24. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.js +1265 -0
  25. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.d.ts +82 -0
  26. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.js +1273 -0
  27. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.d.ts +82 -0
  28. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.js +1326 -0
  29. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.d.ts +110 -0
  30. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.js +2682 -0
  31. package/lib/contracts/utils/pairs.js +2 -1
  32. package/lib/markets/forex.js +1 -2
  33. package/lib/trade/fees/tiers/index.js +2 -1
  34. package/lib/trade/types.d.ts +2 -1
  35. package/lib/trade/types.js +2 -1
  36. package/package.json +1 -1
@@ -217,7 +217,8 @@ export declare const pairs: {
217
217
  "ONDO/USD": string;
218
218
  "MNT/USD": string;
219
219
  "KAS/USD": string;
220
- "RON/USD": string;
220
+ "RONIN/USD": string;
221
+ "ENA/USD": string;
221
222
  };
222
223
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
223
224
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -225,7 +225,8 @@ exports.pairs = {
225
225
  "ONDO/USD": CRYPTO,
226
226
  "MNT/USD": CRYPTO,
227
227
  "KAS/USD": CRYPTO,
228
- "RON/USD": CRYPTO,
228
+ "RONIN/USD": CRYPTO,
229
+ "ENA/USD": CRYPTO,
229
230
  };
230
231
  const getAssetClassFromGroupIndex = (groupIndex) => {
231
232
  switch (groupIndex) {
@@ -257,9 +258,9 @@ exports.stockSplits = {
257
258
  "TSLA_1/USD": { date: "8/25/2022", split: 3 },
258
259
  };
259
260
  exports.delistedPairIxs = new Set([
260
- 6, 31, 36, 42, 45, 48, 50, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
261
- 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
262
- 88, 89, 97, 99, 101, 106, 107, 108, 52, 131, 147, 157, 160, 179, 182, 183,
263
- 190, 194, 215, 216, 217, 218,
261
+ 6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
262
+ 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
263
+ 89, 97, 99, 101, 106, 107, 108, 52, 131, 147, 160, 179, 182, 183, 190, 194,
264
+ 218, 219,
264
265
  ]);
265
266
  exports.delistedGroupsIxs = new Set([6, 7]);