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
  }
@@ -1,17 +1,18 @@
1
1
  import { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
2
+ import { CallOptions, TransactionOptions } from "../common";
2
3
  export interface ILiquidityIntentsVerifierService {
3
- domainSeparatorForAsset(pool: string): Promise<string>;
4
- domainSeparatorForChain(chainId: bigint): Promise<string>;
5
- intentsPermissions(user: string): Promise<string>;
6
- setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
7
- interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint): Promise<void>;
8
- interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint): Promise<void>;
9
- verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint): Promise<void>;
10
- verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
11
- sourceChainIdForAsset(asset: string): Promise<bigint>;
12
- processedSignatures(signature: string): Promise<boolean>;
13
- admin(): Promise<string>;
14
- pendingAdmin(): Promise<string>;
15
- registry(): Promise<string>;
4
+ domainSeparatorForAsset(pool: string, callOptions?: CallOptions): Promise<string>;
5
+ domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
6
+ intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
7
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
8
+ interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
9
+ interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
10
+ verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
11
+ verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
12
+ sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
13
+ processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
14
+ admin(callOptions?: CallOptions): Promise<string>;
15
+ pendingAdmin(callOptions?: CallOptions): Promise<string>;
16
+ registry(callOptions?: CallOptions): Promise<string>;
16
17
  }
17
18
  //# sourceMappingURL=ILiquidityIntentsVerifierService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ILiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AAEtH,MAAM,WAAW,gCAAgC;IAE/C,uBAAuB,CAAC,IAAI,E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,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAGxD,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5B"}
1
+ {"version":3,"file":"ILiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AACtH,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE3D,MAAM,WAAW,gCAAgC;IAE/C,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjF,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGpF,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC5E,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAGxH,6BAA6B,CAC3B,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,4BAA4B,CAC1B,IAAI,EAAE,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Verifier/LiquidityIntentsVerifierV1";
3
3
  import { ILiquidityIntentsVerifierService } from "./ILiquidityIntentsVerifierService";
4
+ import { CallOptions, TransactionOptions } from "../common";
4
5
  export declare class LiquidityIntentsVerifierService implements ILiquidityIntentsVerifierService {
5
6
  private readonly contract;
6
7
  private readonly isSigner;
7
8
  constructor(signerOrProvider: Signer | Provider, address: string);
8
- domainSeparatorForAsset(pool: string): Promise<string>;
9
- domainSeparatorForChain(chainId: bigint): Promise<string>;
10
- intentsPermissions(user: string): Promise<string>;
11
- setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
12
- interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint): Promise<void>;
13
- interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint): Promise<void>;
14
- verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint): Promise<void>;
15
- verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
16
- admin(): Promise<string>;
17
- pendingAdmin(): Promise<string>;
18
- registry(): Promise<string>;
19
- sourceChainIdForAsset(asset: string): Promise<bigint>;
20
- processedSignatures(signature: string): Promise<boolean>;
9
+ domainSeparatorForAsset(pool: string, callOptions?: CallOptions): Promise<string>;
10
+ domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
11
+ intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
12
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
13
+ interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
14
+ interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
15
+ verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
16
+ verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
17
+ admin(callOptions?: CallOptions): Promise<string>;
18
+ pendingAdmin(callOptions?: CallOptions): Promise<string>;
19
+ registry(callOptions?: CallOptions): Promise<string>;
20
+ sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
21
+ processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
21
22
  getContract(): LiquidityIntentsVerifierV1;
22
23
  }
23
24
  //# sourceMappingURL=LiquidityIntentsVerifierService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AAEtH,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAErF,qBAAa,+BAAgC,YAAW,gCAAgC;IACtF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4B;IACrD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAK1D,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,M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AO,CAAC,MAAM,CAAC;IAIrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI9D,WAAW,IAAI,0BAA0B;CAG1C"}
1
+ {"version":3,"file":"LiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AAEtH,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AACrF,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE3D,qBAAa,+BAAgC,YAAW,gCAAgC;IACtF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4B;IACrD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAK1D,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjF,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIpF,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAI5E,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxH,6BAA6B,CACjC,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACp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CAAC,OAAO,CAAC;IAIzF,WAAW,IAAI,0BAA0B;CAG1C"}
@@ -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;
@@ -1,5 +1,5 @@
1
1
  import { ContractTransactionResponse } from "ethers";
2
- import { ILynxVersionedContract, IPendableAdmin } from "../common";
2
+ import { ILynxVersionedContract, IPendableAdmin, TransactionOptions, CallOptions } from "../common";
3
3
  export interface PermissionInfo {
4
4
  amountLimit: bigint;
5
5
  amountUsed: bigint;
@@ -25,47 +25,47 @@ export interface PermissionSettingPayload {
25
25
  duration: bigint;
26
26
  }
27
27
  export interface IOnBehalfTradingFunctionsGroup_PermissionQueries {
28
- isPermissionValid(owner: string, spender: string, token: string): Promise<boolean>;
29
- getRemainingAmount(owner: string, spender: string, token: string): Promise<bigint>;
30
- getPermission(owner: string, spender: string, token: string): Promise<PermissionInfo>;
31
- permanentlyRevoked(owner: string, spender: string): Promise<boolean>;
32
- hasActivePermissions(owner: string): Promise<boolean>;
33
- getActivePermissionCount(owner: string): Promise<bigint>;
34
- getActiveSpenders(owner: string): Promise<string[]>;
35
- getActiveTokensForSpender(owner: string, spender: string): Promise<string[]>;
36
- getAllActivePermissions(owner: string): Promise<AllActivePermissionsResult>;
37
- requirePermission(owner: string, spender: string, token: string): Promise<void>;
28
+ isPermissionValid(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<boolean>;
29
+ getRemainingAmount(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<bigint>;
30
+ getPermission(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<PermissionInfo>;
31
+ permanentlyRevoked(owner: string, spender: string, callOptions?: CallOptions): Promise<boolean>;
32
+ hasActivePermissions(owner: string, callOptions?: CallOptions): Promise<boolean>;
33
+ getActivePermissionCount(owner: string, callOptions?: CallOptions): Promise<bigint>;
34
+ getActiveSpenders(owner: string, callOptions?: CallOptions): Promise<string[]>;
35
+ getActiveTokensForSpender(owner: string, spender: string, callOptions?: CallOptions): Promise<string[]>;
36
+ getAllActivePermissions(owner: string, callOptions?: CallOptions): Promise<AllActivePermissionsResult>;
37
+ requirePermission(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<void>;
38
38
  }
39
39
  export interface IOnBehalfTradingFunctionsGroup_PermissionManagement {
40
- grantPermission(spender: string, token: string, amountLimit: bigint, duration: bigint): Promise<void>;
41
- revokePermission(spender: string, token: string): Promise<void>;
42
- revokeAllPermissions(spender: string): Promise<void>;
43
- chargePermission(owner: string, spender: string, token: string, amount: bigint): Promise<void>;
44
- setPermissions(payloads: PermissionSettingPayload[]): Promise<ContractTransactionResponse>;
40
+ grantPermission(spender: string, token: string, amountLimit: bigint, duration: bigint, transactionOptions?: TransactionOptions): Promise<void>;
41
+ revokePermission(spender: string, token: string, transactionOptions?: TransactionOptions): Promise<void>;
42
+ revokeAllPermissions(spender: string, transactionOptions?: TransactionOptions): Promise<void>;
43
+ chargePermission(owner: string, spender: string, token: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<void>;
44
+ setPermissions(payloads: PermissionSettingPayload[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
45
45
  }
46
46
  export interface IOnBehalfTradingFunctionsGroup_Configuration {
47
- isPaused(): Promise<boolean>;
48
- maxPermissionDuration(): Promise<bigint>;
49
- maxPermissionAmountPerToken(token: string): Promise<bigint>;
50
- getContractConfiguration(tokensToQuery: string[]): Promise<ContractConfiguration>;
47
+ isPaused(callOptions?: CallOptions): Promise<boolean>;
48
+ maxPermissionDuration(callOptions?: CallOptions): Promise<bigint>;
49
+ maxPermissionAmountPerToken(token: string, callOptions?: CallOptions): Promise<bigint>;
50
+ getContractConfiguration(tokensToQuery: string[], callOptions?: CallOptions): Promise<ContractConfiguration>;
51
51
  }
52
52
  export interface IOnBehalfTradingFunctionsGroup_AdminFunctions {
53
- setMaxPermissionDuration(maxDuration: bigint): Promise<void>;
54
- setMaxPermissionAmountForToken(token: string, maxAmount: bigint): Promise<void>;
55
- setMaxPermissionAmountsForTokens(tokens: string[], maxAmounts: bigint[]): Promise<void>;
56
- togglePause(): Promise<void>;
57
- setDynamicRoleCaller(caller: string, roleName: string): Promise<void>;
58
- setDynamicRoleCallers(callers: string[], roleNames: string[]): Promise<void>;
59
- adminRevokeSpecificPermission(owner: string, spender: string, token: string): Promise<ContractTransactionResponse>;
60
- adminBatchRevokeSpecificPermissions(owners: string[], spenders: string[], tokens: string[]): Promise<ContractTransactionResponse>;
61
- adminRevokeAllPermissionsFromOwner(owner: string, spender: string): Promise<ContractTransactionResponse>;
62
- adminPermanentlyRevokeSpender(owner: string, spender: string): Promise<ContractTransactionResponse>;
63
- setPendingAdmin(newPendingAdmin: string): Promise<void>;
64
- acceptAdmin(): Promise<void>;
53
+ setMaxPermissionDuration(maxDuration: bigint, transactionOptions?: TransactionOptions): Promise<void>;
54
+ setMaxPermissionAmountForToken(token: string, maxAmount: bigint, transactionOptions?: TransactionOptions): Promise<void>;
55
+ setMaxPermissionAmountsForTokens(tokens: string[], maxAmounts: bigint[], transactionOptions?: TransactionOptions): Promise<void>;
56
+ togglePause(transactionOptions?: TransactionOptions): Promise<void>;
57
+ setDynamicRoleCaller(caller: string, roleName: string, transactionOptions?: TransactionOptions): Promise<void>;
58
+ setDynamicRoleCallers(callers: string[], roleNames: string[], transactionOptions?: TransactionOptions): Promise<void>;
59
+ adminRevokeSpecificPermission(owner: string, spender: string, token: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
60
+ adminBatchRevokeSpecificPermissions(owners: string[], spenders: string[], tokens: string[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
61
+ adminRevokeAllPermissionsFromOwner(owner: string, spender: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
62
+ adminPermanentlyRevokeSpender(owner: string, spender: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
63
+ setPendingAdmin(newPendingAdmin: string, transactionOptions?: TransactionOptions): Promise<void>;
64
+ acceptAdmin(transactionOptions?: TransactionOptions): Promise<void>;
65
65
  }
66
66
  export interface IOnBehalfTradingFunctionsGroup_ContractReferences {
67
- registry(): Promise<string>;
68
- dynamicRoleCallers(address: string): Promise<string>;
67
+ registry(callOptions?: CallOptions): Promise<string>;
68
+ dynamicRoleCallers(address: string, callOptions?: CallOptions): Promise<string>;
69
69
  }
70
70
  export interface IOnBehalfTradingService {
71
71
  permissionQueries: IOnBehalfTradingFunctionsGroup_PermissionQueries;