lynx-client 0.0.32 → 0.0.34

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 (299) hide show
  1. package/dist/cjs/lib/addresses/lensAddresses.js +6 -6
  2. package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  3. package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  4. package/dist/cjs/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  5. package/dist/cjs/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  6. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  7. package/dist/cjs/lib/contractsIntegration/LexLensService/ILexLensService.js +7 -0
  8. package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +52 -52
  9. package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  10. package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  11. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  12. package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  13. package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  14. package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  15. package/dist/cjs/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  16. package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  17. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
  18. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  19. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  20. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +25 -1
  21. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -8
  22. package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  23. package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  24. package/dist/cjs/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
  25. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  26. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  27. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
  28. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  29. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  30. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  31. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  32. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
  33. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
  34. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
  35. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
  36. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
  37. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  38. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
  39. package/dist/esm/index.d.ts +1 -1
  40. package/dist/esm/index.d.ts.map +1 -1
  41. package/dist/esm/lib/addresses/lensAddresses.d.ts +6 -6
  42. package/dist/esm/lib/addresses/lensAddresses.js +6 -6
  43. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  44. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  45. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  46. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  47. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  48. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  49. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  50. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  51. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  52. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  53. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  54. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  55. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  56. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  57. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  58. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  59. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  60. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  61. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  62. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  63. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  64. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  65. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  66. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  67. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.js +7 -0
  68. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  69. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  70. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +52 -52
  71. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  72. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  73. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  74. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  75. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  76. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  77. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  78. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  79. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  80. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  81. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  82. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  83. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  84. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  85. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  86. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  87. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  88. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  89. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  90. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  91. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  92. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  93. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  94. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  95. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  96. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  97. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  98. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  99. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  100. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  101. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  102. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  103. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  104. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  105. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  106. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  107. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  108. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  109. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
  110. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  111. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  112. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  113. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  114. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  115. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  116. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  117. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  118. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  119. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +34 -8
  120. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  121. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +25 -1
  122. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
  123. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  124. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -8
  125. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  126. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  127. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  128. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  129. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  130. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  131. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  132. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  133. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  134. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  135. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  136. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  137. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  138. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  139. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  140. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  141. package/dist/esm/lib/contractsIntegration/common/index.d.ts +20 -0
  142. package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
  143. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
  144. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  145. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
  146. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  147. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
  148. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
  149. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
  150. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
  151. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
  152. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
  153. package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
  154. package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
  155. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  156. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  157. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  158. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  159. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
  160. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
  161. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  162. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  163. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  164. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  165. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  166. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  167. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  168. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  169. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
  170. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  171. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
  172. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
  173. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  174. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
  175. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
  176. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
  177. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
  178. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
  179. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
  180. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
  181. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
  182. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
  183. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  184. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  185. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
  186. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
  187. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
  188. package/dist/types/index.d.ts +1 -1
  189. package/dist/types/index.d.ts.map +1 -1
  190. package/dist/types/lib/addresses/lensAddresses.d.ts +6 -6
  191. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  192. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  193. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  194. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  195. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  196. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  197. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  198. package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  199. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  200. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  201. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  202. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  203. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  204. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  205. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  206. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  207. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  208. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  209. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  210. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  211. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  212. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  213. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  214. package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  215. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  216. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  217. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  218. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  219. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  220. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  221. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  222. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  223. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  224. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  225. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  226. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  227. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  228. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  229. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  230. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  231. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  232. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  233. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  234. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  235. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  236. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  237. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  238. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  239. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  240. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  241. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  242. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  243. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  244. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  245. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  246. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  247. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  248. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  249. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +34 -8
  250. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  251. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
  252. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  253. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  254. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  255. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  256. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  257. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  258. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  259. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  260. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  261. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  262. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  263. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  264. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  265. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  266. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  267. package/dist/types/lib/contractsIntegration/common/index.d.ts +20 -0
  268. package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
  269. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
  270. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  271. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
  272. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  273. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
  274. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
  275. package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
  276. package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
  277. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
  278. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
  279. package/dist/types/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
  280. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  281. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  282. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
  283. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  284. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  285. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  286. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  287. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
  288. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  289. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
  290. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  291. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
  292. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
  293. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
  294. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
  295. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
  296. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  297. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
  298. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
  299. package/package.json +3 -2
@@ -6,46 +6,46 @@ class LexPoolV1FunctionsGroup_Initialization {
6
6
  constructor(contract) {
7
7
  this.contract = contract;
8
8
  }
9
- async _become(proxy) {
10
- return this.contract._become(proxy);
9
+ async _become(proxy, transactionOptions) {
10
+ return this.contract._become(proxy, { ...transactionOptions });
11
11
  }
12
- async initialize(underlying, tradingFloor, epochDuration) {
13
- return this.contract.initialize(underlying, tradingFloor, epochDuration);
12
+ async initialize(underlying, tradingFloor, epochDuration, transactionOptions) {
13
+ return this.contract.initialize(underlying, tradingFloor, epochDuration, { ...transactionOptions });
14
14
  }
15
15
  }
16
16
  class LexPoolV1FunctionsGroup_AdminConfiguration {
17
17
  constructor(contract) {
18
18
  this.contract = contract;
19
19
  }
20
- async setPoolAccountant(poolAccountant) {
21
- return this.contract.setPoolAccountant(poolAccountant);
20
+ async setPoolAccountant(poolAccountant, transactionOptions) {
21
+ return this.contract.setPoolAccountant(poolAccountant, { ...transactionOptions });
22
22
  }
23
- async setPnlRole(pnl) {
24
- return this.contract.setPnlRole(pnl);
23
+ async setPnlRole(pnl, transactionOptions) {
24
+ return this.contract.setPnlRole(pnl, { ...transactionOptions });
25
25
  }
26
- async setMaxExtraWithdrawalAmountF(maxExtra) {
27
- return this.contract.setMaxExtraWithdrawalAmountF(maxExtra);
26
+ async setMaxExtraWithdrawalAmountF(maxExtra, transactionOptions) {
27
+ return this.contract.setMaxExtraWithdrawalAmountF(maxExtra, { ...transactionOptions });
28
28
  }
29
- async setEpochsDelayDeposit(delay) {
30
- return this.contract.setEpochsDelayDeposit(delay);
29
+ async setEpochsDelayDeposit(delay, transactionOptions) {
30
+ return this.contract.setEpochsDelayDeposit(delay, { ...transactionOptions });
31
31
  }
32
- async setEpochsDelayRedeem(delay) {
33
- return this.contract.setEpochsDelayRedeem(delay);
32
+ async setEpochsDelayRedeem(delay, transactionOptions) {
33
+ return this.contract.setEpochsDelayRedeem(delay, { ...transactionOptions });
34
34
  }
35
- async setEpochDuration(duration) {
36
- return this.contract.setEpochDuration(duration);
35
+ async setEpochDuration(duration, transactionOptions) {
36
+ return this.contract.setEpochDuration(duration, { ...transactionOptions });
37
37
  }
38
- async setMinDepositAmount(amount) {
39
- return this.contract.setMinDepositAmount(amount);
38
+ async setMinDepositAmount(amount, transactionOptions) {
39
+ return this.contract.setMinDepositAmount(amount, { ...transactionOptions });
40
40
  }
41
- async toggleImmediateDepositAllowed() {
42
- return this.contract.toggleImmediateDepositAllowed();
41
+ async toggleImmediateDepositAllowed(transactionOptions) {
42
+ return this.contract.toggleImmediateDepositAllowed({ ...transactionOptions });
43
43
  }
44
- async reduceReserves(to) {
45
- return this.contract.reduceReserves(to);
44
+ async reduceReserves(to, transactionOptions) {
45
+ return this.contract.reduceReserves(to, { ...transactionOptions });
46
46
  }
47
- async reduceReserves_static(to) {
48
- const result = await this.contract.reduceReserves.staticCall(to);
47
+ async reduceReserves_static(to, callOptions) {
48
+ const result = await this.contract.reduceReserves.staticCall(to, { ...callOptions });
49
49
  return {
50
50
  interestShare: result[0],
51
51
  totalFundingShare: result[1],
@@ -56,36 +56,36 @@ class LexPoolV1FunctionsGroup_UserDeposits {
56
56
  constructor(contract) {
57
57
  this.contract = contract;
58
58
  }
59
- async immediateDeposit(depositAmount, domain, referralCode) {
60
- return this.contract.immediateDeposit(depositAmount, domain, referralCode);
59
+ async immediateDeposit(depositAmount, domain, referralCode, transactionOptions) {
60
+ return this.contract.immediateDeposit(depositAmount, domain, referralCode, { ...transactionOptions });
61
61
  }
62
- async requestDeposit(amount, minAmountOut, domain, referralCode) {
63
- return this.contract.requestDeposit(amount, minAmountOut, domain, referralCode);
62
+ async requestDeposit(amount, minAmountOut, domain, referralCode, transactionOptions) {
63
+ return this.contract.requestDeposit(amount, minAmountOut, domain, referralCode, { ...transactionOptions });
64
64
  }
65
- async requestDepositViaIntent(user, amount, minAmountOut, domain, referralCode) {
66
- return this.contract.requestDepositViaIntent(user, amount, minAmountOut, domain, referralCode);
65
+ async requestDepositViaIntent(user, amount, minAmountOut, domain, referralCode, transactionOptions) {
66
+ return this.contract.requestDepositViaIntent(user, amount, minAmountOut, domain, referralCode, { ...transactionOptions });
67
67
  }
68
68
  }
69
69
  class LexPoolV1FunctionsGroup_UserRedeems {
70
70
  constructor(contract) {
71
71
  this.contract = contract;
72
72
  }
73
- async requestRedeem(amount, minAmountOut) {
74
- return this.contract.requestRedeem(amount, minAmountOut);
73
+ async requestRedeem(amount, minAmountOut, transactionOptions) {
74
+ return this.contract.requestRedeem(amount, minAmountOut, { ...transactionOptions });
75
75
  }
76
- async requestRedeemViaIntent(user, amount, minAmountOut) {
77
- return this.contract.requestRedeemViaIntent(user, amount, minAmountOut);
76
+ async requestRedeemViaIntent(user, amount, minAmountOut, transactionOptions) {
77
+ return this.contract.requestRedeemViaIntent(user, amount, minAmountOut, { ...transactionOptions });
78
78
  }
79
79
  }
80
80
  class LexPoolV1FunctionsGroup_Processing {
81
81
  constructor(contract) {
82
82
  this.contract = contract;
83
83
  }
84
- async processDeposit(users) {
85
- return this.contract.processDeposit(users);
84
+ async processDeposit(users, transactionOptions) {
85
+ return this.contract.processDeposit(users, { ...transactionOptions });
86
86
  }
87
- async processDeposit_static(users) {
88
- const result = await this.contract.processDeposit.staticCall(users);
87
+ async processDeposit_static(users, callOptions) {
88
+ const result = await this.contract.processDeposit.staticCall(users, { ...callOptions });
89
89
  return {
90
90
  amountDeposited: result[0],
91
91
  amountCanceled: result[1],
@@ -93,11 +93,11 @@ class LexPoolV1FunctionsGroup_Processing {
93
93
  counterCanceled: result[3],
94
94
  };
95
95
  }
96
- async processRedeems(users) {
97
- return this.contract.processRedeems(users);
96
+ async processRedeems(users, transactionOptions) {
97
+ return this.contract.processRedeems(users, { ...transactionOptions });
98
98
  }
99
- async processRedeems_static(users) {
100
- const result = await this.contract.processRedeems.staticCall(users);
99
+ async processRedeems_static(users, callOptions) {
100
+ const result = await this.contract.processRedeems.staticCall(users, { ...callOptions });
101
101
  return {
102
102
  amountRedeemed: result[0],
103
103
  amountCanceled: result[1],
@@ -105,30 +105,30 @@ class LexPoolV1FunctionsGroup_Processing {
105
105
  counterCanceled: result[3],
106
106
  };
107
107
  }
108
- async cancelDeposits(users, epochs) {
109
- return this.contract.cancelDeposits(users, epochs);
108
+ async cancelDeposits(users, epochs, transactionOptions) {
109
+ return this.contract.cancelDeposits(users, epochs, { ...transactionOptions });
110
110
  }
111
- async cancelRedeems(users, epochs) {
112
- return this.contract.cancelRedeems(users, epochs);
111
+ async cancelRedeems(users, epochs, transactionOptions) {
112
+ return this.contract.cancelRedeems(users, epochs, { ...transactionOptions });
113
113
  }
114
114
  }
115
115
  class LexPoolV1FunctionsGroup_EpochManagement {
116
116
  constructor(contract) {
117
117
  this.contract = contract;
118
118
  }
119
- async nextEpoch(totalUnrealizedPricePnL) {
120
- return this.contract.nextEpoch(totalUnrealizedPricePnL);
119
+ async nextEpoch(totalUnrealizedPricePnL, transactionOptions) {
120
+ return this.contract.nextEpoch(totalUnrealizedPricePnL, { ...transactionOptions });
121
121
  }
122
- async nextEpoch_static(totalUnrealizedPricePnL) {
123
- return this.contract.nextEpoch.staticCall(totalUnrealizedPricePnL);
122
+ async nextEpoch_static(totalUnrealizedPricePnL, callOptions) {
123
+ return this.contract.nextEpoch.staticCall(totalUnrealizedPricePnL, { ...callOptions });
124
124
  }
125
125
  }
126
126
  class LexPoolV1FunctionsGroup_TradingFloorInteraction {
127
127
  constructor(contract) {
128
128
  this.contract = contract;
129
129
  }
130
- async sendAssetToTrader(to, amount) {
131
- return this.contract.sendAssetToTrader(to, amount);
130
+ async sendAssetToTrader(to, amount, transactionOptions) {
131
+ return this.contract.sendAssetToTrader(to, amount, { ...transactionOptions });
132
132
  }
133
133
  }
134
134
  class LexPoolV1Service {
@@ -154,48 +154,48 @@ class LexPoolV1Service {
154
154
  }
155
155
  createViewFunctionsGroup() {
156
156
  return {
157
- calcNextEpochStartMin: () => this.lexPoolContract.calcNextEpochStartMin(),
158
- currentBalanceInternal: () => this.lexPoolContract.currentBalanceInternal(),
159
- underlyingBalanceForExchangeRate: () => this.lexPoolContract.underlyingBalanceForExchangeRate(),
160
- virtualBalanceForUtilization: (extraAmount, unrealizedFunding) => this.lexPoolContract["virtualBalanceForUtilization(uint256,int256)"](extraAmount, unrealizedFunding),
161
- virtualBalanceForUtilizationCurrent: () => this.lexPoolContract["virtualBalanceForUtilization()"](),
162
- currentVirtualUtilization: (totalBorrows, interestShare, unrealizedFunding) => this.lexPoolContract["currentVirtualUtilization(uint256,uint256,int256)"](totalBorrows, interestShare, unrealizedFunding),
163
- currentVirtualUtilizationSimple: () => this.lexPoolContract["currentVirtualUtilization()"](),
164
- isUtilizationForLPsValid: () => this.lexPoolContract.isUtilizationForLPsValid(),
165
- underlyingAmountToOwnAmount: (underlyingAmount) => this.lexPoolContract.underlyingAmountToOwnAmount(underlyingAmount),
166
- getDepositorsCount: (epoch) => this.lexPoolContract.getDepositorsCount(epoch),
167
- getRedeemersCount: (epoch) => this.lexPoolContract.getRedeemersCount(epoch),
168
- getDepositors: (epoch, indexFrom, count) => this.lexPoolContract.getDepositors(epoch, indexFrom, count),
169
- getRedeemers: (epoch, indexFrom, count) => this.lexPoolContract.getRedeemers(epoch, indexFrom, count),
157
+ calcNextEpochStartMin: (callOptions) => this.lexPoolContract.calcNextEpochStartMin({ ...callOptions }),
158
+ currentBalanceInternal: (callOptions) => this.lexPoolContract.currentBalanceInternal({ ...callOptions }),
159
+ underlyingBalanceForExchangeRate: (callOptions) => this.lexPoolContract.underlyingBalanceForExchangeRate({ ...callOptions }),
160
+ virtualBalanceForUtilization: (extraAmount, unrealizedFunding, callOptions) => this.lexPoolContract["virtualBalanceForUtilization(uint256,int256)"](extraAmount, unrealizedFunding, { ...callOptions }),
161
+ virtualBalanceForUtilizationCurrent: (callOptions) => this.lexPoolContract["virtualBalanceForUtilization()"]({ ...callOptions }),
162
+ currentVirtualUtilization: (totalBorrows, interestShare, unrealizedFunding, callOptions) => this.lexPoolContract["currentVirtualUtilization(uint256,uint256,int256)"](totalBorrows, interestShare, unrealizedFunding, { ...callOptions }),
163
+ currentVirtualUtilizationSimple: (callOptions) => this.lexPoolContract["currentVirtualUtilization()"]({ ...callOptions }),
164
+ isUtilizationForLPsValid: (callOptions) => this.lexPoolContract.isUtilizationForLPsValid({ ...callOptions }),
165
+ underlyingAmountToOwnAmount: (underlyingAmount, callOptions) => this.lexPoolContract.underlyingAmountToOwnAmount(underlyingAmount, { ...callOptions }),
166
+ getDepositorsCount: (epoch, callOptions) => this.lexPoolContract.getDepositorsCount(epoch, { ...callOptions }),
167
+ getRedeemersCount: (epoch, callOptions) => this.lexPoolContract.getRedeemersCount(epoch, { ...callOptions }),
168
+ getDepositors: (epoch, indexFrom, count, callOptions) => this.lexPoolContract.getDepositors(epoch, indexFrom, count, { ...callOptions }),
169
+ getRedeemers: (epoch, indexFrom, count, callOptions) => this.lexPoolContract.getRedeemers(epoch, indexFrom, count, { ...callOptions }),
170
170
  };
171
171
  }
172
172
  createStateVariablesGroup() {
173
173
  return {
174
174
  // Configuration
175
- underlyingDecimals: () => this.lexPoolContract.underlyingDecimals(),
176
- epochDuration: () => this.lexPoolContract.epochDuration(),
177
- epochsDelayDeposit: () => this.lexPoolContract.epochsDelayDeposit(),
178
- epochsDelayRedeem: () => this.lexPoolContract.epochsDelayRedeem(),
179
- minDepositAmount: () => this.lexPoolContract.minDepositAmount(),
180
- maxExtraWithdrawalAmountF: () => this.lexPoolContract.maxExtraWithdrawalAmountF(),
181
- immediateDepositAllowed: () => this.lexPoolContract.immediateDepositAllowed(),
175
+ underlyingDecimals: (callOptions) => this.lexPoolContract.underlyingDecimals({ ...callOptions }),
176
+ epochDuration: (callOptions) => this.lexPoolContract.epochDuration({ ...callOptions }),
177
+ epochsDelayDeposit: (callOptions) => this.lexPoolContract.epochsDelayDeposit({ ...callOptions }),
178
+ epochsDelayRedeem: (callOptions) => this.lexPoolContract.epochsDelayRedeem({ ...callOptions }),
179
+ minDepositAmount: (callOptions) => this.lexPoolContract.minDepositAmount({ ...callOptions }),
180
+ maxExtraWithdrawalAmountF: (callOptions) => this.lexPoolContract.maxExtraWithdrawalAmountF({ ...callOptions }),
181
+ immediateDepositAllowed: (callOptions) => this.lexPoolContract.immediateDepositAllowed({ ...callOptions }),
182
182
  // Epoch state
183
- currentEpoch: () => this.lexPoolContract.currentEpoch(),
184
- nextEpochStartMin: () => this.lexPoolContract.nextEpochStartMin(),
185
- currentExchangeRate: () => this.lexPoolContract.currentExchangeRate(),
183
+ currentEpoch: (callOptions) => this.lexPoolContract.currentEpoch({ ...callOptions }),
184
+ nextEpochStartMin: (callOptions) => this.lexPoolContract.nextEpochStartMin({ ...callOptions }),
185
+ currentExchangeRate: (callOptions) => this.lexPoolContract.currentExchangeRate({ ...callOptions }),
186
186
  // Pending amounts
187
- pendingDepositAmount: () => this.lexPoolContract.pendingDepositAmount(),
188
- pendingWithdrawalAmount: () => this.lexPoolContract.pendingWithdrawalAmount(),
187
+ pendingDepositAmount: (callOptions) => this.lexPoolContract.pendingDepositAmount({ ...callOptions }),
188
+ pendingWithdrawalAmount: (callOptions) => this.lexPoolContract.pendingWithdrawalAmount({ ...callOptions }),
189
189
  // Pending user requests (mappings)
190
- pendingDeposits: async (epoch, user) => {
191
- const result = await this.lexPoolContract.pendingDeposits(epoch, user);
190
+ pendingDeposits: async (epoch, user, callOptions) => {
191
+ const result = await this.lexPoolContract.pendingDeposits(epoch, user, { ...callOptions });
192
192
  return {
193
193
  amount: result[0],
194
194
  minAmountOut: result[1],
195
195
  };
196
196
  },
197
- pendingRedeems: async (epoch, user) => {
198
- const result = await this.lexPoolContract.pendingRedeems(epoch, user);
197
+ pendingRedeems: async (epoch, user, callOptions) => {
198
+ const result = await this.lexPoolContract.pendingRedeems(epoch, user, { ...callOptions });
199
199
  return {
200
200
  amount: result[0],
201
201
  minAmountOut: result[1],
@@ -203,40 +203,40 @@ class LexPoolV1Service {
203
203
  };
204
204
  },
205
205
  // Contract references
206
- poolAccountant: () => this.lexPoolContract.poolAccountant(),
207
- pnlRole: () => this.lexPoolContract.pnlRole(),
208
- underlying: () => this.lexPoolContract.underlying(),
209
- registry: () => this.lexPoolContract.registry(),
210
- tradingFloor: () => this.lexPoolContract.tradingFloor(),
206
+ poolAccountant: (callOptions) => this.lexPoolContract.poolAccountant({ ...callOptions }),
207
+ pnlRole: (callOptions) => this.lexPoolContract.pnlRole({ ...callOptions }),
208
+ underlying: (callOptions) => this.lexPoolContract.underlying({ ...callOptions }),
209
+ registry: (callOptions) => this.lexPoolContract.registry({ ...callOptions }),
210
+ tradingFloor: (callOptions) => this.lexPoolContract.tradingFloor({ ...callOptions }),
211
211
  };
212
212
  }
213
213
  createERC20Group() {
214
214
  return {
215
- name: () => this.lexPoolContract.name(),
216
- symbol: () => this.lexPoolContract.symbol(),
217
- decimals: () => this.lexPoolContract.decimals(),
218
- totalSupply: () => this.lexPoolContract.totalSupply(),
219
- balanceOf: (account) => this.lexPoolContract.balanceOf(account),
220
- allowance: (owner, spender) => this.lexPoolContract.allowance(owner, spender),
221
- transfer: (to, amount) => this.lexPoolContract.transfer(to, amount),
222
- transferFrom: (from, to, amount) => this.lexPoolContract.transferFrom(from, to, amount),
223
- approve: (spender, amount) => this.lexPoolContract.approve(spender, amount),
215
+ name: (callOptions) => this.lexPoolContract.name({ ...callOptions }),
216
+ symbol: (callOptions) => this.lexPoolContract.symbol({ ...callOptions }),
217
+ decimals: (callOptions) => this.lexPoolContract.decimals({ ...callOptions }),
218
+ totalSupply: (callOptions) => this.lexPoolContract.totalSupply({ ...callOptions }),
219
+ balanceOf: (account, callOptions) => this.lexPoolContract.balanceOf(account, { ...callOptions }),
220
+ allowance: (owner, spender, callOptions) => this.lexPoolContract.allowance(owner, spender, { ...callOptions }),
221
+ transfer: (to, amount, transactionOptions) => this.lexPoolContract.transfer(to, amount, { ...transactionOptions }),
222
+ transferFrom: (from, to, amount, transactionOptions) => this.lexPoolContract.transferFrom(from, to, amount, { ...transactionOptions }),
223
+ approve: (spender, amount, transactionOptions) => this.lexPoolContract.approve(spender, amount, { ...transactionOptions }),
224
224
  };
225
225
  }
226
226
  createConstantsGroup() {
227
227
  return {
228
- SELF_UNIT_SCALE: () => this.lexPoolContract.SELF_UNIT_SCALE(),
229
- PRECISION: () => this.lexPoolContract.PRECISION(),
230
- FRACTION_SCALE: () => this.lexPoolContract.FRACTION_SCALE(),
231
- LEVERAGE_SCALE: () => this.lexPoolContract.LEVERAGE_SCALE(),
228
+ SELF_UNIT_SCALE: (callOptions) => this.lexPoolContract.SELF_UNIT_SCALE({ ...callOptions }),
229
+ PRECISION: (callOptions) => this.lexPoolContract.PRECISION({ ...callOptions }),
230
+ FRACTION_SCALE: (callOptions) => this.lexPoolContract.FRACTION_SCALE({ ...callOptions }),
231
+ LEVERAGE_SCALE: (callOptions) => this.lexPoolContract.LEVERAGE_SCALE({ ...callOptions }),
232
232
  };
233
233
  }
234
234
  createContractInfoGroup() {
235
235
  return {
236
- admin: () => this.lexPoolContract.admin(),
237
- pendingAdmin: () => this.lexPoolContract.pendingAdmin(),
238
- implementation: () => this.lexPoolContract.implementation(),
239
- pendingImplementation: () => this.lexPoolContract.pendingImplementation(),
236
+ admin: (callOptions) => this.lexPoolContract.admin({ ...callOptions }),
237
+ pendingAdmin: (callOptions) => this.lexPoolContract.pendingAdmin({ ...callOptions }),
238
+ implementation: (callOptions) => this.lexPoolContract.implementation({ ...callOptions }),
239
+ pendingImplementation: (callOptions) => this.lexPoolContract.pendingImplementation({ ...callOptions }),
240
240
  };
241
241
  }
242
242
  }
@@ -7,64 +7,64 @@ class LiquidityIntentsVerifierService {
7
7
  this.contract = LiquidityIntentsVerifierV1__factory_1.LiquidityIntentsVerifierV1__factory.connect(address, signerOrProvider);
8
8
  this.isSigner = 'sendTransaction' in signerOrProvider;
9
9
  }
10
- async domainSeparatorForAsset(pool) {
11
- return await this.contract.domainSeparatorForAsset(pool);
10
+ async domainSeparatorForAsset(pool, callOptions) {
11
+ return await this.contract.domainSeparatorForAsset(pool, { ...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("LiquidityIntentsVerifierService: 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 interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, value) {
26
+ async interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, value, transactionOptions) {
27
27
  if (!this.isSigner) {
28
28
  throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
29
29
  }
30
- const tx = await this.contract.interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, { value: value || 0n });
30
+ const tx = await this.contract.interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, { value: value || 0n, ...transactionOptions });
31
31
  await tx.wait();
32
32
  }
33
- async interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, value) {
33
+ async interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, value, transactionOptions) {
34
34
  if (!this.isSigner) {
35
35
  throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
36
36
  }
37
- const tx = await this.contract.interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, { value: value || 0n });
37
+ const tx = await this.contract.interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, { value: value || 0n, ...transactionOptions });
38
38
  await tx.wait();
39
39
  }
40
- async verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, value) {
40
+ async verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, value, transactionOptions) {
41
41
  if (!this.isSigner) {
42
42
  throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
43
43
  }
44
- const tx = await this.contract.verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, { value: value || 0n });
44
+ const tx = await this.contract.verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, { value: value || 0n, ...transactionOptions });
45
45
  await tx.wait();
46
46
  }
47
- async verifyIntent_epochRedeem(payload, v, r, s, value) {
47
+ async verifyIntent_epochRedeem(payload, v, r, s, value, transactionOptions) {
48
48
  if (!this.isSigner) {
49
49
  throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
50
50
  }
51
- const tx = await this.contract.verifyIntent_epochRedeem(payload, v, r, s, { value: value || 0n });
51
+ const tx = await this.contract.verifyIntent_epochRedeem(payload, v, r, s, { value: value || 0n, ...transactionOptions });
52
52
  await tx.wait();
53
53
  }
54
- async admin() {
55
- return await this.contract.admin();
54
+ async admin(callOptions) {
55
+ return await this.contract.admin({ ...callOptions });
56
56
  }
57
- async pendingAdmin() {
58
- return await this.contract.pendingAdmin();
57
+ async pendingAdmin(callOptions) {
58
+ return await this.contract.pendingAdmin({ ...callOptions });
59
59
  }
60
- async registry() {
61
- return await this.contract.registry();
60
+ async registry(callOptions) {
61
+ return await this.contract.registry({ ...callOptions });
62
62
  }
63
- async sourceChainIdForAsset(asset) {
64
- return await this.contract.sourceChainIdForAsset(asset);
63
+ async sourceChainIdForAsset(asset, callOptions) {
64
+ return await this.contract.sourceChainIdForAsset(asset, { ...callOptions });
65
65
  }
66
- async processedSignatures(signature) {
67
- return await this.contract.processedSignatures(signature);
66
+ async processedSignatures(signature, callOptions) {
67
+ return await this.contract.processedSignatures(signature, { ...callOptions });
68
68
  }
69
69
  getContract() {
70
70
  return this.contract;