@gainsnetwork/sdk 0.2.31-rc2 → 0.2.31-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 (34) hide show
  1. package/lib/constants.d.ts +1 -0
  2. package/lib/constants.js +2 -1
  3. package/lib/contracts/utils/pairs.js +1 -0
  4. package/lib/trade/types.d.ts +2 -1
  5. package/lib/trade/types.js +1 -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/GNSNftRewardsV6.d.ts +0 -533
  12. package/lib/contracts/types/generated/GNSNftRewardsV6.js +0 -2
  13. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +0 -613
  14. package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +0 -2
  15. package/lib/contracts/types/generated/GNSTrading.d.ts +0 -758
  16. package/lib/contracts/types/generated/GNSTrading.js +0 -2
  17. package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +0 -875
  18. package/lib/contracts/types/generated/GNSTradingCallbacks.js +0 -2
  19. package/lib/contracts/types/generated/GNSTradingStorage.d.ts +0 -1387
  20. package/lib/contracts/types/generated/GNSTradingStorage.js +0 -2
  21. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +0 -83
  22. package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +0 -2691
  23. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +0 -124
  24. package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +0 -1784
  25. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +0 -100
  26. package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +0 -1116
  27. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +0 -100
  28. package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +0 -1003
  29. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +0 -113
  30. package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +0 -1428
  31. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +0 -96
  32. package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +0 -2241
  33. package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +0 -95
  34. package/lib/contracts/types/generated/factories/GNSTrading__factory.js +0 -1071
@@ -280,6 +280,7 @@ export declare const pairs: {
280
280
  "CATI/USD": string;
281
281
  "LOOM/USD": string;
282
282
  "ZETA/USD": string;
283
+ "HMSTR/USD": string;
283
284
  };
284
285
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
285
286
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -288,6 +288,7 @@ exports.pairs = {
288
288
  "CATI/USD": CRYPTO,
289
289
  "LOOM/USD": CRYPTO,
290
290
  "ZETA/USD": CRYPTO,
291
+ "HMSTR/USD": CRYPTO,
291
292
  };
292
293
  const getAssetClassFromGroupIndex = (groupIndex) => {
293
294
  switch (groupIndex) {
@@ -323,7 +324,7 @@ exports.delistedPairIxs = new Set([
323
324
  6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
324
325
  71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
325
326
  97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 155,
326
- 15, 170, 239, 254, 230, 4, 275,
327
+ 15, 170, 239, 254, 230, 4, 275, 281,
327
328
  ]);
328
329
  exports.delistedGroupsIxs = new Set([6, 7]);
329
330
  exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
@@ -386,4 +386,5 @@ const PAIR_INDEX_TO_DESCRIPTION = {
386
386
  [types_1.PairIndex.CATIUSD]: "Catizen to US Dollar",
387
387
  [types_1.PairIndex.LOOMUSD]: "Loom Network to US Dollar",
388
388
  [types_1.PairIndex.ZETAUSD]: "ZetaChain to US Dollar",
389
+ [types_1.PairIndex.HMSTRUSD]: "Hamster Kombat to US Dollar",
389
390
  };
@@ -489,5 +489,6 @@ export declare enum PairIndex {
489
489
  CKBUSD = 277,
490
490
  CATIUSD = 278,
491
491
  LOOMUSD = 279,
492
- ZETAUSD = 280
492
+ ZETAUSD = 280,
493
+ HMSTRUSD = 281
493
494
  }
@@ -310,4 +310,5 @@ var PairIndex;
310
310
  PairIndex[PairIndex["CATIUSD"] = 278] = "CATIUSD";
311
311
  PairIndex[PairIndex["LOOMUSD"] = 279] = "LOOMUSD";
312
312
  PairIndex[PairIndex["ZETAUSD"] = 280] = "ZETAUSD";
313
+ PairIndex[PairIndex["HMSTRUSD"] = 281] = "HMSTRUSD";
313
314
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.31-rc2",
3
+ "version": "0.2.31-rc3",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [