@gainsnetwork/sdk 0.2.2-rc1 → 0.2.3-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 (66) hide show
  1. package/lib/constants.d.ts +3 -0
  2. package/lib/constants.js +5 -1
  3. package/lib/contracts/utils/pairs.js +3 -0
  4. package/lib/trade/types.d.ts +4 -1
  5. package/lib/trade/types.js +3 -0
  6. package/package.json +1 -1
  7. package/lib/contracts/types/generated/GFarmTradingStorageV5.d.ts +0 -1911
  8. package/lib/contracts/types/generated/GFarmTradingStorageV5.js +0 -2
  9. package/lib/contracts/types/generated/GNSBorrowingFees.d.ts +0 -1067
  10. package/lib/contracts/types/generated/GNSBorrowingFees.js +0 -2
  11. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.d.ts +0 -979
  12. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.js +0 -2
  13. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.d.ts +0 -1058
  14. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.js +0 -2
  15. package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +0 -533
  16. package/lib/contracts/types/generated/GNSNftRewardsV6.js +0 -2
  17. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +0 -613
  18. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +0 -2
  19. package/lib/contracts/types/generated/GNSPairInfosV6_1.d.ts +0 -911
  20. package/lib/contracts/types/generated/GNSPairInfosV6_1.js +0 -2
  21. package/lib/contracts/types/generated/GNSPairsStorageV6.d.ts +0 -660
  22. package/lib/contracts/types/generated/GNSPairsStorageV6.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/GNSTradingCallbacksV6_3_2.d.ts +0 -806
  28. package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.js +0 -2
  29. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.d.ts +0 -821
  30. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.js +0 -2
  31. package/lib/contracts/types/generated/GNSTradingStorage.d.ts +0 -1387
  32. package/lib/contracts/types/generated/GNSTradingStorage.js +0 -2
  33. package/lib/contracts/types/generated/GTokenV6_3_2.d.ts +0 -1838
  34. package/lib/contracts/types/generated/GTokenV6_3_2.js +0 -2
  35. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +0 -83
  36. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +0 -2691
  37. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.d.ts +0 -88
  38. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.js +0 -1654
  39. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.d.ts +0 -113
  40. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.js +0 -1742
  41. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +0 -124
  42. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +0 -1784
  43. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +0 -100
  44. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +0 -1116
  45. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +0 -100
  46. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +0 -1003
  47. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.d.ts +0 -98
  48. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.js +0 -1485
  49. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.d.ts +0 -117
  50. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.js +0 -1265
  51. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.d.ts +0 -82
  52. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.js +0 -1273
  53. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.d.ts +0 -82
  54. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.js +0 -1326
  55. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +0 -113
  56. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +0 -1428
  57. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +0 -96
  58. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +0 -2241
  59. package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +0 -95
  60. package/lib/contracts/types/generated/factories/GNSTrading__factory.js +0 -1071
  61. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.d.ts +0 -110
  62. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.js +0 -2682
  63. package/lib/contracts/utils/openLimitOrders.d.ts +0 -8
  64. package/lib/contracts/utils/openLimitOrders.js +0 -88
  65. package/lib/trade/openLimitOrder.d.ts +0 -2
  66. package/lib/trade/openLimitOrder.js +0 -23
@@ -232,6 +232,9 @@ export declare const pairs: {
232
232
  "MSN/USD": string;
233
233
  "REZ/USD": string;
234
234
  "NOT/USD": string;
235
+ "IO/USD": string;
236
+ "BRETT/USD": string;
237
+ "ATH/USD": string;
235
238
  };
236
239
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
237
240
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -240,6 +240,9 @@ exports.pairs = {
240
240
  "MSN/USD": CRYPTO,
241
241
  "REZ/USD": CRYPTO,
242
242
  "NOT/USD": CRYPTO,
243
+ "IO/USD": CRYPTO,
244
+ "BRETT/USD": CRYPTO,
245
+ "ATH/USD": CRYPTO,
243
246
  };
244
247
  const getAssetClassFromGroupIndex = (groupIndex) => {
245
248
  switch (groupIndex) {
@@ -273,6 +276,7 @@ exports.stockSplits = {
273
276
  exports.delistedPairIxs = new Set([
274
277
  6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
275
278
  70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
276
- 89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229,
279
+ 89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 155, 233,
280
+ 234, 235,
277
281
  ]);
278
282
  exports.delistedGroupsIxs = new Set([6, 7]);
@@ -338,4 +338,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
338
338
  [types_1.PairIndex.MSNUSD]: "Meson Network to US Dollar",
339
339
  [types_1.PairIndex.REZUSD]: "Renzo to US Dollar",
340
340
  [types_1.PairIndex.NOTUSD]: "Notcoin to US Dollar",
341
+ [types_1.PairIndex.IOUSD]: "Ionet to US Dollar",
342
+ [types_1.PairIndex.BRETTUSD]: "Brett to US Dollar",
343
+ [types_1.PairIndex.ATHUSD]: "Aethir to US Dollar",
341
344
  };
@@ -419,5 +419,8 @@ export declare enum PairIndex {
419
419
  LLUSD = 229,
420
420
  MSNUSD = 230,
421
421
  REZUSD = 231,
422
- NOTUSD = 232
422
+ NOTUSD = 232,
423
+ IOUSD = 233,
424
+ BRETTUSD = 234,
425
+ ATHUSD = 235
423
426
  }
@@ -262,4 +262,7 @@ var PairIndex;
262
262
  PairIndex[PairIndex["MSNUSD"] = 230] = "MSNUSD";
263
263
  PairIndex[PairIndex["REZUSD"] = 231] = "REZUSD";
264
264
  PairIndex[PairIndex["NOTUSD"] = 232] = "NOTUSD";
265
+ PairIndex[PairIndex["IOUSD"] = 233] = "IOUSD";
266
+ PairIndex[PairIndex["BRETTUSD"] = 234] = "BRETTUSD";
267
+ PairIndex[PairIndex["ATHUSD"] = 235] = "ATHUSD";
265
268
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.2-rc1",
3
+ "version": "0.2.3-rc1",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [