lynx-client 0.0.32 → 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 (201) 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 +66 -65
  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/esm/index.d.ts +1 -1
  22. package/dist/esm/index.d.ts.map +1 -1
  23. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  24. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  25. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  26. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  27. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  28. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  29. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  30. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  31. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  32. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  33. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  34. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  35. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  36. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  37. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  38. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  39. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  40. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  41. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  42. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  43. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  44. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  45. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  46. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  47. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  48. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  49. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +50 -50
  50. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  51. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  52. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  53. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  54. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  55. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  56. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  57. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  58. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  59. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  60. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  61. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  62. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  63. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  64. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  65. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  66. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  67. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  68. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  69. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  70. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  71. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  72. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  73. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  74. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  75. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  76. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  77. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  78. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  79. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  80. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  81. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  82. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  83. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  84. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  85. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  86. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  87. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  88. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
  89. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  90. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  91. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  92. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  93. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  94. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  95. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  96. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  97. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  98. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
  99. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  100. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
  101. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  102. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +8 -8
  103. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  104. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  105. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  106. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  107. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  108. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  109. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  110. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  111. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  112. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  113. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  114. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  115. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  116. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  117. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  118. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  119. package/dist/esm/lib/contractsIntegration/common/index.d.ts +20 -0
  120. package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
  121. package/dist/types/index.d.ts +1 -1
  122. package/dist/types/index.d.ts.map +1 -1
  123. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  124. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  125. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  126. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  127. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  128. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  129. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  130. package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  131. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  132. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  133. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  134. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  135. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  136. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  137. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  138. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  139. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  140. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  141. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  142. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  143. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  144. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  145. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  146. package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  147. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  148. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  149. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  150. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  151. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  152. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  153. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  154. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  155. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  156. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  157. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  158. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  159. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  160. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  161. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  162. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  163. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  164. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  165. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  166. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  167. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  168. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  169. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  170. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  171. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  172. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  173. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  174. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  175. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  176. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  177. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  178. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  179. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  180. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  181. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
  182. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  183. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
  184. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  185. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  186. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  187. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  188. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  189. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  190. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  191. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  192. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  193. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  194. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  195. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  196. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  197. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  198. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  199. package/dist/types/lib/contractsIntegration/common/index.d.ts +20 -0
  200. package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
  201. package/package.json +1 -1
@@ -7,93 +7,93 @@ class TradeIntentsVerifierService {
7
7
  this.contract = TradeIntentsVerifierV1__factory_1.TradeIntentsVerifierV1__factory.connect(address, signerOrProvider);
8
8
  this.isSigner = 'sendTransaction' in signerOrProvider;
9
9
  }
10
- async domainSeparatorForAsset(settlementAsset) {
11
- return await this.contract.domainSeparatorForAsset(settlementAsset);
10
+ async domainSeparatorForAsset(settlementAsset, callOptions) {
11
+ return await this.contract.domainSeparatorForAsset(settlementAsset, { ...callOptions });
12
12
  }
13
- async domainSeparatorForChain(chainId) {
14
- return await this.contract.domainSeparatorForChain(chainId);
13
+ async domainSeparatorForChain(chainId, callOptions) {
14
+ return await this.contract.domainSeparatorForChain(chainId, { ...callOptions });
15
15
  }
16
- async intentsPermissions(user) {
17
- return await this.contract.intentsPermissions(user);
16
+ async intentsPermissions(user, callOptions) {
17
+ return await this.contract.intentsPermissions(user, { ...callOptions });
18
18
  }
19
- async setIntentsPermissions(oftChip, dynAddressSuffix) {
19
+ async setIntentsPermissions(oftChip, dynAddressSuffix, transactionOptions) {
20
20
  if (!this.isSigner) {
21
21
  throw new Error("TradeIntentsVerifierService: Write operations require a signer");
22
22
  }
23
- const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix);
23
+ const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix, { ...transactionOptions });
24
24
  await tx.wait();
25
25
  }
26
- async verifyIntent_traderRequest_openNewPosition(payload, v, r, s, domain, referralCode, runCapTests, value) {
26
+ async verifyIntent_traderRequest_openNewPosition(payload, v, r, s, domain, referralCode, runCapTests, value, transactionOptions) {
27
27
  if (!this.isSigner) {
28
28
  throw new Error("TradeIntentsVerifierService: Write operations require a signer");
29
29
  }
30
- const tx = await this.contract.verifyIntent_traderRequest_openNewPosition(payload, v, r, s, domain, referralCode, runCapTests, { value: value || 0n });
30
+ const tx = await this.contract.verifyIntent_traderRequest_openNewPosition(payload, v, r, s, domain, referralCode, runCapTests, { value: value || 0n, ...transactionOptions });
31
31
  await tx.wait();
32
32
  }
33
- async verifyIntent_traderRequest_marketClosePosition(payload, v, r, s, value) {
33
+ async verifyIntent_traderRequest_marketClosePosition(payload, v, r, s, value, transactionOptions) {
34
34
  if (!this.isSigner) {
35
35
  throw new Error("TradeIntentsVerifierService: Write operations require a signer");
36
36
  }
37
- const tx = await this.contract.verifyIntent_traderRequest_marketClosePosition(payload, v, r, s, { value: value || 0n });
37
+ const tx = await this.contract.verifyIntent_traderRequest_marketClosePosition(payload, v, r, s, { value: value || 0n, ...transactionOptions });
38
38
  await tx.wait();
39
39
  }
40
- async verifyIntent_traderAction_updatePendingLimitPosition(payload, v, r, s, value) {
40
+ async verifyIntent_traderAction_updatePendingLimitPosition(payload, v, r, s, value, transactionOptions) {
41
41
  if (!this.isSigner) {
42
42
  throw new Error("TradeIntentsVerifierService: Write operations require a signer");
43
43
  }
44
- const tx = await this.contract.verifyIntent_traderAction_updatePendingLimitPosition(payload, v, r, s, { value: value || 0n });
44
+ const tx = await this.contract.verifyIntent_traderAction_updatePendingLimitPosition(payload, v, r, s, { value: value || 0n, ...transactionOptions });
45
45
  await tx.wait();
46
46
  }
47
- async verifyIntent_traderAction_cancelPendingLimitPosition(payload, v, r, s, value) {
47
+ async verifyIntent_traderAction_cancelPendingLimitPosition(payload, v, r, s, value, transactionOptions) {
48
48
  if (!this.isSigner) {
49
49
  throw new Error("TradeIntentsVerifierService: Write operations require a signer");
50
50
  }
51
- const tx = await this.contract.verifyIntent_traderAction_cancelPendingLimitPosition(payload, v, r, s, { value: value || 0n });
51
+ const tx = await this.contract.verifyIntent_traderAction_cancelPendingLimitPosition(payload, v, r, s, { value: value || 0n, ...transactionOptions });
52
52
  await tx.wait();
53
53
  }
54
- async verifyIntent_traderRequest_updatePositionSingleField(payload, v, r, s, value) {
54
+ async verifyIntent_traderRequest_updatePositionSingleField(payload, v, r, s, value, transactionOptions) {
55
55
  if (!this.isSigner) {
56
56
  throw new Error("TradeIntentsVerifierService: Write operations require a signer");
57
57
  }
58
- const tx = await this.contract.verifyIntent_traderRequest_updatePositionSingleField(payload, v, r, s, { value: value || 0n });
58
+ const tx = await this.contract.verifyIntent_traderRequest_updatePositionSingleField(payload, v, r, s, { value: value || 0n, ...transactionOptions });
59
59
  await tx.wait();
60
60
  }
61
- async verifyIntent_traderRequest_updatePositionDoubleField(payload, v, r, s, value) {
61
+ async verifyIntent_traderRequest_updatePositionDoubleField(payload, v, r, s, value, transactionOptions) {
62
62
  if (!this.isSigner) {
63
63
  throw new Error("TradeIntentsVerifierService: Write operations require a signer");
64
64
  }
65
- const tx = await this.contract.verifyIntent_traderRequest_updatePositionDoubleField(payload, v, r, s, { value: value || 0n });
65
+ const tx = await this.contract.verifyIntent_traderRequest_updatePositionDoubleField(payload, v, r, s, { value: value || 0n, ...transactionOptions });
66
66
  await tx.wait();
67
67
  }
68
- async admin() {
69
- return await this.contract.admin();
68
+ async admin(callOptions) {
69
+ return await this.contract.admin({ ...callOptions });
70
70
  }
71
- async pendingAdmin() {
72
- return await this.contract.pendingAdmin();
71
+ async pendingAdmin(callOptions) {
72
+ return await this.contract.pendingAdmin({ ...callOptions });
73
73
  }
74
- async registry() {
75
- return await this.contract.registry();
74
+ async registry(callOptions) {
75
+ return await this.contract.registry({ ...callOptions });
76
76
  }
77
- async sourceChainIdForAsset(asset) {
78
- return await this.contract.sourceChainIdForAsset(asset);
77
+ async sourceChainIdForAsset(asset, callOptions) {
78
+ return await this.contract.sourceChainIdForAsset(asset, { ...callOptions });
79
79
  }
80
- async processedSignatures(signature) {
81
- return await this.contract.processedSignatures(signature);
80
+ async processedSignatures(signature, callOptions) {
81
+ return await this.contract.processedSignatures(signature, { ...callOptions });
82
82
  }
83
- async domainSeparatorsForPosition(positionId) {
84
- return await this.contract.domainSeparatorsForPosition(positionId);
83
+ async domainSeparatorsForPosition(positionId, callOptions) {
84
+ return await this.contract.domainSeparatorsForPosition(positionId, { ...callOptions });
85
85
  }
86
- async tradersForPosition(positionId) {
87
- return await this.contract.tradersForPosition(positionId);
86
+ async tradersForPosition(positionId, callOptions) {
87
+ return await this.contract.tradersForPosition(positionId, { ...callOptions });
88
88
  }
89
- async settlementAssetsForPosition(positionId) {
90
- return await this.contract.settlementAssetsForPosition(positionId);
89
+ async settlementAssetsForPosition(positionId, callOptions) {
90
+ return await this.contract.settlementAssetsForPosition(positionId, { ...callOptions });
91
91
  }
92
- async getTradingFloor() {
93
- return await this.contract.getTradingFloor();
92
+ async getTradingFloor(callOptions) {
93
+ return await this.contract.getTradingFloor({ ...callOptions });
94
94
  }
95
- async getTradersPortal() {
96
- return await this.contract.getTradersPortal();
95
+ async getTradersPortal(callOptions) {
96
+ return await this.contract.getTradersPortal({ ...callOptions });
97
97
  }
98
98
  getContract() {
99
99
  return this.contract;
@@ -13,10 +13,11 @@ class TraderRequests {
13
13
  ...transactionOptions,
14
14
  });
15
15
  }
16
- async openNewPosition_static(tradeRequestIdentifier, tradeRequestParams, orderType, referrerDomain, referrerCode, runCapTests, nativeFee) {
16
+ async openNewPosition_static(tradeRequestIdentifier, tradeRequestParams, orderType, referrerDomain, referrerCode, runCapTests, nativeFee, callOptions) {
17
17
  // @ts-ignore
18
18
  return this.tradingContract.traderRequest_openNewPosition.staticCall(tradeRequestIdentifier, tradeRequestParams, orderType, referrerDomain, referrerCode, runCapTests, {
19
19
  value: nativeFee,
20
+ ...callOptions,
20
21
  });
21
22
  }
22
23
  async setExistingPositionToMarketClose(positionId, minPrice, maxPrice, nativeFee, transactionOptions) {
@@ -42,17 +43,17 @@ class DirectActions {
42
43
  constructor(tradingContract) {
43
44
  this.tradingContract = tradingContract;
44
45
  }
45
- async timeoutOpenMarket(positionId) {
46
- return this.tradingContract.directAction_timeout_openMarket(positionId);
46
+ async timeoutOpenMarket(positionId, transactionOptions) {
47
+ return this.tradingContract.directAction_timeout_openMarket(positionId, { ...transactionOptions });
47
48
  }
48
- async timeoutCloseMarket(positionId) {
49
- return this.tradingContract.directAction_timeout_closeMarket(positionId);
49
+ async timeoutCloseMarket(positionId, transactionOptions) {
50
+ return this.tradingContract.directAction_timeout_closeMarket(positionId, { ...transactionOptions });
50
51
  }
51
- async cancelPendingPositionLimit(positionId) {
52
- return this.tradingContract.directAction_cancelPendingPosition_limit(positionId);
52
+ async cancelPendingPositionLimit(positionId, transactionOptions) {
53
+ return this.tradingContract.directAction_cancelPendingPosition_limit(positionId, { ...transactionOptions });
53
54
  }
54
- async cancelPendingUpdatePositionField(positionId) {
55
- return this.tradingContract.directAction_timeout_updateTradeField(positionId);
55
+ async cancelPendingUpdatePositionField(positionId, transactionOptions) {
56
+ return this.tradingContract.directAction_timeout_updateTradeField(positionId, { ...transactionOptions });
56
57
  }
57
58
  async updatePendingPositionLimit(positionId, minPrice, maxPrice, tp, sl, transactionOptions) {
58
59
  return this.tradingContract.directAction_updatePendingPosition_limit(positionId, minPrice, maxPrice, tp, sl, {
@@ -64,119 +65,119 @@ class ContractReferences {
64
65
  constructor(tradingContract) {
65
66
  this.tradingContract = tradingContract;
66
67
  }
67
- async getOrderBook() {
68
- return this.tradingContract.getOrderBook();
68
+ async getOrderBook(callOptions) {
69
+ return this.tradingContract.getOrderBook({ ...callOptions });
69
70
  }
70
- async getTradeIntentsVerifier() {
71
- return this.tradingContract.getTradeIntentsVerifier();
71
+ async getTradeIntentsVerifier(callOptions) {
72
+ return this.tradingContract.getTradeIntentsVerifier({ ...callOptions });
72
73
  }
73
- async registry() {
74
- return this.tradingContract.registry();
74
+ async registry(callOptions) {
75
+ return this.tradingContract.registry({ ...callOptions });
75
76
  }
76
- async tradingFloor() {
77
- return this.tradingContract.tradingFloor();
77
+ async tradingFloor(callOptions) {
78
+ return this.tradingContract.tradingFloor({ ...callOptions });
78
79
  }
79
- async getOnBehalfTrading() {
80
- return this.tradingContract.getOnBehalfTrading();
80
+ async getOnBehalfTrading(callOptions) {
81
+ return this.tradingContract.getOnBehalfTrading({ ...callOptions });
81
82
  }
82
- async getFeatureFlagger() {
83
- return this.tradingContract.getFeatureFlagger();
83
+ async getFeatureFlagger(callOptions) {
84
+ return this.tradingContract.getFeatureFlagger({ ...callOptions });
84
85
  }
85
86
  }
86
87
  class PendableAdmin {
87
88
  constructor(tradingContract) {
88
89
  this.tradingContract = tradingContract;
89
90
  }
90
- async admin() {
91
- return this.tradingContract.admin();
91
+ async admin(callOptions) {
92
+ return this.tradingContract.admin({ ...callOptions });
92
93
  }
93
- async pendingAdmin() {
94
- return this.tradingContract.pendingAdmin();
94
+ async pendingAdmin(callOptions) {
95
+ return this.tradingContract.pendingAdmin({ ...callOptions });
95
96
  }
96
97
  }
97
98
  class LynxVersionedContract {
98
99
  constructor(tradingContract) {
99
100
  this.tradingContract = tradingContract;
100
101
  }
101
- async getContractName() {
102
- return this.tradingContract.getContractName();
102
+ async getContractName(callOptions) {
103
+ return this.tradingContract.getContractName({ ...callOptions });
103
104
  }
104
- async getContractVersion() {
105
- return this.tradingContract.getContractVersion();
105
+ async getContractVersion(callOptions) {
106
+ return this.tradingContract.getContractVersion({ ...callOptions });
106
107
  }
107
- async CONTRACT_NAME() {
108
- return this.tradingContract.CONTRACT_NAME();
108
+ async CONTRACT_NAME(callOptions) {
109
+ return this.tradingContract.CONTRACT_NAME({ ...callOptions });
109
110
  }
110
- async CONTRACT_VERSION() {
111
- return this.tradingContract.CONTRACT_VERSION();
111
+ async CONTRACT_VERSION(callOptions) {
112
+ return this.tradingContract.CONTRACT_VERSION({ ...callOptions });
112
113
  }
113
114
  }
114
115
  class Status {
115
116
  constructor(tradingContract) {
116
117
  this.tradingContract = tradingContract;
117
118
  }
118
- async isDone() {
119
- return this.tradingContract.isDone();
119
+ async isDone(callOptions) {
120
+ return this.tradingContract.isDone({ ...callOptions });
120
121
  }
121
- async isLimitingMarketClosePriceRange() {
122
- return this.tradingContract.isLimitingMarketClosePriceRange();
122
+ async isLimitingMarketClosePriceRange(callOptions) {
123
+ return this.tradingContract.isLimitingMarketClosePriceRange({ ...callOptions });
123
124
  }
124
- async isPaused() {
125
- return this.tradingContract.isPaused();
125
+ async isPaused(callOptions) {
126
+ return this.tradingContract.isPaused({ ...callOptions });
126
127
  }
127
128
  }
128
129
  class Settings {
129
130
  constructor(tradingContract) {
130
131
  this.tradingContract = tradingContract;
131
132
  }
132
- async limitOrdersTimelock() {
133
- return this.tradingContract.limitOrdersTimelock();
133
+ async limitOrdersTimelock(callOptions) {
134
+ return this.tradingContract.limitOrdersTimelock({ ...callOptions });
134
135
  }
135
- async marketOrdersTimeout() {
136
- return this.tradingContract.marketOrdersTimeout();
136
+ async marketOrdersTimeout(callOptions) {
137
+ return this.tradingContract.marketOrdersTimeout({ ...callOptions });
137
138
  }
138
- async minLiveTimeForMarketClose() {
139
- return this.tradingContract.minLiveTimeForMarketClose();
139
+ async minLiveTimeForMarketClose(callOptions) {
140
+ return this.tradingContract.minLiveTimeForMarketClose({ ...callOptions });
140
141
  }
141
- async actionFees(actionType) {
142
- return this.tradingContract.actionFees(actionType);
142
+ async actionFees(actionType, callOptions) {
143
+ return this.tradingContract.actionFees(actionType, { ...callOptions });
143
144
  }
144
- async limitsMarginFraction() {
145
- return this.tradingContract.limitsMarginFraction();
145
+ async limitsMarginFraction(callOptions) {
146
+ return this.tradingContract.limitsMarginFraction({ ...callOptions });
146
147
  }
147
- async setLimitsMarginFraction(limitsMarginFraction) {
148
- return this.tradingContract.setLimitsMarginFraction(limitsMarginFraction);
148
+ async setLimitsMarginFraction(limitsMarginFraction, transactionOptions) {
149
+ return this.tradingContract.setLimitsMarginFraction(limitsMarginFraction, { ...transactionOptions });
149
150
  }
150
151
  }
151
152
  class Constants {
152
153
  constructor(tradingContract) {
153
154
  this.tradingContract = tradingContract;
154
155
  }
155
- async ACCURACY_IMPROVEMENT_SCALE() {
156
- return this.tradingContract.ACCURACY_IMPROVEMENT_SCALE();
156
+ async ACCURACY_IMPROVEMENT_SCALE(callOptions) {
157
+ return this.tradingContract.ACCURACY_IMPROVEMENT_SCALE({ ...callOptions });
157
158
  }
158
- async FRACTION_SCALE() {
159
- return this.tradingContract.FRACTION_SCALE();
159
+ async FRACTION_SCALE(callOptions) {
160
+ return this.tradingContract.FRACTION_SCALE({ ...callOptions });
160
161
  }
161
- async LEVERAGE_SCALE() {
162
- return this.tradingContract.LEVERAGE_SCALE();
162
+ async LEVERAGE_SCALE(callOptions) {
163
+ return this.tradingContract.LEVERAGE_SCALE({ ...callOptions });
163
164
  }
164
- async NATIVE_UNDERLYING_ADDRESS() {
165
- return this.tradingContract.NATIVE_UNDERLYING_ADDRESS();
165
+ async NATIVE_UNDERLYING_ADDRESS(callOptions) {
166
+ return this.tradingContract.NATIVE_UNDERLYING_ADDRESS({ ...callOptions });
166
167
  }
167
- async PRECISION() {
168
- return this.tradingContract.PRECISION();
168
+ async PRECISION(callOptions) {
169
+ return this.tradingContract.PRECISION({ ...callOptions });
169
170
  }
170
171
  }
171
172
  class OnBehalf {
172
173
  constructor(tradingContract) {
173
174
  this.tradingContract = tradingContract;
174
175
  }
175
- async onBehalfEnabled() {
176
- return this.tradingContract.onBehalfEnabled();
176
+ async onBehalfEnabled(callOptions) {
177
+ return this.tradingContract.onBehalfEnabled({ ...callOptions });
177
178
  }
178
- async setOnBehalfEnabled(enabled) {
179
- return this.tradingContract.setOnBehalfEnabled(enabled);
179
+ async setOnBehalfEnabled(enabled, transactionOptions) {
180
+ return this.tradingContract.setOnBehalfEnabled(enabled, { ...transactionOptions });
180
181
  }
181
182
  }
182
183
  class TradersPortalServiceService {
@@ -39,17 +39,17 @@ class TradingFloorLensService {
39
39
  constructor(signerOrProvider, contractAddress) {
40
40
  this.contract = TradingFloorLens__factory_1.TradingFloorLens__factory.connect(contractAddress, signerOrProvider);
41
41
  }
42
- async generatePositionHashId(settlementAsset, trader, pairId, index) {
43
- return await this.contract.generatePositionHashId(settlementAsset, trader, BigInt(pairId), BigInt(index));
42
+ async generatePositionHashId(settlementAsset, trader, pairId, index, callOptions) {
43
+ return await this.contract.generatePositionHashId(settlementAsset, trader, BigInt(pairId), BigInt(index), { ...callOptions });
44
44
  }
45
- async getAllPositionsDataForAllTraders(params) {
45
+ async getAllPositionsDataForAllTraders(params, callOptions) {
46
46
  const contractParams = {
47
47
  tradingFloor: params.tradingFloor,
48
48
  traderStartIndex: BigInt(params.traderStartIndex),
49
49
  positionStartIndex: BigInt(params.positionStartIndex),
50
50
  positionsLimit: BigInt(params.positionsLimit),
51
51
  };
52
- const result = await this.contract.getAllPositionsDataForAllTraders.staticCall(contractParams);
52
+ const result = await this.contract.getAllPositionsDataForAllTraders.staticCall(contractParams, { ...callOptions });
53
53
  const baseResult = (0, ethersTypes_1.ethersStructResponseToObject)(result, ITradingFloorLensService_1.EMPTY_POSITIONS_RESULT);
54
54
  // Convert positions and filter out empty ones
55
55
  const convertedPositions = result.positions
@@ -63,7 +63,7 @@ class TradingFloorLensService {
63
63
  positionLastIndex: Number(baseResult.positionLastIndex),
64
64
  };
65
65
  }
66
- async getAllPositionsLiquidationInfo(params, phases) {
66
+ async getAllPositionsLiquidationInfo(params, phases, callOptions) {
67
67
  const contractParams = {
68
68
  tradingFloor: params.tradingFloor,
69
69
  traderStartIndex: BigInt(params.traderStartIndex),
@@ -72,11 +72,11 @@ class TradingFloorLensService {
72
72
  };
73
73
  let result;
74
74
  if (phases !== undefined) {
75
- result = await this.contract["getAllPositionsLiquidationInfo((address,uint256,uint16,uint256),uint8[])"].staticCall(contractParams, phases.map((p) => BigInt(p)));
75
+ result = await this.contract["getAllPositionsLiquidationInfo((address,uint256,uint16,uint256),uint8[])"].staticCall(contractParams, phases.map((p) => BigInt(p)), { ...callOptions });
76
76
  }
77
77
  else {
78
78
  result =
79
- await this.contract["getAllPositionsLiquidationInfo((address,uint256,uint16,uint256))"].staticCall(contractParams);
79
+ await this.contract["getAllPositionsLiquidationInfo((address,uint256,uint16,uint256))"].staticCall(contractParams, { ...callOptions });
80
80
  }
81
81
  const baseResult = (0, ethersTypes_1.ethersStructResponseToObject)(result, ITradingFloorLensService_1.EMPTY_LIQUIDATION_RESULT);
82
82
  const convertedPositions = result.positionsLiquidationInfo.map((pos) => convertLiquidationInfo(pos));
@@ -88,19 +88,19 @@ class TradingFloorLensService {
88
88
  positionLastIndex: Number(baseResult.positionLastIndex),
89
89
  };
90
90
  }
91
- async getCompletePositionData(tradingFloor, positionId) {
92
- const result = await this.contract.getCompletePositionData.staticCall(tradingFloor, positionId);
91
+ async getCompletePositionData(tradingFloor, positionId, callOptions) {
92
+ const result = await this.contract.getCompletePositionData.staticCall(tradingFloor, positionId, { ...callOptions });
93
93
  return convertPositionData(result);
94
94
  }
95
- async getPositionsDataForTrader(tradingFloor, trader) {
96
- const result = await this.contract.getPositionsDataForTrader.staticCall(tradingFloor, trader);
95
+ async getPositionsDataForTrader(tradingFloor, trader, callOptions) {
96
+ const result = await this.contract.getPositionsDataForTrader.staticCall(tradingFloor, trader, { ...callOptions });
97
97
  // Convert and filter out empty positions (collateral = 0)
98
98
  return result
99
99
  .filter((pos) => pos.collateral > 0n)
100
100
  .map((pos) => convertPositionData(pos));
101
101
  }
102
- async getTradingFloorTradeParams(tradingFloor) {
103
- const result = await this.contract.getTradingFloorTradeParams.staticCall(tradingFloor);
102
+ async getTradingFloorTradeParams(tradingFloor, callOptions) {
103
+ const result = await this.contract.getTradingFloorTradeParams.staticCall(tradingFloor, { ...callOptions });
104
104
  // Result is a tuple/array-like object, extract the named properties
105
105
  return {
106
106
  tradingFloor: result.tradingFloor,