lynx-client 0.0.31 → 0.0.33

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 (213) hide show
  1. package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  2. package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  3. package/dist/cjs/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  4. package/dist/cjs/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  5. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  6. package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +50 -50
  7. package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  8. package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  9. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  10. package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  11. package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  12. package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  13. package/dist/cjs/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  14. package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  15. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +78 -71
  16. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  17. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  18. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +8 -8
  19. package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  20. package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  21. package/dist/cjs/lib/priceFeeds/pyth/pythFeedConstants.js +1 -5
  22. package/dist/cjs/lib/priceFeeds/pyth/pythFeedFunctions.js +9 -1
  23. package/dist/esm/index.d.ts +1 -0
  24. package/dist/esm/index.d.ts.map +1 -1
  25. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  26. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  27. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  28. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  29. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  30. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  31. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  32. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  33. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  34. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  35. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  36. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  37. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  38. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  39. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  40. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  41. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  42. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  43. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  44. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  45. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  46. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  47. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  48. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  49. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  50. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  51. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +50 -50
  52. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  53. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  54. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  55. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  56. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  57. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  58. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  59. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  60. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  61. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  62. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  63. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  64. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  65. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  66. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  67. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  68. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  69. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  70. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  71. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  72. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  73. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  74. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  75. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  76. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  77. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  78. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  79. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  80. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  81. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  82. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  83. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  84. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  85. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  86. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  87. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +30 -30
  88. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  89. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  90. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +78 -71
  91. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  92. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  93. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  94. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  95. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  96. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  97. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  98. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  99. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  100. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
  101. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  102. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
  103. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  104. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +8 -8
  105. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  106. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  107. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  108. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  109. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  110. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  111. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  112. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  113. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  114. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  115. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  116. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  117. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  118. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  119. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  120. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  121. package/dist/esm/lib/contractsIntegration/common/index.d.ts +30 -0
  122. package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
  123. package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.d.ts +0 -1
  124. package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
  125. package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.js +1 -5
  126. package/dist/esm/lib/priceFeeds/pyth/pythFeedFunctions.d.ts +5 -0
  127. package/dist/esm/lib/priceFeeds/pyth/pythFeedFunctions.d.ts.map +1 -1
  128. package/dist/esm/lib/priceFeeds/pyth/pythFeedFunctions.js +9 -1
  129. package/dist/types/index.d.ts +1 -0
  130. package/dist/types/index.d.ts.map +1 -1
  131. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  132. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  133. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  134. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  135. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  136. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  137. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  138. package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  139. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  140. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  141. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  142. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  143. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  144. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  145. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  146. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  147. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  148. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  149. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  150. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  151. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  152. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  153. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  154. package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  155. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  156. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  157. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  158. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  159. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  160. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  161. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  162. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  163. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  164. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  165. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  166. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  167. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  168. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  169. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  170. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  171. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  172. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  173. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  174. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  175. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  176. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  177. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  178. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  179. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +30 -30
  180. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  181. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  182. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  183. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  184. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  185. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  186. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  187. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  188. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  189. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
  190. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  191. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
  192. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  193. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  194. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  195. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  196. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  197. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  198. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  199. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  200. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  201. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  202. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  203. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  204. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  205. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  206. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  207. package/dist/types/lib/contractsIntegration/common/index.d.ts +30 -0
  208. package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
  209. package/dist/types/lib/priceFeeds/pyth/pythFeedConstants.d.ts +0 -1
  210. package/dist/types/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
  211. package/dist/types/lib/priceFeeds/pyth/pythFeedFunctions.d.ts +5 -0
  212. package/dist/types/lib/priceFeeds/pyth/pythFeedFunctions.d.ts.map +1 -1
  213. package/package.json +1 -1
@@ -1,11 +1,12 @@
1
1
  import { ContractTransactionResponse } from "ethers";
