@gainsnetwork/sdk 0.2.0-rc6 → 0.2.1-rc2

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 +1 -0
  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
@@ -231,6 +231,7 @@ export declare const pairs: {
231
231
  "LL/USD": string;
232
232
  "MSN/USD": string;
233
233
  "REZ/USD": string;
234
+ "NOT/USD": string;
234
235
  };
235
236
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
236
237
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -239,6 +239,7 @@ exports.pairs = {
239
239
  "LL/USD": CRYPTO,
240
240
  "MSN/USD": CRYPTO,
241
241
  "REZ/USD": CRYPTO,
242
+ "NOT/USD": CRYPTO,
242
243
  };
243
244
  const getAssetClassFromGroupIndex = (groupIndex) => {
244
245
  switch (groupIndex) {
@@ -337,4 +337,5 @@ const PAIR_INDEX_TO_DESCRIPTION = {
337
337
  [types_1.PairIndex.LLUSD]: "Light Link to US Dollar",
338
338
  [types_1.PairIndex.MSNUSD]: "Meson Network to US Dollar",
339
339
  [types_1.PairIndex.REZUSD]: "Renzo to US Dollar",
340
+ [types_1.PairIndex.NOTUSD]: "Notcoin to US Dollar",
340
341
  };
@@ -418,5 +418,6 @@ export declare enum PairIndex {
418
418
  SAGAUSD = 228,
419
419
  LLUSD = 229,
420
420
  MSNUSD = 230,
421
- REZUSD = 231
421
+ REZUSD = 231,
422
+ NOTUSD = 232
422
423
  }
@@ -261,4 +261,5 @@ var PairIndex;
261
261
  PairIndex[PairIndex["LLUSD"] = 229] = "LLUSD";
262
262
  PairIndex[PairIndex["MSNUSD"] = 230] = "MSNUSD";
263
263
  PairIndex[PairIndex["REZUSD"] = 231] = "REZUSD";
264
+ PairIndex[PairIndex["NOTUSD"] = 232] = "NOTUSD";
264
265
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.0-rc6",
3
+ "version": "0.2.1-rc2",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [