@gainsnetwork/sdk 0.1.28-rc2 → 0.1.29-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 (34) hide show
  1. package/lib/constants.d.ts +2 -0
  2. package/lib/constants.js +3 -1
  3. package/lib/contracts/utils/pairs.js +2 -0
  4. package/lib/trade/types.d.ts +3 -1
  5. package/lib/trade/types.js +2 -0
  6. package/package.json +1 -1
  7. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.d.ts +0 -979
  8. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.js +0 -2
  9. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.d.ts +0 -1058
  10. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.js +0 -2
  11. package/lib/contracts/types/generated/GNSPairInfosV6_1.d.ts +0 -911
  12. package/lib/contracts/types/generated/GNSPairInfosV6_1.js +0 -2
  13. package/lib/contracts/types/generated/GNSPairsStorageV6.d.ts +0 -660
  14. package/lib/contracts/types/generated/GNSPairsStorageV6.js +0 -2
  15. package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.d.ts +0 -806
  16. package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.js +0 -2
  17. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.d.ts +0 -821
  18. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.js +0 -2
  19. package/lib/contracts/types/generated/GTokenV6_3_2.d.ts +0 -1838
  20. package/lib/contracts/types/generated/GTokenV6_3_2.js +0 -2
  21. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.d.ts +0 -88
  22. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.js +0 -1654
  23. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.d.ts +0 -113
  24. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.js +0 -1742
  25. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.d.ts +0 -98
  26. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.js +0 -1485
  27. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.d.ts +0 -117
  28. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.js +0 -1265
  29. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.d.ts +0 -82
  30. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.js +0 -1273
  31. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.d.ts +0 -82
  32. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.js +0 -1326
  33. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.d.ts +0 -110
  34. package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.js +0 -2682
@@ -229,6 +229,8 @@ export declare const pairs: {
229
229
  "SAFE/USD": string;
230
230
  "SAGA/USD": string;
231
231
  "LL/USD": string;
232
+ "MSN/USD": string;
233
+ "REZ/USD": string;
232
234
  };
233
235
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
234
236
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -237,6 +237,8 @@ exports.pairs = {
237
237
  "SAFE/USD": CRYPTO,
238
238
  "SAGA/USD": CRYPTO,
239
239
  "LL/USD": CRYPTO,
240
+ "MSN/USD": CRYPTO,
241
+ "REZ/USD": CRYPTO,
240
242
  };
241
243
  const getAssetClassFromGroupIndex = (groupIndex) => {
242
244
  switch (groupIndex) {
@@ -270,6 +272,6 @@ exports.stockSplits = {
270
272
  exports.delistedPairIxs = new Set([
271
273
  6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
272
274
  70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
273
- 89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229,
275
+ 89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 230, 231,
274
276
  ]);
275
277
  exports.delistedGroupsIxs = new Set([6, 7]);
@@ -332,4 +332,6 @@ const PAIR_INDEX_TO_DESCRIPTION = {
332
332
  [types_1.PairIndex.SAFEUSD]: "Safe to US Dollar",
333
333
  [types_1.PairIndex.SAGAUSD]: "Saga to US Dollar",
334
334
  [types_1.PairIndex.LLUSD]: "Light Link to US Dollar",
335
+ [types_1.PairIndex.MSNUSD]: "Meson Network to US Dollar",
336
+ [types_1.PairIndex.REZUSD]: "Renzo to US Dollar",
335
337
  };
@@ -423,5 +423,7 @@ export declare enum PairIndex {
423
423
  MERLUSD = 226,
424
424
  SAFEUSD = 227,
425
425
  SAGAUSD = 228,
426
- LLUSD = 229
426
+ LLUSD = 229,
427
+ MSNUSD = 230,
428
+ REZUSD = 231
427
429
  }
@@ -244,4 +244,6 @@ var PairIndex;
244
244
  PairIndex[PairIndex["SAFEUSD"] = 227] = "SAFEUSD";
245
245
  PairIndex[PairIndex["SAGAUSD"] = 228] = "SAGAUSD";
246
246
  PairIndex[PairIndex["LLUSD"] = 229] = "LLUSD";
247
+ PairIndex[PairIndex["MSNUSD"] = 230] = "MSNUSD";
248
+ PairIndex[PairIndex["REZUSD"] = 231] = "REZUSD";
247
249
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.1.28-rc2",
3
+ "version": "0.1.29-rc1",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [