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
@@ -4,16 +4,16 @@ exports.LensAddresses = void 0;
4
4
  exports.LensAddresses = {
5
5
  boba: {
6
6
  intentsVerifierLens: "0x7DfA2F609573AB8eD8cA231498FF4E8f1e7d31Fa",
7
- lexLens: "0x50D5Fb715c2A8d2f70B95960E86B33B0acB84288",
7
+ lexLens: "0xacd54792eB1844eEB2285C29dE267aA65a7A4fB0",
8
8
  tradingFloorLensLens: "0xa2320e397400bd2C56facFD958B602996FdC4a64",
9
- triggersAndPortalLens: "0x1DD754d549d2643C5a798364a5cfb2fb24f151e7",
9
+ triggersAndPortalLens: "0x756934Ca491C177f5C28D1556E1a1a89109C822b",
10
10
  rateModelLens: "0xee6354F34892C5388FC69ea1CEc0f3050aF84fB9",
11
11
  },
12
12
  sonic: {
13
13
  intentsVerifierLens: "0x0C1Fcd85856b5564a87ae378336b7CC0c139C5f7",
14
- lexLens: "0x63c665d10a23a6E52276a44bE7aC815a53C97904",
14
+ lexLens: "0x175b535ED0383e96Cc5f436464AF88768242E8d8",
15
15
  tradingFloorLensLens: "0xe8cB576813Eca9B3B9BD851Ce768eB0920274fE8",
16
- triggersAndPortalLens: "0x1E3865f4Ff5d62dE2fec715d3e676B4b602c0893",
16
+ triggersAndPortalLens: "0x0D28C4ad0dD674Cbc15Fa54c1f6FacA1D7c81093",
17
17
  rateModelLens: "0x771176a09E84365552504437e3A026ea049CBa41",
18
18
  },
19
19
  fantom: {
@@ -25,9 +25,9 @@ exports.LensAddresses = {
25
25
  },
26
26
  flare: {
27
27
  intentsVerifierLens: "0x8fBb98F9BbBBB455A86371D4B2E8ECc7b1b9C6F6",
28
- lexLens: "0x7F6D99833F25baCaC7Dfb14B93f928DC42eDF02c",
28
+ lexLens: "0x731C1CECb65ab3056BDbBBF3037FBf85A8C888c8",
29
29
  tradingFloorLensLens: "0x2779d0a13Bb4CB7798A8D656e8EdEbB560c17431",
30
- triggersAndPortalLens: "0x22066b01a00dF4fC4Bc0567dE4D251c694dBA930",
30
+ triggersAndPortalLens: "0x618d7b961baC037bbbb01c06395Ee16c06A25A2c",
31
31
  rateModelLens: "0x7D1893Da64A559C5F23C0f565F62C8480ff6A295",
32
32
  },
33
33
  };
@@ -6,40 +6,40 @@ class AcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement {
6
6
  constructor(contract) {
7
7
  this.contract = contract;
8
8
  }
9
- async _setPendingAdmin(newPendingAdmin) {
10
- return this.contract._setPendingAdmin(newPendingAdmin);
9
+ async _setPendingAdmin(newPendingAdmin, transactionOptions) {
10
+ return this.contract._setPendingAdmin(newPendingAdmin, { ...transactionOptions });
11
11
  }
12
- async _acceptAdmin() {
13
- return this.contract._acceptAdmin();
12
+ async _acceptAdmin(transactionOptions) {
13
+ return this.contract._acceptAdmin({ ...transactionOptions });
14
14
  }
15
15
  }
16
16
  class AcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement {
17
17
  constructor(contract) {
18
18
  this.contract = contract;
19
19
  }
20
- async _setPendingImplementation(newPendingImplementation) {
21
- return this.contract._setPendingImplementation(newPendingImplementation);
20
+ async _setPendingImplementation(newPendingImplementation, transactionOptions) {
21
+ return this.contract._setPendingImplementation(newPendingImplementation, { ...transactionOptions });
22
22
  }
23
- async _acceptImplementation() {
23
+ async _acceptImplementation(transactionOptions) {
24
24
  // This function modifies state and returns a uint status code (0 on success) via transaction receipt
25
- return this.contract._acceptImplementation();
25
+ return this.contract._acceptImplementation({ ...transactionOptions });
26
26
  }
27
27
  }
28
28
  class AcceptableImplementationClaimableAdminFunctionsGroup_StateVariables {
29
29
  constructor(contract) {
30
30
  this.contract = contract;
31
31
  }
32
- async admin() {
33
- return this.contract.admin();
32
+ async admin(callOptions) {
33
+ return this.contract.admin({ ...callOptions });
34
34
  }
35
- async pendingAdmin() {
36
- return this.contract.pendingAdmin();
35
+ async pendingAdmin(callOptions) {
36
+ return this.contract.pendingAdmin({ ...callOptions });
37
37
  }
38
- async implementation() {
39
- return this.contract.implementation();
38
+ async implementation(callOptions) {
39
+ return this.contract.implementation({ ...callOptions });
40
40
  }
41
- async pendingImplementation() {
42
- return this.contract.pendingImplementation();
41
+ async pendingImplementation(callOptions) {
42
+ return this.contract.pendingImplementation({ ...callOptions });
43
43
  }
44
44
  }
45
45
  class AcceptableImplementationClaimableAdminService {
@@ -7,85 +7,85 @@ class ChipsIntentsVerifierService {
7
7
  this.contract = ChipsIntentsVerifierV1__factory_1.ChipsIntentsVerifierV1__factory.connect(address, signerOrProvider);
8
8
  this.isSigner = 'sendTransaction' in signerOrProvider;
9
9
  }
10
- async domainSeparatorForAsset(chip) {
11
- return await this.contract.domainSeparatorForAsset(chip);
10
+ async domainSeparatorForAsset(chip, callOptions) {
11
+ return await this.contract.domainSeparatorForAsset(chip, { ...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 chipOutFeeForChip(chip) {
17
- return await this.contract.chipOutFeeForChip(chip);
16
+ async chipOutFeeForChip(chip, callOptions) {
17
+ return await this.contract.chipOutFeeForChip(chip, { ...callOptions });
18
18
  }
19
- async feesReceiver() {
20
- return await this.contract.feesReceiver();
19
+ async feesReceiver(callOptions) {
20
+ return await this.contract.feesReceiver({ ...callOptions });
21
21
  }
22
- async intentsPermissions(user) {
23
- return await this.contract.intentsPermissions(user);
22
+ async intentsPermissions(user, callOptions) {
23
+ return await this.contract.intentsPermissions(user, { ...callOptions });
24
24
  }
25
- async setIntentsPermissions(oftChip, dynAddressSuffix) {
25
+ async setIntentsPermissions(oftChip, dynAddressSuffix, transactionOptions) {
26
26
  if (!this.isSigner) {
27
27
  throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
28
28
  }
29
- const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix);
29
+ const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix, { ...transactionOptions });
30
30
  await tx.wait();
31
31
  }
32
- async forceChipOut(chip, holder, amount, value) {
32
+ async forceChipOut(chip, holder, amount, value, transactionOptions) {
33
33
  if (!this.isSigner) {
34
34
  throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
35
35
  }
36
- const tx = await this.contract.forceChipOut(chip, holder, amount, { value: value || 0n });
36
+ const tx = await this.contract.forceChipOut(chip, holder, amount, { value: value || 0n, ...transactionOptions });
37
37
  await tx.wait();
38
38
  }
39
- async interactOnBehalf_chipOut(chip, holder, amount, value) {
39
+ async interactOnBehalf_chipOut(chip, holder, amount, value, transactionOptions) {
40
40
  if (!this.isSigner) {
41
41
  throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
42
42
  }
43
- const tx = await this.contract.interactOnBehalf_chipOut(chip, holder, amount, { value: value || 0n });
43
+ const tx = await this.contract.interactOnBehalf_chipOut(chip, holder, amount, { value: value || 0n, ...transactionOptions });
44
44
  await tx.wait();
45
45
  }
46
- async verifyIntent_chipOut(payload, v, r, s, value) {
46
+ async verifyIntent_chipOut(payload, v, r, s, value, transactionOptions) {
47
47
  if (!this.isSigner) {
48
48
  throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
49
49
  }
50
- const tx = await this.contract.verifyIntent_chipOut(payload, v, r, s, { value: value || 0n });
50
+ const tx = await this.contract.verifyIntent_chipOut(payload, v, r, s, { value: value || 0n, ...transactionOptions });
51
51
  await tx.wait();
52
52
  }
53
- async verifyIntent_chipOutAndUnwrap(payload, v, r, s, value) {
53
+ async verifyIntent_chipOutAndUnwrap(payload, v, r, s, value, transactionOptions) {
54
54
  if (!this.isSigner) {
55
55
  throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
56
56
  }
57
- const tx = await this.contract.verifyIntent_chipOutAndUnwrap(payload, v, r, s, { value: value || 0n });
57
+ const tx = await this.contract.verifyIntent_chipOutAndUnwrap(payload, v, r, s, { value: value || 0n, ...transactionOptions });
58
58
  await tx.wait();
59
59
  }
60
- async getLZDstChainIdFromChip(chip) {
61
- return await this.contract.getLZDstChainIdFromChip(chip);
60
+ async getLZDstChainIdFromChip(chip, callOptions) {
61
+ return await this.contract.getLZDstChainIdFromChip(chip, { ...callOptions });
62
62
  }
63
- async getLZDstChainIdFromEvmChainId(evmChainId) {
64
- return await this.contract.getLZDstChainIdFromEvmChainId(evmChainId);
63
+ async getLZDstChainIdFromEvmChainId(evmChainId, callOptions) {
64
+ return await this.contract.getLZDstChainIdFromEvmChainId(evmChainId, { ...callOptions });
65
65
  }
66
- async evmIdToLzEid(evmChainId) {
67
- return await this.contract.evmIdToLzEid(evmChainId);
66
+ async evmIdToLzEid(evmChainId, callOptions) {
67
+ return await this.contract.evmIdToLzEid(evmChainId, { ...callOptions });
68
68
  }
69
- async getWrapNativeChipInOutHelper(oftChip) {
70
- return await this.contract.getWrapNativeChipInOutHelper(oftChip);
69
+ async getWrapNativeChipInOutHelper(oftChip, callOptions) {
70
+ return await this.contract.getWrapNativeChipInOutHelper(oftChip, { ...callOptions });
71
71
  }
72
- async sourceChainIdForAsset(asset) {
73
- return await this.contract.sourceChainIdForAsset(asset);
72
+ async sourceChainIdForAsset(asset, callOptions) {
73
+ return await this.contract.sourceChainIdForAsset(asset, { ...callOptions });
74
74
  }
75
- async processedSignatures(signature) {
76
- return await this.contract.processedSignatures(signature);
75
+ async processedSignatures(signature, callOptions) {
76
+ return await this.contract.processedSignatures(signature, { ...callOptions });
77
77
  }
78
- async admin() {
79
- return await this.contract.admin();
78
+ async admin(callOptions) {
79
+ return await this.contract.admin({ ...callOptions });
80
80
  }
81
- async pendingAdmin() {
82
- return await this.contract.pendingAdmin();
81
+ async pendingAdmin(callOptions) {
82
+ return await this.contract.pendingAdmin({ ...callOptions });
83
83
  }
84
- async registry() {
85
- return await this.contract.registry();
84
+ async registry(callOptions) {
85
+ return await this.contract.registry({ ...callOptions });
86
86
  }
87
- async wrapNativeChipInOutHelpers(oftChip) {
88
- return await this.contract.wrapNativeChipInOutHelpers(oftChip);
87
+ async wrapNativeChipInOutHelpers(oftChip, callOptions) {
88
+ return await this.contract.wrapNativeChipInOutHelpers(oftChip, { ...callOptions });
89
89
  }
90
90
  getContract() {
91
91
  return this.contract;
@@ -8,41 +8,41 @@ class ERC20Operations {
8
8
  this.contract = contract;
9
9
  this.isSigner = isSigner;
10
10
  }
11
- async name() {
12
- return await this.contract.name();
11
+ async name(callOptions) {
12
+ return await this.contract.name({ ...callOptions });
13
13
  }
14
- async symbol() {
15
- return await this.contract.symbol();
14
+ async symbol(callOptions) {
15
+ return await this.contract.symbol({ ...callOptions });
16
16
  }
17
- async decimals() {
18
- return await this.contract.decimals();
17
+ async decimals(callOptions) {
18
+ return await this.contract.decimals({ ...callOptions });
19
19
  }
20
- async totalSupply() {
21
- return await this.contract.totalSupply();
20
+ async totalSupply(callOptions) {
21
+ return await this.contract.totalSupply({ ...callOptions });
22
22
  }
23
- async balanceOf(account) {
24
- return await this.contract.balanceOf(account);
23
+ async balanceOf(account, callOptions) {
24
+ return await this.contract.balanceOf(account, { ...callOptions });
25
25
  }
26
- async allowance(owner, spender) {
27
- return await this.contract.allowance(owner, spender);
26
+ async allowance(owner, spender, callOptions) {
27
+ return await this.contract.allowance(owner, spender, { ...callOptions });
28
28
  }
29
- async approve(spender, value) {
29
+ async approve(spender, value, transactionOptions) {
30
30
  if (!this.isSigner) {
31
31
  throw new Error("EngineChipService: Write operations require a signer");
32
32
  }
33
- return await this.contract.approve(spender, value);
33
+ return await this.contract.approve(spender, value, { ...transactionOptions });
34
34
  }
35
- async transfer(to, value) {
35
+ async transfer(to, value, transactionOptions) {
36
36
  if (!this.isSigner) {
37
37
  throw new Error("EngineChipService: Write operations require a signer");
38
38
  }
39
- return await this.contract.transfer(to, value);
39
+ return await this.contract.transfer(to, value, { ...transactionOptions });
40
40
  }
41
- async transferFrom(from, to, value) {
41
+ async transferFrom(from, to, value, transactionOptions) {
42
42
  if (!this.isSigner) {
43
43
  throw new Error("EngineChipService: Write operations require a signer");
44
44
  }
45
- return await this.contract.transferFrom(from, to, value);
45
+ return await this.contract.transferFrom(from, to, value, { ...transactionOptions });
46
46
  }
47
47
  }
48
48
  // ============ Minting Operations Implementation ============
@@ -51,29 +51,29 @@ class MintingOperations {
51
51
  this.contract = contract;
52
52
  this.isSigner = isSigner;
53
53
  }
54
- async mintChip(toAddress, amount) {
54
+ async mintChip(toAddress, amount, transactionOptions) {
55
55
  if (!this.isSigner) {
56
56
  throw new Error("EngineChipService: Write operations require a signer");
57
57
  }
58
- return await this.contract.mintChip(toAddress, amount);
58
+ return await this.contract.mintChip(toAddress, amount, { ...transactionOptions });
59
59
  }
60
- async isMintingPaused() {
61
- return await this.contract.isMintingPaused();
60
+ async isMintingPaused(callOptions) {
61
+ return await this.contract.isMintingPaused({ ...callOptions });
62
62
  }
63
- async setIsMintingPaused(value) {
63
+ async setIsMintingPaused(value, transactionOptions) {
64
64
  if (!this.isSigner) {
65
65
  throw new Error("EngineChipService: Write operations require a signer");
66
66
  }
67
- return await this.contract.setIsMintingPaused(value);
67
+ return await this.contract.setIsMintingPaused(value, { ...transactionOptions });
68
68
  }
69
- async setMintController(mintController) {
69
+ async setMintController(mintController, transactionOptions) {
70
70
  if (!this.isSigner) {
71
71
  throw new Error("EngineChipService: Write operations require a signer");
72
72
  }
73
- return await this.contract.setMintController(mintController);
73
+ return await this.contract.setMintController(mintController, { ...transactionOptions });
74
74
  }
75
- async mintController() {
76
- return await this.contract.mintController();
75
+ async mintController(callOptions) {
76
+ return await this.contract.mintController({ ...callOptions });
77
77
  }
78
78
  }
79
79
  // ============ Burning Operations Implementation ============
@@ -82,35 +82,35 @@ class BurningOperations {
82
82
  this.contract = contract;
83
83
  this.isSigner = isSigner;
84
84
  }
85
- async burnChip(receiver, amount) {
85
+ async burnChip(receiver, amount, transactionOptions) {
86
86
  if (!this.isSigner) {
87
87
  throw new Error("EngineChipService: Write operations require a signer");
88
88
  }
89
- return await this.contract.burnChip(receiver, amount);
89
+ return await this.contract.burnChip(receiver, amount, { ...transactionOptions });
90
90
  }
91
- async burnChipAndCall(amount, payload) {
91
+ async burnChipAndCall(amount, payload, transactionOptions) {
92
92
  if (!this.isSigner) {
93
93
  throw new Error("EngineChipService: Write operations require a signer");
94
94
  }
95
- return await this.contract.burnChipAndCall(amount, payload);
95
+ return await this.contract.burnChipAndCall(amount, payload, { ...transactionOptions });
96
96
  }
97
- async setBurnController(burnController) {
97
+ async setBurnController(burnController, transactionOptions) {
98
98
  if (!this.isSigner) {
99
99
  throw new Error("EngineChipService: Write operations require a signer");
100
100
  }
101
- return await this.contract.setBurnController(burnController);
101
+ return await this.contract.setBurnController(burnController, { ...transactionOptions });
102
102
  }
103
- async setBurnHandler(handler) {
103
+ async setBurnHandler(handler, transactionOptions) {
104
104
  if (!this.isSigner) {
105
105
  throw new Error("EngineChipService: Write operations require a signer");
106
106
  }
107
- return await this.contract.setBurnHandler(handler);
107
+ return await this.contract.setBurnHandler(handler, { ...transactionOptions });
108
108
  }
109
- async burnController() {
110
- return await this.contract.burnController();
109
+ async burnController(callOptions) {
110
+ return await this.contract.burnController({ ...callOptions });
111
111
  }
112
- async burnHandler() {
113
- return await this.contract.burnHandler();
112
+ async burnHandler(callOptions) {
113
+ return await this.contract.burnHandler({ ...callOptions });
114
114
  }
115
115
  }
116
116
  // ============ Admin Functions Implementation ============
@@ -119,29 +119,29 @@ class AdminFunctions {
119
119
  this.contract = contract;
120
120
  this.isSigner = isSigner;
121
121
  }
122
- async setPendingAdmin(newPendingAdmin) {
122
+ async setPendingAdmin(newPendingAdmin, transactionOptions) {
123
123
  if (!this.isSigner) {
124
124
  throw new Error("EngineChipService: Write operations require a signer");
125
125
  }
126
- return await this.contract._setPendingAdmin(newPendingAdmin);
126
+ return await this.contract._setPendingAdmin(newPendingAdmin, { ...transactionOptions });
127
127
  }
128
- async acceptAdmin() {
128
+ async acceptAdmin(transactionOptions) {
129
129
  if (!this.isSigner) {
130
130
  throw new Error("EngineChipService: Write operations require a signer");
131
131
  }
132
- return await this.contract._acceptAdmin();
132
+ return await this.contract._acceptAdmin({ ...transactionOptions });
133
133
  }
134
- async sweepTokens(token, amount) {
134
+ async sweepTokens(token, amount, transactionOptions) {
135
135
  if (!this.isSigner) {
136
136
  throw new Error("EngineChipService: Write operations require a signer");
137
137
  }
138
- return await this.contract.sweepTokens(token, amount);
138
+ return await this.contract.sweepTokens(token, amount, { ...transactionOptions });
139
139
  }
140
- async sweepNative(amount) {
140
+ async sweepNative(amount, transactionOptions) {
141
141
  if (!this.isSigner) {
142
142
  throw new Error("EngineChipService: Write operations require a signer");
143
143
  }
144
- return await this.contract.sweepNative(amount);
144
+ return await this.contract.sweepNative(amount, { ...transactionOptions });
145
145
  }
146
146
  }
147
147
  // ============ Auto Approval Management Implementation ============
@@ -150,20 +150,20 @@ class AutoApprovalManagement {
150
150
  this.contract = contract;
151
151
  this.isSigner = isSigner;
152
152
  }
153
- async setAutoApprovedSpenderForRole(role, spender) {
153
+ async setAutoApprovedSpenderForRole(role, spender, transactionOptions) {
154
154
  if (!this.isSigner) {
155
155
  throw new Error("EngineChipService: Write operations require a signer");
156
156
  }
157
- return await this.contract.setAutoApprovedSpenderForRole(role, spender);
157
+ return await this.contract.setAutoApprovedSpenderForRole(role, spender, { ...transactionOptions });
158
158
  }
159
- async getAutoApprovedSpenderAddressByRole(role) {
160
- return await this.contract.getAutoApprovedSpenderAddressByRole(role);
159
+ async getAutoApprovedSpenderAddressByRole(role, callOptions) {
160
+ return await this.contract.getAutoApprovedSpenderAddressByRole(role, { ...callOptions });
161
161
  }
162
- async autoApproved(address) {
163
- return await this.contract.autoApproved(address);
162
+ async autoApproved(address, callOptions) {
163
+ return await this.contract.autoApproved(address, { ...callOptions });
164
164
  }
165
- async autoApprovedSpendersByRoles(roleHash) {
166
- return await this.contract.autoApprovedSpendersByRoles(roleHash);
165
+ async autoApprovedSpendersByRoles(roleHash, callOptions) {
166
+ return await this.contract.autoApprovedSpendersByRoles(roleHash, { ...callOptions });
167
167
  }
168
168
  }
169
169
  // ============ View Functions Implementation ============
@@ -171,31 +171,31 @@ class ViewFunctions {
171
171
  constructor(contract) {
172
172
  this.contract = contract;
173
173
  }
174
- async exchangeRate() {
175
- return await this.contract.exchangeRate();
174
+ async exchangeRate(callOptions) {
175
+ return await this.contract.exchangeRate({ ...callOptions });
176
176
  }
177
- async underlyingToken() {
178
- return await this.contract.underlyingToken();
177
+ async underlyingToken(callOptions) {
178
+ return await this.contract.underlyingToken({ ...callOptions });
179
179
  }
180
- async chipMode() {
181
- return await this.contract.chipMode();
180
+ async chipMode(callOptions) {
181
+ return await this.contract.chipMode({ ...callOptions });
182
182
  }
183
- async registry() {
184
- return await this.contract.registry();
183
+ async registry(callOptions) {
184
+ return await this.contract.registry({ ...callOptions });
185
185
  }
186
- async SELF_UNIT_SCALE() {
187
- return await this.contract.SELF_UNIT_SCALE();
186
+ async SELF_UNIT_SCALE(callOptions) {
187
+ return await this.contract.SELF_UNIT_SCALE({ ...callOptions });
188
188
  }
189
- async getChipConfiguration() {
189
+ async getChipConfiguration(callOptions) {
190
190
  const [name, symbol, decimals, totalSupply, underlyingToken, exchangeRate, chipMode, selfUnitScale,] = await Promise.all([
191
- this.contract.name(),
192
- this.contract.symbol(),
193
- this.contract.decimals(),
194
- this.contract.totalSupply(),
195
- this.contract.underlyingToken(),
196
- this.contract.exchangeRate(),
197
- this.contract.chipMode(),
198
- this.contract.SELF_UNIT_SCALE(),
191
+ this.contract.name({ ...callOptions }),
192
+ this.contract.symbol({ ...callOptions }),
193
+ this.contract.decimals({ ...callOptions }),
194
+ this.contract.totalSupply({ ...callOptions }),
195
+ this.contract.underlyingToken({ ...callOptions }),
196
+ this.contract.exchangeRate({ ...callOptions }),
197
+ this.contract.chipMode({ ...callOptions }),
198
+ this.contract.SELF_UNIT_SCALE({ ...callOptions }),
199
199
  ]);
200
200
  return {
201
201
  name,
@@ -208,11 +208,11 @@ class ViewFunctions {
208
208
  selfUnitScale,
209
209
  };
210
210
  }
211
- async getChipControllers() {
211
+ async getChipControllers(callOptions) {
212
212
  const [mintController, burnController, burnHandler] = await Promise.all([
213
- this.contract.mintController(),
214
- this.contract.burnController(),
215
- this.contract.burnHandler(),
213
+ this.contract.mintController({ ...callOptions }),
214
+ this.contract.burnController({ ...callOptions }),
215
+ this.contract.burnHandler({ ...callOptions }),
216
216
  ]);
217
217
  return {
218
218
  mintController,
@@ -220,8 +220,8 @@ class ViewFunctions {
220
220
  burnHandler,
221
221
  };
222
222
  }
223
- async getChipMintingState() {
224
- const isMintingPaused = await this.contract.isMintingPaused();
223
+ async getChipMintingState(callOptions) {
224
+ const isMintingPaused = await this.contract.isMintingPaused({ ...callOptions });
225
225
  return {
226
226
  isMintingPaused,
227
227
  };
@@ -232,11 +232,11 @@ class PendableAdmin {
232
232
  constructor(contract) {
233
233
  this.contract = contract;
234
234
  }
235
- async admin() {
236
- return await this.contract.admin();
235
+ async admin(callOptions) {
236
+ return await this.contract.admin({ ...callOptions });
237
237
  }
238
- async pendingAdmin() {
239
- return await this.contract.pendingAdmin();
238
+ async pendingAdmin(callOptions) {
239
+ return await this.contract.pendingAdmin({ ...callOptions });
240
240
  }
241
241
  }
242
242
  // ============ Lynx Versioned Contract Implementation ============
@@ -244,18 +244,18 @@ class LynxVersionedContract {
244
244
  constructor(contract) {
245
245
  this.contract = contract;
246
246
  }
247
- async getContractName() {
247
+ async getContractName(callOptions) {
248
248
  // EngineChip may not have versioning methods, return the contract name
249
249
  return "EngineChip";
250
250
  }
251
- async getContractVersion() {
251
+ async getContractVersion(callOptions) {
252
252
  // EngineChip may not have versioning methods, return a default version
253
253
  return "1.0.0";
254
254
  }
255
- async CONTRACT_NAME() {
255
+ async CONTRACT_NAME(callOptions) {
256
256
  return "EngineChip";
257
257
  }
258
- async CONTRACT_VERSION() {
258
+ async CONTRACT_VERSION(callOptions) {
259
259
  return "1.0.0";
260
260
  }
261
261
  }