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
@@ -6,175 +6,175 @@ class OpenTriggers {
6
6
  constructor(triggersContract) {
7
7
  this.triggersContract = triggersContract;
8
8
  }
9
- async market(positionId, pricePayload, nativeFee) {
10
- return this.triggersContract.trigger_openTrade_market(positionId, pricePayload, { value: nativeFee });
9
+ async market(positionId, pricePayload, nativeFee, transactionOptions) {
10
+ return this.triggersContract.trigger_openTrade_market(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
11
11
  }
12
- async limit(positionId, pricePayload, nativeFee) {
13
- return this.triggersContract.trigger_openTrade_limit(positionId, pricePayload, { value: nativeFee });
12
+ async limit(positionId, pricePayload, nativeFee, transactionOptions) {
13
+ return this.triggersContract.trigger_openTrade_limit(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
14
14
  }
15
15
  }
16
16
  class CloseTriggers {
17
17
  constructor(triggersContract) {
18
18
  this.triggersContract = triggersContract;
19
19
  }
20
- async market(positionId, pricePayload, nativeFee) {
21
- return this.triggersContract.trigger_closeTrade_market(positionId, pricePayload, { value: nativeFee });
20
+ async market(positionId, pricePayload, nativeFee, transactionOptions) {
21
+ return this.triggersContract.trigger_closeTrade_market(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
22
22
  }
23
- async takeProfit(positionId, pricePayload, nativeFee) {
24
- return this.triggersContract.trigger_closeTrade_TP(positionId, pricePayload, { value: nativeFee });
23
+ async takeProfit(positionId, pricePayload, nativeFee, transactionOptions) {
24
+ return this.triggersContract.trigger_closeTrade_TP(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
25
25
  }
26
- async stopLoss(positionId, pricePayload, nativeFee) {
27
- return this.triggersContract.trigger_closeTrade_SL(positionId, pricePayload, { value: nativeFee });
26
+ async stopLoss(positionId, pricePayload, nativeFee, transactionOptions) {
27
+ return this.triggersContract.trigger_closeTrade_SL(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
28
28
  }
29
- async liquidation(positionId, pricePayload, nativeFee) {
30
- return this.triggersContract.trigger_closeTrade_LIQ(positionId, pricePayload, { value: nativeFee });
29
+ async liquidation(positionId, pricePayload, nativeFee, transactionOptions) {
30
+ return this.triggersContract.trigger_closeTrade_LIQ(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
31
31
  }
32
32
  }
33
33
  class UpdateTriggers {
34
34
  constructor(triggersContract) {
35
35
  this.triggersContract = triggersContract;
36
36
  }
37
- async takeProfit(positionId, pricePayload, nativeFee) {
38
- return this.triggersContract.trigger_update_TP(positionId, pricePayload, { value: nativeFee });
37
+ async takeProfit(positionId, pricePayload, nativeFee, transactionOptions) {
38
+ return this.triggersContract.trigger_update_TP(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
39
39
  }
40
- async stopLoss(positionId, pricePayload, nativeFee) {
41
- return this.triggersContract.trigger_update_SL(positionId, pricePayload, { value: nativeFee });
40
+ async stopLoss(positionId, pricePayload, nativeFee, transactionOptions) {
41
+ return this.triggersContract.trigger_update_SL(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
42
42
  }
43
- async takeProfitAndStopLoss(positionId, pricePayload, nativeFee) {
44
- return this.triggersContract.trigger_update_TP_and_SL(positionId, pricePayload, { value: nativeFee });
43
+ async takeProfitAndStopLoss(positionId, pricePayload, nativeFee, transactionOptions) {
44
+ return this.triggersContract.trigger_update_TP_and_SL(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
45
45
  }
46
46
  }
47
47
  class TimeoutTriggers {
48
48
  constructor(triggersContract) {
49
49
  this.triggersContract = triggersContract;
50
50
  }
51
- async marketOpen(positionId) {
52
- return this.triggersContract.trigger_timeout_marketOpen(positionId);
51
+ async marketOpen(positionId, transactionOptions) {
52
+ return this.triggersContract.trigger_timeout_marketOpen(positionId, { ...transactionOptions });
53
53
  }
54
- async marketClose(positionId) {
55
- return this.triggersContract.trigger_timeout_marketClose(positionId);
54
+ async marketClose(positionId, transactionOptions) {
55
+ return this.triggersContract.trigger_timeout_marketClose(positionId, { ...transactionOptions });
56
56
  }
57
- async updatePosition(positionId) {
58
- return this.triggersContract.trigger_timeout_updatePosition(positionId);
57
+ async updatePosition(positionId, transactionOptions) {
58
+ return this.triggersContract.trigger_timeout_updatePosition(positionId, { ...transactionOptions });
59
59
  }
60
60
  }
61
61
  class ContractReferences {
62
62
  constructor(triggersContract) {
63
63
  this.triggersContract = triggersContract;
64
64
  }
65
- async orderBook() {
66
- return this.triggersContract.orderBook();
65
+ async orderBook(callOptions) {
66
+ return this.triggersContract.orderBook({ ...callOptions });
67
67
  }
68
- async tradingFloor() {
69
- return this.triggersContract.tradingFloor();
68
+ async tradingFloor(callOptions) {
69
+ return this.triggersContract.tradingFloor({ ...callOptions });
70
70
  }
71
- async priceValidator() {
72
- return this.triggersContract.priceValidator();
71
+ async priceValidator(callOptions) {
72
+ return this.triggersContract.priceValidator({ ...callOptions });
73
73
  }
74
74
  }
75
75
  class PendableAdmin {
76
76
  constructor(triggersContract) {
77
77
  this.triggersContract = triggersContract;
78
78
  }
79
- async admin() {
80
- return this.triggersContract.admin();
79
+ async admin(callOptions) {
80
+ return this.triggersContract.admin({ ...callOptions });
81
81
  }
82
- async pendingAdmin() {
83
- return this.triggersContract.pendingAdmin();
82
+ async pendingAdmin(callOptions) {
83
+ return this.triggersContract.pendingAdmin({ ...callOptions });
84
84
  }
85
85
  }
86
86
  class Status {
87
87
  constructor(triggersContract) {
88
88
  this.triggersContract = triggersContract;
89
89
  }
90
- async isDone() {
91
- return this.triggersContract.isDone();
90
+ async isDone(callOptions) {
91
+ return this.triggersContract.isDone({ ...callOptions });
92
92
  }
93
- async isPaused() {
94
- return this.triggersContract.isPaused();
93
+ async isPaused(callOptions) {
94
+ return this.triggersContract.isPaused({ ...callOptions });
95
95
  }
96
96
  }
97
97
  class Configuration {
98
98
  constructor(triggersContract) {
99
99
  this.triggersContract = triggersContract;
100
100
  }
101
- async marketOrderCancelFeeFraction() {
102
- return this.triggersContract.marketOrderCancelFeeFraction();
101
+ async marketOrderCancelFeeFraction(callOptions) {
102
+ return this.triggersContract.marketOrderCancelFeeFraction({ ...callOptions });
103
103
  }
104
- async marketOrderTightTimeRange() {
105
- return this.triggersContract.marketOrderTightTimeRange();
104
+ async marketOrderTightTimeRange(callOptions) {
105
+ return this.triggersContract.marketOrderTightTimeRange({ ...callOptions });
106
106
  }
107
- async marketOrdersTimeout() {
108
- return this.triggersContract.marketOrdersTimeout();
107
+ async marketOrdersTimeout(callOptions) {
108
+ return this.triggersContract.marketOrdersTimeout({ ...callOptions });
109
109
  }
110
- async maxTriggerPeriodForMarketOrders() {
111
- return this.triggersContract.maxTriggerPeriodForMarketOrders();
110
+ async maxTriggerPeriodForMarketOrders(callOptions) {
111
+ return this.triggersContract.maxTriggerPeriodForMarketOrders({ ...callOptions });
112
112
  }
113
- async minTriggerPeriodForLimitOrders() {
114
- return this.triggersContract.minTriggerPeriodForLimitOrders();
113
+ async minTriggerPeriodForLimitOrders(callOptions) {
114
+ return this.triggersContract.minTriggerPeriodForLimitOrders({ ...callOptions });
115
115
  }
116
- async minTriggerPeriodForMarketOrders() {
117
- return this.triggersContract.minTriggerPeriodForMarketOrders();
116
+ async minTriggerPeriodForMarketOrders(callOptions) {
117
+ return this.triggersContract.minTriggerPeriodForMarketOrders({ ...callOptions });
118
118
  }
119
- async openPositionCancellationFeeFraction() {
120
- return this.triggersContract.openPositionCancellationFeeFraction();
119
+ async openPositionCancellationFeeFraction(callOptions) {
120
+ return this.triggersContract.openPositionCancellationFeeFraction({ ...callOptions });
121
121
  }
122
- async triggerPriceFreshnessTimeRange() {
123
- return this.triggersContract.triggerPriceFreshnessTimeRange();
122
+ async triggerPriceFreshnessTimeRange(callOptions) {
123
+ return this.triggersContract.triggerPriceFreshnessTimeRange({ ...callOptions });
124
124
  }
125
- async maxTriggersPerBlock() {
126
- return this.triggersContract.maxTriggersPerBlock();
125
+ async maxTriggersPerBlock(callOptions) {
126
+ return this.triggersContract.maxTriggersPerBlock({ ...callOptions });
127
127
  }
128
- async triggersPerBlock(blockNumber) {
129
- return this.triggersContract.triggersPerBlock(blockNumber);
128
+ async triggersPerBlock(blockNumber, callOptions) {
129
+ return this.triggersContract.triggersPerBlock(blockNumber, { ...callOptions });
130
130
  }
131
- async limitsMarginFraction() {
132
- return this.triggersContract.limitsMarginFraction();
131
+ async limitsMarginFraction(callOptions) {
132
+ return this.triggersContract.limitsMarginFraction({ ...callOptions });
133
133
  }
134
134
  }
135
135
  class PairConfiguration {
136
136
  constructor(triggersContract) {
137
137
  this.triggersContract = triggersContract;
138
138
  }
139
- async maxConfidenceFractionForPair(pairId) {
140
- return this.triggersContract.maxConfidenceFractionForPair(pairId);
139
+ async maxConfidenceFractionForPair(pairId, callOptions) {
140
+ return this.triggersContract.maxConfidenceFractionForPair(pairId, { ...callOptions });
141
141
  }
142
- async spreadFractionForPair(pairId) {
143
- return this.triggersContract.spreadFractionForPair(pairId);
142
+ async spreadFractionForPair(pairId, callOptions) {
143
+ return this.triggersContract.spreadFractionForPair(pairId, { ...callOptions });
144
144
  }
145
145
  }
146
146
  class Permissions {
147
147
  constructor(triggersContract) {
148
148
  this.triggersContract = triggersContract;
149
149
  }
150
- async isAllowedToTrigger(account) {
151
- return this.triggersContract.isAllowedToTrigger(account);
150
+ async isAllowedToTrigger(account, callOptions) {
151
+ return this.triggersContract.isAllowedToTrigger(account, { ...callOptions });
152
152
  }
153
- async getAllTriggerPermissionedAccounts() {
154
- return this.triggersContract.getAllTriggerPermissionedAccounts();
153
+ async getAllTriggerPermissionedAccounts(callOptions) {
154
+ return this.triggersContract.getAllTriggerPermissionedAccounts({ ...callOptions });
155
155
  }
156
156
  }
157
157
  class Constants {
158
158
  constructor(triggersContract) {
159
159
  this.triggersContract = triggersContract;
160
160
  }
161
- async ACCURACY_IMPROVEMENT_SCALE() {
162
- return this.triggersContract.ACCURACY_IMPROVEMENT_SCALE();
161
+ async ACCURACY_IMPROVEMENT_SCALE(callOptions) {
162
+ return this.triggersContract.ACCURACY_IMPROVEMENT_SCALE({ ...callOptions });
163
163
  }
164
- async FRACTION_SCALE() {
165
- return this.triggersContract.FRACTION_SCALE();
164
+ async FRACTION_SCALE(callOptions) {
165
+ return this.triggersContract.FRACTION_SCALE({ ...callOptions });
166
166
  }
167
- async LEVERAGE_SCALE() {
168
- return this.triggersContract.LEVERAGE_SCALE();
167
+ async LEVERAGE_SCALE(callOptions) {
168
+ return this.triggersContract.LEVERAGE_SCALE({ ...callOptions });
169
169
  }
170
- async MAX_ALLOWED_CONFIDENCE_FRACTION() {
171
- return this.triggersContract.MAX_ALLOWED_CONFIDENCE_FRACTION();
170
+ async MAX_ALLOWED_CONFIDENCE_FRACTION(callOptions) {
171
+ return this.triggersContract.MAX_ALLOWED_CONFIDENCE_FRACTION({ ...callOptions });
172
172
  }
173
- async MAX_ALLOWED_SPREAD_FRACTION() {
174
- return this.triggersContract.MAX_ALLOWED_SPREAD_FRACTION();
173
+ async MAX_ALLOWED_SPREAD_FRACTION(callOptions) {
174
+ return this.triggersContract.MAX_ALLOWED_SPREAD_FRACTION({ ...callOptions });
175
175
  }
176
- async PRECISION() {
177
- return this.triggersContract.PRECISION();
176
+ async PRECISION(callOptions) {
177
+ return this.triggersContract.PRECISION({ ...callOptions });
178
178
  }
179
179
  }
180
180
  class TriggersService {
@@ -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"}
@@ -8,12 +8,13 @@ class WrapAndMint {
8
8
  this.contract = contract;
9
9
  this.isSigner = isSigner;
10
10
  }
11
- async wrapNativeAndMintEngineChip(nativeAmount) {
11
+ async wrapNativeAndMintEngineChip(nativeAmount, transactionOptions) {
12
12
  if (!this.isSigner) {
13
13
  throw new Error("WrappedNativeEngineChipHelperService: Write operations require a signer");
14
14
  }
15
15
  return await this.contract.wrapNativeAndMintEngineChip({
16
16
  value: nativeAmount,
17
+ ...transactionOptions,
17
18
  });
18
19
  }
19
20
  }
@@ -23,11 +24,11 @@ class BurnHandling {
23
24
  this.contract = contract;
24
25
  this.isSigner = isSigner;
25
26
  }
26
- async handleBurn(burner, arg1, underlyingAmount, arg3) {
27
+ async handleBurn(burner, arg1, underlyingAmount, arg3, transactionOptions) {
27
28
  if (!this.isSigner) {
28
29
  throw new Error("WrappedNativeEngineChipHelperService: Write operations require a signer");
29
30
  }
30
- return await this.contract.handleBurn(burner, arg1, underlyingAmount, arg3);
31
+ return await this.contract.handleBurn(burner, arg1, underlyingAmount, arg3, { ...transactionOptions });
31
32
  }
32
33
  }
33
34
  // ============ View Functions Implementation ============
@@ -35,14 +36,14 @@ class ViewFunctions {
35
36
  constructor(contract) {
36
37
  this.contract = contract;
37
38
  }
38
- async wrappedNativeEngineChip() {
39
- return await this.contract.wrappedNativeEngineChip();
39
+ async wrappedNativeEngineChip(callOptions) {
40
+ return await this.contract.wrappedNativeEngineChip({ ...callOptions });
40
41
  }
41
- async wrappedNativeToken() {
42
- return await this.contract.wrappedNativeToken();
42
+ async wrappedNativeToken(callOptions) {
43
+ return await this.contract.wrappedNativeToken({ ...callOptions });
43
44
  }
44
- async wrappedNativeReturnsUint256() {
45
- return await this.contract.wrappedNativeReturnsUint256();
45
+ async wrappedNativeReturnsUint256(callOptions) {
46
+ return await this.contract.wrappedNativeReturnsUint256({ ...callOptions });
46
47
  }
47
48
  }
48
49
  // ============ Main Service Class ============
@@ -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"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PYTH_PRICE_FEED_ID_TO_PAIR = exports.PYTH_PAIRS_PRICE_FEED_IDS = exports.PYTH_PRICE_ENTRIES = exports.PYTH_PRICE_KEYS = void 0;
3
+ exports.PYTH_PRICE_FEED_ID_TO_PAIR = exports.PYTH_PAIRS_PRICE_FEED_IDS = exports.PYTH_PRICE_KEYS = void 0;
4
4
  const pairIds_1 = require("../../constants/pairIds");
5
5
  exports.PYTH_PRICE_KEYS = {
6
6
  [pairIds_1.PAIR_CONFIGS_IDS.BTC_USD]: "Crypto.BTC/USD",
@@ -30,10 +30,6 @@ exports.PYTH_PRICE_KEYS = {
30
30
  [pairIds_1.PAIR_CONFIGS_IDS.USD_JPY_CAT]: "Fx.USD/JPY",
31
31
  [pairIds_1.PAIR_CONFIGS_IDS.USD_CHF_CAT]: "Fx.USD/CHF",
32
32
  };
33
- exports.PYTH_PRICE_ENTRIES = Object.entries(exports.PYTH_PRICE_KEYS).map(([stringPariId, stringKey]) => [
34
- parseFloat(stringPariId),
35
- stringKey,
36
- ]);
37
33
  // You can find the ids of prices at https://pyth.network/developers/price-feed-ids
38
34
  exports.PYTH_PAIRS_PRICE_FEED_IDS = {
39
35
  [pairIds_1.PAIR_CONFIGS_IDS.BTC_USD]: "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43",
@@ -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"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getPythPriceKeyForPair = getPythPriceKeyForPair;
3
4
  exports.getPythFeedIdForPair = getPythFeedIdForPair;
4
5
  exports.getPairIdForPythFeedId = getPairIdForPythFeedId;
5
6
  const pythFeedConstants_1 = require("./pythFeedConstants");
@@ -7,9 +8,16 @@ const pythFeedConstants_1 = require("./pythFeedConstants");
7
8
  * Get the Pyth feed id for a pair
8
9
  * @param pairId The pair id
9
10
  */
10
- function getPythFeedIdForPair(pairId) {
11
+ function getPythPriceKeyForPair(pairId) {
11
12
  return pythFeedConstants_1.PYTH_PRICE_KEYS[pairId];
12
13
  }
14
+ /**
15
+ * Get the Pyth Feed ID for Pair ID
16
+ * @param feedId The Pyth feed id
17
+ */
18
+ function getPythFeedIdForPair(pairId) {
19
+ return pythFeedConstants_1.PYTH_PAIRS_PRICE_FEED_IDS[pairId];
20
+ }
13
21
  /**
14
22
  * Get the Pair ID for Pyth Feed ID (reversal lookup)
15
23
  * @param feedId The Pyth feed id
@@ -30,6 +30,7 @@ export * from "./lib/contractsIntegration/TradersPortalService";
30
30
  export * from "./lib/contractsIntegration/TradingFloorService";
31
31
  export * from "./lib/contractsIntegration/TriggersService";
32
32
  export * from "./lib/contractsIntegration/OrderBookService";
33
+ export type { TransactionOptions, CallOptions, StateOverride } from "./lib/contractsIntegration/common";
33
34
  export { ChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
34
35
  export type { IChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
35
36
  export { LiquidityIntentsVerifierService } from "./lib/contractsIntegration/LiquidityIntentsVerifierService";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAE1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AAE,MAAM,mGAAmG,CAAC;AACrJ,OAAO,EAAE,oCAAoC,EAAE,MAAM,2GAA2G,CAAC;AACjK,OAAO,EAAE,gCAAgC,EAAE,MAAM,mGAAmG,CAAC;AAGrJ,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAC9F,cAAc,4EAA4E,CAAC;AAG3F,cAAc,0FAA0F,CAAC;AACzG,cAAc,8FAA8F,CAAC;AAC7G,cAAc,0FAA0F,CAAC;AAGzG,cAAc,qFAAqF,CAAC;AAGpG,cAAc,mFAAmF,CAAC;AAGlG,cAAc,+EAA+E,CAAC;AAC9F,cAAc,6FAA6F,CAAC;AAG5G,cAAc,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAA+B,MAAM,QAAQ,CAAA;AACtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,0FAA0F,CAAA;AAEjJ,OAAO,EACL,8CAA8C,EAC9C,qEAAqE,EACrE,8EAA8E,EAC9E,oEAAoE,EACrE,MAAM,kDAAkD,CAAA;AAkDzD,qBAAa,6CACX,YAAW,8CAA8C;IACzD,OAAO,CAAC,aAAa,CAAwC;IAEtD,eAAe,EAAE,qEAAqE,CAAA;IACtF,wBAAwB,EAAE,8EAA8E,CAAA;IACxG,cAAc,EAAE,oEAAoE,CAAA;gBAGzF,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM;IASjB,WAAW,IAAI,sCAAsC;CAGtD"}
1
+ {"version":3,"file":"AcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAA+B,MAAM,QAAQ,CAAA;AACtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,0FAA0F,CAAA;AAGjJ,OAAO,EACL,8CAA8C,EAC9C,qEAAqE,EACrE,8EAA8E,EAC9E,oEAAoE,EACrE,MAAM,kDAAkD,CAAA;AAkDzD,qBAAa,6CACX,YAAW,8CAA8C;IACzD,OAAO,CAAC,aAAa,CAAwC;IAEtD,eAAe,EAAE,qEAAqE,CAAA;IACtF,wBAAwB,EAAE,8EAA8E,CAAA;IACxG,cAAc,EAAE,oEAAoE,CAAA;gBAGzF,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM;IASjB,WAAW,IAAI,sCAAsC;CAGtD"}