lynx-client 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  2. package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  3. package/dist/cjs/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  4. package/dist/cjs/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  5. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  6. package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +50 -50
  7. package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  8. package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  9. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  10. package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  11. package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  12. package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  13. package/dist/cjs/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  14. package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  15. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
  16. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  17. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  18. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +8 -8
  19. package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  20. package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  21. package/dist/esm/index.d.ts +1 -1
  22. package/dist/esm/index.d.ts.map +1 -1
  23. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  24. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  25. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  26. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  27. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  28. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  29. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  30. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  31. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  32. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  33. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  34. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  35. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  36. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  37. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  38. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  39. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  40. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  41. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  42. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  43. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  44. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  45. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  46. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  47. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  48. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  49. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +50 -50
  50. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  51. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  52. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  53. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  54. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  55. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  56. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  57. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  58. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  59. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  60. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  61. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  62. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  63. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  64. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  65. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  66. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  67. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  68. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  69. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  70. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  71. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  72. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  73. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  74. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  75. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  76. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  77. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  78. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  79. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  80. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  81. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  82. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  83. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  84. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  85. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  86. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  87. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  88. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
  89. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  90. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  91. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  92. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  93. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  94. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  95. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  96. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  97. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  98. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
  99. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  100. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
  101. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  102. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +8 -8
  103. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  104. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  105. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  106. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  107. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  108. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  109. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  110. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  111. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  112. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  113. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  114. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  115. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  116. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  117. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  118. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  119. package/dist/esm/lib/contractsIntegration/common/index.d.ts +20 -0
  120. package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
  121. package/dist/types/index.d.ts +1 -1
  122. package/dist/types/index.d.ts.map +1 -1
  123. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  124. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  125. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  126. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  127. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  128. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  129. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  130. package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  131. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  132. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  133. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  134. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  135. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  136. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  137. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  138. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  139. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  140. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  141. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  142. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  143. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  144. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  145. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  146. package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  147. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  148. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  149. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  150. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  151. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  152. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  153. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  154. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  155. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  156. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  157. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  158. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  159. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  160. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  161. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  162. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  163. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  164. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  165. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  166. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  167. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  168. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  169. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  170. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  171. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  172. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  173. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  174. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  175. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  176. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  177. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  178. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  179. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  180. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  181. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
  182. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  183. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
  184. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  185. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  186. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  187. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  188. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  189. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  190. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  191. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  192. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  193. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  194. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  195. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  196. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  197. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  198. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  199. package/dist/types/lib/contractsIntegration/common/index.d.ts +20 -0
  200. package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
  201. package/package.json +1 -1
@@ -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
  }