2
+ import { CallOptions, TransactionOptions } from "../common";
2
3
  export interface IWrappedNativeEngineChipHelperFunctionsGroup_WrapAndMint {
3
4
  /**
4
5
  * Wraps native tokens and mints engine chips
5
6
  * Payable function - native tokens sent as msg.value
6
7
  * @returns ContractTransactionResponse
7
8
  */
8
- wrapNativeAndMintEngineChip(nativeAmount: bigint): Promise<ContractTransactionResponse>;
9
+ wrapNativeAndMintEngineChip(nativeAmount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
9
10
  }
10
11
  export interface IWrappedNativeEngineChipHelperFunctionsGroup_BurnHandling {
11
12
  /**
@@ -16,21 +17,21 @@ export interface IWrappedNativeEngineChipHelperFunctionsGroup_BurnHandling {
16
17
  * @param arg3 Additional data parameter
17
18
  * @returns ContractTransactionResponse
18
19
  */
19
- handleBurn(burner: string, arg1: bigint, underlyingAmount: bigint, arg3: string): Promise<ContractTransactionResponse>;
20
+ handleBurn(burner: string, arg1: bigint, underlyingAmount: bigint, arg3: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
20
21
  }
21
22
  export interface IWrappedNativeEngineChipHelperFunctionsGroup_ViewFunctions {
22
23
  /**
23
24
  * Get the wrapped native engine chip contract address
24
25
  */
25
- wrappedNativeEngineChip(): Promise<string>;
26
+ wrappedNativeEngineChip(callOptions?: CallOptions): Promise<string>;
26
27
  /**
27
28
  * Get the wrapped native token contract address
28
29
  */
29
- wrappedNativeToken(): Promise<string>;
30
+ wrappedNativeToken(callOptions?: CallOptions): Promise<string>;
30
31
  /**
31
32
  * Check if wrapped native token returns uint256
32
33
  */
33
- wrappedNativeReturnsUint256(): Promise<boolean>;
34
+ wrappedNativeReturnsUint256(callOptions?: CallOptions): Promise<boolean>;
34
35
  }
35
36
  export interface IWrappedNativeEngineChipHelperService {
36
37
  wrapAndMint: IWrappedNativeEngineChipHelperFunctionsGroup_WrapAndMint;
@@ -1 +1 @@
1
- {"version":3,"file":"IWrappedNativeEngineChipHelperService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AAIrD,MAAM,WAAW,wDAAwD;IACvE;;;;OAIG;IACH,2BAA2B,CACzB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,yDAAyD;IACxE;;;;;;;OAOG;IACH,UAAU,CACR,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,0DAA0D;IACzE;;OAEG;IACH,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,2BAA2B,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACjD;AAID,MAAM,WAAW,qCAAqC;IACpD,WAAW,EAAE,wDAAwD,CAAC;IACtE,YAAY,EAAE,yDAAyD,CAAC;IACxE,aAAa,EAAE,0DAA0D,CAAC;CAC3E"}
1
+ {"version":3,"file":"IWrappedNativeEngineChipHelperService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAI5D,MAAM,WAAW,wDAAwD;IACvE;;;;OAIG;IACH,2BAA2B,CACzB,YAAY,EAAE,MAAM,EACpB,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,yDAAyD;IACxE;;;;;;;OAOG;IACH,UAAU,CACR,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,MAAM,EACZ,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,0DAA0D;IACzE;;OAEG;IACH,uBAAuB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEpE;;OAEG;IACH,kBAAkB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE/D;;OAEG;IACH,2BAA2B,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC1E;AAID,MAAM,WAAW,qCAAqC;IACpD,WAAW,EAAE,wDAAwD,CAAC;IACtE,YAAY,EAAE,yDAAyD,CAAC;IACxE,aAAa,EAAE,0DAA0D,CAAC;CAC3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"WrappedNativeEngineChipHelperService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0EAA0E,CAAC;AAEzH,OAAO,EACL,qCAAqC,EACrC,wDAAwD,EACxD,yDAAyD,EACzD,0DAA0D,EAC3D,MAAM,yCAAyC,CAAC;AAmEjD;;;;GAIG;AACH,qBAAa,oCACX,YAAW,qCAAqC;IAEhD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IAEnC,SAAgB,WAAW,EAAE,wDAAwD,CAAC;IACtF,SAAgB,YAAY,EAAE,yDAAyD,CAAC;IACxF,SAAgB,aAAa,EAAE,0DAA0D,CAAC;gBAE9E,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAahE,WAAW,IAAI,6BAA6B;CAG7C"}
1
+ {"version":3,"file":"WrappedNativeEngineChipHelperService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0EAA0E,CAAC;AAEzH,OAAO,EACL,qCAAqC,EACrC,wDAAwD,EACxD,yDAAyD,EACzD,0DAA0D,EAC3D,MAAM,yCAAyC,CAAC;AAsEjD;;;;GAIG;AACH,qBAAa,oCACX,YAAW,qCAAqC;IAEhD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IAEnC,SAAgB,WAAW,EAAE,wDAAwD,CAAC;IACtF,SAAgB,YAAY,EAAE,yDAAyD,CAAC;IACxF,SAAgB,aAAa,EAAE,0DAA0D,CAAC;gBAE9E,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAahE,WAAW,IAAI,6BAA6B;CAG7C"}
@@ -1,11 +1,12 @@
1
+ import { CallOptions } from ".";
1
2
  /**
2
3
  * Common interface for Lynx versioned contracts
3
4
  * All Lynx contracts implement these versioning methods
4
5
  */
5
6
  export interface ILynxVersionedContract {
6
- getContractName(): Promise<string>;
7
- getContractVersion(): Promise<string>;
8
- CONTRACT_NAME(): Promise<string>;
9
- CONTRACT_VERSION(): Promise<string>;
7
+ getContractName(callOptions?: CallOptions): Promise<string>;
8
+ getContractVersion(callOptions?: CallOptions): Promise<string>;
9
+ CONTRACT_NAME(callOptions?: CallOptions): Promise<string>;
10
+ CONTRACT_VERSION(callOptions?: CallOptions): Promise<string>;
10
11
  }
11
12
  //# sourceMappingURL=ILynxVersionedContract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ILynxVersionedContract.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/ILynxVersionedContract.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAClC,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACrC,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAChC,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACpC"}
1
+ {"version":3,"file":"ILynxVersionedContract.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/ILynxVersionedContract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAE/B;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,eAAe,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC3D,kBAAkB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC9D,aAAa,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACzD,gBAAgB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7D"}
@@ -1,9 +1,10 @@
1
+ import { CallOptions } from ".";
1
2
  /**
2
3
  * Common interface for contracts with pendable admin pattern
3
4
  * Allows for two-step admin transfer process
4
5
  */
5
6
  export interface IPendableAdmin {
6
- admin(): Promise<string>;
7
- pendingAdmin(): Promise<string>;
7
+ admin(callOptions?: CallOptions): Promise<string>;
8
+ pendingAdmin(callOptions?: CallOptions): Promise<string>;
8
9
  }
9
10
  //# sourceMappingURL=IPendableAdmin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IPendableAdmin.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableAdmin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAChC"}
1
+ {"version":3,"file":"IPendableAdmin.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableAdmin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAE/B;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjD,YAAY,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACzD"}
@@ -1,9 +1,10 @@
1
+ import { CallOptions } from ".";
1
2
  /**
2
3
  * Common interface for upgradeable contracts with pendable implementation pattern
3
4
  * Allows for two-step implementation upgrade process
4
5
  */
5
6
  export interface IPendableImplementation {
6
- implementation(): Promise<string>;
7
- pendingImplementation(): Promise<string>;
7
+ implementation(callOptions?: CallOptions): Promise<string>;
8
+ pendingImplementation(callOptions?: CallOptions): Promise<string>;
8
9
  }
9
10
  //# sourceMappingURL=IPendableImplementation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IPendableImplementation.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableImplementation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACjC,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACzC"}
1
+ {"version":3,"file":"IPendableImplementation.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableImplementation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAE/B;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC1D,qBAAqB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAClE"}
@@ -1,3 +1,4 @@
1
+ import { CallOptions } from ".";
1
2
  /**
2
3
  * Common interface for protocol-wide constants used across multiple contracts
3
4
  * These constants define the scaling factors and precision levels used throughout the Lynx protocol
@@ -7,26 +8,26 @@ export interface IProtocolConstants {
7
8
  * Scale factor for fraction calculations (typically 100,000 for 5 decimal precision)
8
9
  * Used for percentage-based calculations like fees, rates, etc.
9
10
  */
10
- FRACTION_SCALE(): Promise<bigint>;
11
+ FRACTION_SCALE(callOptions?: CallOptions): Promise<bigint>;
11
12
  /**
12
13
  * General precision constant used for various calculations
13
14
  * The specific value and usage may vary by contract
14
15
  */
15
- PRECISION(): Promise<bigint>;
16
+ PRECISION(callOptions?: CallOptions): Promise<bigint>;
16
17
  /**
17
18
  * Scale factor for leverage values (typically 100)
18
19
  * Leverage of 25x is stored as 2500
19
20
  */
20
- LEVERAGE_SCALE(): Promise<bigint>;
21
+ LEVERAGE_SCALE(callOptions?: CallOptions): Promise<bigint>;
21
22
  /**
22
23
  * Optional: Scale factor for improved calculation accuracy
23
24
  * Not all contracts implement this
24
25
  */
25
- ACCURACY_IMPROVEMENT_SCALE?(): Promise<bigint>;
26
+ ACCURACY_IMPROVEMENT_SCALE?(callOptions?: CallOptions): Promise<bigint>;
26
27
  /**
27
28
  * Optional: Unit scale specific to the contract
28
29
  * Used in contracts like LexPool for internal calculations
29
30
  */
30
- SELF_UNIT_SCALE?(): Promise<bigint>;
31
+ SELF_UNIT_SCALE?(callOptions?: CallOptions): Promise<bigint>;
31
32
  }
32
33
  //# sourceMappingURL=IProtocolConstants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IProtocolConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IProtocolConstants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjC;;;OAGG;IACH,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAE5B;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjC;;;OAGG;IACH,0BAA0B,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAE9C;;;OAGG;IACH,eAAe,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACpC"}
1
+ {"version":3,"file":"IProtocolConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IProtocolConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAE/B;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAE1D;;;OAGG;IACH,SAAS,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAErD;;;OAGG;IACH,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAE1D;;;OAGG;IACH,0BAA0B,CAAC,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEvE;;;OAGG;IACH,eAAe,CAAC,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7D"}
@@ -2,4 +2,34 @@ export type { ILynxVersionedContract } from "./ILynxVersionedContract";
2
2
  export type { IPendableAdmin } from "./IPendableAdmin";
3
3
  export type { IPendableImplementation } from "./IPendableImplementation";
4
4
  export type { IProtocolConstants } from "./IProtocolConstants";
5
+ /**
6
+ * Optional transaction overrides for gas settings.
7
+ * Compatible with ethers v6 transaction options.
8
+ */
9
+ export interface TransactionOptions {
10
+ gasLimit?: bigint;
11
+ gasPrice?: bigint;
12
+ maxFeePerGas?: bigint;
13
+ maxPriorityFeePerGas?: bigint;
14
+ }
15
+ /**
16
+ * State override for a single address in eth_call.
17
+ * Allows simulating contract state changes without actual transactions.
18
+ */
19
+ export interface StateOverride {
20
+ balance?: bigint;
21
+ nonce?: bigint;
22
+ code?: string;
23
+ state?: Record<string, string>;
24
+ stateDiff?: Record<string, string>;
25
+ }
26
+ /**
27
+ * Optional call overrides for view functions.
28
+ * Compatible with ethers v6 call options.
29
+ */
30
+ export interface CallOptions {
31
+ blockTag?: 'latest' | 'pending' | 'finalized' | 'safe' | 'earliest' | number | bigint;
32
+ from?: string;
33
+ stateOverride?: Record<string, StateOverride>;
34
+ }
5
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;IACrF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;CAC9C"}
@@ -1,6 +1,5 @@
1
1
  import { TPairIds } from "../../constants/pairIds";
2
2
  export declare const PYTH_PRICE_KEYS: Record<TPairIds, string>;
3
- export declare const PYTH_PRICE_ENTRIES: [TPairIds, string][];
4
3
  export declare const PYTH_PAIRS_PRICE_FEED_IDS: Record<TPairIds, string>;
5
4
  export declare const PYTH_PRICE_FEED_ID_TO_PAIR: Record<string, TPairIds>;
6
5
  //# sourceMappingURL=pythFeedConstants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pythFeedConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/priceFeeds/pyth/pythFeedConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAgCpD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAKjD,CAAC;AAGH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAyC9D,CAAC;AAGF,eAAO,MAAM,0BAA0B,0BAKjC,CAAC"}
1
+ {"version":3,"file":"pythFeedConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/priceFeeds/pyth/pythFeedConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAgCpD,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAyC9D,CAAC;AAGF,eAAO,MAAM,0BAA0B,0BAKjC,CAAC"}
@@ -3,6 +3,11 @@ import { TPairIds } from "../../constants/pairIds";
3
3
  * Get the Pyth feed id for a pair
4
4
  * @param pairId The pair id
5
5
  */
6
+ export declare function getPythPriceKeyForPair(pairId: TPairIds): string;
7
+ /**
8
+ * Get the Pyth Feed ID for Pair ID
9
+ * @param feedId The Pyth feed id
10
+ */
6
11
  export declare function getPythFeedIdForPair(pairId: TPairIds): string;
7
12
  /**
8
13
  * Get the Pair ID for Pyth Feed ID (reversal lookup)
@@ -1 +1 @@
1
- {"version":3,"file":"pythFeedFunctions.d.ts","sourceRoot":"","sources":["../../../../../lib/priceFeeds/pyth/pythFeedFunctions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,GAAG,MAAM,CAE7D;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAE/D"}
1
+ {"version":3,"file":"pythFeedFunctions.d.ts","sourceRoot":"","sources":["../../../../../lib/priceFeeds/pyth/pythFeedFunctions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,QAAQ,GAAG,MAAM,CAE/D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,QAAQ,GAAG,MAAM,CAE7D;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAE/D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lynx-client",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "Client library for interacting with Lynx publicly available services",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",