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