@@ -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 ChipConfiguration {
4
4
  name: string;
5
5
  symbol: string;
@@ -23,52 +23,52 @@ export interface AutoApprovalInfo {
23
23
  spenderAddress: string;
24
24
  }
25
25
  export interface IEngineChipFunctionsGroup_ERC20Operations {
26
- name(): Promise<string>;
27
- symbol(): Promise<string>;
28
- decimals(): Promise<bigint>;
29
- totalSupply(): Promise<bigint>;
30
- balanceOf(account: string): Promise<bigint>;
31
- allowance(owner: string, spender: string): Promise<bigint>;
32
- approve(spender: string, value: bigint): Promise<ContractTransactionResponse>;
33
- transfer(to: string, value: bigint): Promise<ContractTransactionResponse>;
34
- transferFrom(from: string, to: string, value: bigint): Promise<ContractTransactionResponse>;
26
+ name(callOptions?: CallOptions): Promise<string>;
27
+ symbol(callOptions?: CallOptions): Promise<string>;
28
+ decimals(callOptions?: CallOptions): Promise<bigint>;
29
+ totalSupply(callOptions?: CallOptions): Promise<bigint>;
30
+ balanceOf(account: string, callOptions?: CallOptions): Promise<bigint>;
31
+ allowance(owner: string, spender: string, callOptions?: CallOptions): Promise<bigint>;
32
+ approve(spender: string, value: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
33
+ transfer(to: string, value: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
34
+ transferFrom(from: string, to: string, value: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
35
35
  }
36
36
  export interface IEngineChipFunctionsGroup_MintingOperations {
37
- mintChip(toAddress: string, amount: bigint): Promise<ContractTransactionResponse>;
38
- isMintingPaused(): Promise<boolean>;
39
- setIsMintingPaused(value: boolean): Promise<ContractTransactionResponse>;
40
- setMintController(mintController: string): Promise<ContractTransactionResponse>;
41
- mintController(): Promise<string>;
37
+ mintChip(toAddress: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
38
+ isMintingPaused(callOptions?: CallOptions): Promise<boolean>;
39
+ setIsMintingPaused(value: boolean, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
40
+ setMintController(mintController: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
41
+ mintController(callOptions?: CallOptions): Promise<string>;
42
42
  }
43
43
  export interface IEngineChipFunctionsGroup_BurningOperations {
44
- burnChip(receiver: string, amount: bigint): Promise<ContractTransactionResponse>;
45
- burnChipAndCall(amount: bigint, payload: string): Promise<ContractTransactionResponse>;
46
- setBurnController(burnController: string): Promise<ContractTransactionResponse>;
47
- setBurnHandler(handler: string): Promise<ContractTransactionResponse>;
48
- burnController(): Promise<string>;
49
- burnHandler(): Promise<string>;
44
+ burnChip(receiver: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
45
+ burnChipAndCall(amount: bigint, payload: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
46
+ setBurnController(burnController: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
47
+ setBurnHandler(handler: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
48
+ burnController(callOptions?: CallOptions): Promise<string>;
49
+ burnHandler(callOptions?: CallOptions): Promise<string>;
50
50
  }
51
51
  export interface IEngineChipFunctionsGroup_AdminFunctions {
52
- setPendingAdmin(newPendingAdmin: string): Promise<ContractTransactionResponse>;
53
- acceptAdmin(): Promise<ContractTransactionResponse>;
54
- sweepTokens(token: string, amount: bigint): Promise<ContractTransactionResponse>;
55
- sweepNative(amount: bigint): Promise<ContractTransactionResponse>;
52
+ setPendingAdmin(newPendingAdmin: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
53
+ acceptAdmin(transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
54
+ sweepTokens(token: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
55
+ sweepNative(amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
56
56
  }
57
57
  export interface IEngineChipFunctionsGroup_AutoApprovalManagement {
58
- setAutoApprovedSpenderForRole(role: string, spender: string): Promise<ContractTransactionResponse>;
59
- getAutoApprovedSpenderAddressByRole(role: string): Promise<string>;
60
- autoApproved(address: string): Promise<boolean>;
61
- autoApprovedSpendersByRoles(roleHash: string): Promise<string>;
58
+ setAutoApprovedSpenderForRole(role: string, spender: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
59
+ getAutoApprovedSpenderAddressByRole(role: string, callOptions?: CallOptions): Promise<string>;
60
+ autoApproved(address: string, callOptions?: CallOptions): Promise<boolean>;
61
+ autoApprovedSpendersByRoles(roleHash: string, callOptions?: CallOptions): Promise<string>;
62
62
  }
63
63
  export interface IEngineChipFunctionsGroup_ViewFunctions {
64
- exchangeRate(): Promise<bigint>;
65
- underlyingToken(): Promise<string>;
66
- chipMode(): Promise<bigint>;
67
- registry(): Promise<string>;
68
- SELF_UNIT_SCALE(): Promise<bigint>;
69
- getChipConfiguration(): Promise<ChipConfiguration>;
70
- getChipControllers(): Promise<ChipControllers>;
71
- getChipMintingState(): Promise<ChipMintingState>;
64
+ exchangeRate(callOptions?: CallOptions): Promise<bigint>;
65
+ underlyingToken(callOptions?: CallOptions): Promise<string>;
66
+ chipMode(callOptions?: CallOptions): Promise<bigint>;
67
+ registry(callOptions?: CallOptions): Promise<string>;
68
+ SELF_UNIT_SCALE(callOptions?: CallOptions): Promise<bigint>;
69
+ getChipConfiguration(callOptions?: CallOptions): Promise<ChipConfiguration>;
70
+ getChipControllers(callOptions?: CallOptions): Promise<ChipControllers>;
71
+ getChipMintingState(callOptions?: CallOptions): Promise<ChipMintingState>;
72
72
  }
73
73
  export interface IEngineChipService {
74
74
  erc20Operations: IEngineChipFunctionsGroup_ERC20Operations;
@@ -1 +1 @@
1
- {"version":3,"file":"IEngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/IEngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGnE,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;CACxB;AAID,MAAM,WAAW,yCAAyC;IACxD,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAExB,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE5B,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE/B,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE5C,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CA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B,EAAE,2CAA2C,CAAC;IAC/D,cAAc,EAAE,wCAAwC,CAAC;IACzD,sBAAsB,EAAE,gDAAgD,CAAC;IACzE,aAAa,EAAE,uCAAuC,CAAC;IACvD,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,sBAAsB,CAAC;CAC/C"}
1
+ {"version":3,"file":"IEngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/IEngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGpG,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;CACxB;AAID,MAAM,WAAW,yCAAyC;IACxD,IAAI,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjD,MAAM,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnD,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO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AAC;IAC3D,iBAAiB,EAAE,2CAA2C,CAAC;IAC/D,iBAAiB,EAAE,2CAA2C,CAAC;IAC/D,cAAc,EAAE,wCAAwC,CAAC;IACzD,sBAAsB,EAAE,gDAAgD,CAAC;IACzE,aAAa,EAAE,uCAAuC,CAAC;IACvD,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,sBAAsB,CAAC;CAC/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,QAAQ,EAAE,MAAM,EAA+B,MAAM,QAAQ,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gEAAgE,CAAA;AAEjG,OAAO,EACL,sBAAsB,EACtB,+CAA+C,EAC/C,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAGjD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AA6IlE,qBAAa,qBAAsB,YAAW,sBAAsB;IAWhE,OAAO,CAAC,gBAAgB;IAV1B,OAAO,CAAC,QAAQ,CAAkB;IAClC,SAAgB,iBAAiB,EAAE,+CAA+C,CAAA;IAClF,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,cAAc,EAAE,4CAA4C,CAAA;IAC5E,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,aAAa,EAAE,cAAc,CAAA;IAC7C,SAAgB,qBAAqB,EAAE,sBAAsB,CAAA;gBAG3D,OAAO,EAAE,MAAM,EACP,gBAAgB,EAAE,MAAM,GAAG,QAAQ;IAe7C,WAAW,IAAI,gBAAgB;CAGhC"}
1
+ {"version":3,"file":"FeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,QAAQ,EAAE,MAAM,EAA+B,MAAM,QAAQ,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gEAAgE,CAAA;AAEjG,OAAO,EACL,sBAAsB,EACtB,+CAA+C,EAC/C,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAGjD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAmC,MAAM,WAAW,CAAA;AAoJnG,qBAAa,qBAAsB,YAAW,sBAAsB;IAWhE,OAAO,CAAC,gBAAgB;IAV1B,OAAO,CAAC,QAAQ,CAAkB;IAClC,SAAgB,iBAAiB,EAAE,+CAA+C,CAAA;IAClF,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,cAAc,EAAE,4CAA4C,CAAA;IAC5E,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,aAAa,EAAE,cAAc,CAAA;IAC7C,SAAgB,qBAAqB,EAAE,sBAAsB,CAAA;gBAG3D,OAAO,EAAE,MAAM,EACP,gBAAgB,EAAE,MAAM,GAAG,QAAQ;IAe7C,WAAW,IAAI,gBAAgB;CAGhC"}
@@ -6,97 +6,97 @@ class FeatureManagement {
6
6
  constructor(contract) {
7
7
  this.contract = contract;
8
8
  }
9
- async adminRegisterFeature(featureId, name) {
10
- return this.contract.adminRegisterFeature(featureId, name);
9
+ async adminRegisterFeature(featureId, name, transactionOptions) {
10
+ return this.contract.adminRegisterFeature(featureId, name, { ...transactionOptions });
11
11
  }
12
- async adminDisableFeatureForUser(featureId, user) {
13
- return this.contract.adminDisableFeatureForUser(featureId, user);
12
+ async adminDisableFeatureForUser(featureId, user, transactionOptions) {
13
+ return this.contract.adminDisableFeatureForUser(featureId, user, { ...transactionOptions });
14
14
  }
15
- async adminBatchDisableFeatureForUsers(featureId, users) {
16
- return this.contract.adminBatchDisableFeatureForUsers(featureId, users);
15
+ async adminBatchDisableFeatureForUsers(featureId, users, transactionOptions) {
16
+ return this.contract.adminBatchDisableFeatureForUsers(featureId, users, { ...transactionOptions });
17
17
  }
18
18
  }
19
19
  class UserFeatureControl {
20
20
  constructor(contract) {
21
21
  this.contract = contract;
22
22
  }
23
- async setFeatureActivated(featureId, enabled) {
24
- return this.contract.setFeatureActivated(featureId, enabled);
23
+ async setFeatureActivated(featureId, enabled, transactionOptions) {
24
+ return this.contract.setFeatureActivated(featureId, enabled, { ...transactionOptions });
25
25
  }
26
26
  }
27
27
  class FeatureQueries {
28
28
  constructor(contract) {
29
29
  this.contract = contract;
30
30
  }
31
- async isFeatureActivated(featureId, user) {
32
- return this.contract.isFeatureActivated(featureId, user);
31
+ async isFeatureActivated(featureId, user, callOptions) {
32
+ return this.contract.isFeatureActivated(featureId, user, { ...callOptions });
33
33
  }
34
- async isFeatureRegistered(featureId) {
35
- return this.contract.isFeatureRegistered(featureId);
34
+ async isFeatureRegistered(featureId, callOptions) {
35
+ return this.contract.isFeatureRegistered(featureId, { ...callOptions });
36
36
  }
37
- async getFeatureMetadata(featureId) {
38
- const result = await this.contract.getFeatureMetadata(featureId);
37
+ async getFeatureMetadata(featureId, callOptions) {
38
+ const result = await this.contract.getFeatureMetadata(featureId, { ...callOptions });
39
39
  return {
40
40
  name: result.name,
41
41
  exists: result.exists,
42
42
  usersCount: result.usersCount,
43
43
  };
44
44
  }
45
- async getFeatureUsers(featureId, startIndex, pageSize) {
46
- const result = await this.contract.getFeatureUsers(featureId, startIndex, pageSize);
45
+ async getFeatureUsers(featureId, startIndex, pageSize, callOptions) {
46
+ const result = await this.contract.getFeatureUsers(featureId, startIndex, pageSize, { ...callOptions });
47
47
  return {
48
48
  users: result.users,
49
49
  totalCount: result.totalCount,
50
50
  hasMore: result.hasMore,
51
51
  };
52
52
  }
53
- async getFeatureUsersCount(featureId) {
54
- return this.contract.getFeatureUsersCount(featureId);
53
+ async getFeatureUsersCount(featureId, callOptions) {
54
+ return this.contract.getFeatureUsersCount(featureId, { ...callOptions });
55
55
  }
56
- async getAllFeatureIds() {
57
- return this.contract.getAllFeatureIds();
56
+ async getAllFeatureIds(callOptions) {
57
+ return this.contract.getAllFeatureIds({ ...callOptions });
58
58
  }
59
- async featureName(featureId) {
60
- return this.contract.featureName(featureId);
59
+ async featureName(featureId, callOptions) {
60
+ return this.contract.featureName(featureId, { ...callOptions });
61
61
  }
62
62
  }
63
63
  class ContractReferences {
64
64
  constructor(contract) {
65
65
  this.contract = contract;
66
66
  }
67
- async registry() {
68
- return this.contract.registry();
67
+ async registry(callOptions) {
68
+ return this.contract.registry({ ...callOptions });
69
69
  }
70
- async implementation() {
71
- return this.contract.implementation();
70
+ async implementation(callOptions) {
71
+ return this.contract.implementation({ ...callOptions });
72
72
  }
73
73
  }
74
74
  class PendableAdmin {
75
75
  constructor(contract) {
76
76
  this.contract = contract;
77
77
  }
78
- async admin() {
79
- return this.contract.admin();
78
+ async admin(callOptions) {
79
+ return this.contract.admin({ ...callOptions });
80
80
  }
81
- async pendingAdmin() {
82
- return this.contract.pendingAdmin();
81
+ async pendingAdmin(callOptions) {
82
+ return this.contract.pendingAdmin({ ...callOptions });
83
83
  }
84
84
  }
85
85
  class LynxVersionedContract {
86
86
  constructor(contract) {
87
87
  this.contract = contract;
88
88
  }
89
- async getContractName() {
90
- return this.contract.getContractName();
89
+ async getContractName(callOptions) {
90
+ return this.contract.getContractName({ ...callOptions });
91
91
  }
92
- async getContractVersion() {
93
- return this.contract.getContractVersion();
92
+ async getContractVersion(callOptions) {
93
+ return this.contract.getContractVersion({ ...callOptions });
94
94
  }
95
- async CONTRACT_NAME() {
96
- return this.contract.CONTRACT_NAME();
95
+ async CONTRACT_NAME(callOptions) {
96
+ return this.contract.CONTRACT_NAME({ ...callOptions });
97
97
  }
98
- async CONTRACT_VERSION() {
99
- return this.contract.CONTRACT_VERSION();
98
+ async CONTRACT_VERSION(callOptions) {
99
+ return this.contract.CONTRACT_VERSION({ ...callOptions });
100
100
  }
101
101
  }
102
102
  class FeatureFlaggerService {
@@ -1,5 +1,5 @@
1
1
  import { AddressLike, ContractTransactionResponse } from "ethers";
2
- import { ILynxVersionedContract, IPendableAdmin } from "../common";
2
+ import { ILynxVersionedContract, IPendableAdmin, TransactionOptions, CallOptions } from "../common";
3
3
  export interface FeatureMetadata {
4
4
  name: string;
5
5
  exists: boolean;
@@ -11,25 +11,25 @@ export interface FeatureUsersResult {
11
11
  hasMore: boolean;
12
12
  }
13
13
  export interface IFeatureFlaggerFunctionsGroup_FeatureManagement {
14
- adminRegisterFeature(featureId: bigint, name: string): Promise<ContractTransactionResponse>;
15
- adminDisableFeatureForUser(featureId: bigint, user: AddressLike): Promise<ContractTransactionResponse>;
16
- adminBatchDisableFeatureForUsers(featureId: bigint, users: AddressLike[]): Promise<ContractTransactionResponse>;
14
+ adminRegisterFeature(featureId: bigint, name: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
15
+ adminDisableFeatureForUser(featureId: bigint, user: AddressLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
16
+ adminBatchDisableFeatureForUsers(featureId: bigint, users: AddressLike[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
17
17
  }
18
18
  export interface IFeatureFlaggerFunctionsGroup_UserFeatureControl {
19
- setFeatureActivated(featureId: bigint, enabled: boolean): Promise<ContractTransactionResponse>;
19
+ setFeatureActivated(featureId: bigint, enabled: boolean, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
20
20
  }
21
21
  export interface IFeatureFlaggerFunctionsGroup_FeatureQueries {
22
- isFeatureActivated(featureId: bigint, user: AddressLike): Promise<boolean>;
23
- isFeatureRegistered(featureId: bigint): Promise<boolean>;
24
- getFeatureMetadata(featureId: bigint): Promise<FeatureMetadata>;
25
- getFeatureUsers(featureId: bigint, startIndex: bigint, pageSize: bigint): Promise<FeatureUsersResult>;
26
- getFeatureUsersCount(featureId: bigint): Promise<bigint>;
27
- getAllFeatureIds(): Promise<bigint[]>;
28
- featureName(featureId: bigint): Promise<string>;
22
+ isFeatureActivated(featureId: bigint, user: AddressLike, callOptions?: CallOptions): Promise<boolean>;
23
+ isFeatureRegistered(featureId: bigint, callOptions?: CallOptions): Promise<boolean>;
24
+ getFeatureMetadata(featureId: bigint, callOptions?: CallOptions): Promise<FeatureMetadata>;
25
+ getFeatureUsers(featureId: bigint, startIndex: bigint, pageSize: bigint, callOptions?: CallOptions): Promise<FeatureUsersResult>;
26
+ getFeatureUsersCount(featureId: bigint, callOptions?: CallOptions): Promise<bigint>;
27
+ getAllFeatureIds(callOptions?: CallOptions): Promise<bigint[]>;
28
+ featureName(featureId: bigint, callOptions?: CallOptions): Promise<string>;
29
29
  }
30
30
  export interface IFeatureFlaggerFunctionsGroup_ContractReferences {
31
- registry(): Promise<string>;
32
- implementation(): Promise<string>;
31
+ registry(callOptions?: CallOptions): Promise<string>;
32
+ implementation(callOptions?: CallOptions): Promise<string>;
33
33
  }
34
34
  export interface IFeatureFlaggerService {
35
35
  featureManagement: IFeatureFlaggerFunctionsGroup_FeatureManagement;