@gainsnetwork/sdk 0.2.6-rc1 → 0.2.7-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 +7 -0
  2. package/lib/constants.js +7 -0
  3. package/lib/contracts/utils/pairs.js +7 -0
  4. package/lib/trade/types.d.ts +8 -1
  5. package/lib/trade/types.js +7 -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
@@ -239,6 +239,13 @@ export declare const pairs: {
239
239
  "ZK/USD": string;
240
240
  "LISTA/USD": string;
241
241
  "BLAST/USD": string;
242
+ "RATS/USD": string;
243
+ "BNX/USD": string;
244
+ "PEOPLE/USD": string;
245
+ "TURBO/USD": string;
246
+ "SATS/USD": string;
247
+ "POPCAT/USD": string;
248
+ "MOG/USD": string;
242
249
  };
243
250
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
244
251
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -247,6 +247,13 @@ exports.pairs = {
247
247
  "ZK/USD": CRYPTO,
248
248
  "LISTA/USD": CRYPTO,
249
249
  "BLAST/USD": CRYPTO,
250
+ "RATS/USD": CRYPTO,
251
+ "BNX/USD": CRYPTO,
252
+ "PEOPLE/USD": CRYPTO,
253
+ "TURBO/USD": CRYPTO,
254
+ "SATS/USD": CRYPTO,
255
+ "POPCAT/USD": CRYPTO,
256
+ "MOG/USD": CRYPTO,
250
257
  };
251
258
  const getAssetClassFromGroupIndex = (groupIndex) => {
252
259
  switch (groupIndex) {
@@ -345,4 +345,11 @@ const PAIR_INDEX_TO_DESCRIPTION = {
345
345
  [types_1.PairIndex.ZKUSD]: "ZKsync to US Dollar",
346
346
  [types_1.PairIndex.LISTAUSD]: "Lista DAO to US Dollar",
347
347
  [types_1.PairIndex.BLASTUSD]: "Blast to US Dollar",
348
+ [types_1.PairIndex.RATSUSD]: "Rats to US Dollar",
349
+ [types_1.PairIndex.BNXUSD]: "BinaryX to US Dollar",
350
+ [types_1.PairIndex.PEOPLEUSD]: "Constitution DAO to US Dollar",
351
+ [types_1.PairIndex.TURBOUSD]: "Turbo to US Dollar",
352
+ [types_1.PairIndex.SATSUSD]: "SATS Ordinals to US Dollar",
353
+ [types_1.PairIndex.POPCATUSD]: "Popcat to US Dollar",
354
+ [types_1.PairIndex.MOGUSD]: "Mog Coin to US Dollar",
348
355
  };
@@ -429,5 +429,12 @@ export declare enum PairIndex {
429
429
  ZROUSD = 236,
430
430
  ZKUSD = 237,
431
431
  LISTAUSD = 238,
432
- BLASTUSD = 239
432
+ BLASTUSD = 239,
433
+ RATSUSD = 240,
434
+ BNXUSD = 241,
435
+ PEOPLEUSD = 242,
436
+ TURBOUSD = 243,
437
+ SATSUSD = 244,
438
+ POPCATUSD = 245,
439
+ MOGUSD = 246
433
440
  }
@@ -269,4 +269,11 @@ var PairIndex;
269
269
  PairIndex[PairIndex["ZKUSD"] = 237] = "ZKUSD";
270
270
  PairIndex[PairIndex["LISTAUSD"] = 238] = "LISTAUSD";
271
271
  PairIndex[PairIndex["BLASTUSD"] = 239] = "BLASTUSD";
272
+ PairIndex[PairIndex["RATSUSD"] = 240] = "RATSUSD";
273
+ PairIndex[PairIndex["BNXUSD"] = 241] = "BNXUSD";
274
+ PairIndex[PairIndex["PEOPLEUSD"] = 242] = "PEOPLEUSD";
275
+ PairIndex[PairIndex["TURBOUSD"] = 243] = "TURBOUSD";
276
+ PairIndex[PairIndex["SATSUSD"] = 244] = "SATSUSD";
277
+ PairIndex[PairIndex["POPCATUSD"] = 245] = "POPCATUSD";
278
+ PairIndex[PairIndex["MOGUSD"] = 246] = "MOGUSD";
272
279
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.6-rc1",
3
+ "version": "0.2.7-rc1",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [