@gainsnetwork/sdk 1.0.0-rc9 → 1.0.1-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 (50) hide show
  1. package/lib/constants.d.ts +5 -0
  2. package/lib/constants.js +5 -0
  3. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.d.ts +979 -0
  4. package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.js +2 -0
  5. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.d.ts +1058 -0
  6. package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.js +2 -0
  7. package/lib/contracts/types/generated/GNSMultiCollatDiamond.d.ts +7 -20
  8. package/lib/contracts/types/generated/GNSPairInfosV6_1.d.ts +911 -0
  9. package/lib/contracts/types/generated/GNSPairInfosV6_1.js +2 -0
  10. package/lib/contracts/types/generated/GNSPairsStorageV6.d.ts +660 -0
  11. package/lib/contracts/types/generated/GNSPairsStorageV6.js +2 -0
  12. package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.d.ts +806 -0
  13. package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.js +2 -0
  14. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.d.ts +821 -0
  15. package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.js +2 -0
  16. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.d.ts +88 -0
  17. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.js +1654 -0
  18. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.d.ts +113 -0
  19. package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.js +1742 -0
  20. package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +7 -16
  21. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.d.ts +98 -0
  22. package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.js +1485 -0
  23. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.d.ts +117 -0
  24. package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.js +1265 -0
  25. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.d.ts +82 -0
  26. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.js +1273 -0
  27. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.d.ts +82 -0
  28. package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.js +1326 -0
  29. package/lib/contracts/types/generated/factories/GToken__factory.d.ts +7 -0
  30. package/lib/contracts/types/generated/factories/GToken__factory.js +4 -0
  31. package/lib/contracts/utils/pairs.js +5 -0
  32. package/lib/markets/holdingFees/index.js +1 -2
  33. package/lib/markets/oi/fetcher.d.ts +58 -0
  34. package/lib/markets/oi/fetcher.js +181 -0
  35. package/lib/markets/oi/validation.d.ts +80 -0
  36. package/lib/markets/oi/validation.js +172 -0
  37. package/lib/trade/fees/fundingFees/builder.js +5 -1
  38. package/lib/trade/fees/fundingFees/converter.js +1 -1
  39. package/lib/trade/fees/fundingFees/index.js +33 -0
  40. package/lib/trade/fees/holdingFees/index.d.ts +46 -0
  41. package/lib/trade/fees/holdingFees/index.js +105 -0
  42. package/lib/trade/fees/holdingFees/types.d.ts +23 -0
  43. package/lib/trade/fees/holdingFees/types.js +5 -0
  44. package/lib/trade/fees/trading/holdingFees.d.ts +28 -0
  45. package/lib/trade/fees/trading/holdingFees.js +66 -0
  46. package/lib/trade/fees/trading/holdingFeesStructured.d.ts +28 -0
  47. package/lib/trade/fees/trading/holdingFeesStructured.js +66 -0
  48. package/lib/trade/types.d.ts +6 -1
  49. package/lib/trade/types.js +5 -0
  50. package/package.json +1 -1
@@ -407,6 +407,11 @@ export declare const pairs: {
407
407
  "ICNT/USD": string;
408
408
  "NEWT/USD": string;
409
409
  "PUMP/USD": string;
410
+ "SAROS/USD": string;
411
+ "SPK/USD": string;
412
+ "ERA/USD": string;
413
+ "BGSC/USD": string;
414
+ "TAG/USD": string;
410
415
  };
411
416
  export declare const syntheticPairs: Set<string>;
412
417
  export declare const parentToSyntheticPairMap: Map<string, string>;
package/lib/constants.js CHANGED
@@ -415,6 +415,11 @@ exports.pairs = {
415
415
  "ICNT/USD": CRYPTO,
416
416
  "NEWT/USD": CRYPTO,
417
417
  "PUMP/USD": CRYPTO,
418
+ "SAROS/USD": CRYPTO,
419
+ "SPK/USD": CRYPTO,
420
+ "ERA/USD": CRYPTO,
421
+ "BGSC/USD": CRYPTO,
422
+ "TAG/USD": CRYPTO,
418
423
  };
419
424
  exports.syntheticPairs = new Set([
420
425
  "BTCDEGEN/USD",