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
@@ -6,19 +6,19 @@ class PositionQueries {
6
6
  constructor(tradingFloorContract) {
7
7
  this.tradingFloorContract = tradingFloorContract;
8
8
  }
9
- async generatePositionHashId(settlementAsset, trader, pairId, index) {
10
- return this.tradingFloorContract.generatePositionHashId(settlementAsset, trader, pairId, index);
9
+ async generatePositionHashId(settlementAsset, trader, pairId, index, callOptions) {
10
+ return this.tradingFloorContract.generatePositionHashId(settlementAsset, trader, pairId, index, { ...callOptions });
11
11
  }
12
- async getPositionPortalInfo(positionId) {
13
- const result = await this.tradingFloorContract.getPositionPortalInfo(positionId);
12
+ async getPositionPortalInfo(positionId, callOptions) {
13
+ const result = await this.tradingFloorContract.getPositionPortalInfo(positionId, { ...callOptions });
14
14
  return {
15
15
  phase: result[0],
16
16
  timestamp: result[1],
17
17
  trader: result[2],
18
18
  };
19
19
  }
20
- async getPositionRegistrationParams(positionId) {
21
- const result = await this.tradingFloorContract.getPositionRegistrationParams(positionId);
20
+ async getPositionRegistrationParams(positionId, callOptions) {
21
+ const result = await this.tradingFloorContract.getPositionRegistrationParams(positionId, { ...callOptions });
22
22
  return {
23
23
  collateral: result.collateral,
24
24
  leverage: result.leverage,
@@ -27,8 +27,8 @@ class PositionQueries {
27
27
  tp: result.tp,
28
28
  };
29
29
  }
30
- async getPositionTriggerInfo(positionId) {
31
- const result = await this.tradingFloorContract.getPositionTriggerInfo(positionId);
30
+ async getPositionTriggerInfo(positionId, callOptions) {
31
+ const result = await this.tradingFloorContract.getPositionTriggerInfo(positionId, { ...callOptions });
32
32
  return {
33
33
  phase: result.positionPhase,
34
34
  timestamp: result.timestamp,
@@ -37,8 +37,8 @@ class PositionQueries {
37
37
  spreadReductionF: result.spreadReductionF,
38
38
  };
39
39
  }
40
- async positionIdentifiersById(positionId) {
41
- const result = await this.tradingFloorContract.positionIdentifiersById(positionId);
40
+ async positionIdentifiersById(positionId, callOptions) {
41
+ const result = await this.tradingFloorContract.positionIdentifiersById(positionId, { ...callOptions });
42
42
  return {
43
43
  settlementAsset: result.settlementAsset,
44
44
  pairId: result.pairId,
@@ -46,8 +46,8 @@ class PositionQueries {
46
46
  trader: result.trader,
47
47
  };
48
48
  }
49
- async positionLimitsInfoById(positionId) {
50
- const result = await this.tradingFloorContract.positionLimitsInfoById(positionId);
49
+ async positionLimitsInfoById(positionId, callOptions) {
50
+ const result = await this.tradingFloorContract.positionLimitsInfoById(positionId, { ...callOptions });
51
51
  return {
52
52
  tpLastUpdated: result.tpLastUpdated,
53
53
  slLastUpdated: result.slLastUpdated,
@@ -55,8 +55,8 @@ class PositionQueries {
55
55
  sl: result.sl,
56
56
  };
57
57
  }
58
- async positionsById(positionId) {
59
- const result = await this.tradingFloorContract.positionsById(positionId);
58
+ async positionsById(positionId, callOptions) {
59
+ const result = await this.tradingFloorContract.positionsById(positionId, { ...callOptions });
60
60
  return {
61
61
  collateral: result.collateral,
62
62
  phase: result.phase,
@@ -67,8 +67,8 @@ class PositionQueries {
67
67
  spreadReductionF: result.spreadReductionF,
68
68
  };
69
69
  }
70
- async triggerPricesById(positionId) {
71
- const result = await this.tradingFloorContract.triggerPricesById(positionId);
70
+ async triggerPricesById(positionId, callOptions) {
71
+ const result = await this.tradingFloorContract.triggerPricesById(positionId, { ...callOptions });
72
72
  return {
73
73
  minPrice: result.minPrice,
74
74
  maxPrice: result.maxPrice,
@@ -76,164 +76,164 @@ class PositionQueries {
76
76
  slByFraction: result.slByFraction,
77
77
  };
78
78
  }
79
- async initialCollateralByPositionId(positionId) {
80
- return this.tradingFloorContract.initialCollateralByPositionId(positionId);
79
+ async initialCollateralByPositionId(positionId, callOptions) {
80
+ return this.tradingFloorContract.initialCollateralByPositionId(positionId, { ...callOptions });
81
81
  }
82
82
  }
83
83
  class SettlementAndPool {
84
84
  constructor(tradingFloorContract) {
85
85
  this.tradingFloorContract = tradingFloorContract;
86
86
  }
87
- async isSettlementAssetSupported(settlementAsset) {
88
- return this.tradingFloorContract.isSettlementAssetSupported(settlementAsset);
87
+ async isSettlementAssetSupported(settlementAsset, callOptions) {
88
+ return this.tradingFloorContract.isSettlementAssetSupported(settlementAsset, { ...callOptions });
89
89
  }
90
- async lexPoolForAsset(asset) {
91
- return this.tradingFloorContract.lexPoolForAsset(asset);
90
+ async lexPoolForAsset(asset, callOptions) {
91
+ return this.tradingFloorContract.lexPoolForAsset(asset, { ...callOptions });
92
92
  }
93
- async poolAccountantForAsset(asset) {
94
- return this.tradingFloorContract.poolAccountantForAsset(asset);
93
+ async poolAccountantForAsset(asset, callOptions) {
94
+ return this.tradingFloorContract.poolAccountantForAsset(asset, { ...callOptions });
95
95
  }
96
96
  }
97
97
  class Deprecated {
98
98
  constructor(tradingFloorContract) {
99
99
  this.tradingFloorContract = tradingFloorContract;
100
100
  }
101
- async deprecated_pairTraders(asset, pairId, index) {
102
- return this.tradingFloorContract.deprecated_pairTraders(asset, pairId, index);
101
+ async deprecated_pairTraders(asset, pairId, index, callOptions) {
102
+ return this.tradingFloorContract.deprecated_pairTraders(asset, pairId, index, { ...callOptions });
103
103
  }
104
- async deprecated_pairTradersArray(asset, pairIndex) {
105
- return this.tradingFloorContract.deprecated_pairTradersArray(asset, pairIndex);
104
+ async deprecated_pairTradersArray(asset, pairIndex, callOptions) {
105
+ return this.tradingFloorContract.deprecated_pairTradersArray(asset, pairIndex, { ...callOptions });
106
106
  }
107
- async deprecated_pairTradersInfo(asset, trader, pairId) {
108
- const result = await this.tradingFloorContract.deprecated_pairTradersInfo(asset, trader, pairId);
107
+ async deprecated_pairTradersInfo(asset, trader, pairId, callOptions) {
108
+ const result = await this.tradingFloorContract.deprecated_pairTradersInfo(asset, trader, pairId, { ...callOptions });
109
109
  return {
110
110
  positionsCounter: result.deprecated_positionsCounter,
111
111
  positionInArray: result.positionInArray,
112
112
  };
113
113
  }
114
- async pausedPairs(pairId) {
115
- return this.tradingFloorContract.pausedPairs(pairId);
114
+ async pausedPairs(pairId, callOptions) {
115
+ return this.tradingFloorContract.pausedPairs(pairId, { ...callOptions });
116
116
  }
117
117
  }
118
118
  class TraderTracking {
119
119
  constructor(tradingFloorContract) {
120
120
  this.tradingFloorContract = tradingFloorContract;
121
121
  }
122
- async traders(index) {
123
- return this.tradingFloorContract.traders(index);
122
+ async traders(index, callOptions) {
123
+ return this.tradingFloorContract.traders(index, { ...callOptions });
124
124
  }
125
- async tradersAmount() {
126
- return this.tradingFloorContract.tradersAmount();
125
+ async tradersAmount(callOptions) {
126
+ return this.tradingFloorContract.tradersAmount({ ...callOptions });
127
127
  }
128
- async tradersIndex(trader) {
129
- return this.tradingFloorContract.tradersIndex(trader);
128
+ async tradersIndex(trader, callOptions) {
129
+ return this.tradingFloorContract.tradersIndex(trader, { ...callOptions });
130
130
  }
131
- async getActivePositionsAmountForTrader(trader) {
132
- return this.tradingFloorContract.getActivePositionsAmountForTrader(trader);
131
+ async getActivePositionsAmountForTrader(trader, callOptions) {
132
+ return this.tradingFloorContract.getActivePositionsAmountForTrader(trader, { ...callOptions });
133
133
  }
134
- async activePositionIdsByTrader(trader, index) {
135
- return this.tradingFloorContract.activePositionIdsByTrader(trader, index);
134
+ async activePositionIdsByTrader(trader, index, callOptions) {
135
+ return this.tradingFloorContract.activePositionIdsByTrader(trader, index, { ...callOptions });
136
136
  }
137
- async positionIdToActivePositionIndex(trader, positionId) {
138
- return this.tradingFloorContract.positionIdToActivePositionIndex(trader, positionId);
137
+ async positionIdToActivePositionIndex(trader, positionId, callOptions) {
138
+ return this.tradingFloorContract.positionIdToActivePositionIndex(trader, positionId, { ...callOptions });
139
139
  }
140
- async getActivePositionIdsForTrader(trader) {
141
- return this.tradingFloorContract.getActivePositionIdsForTrader(trader);
140
+ async getActivePositionIdsForTrader(trader, callOptions) {
141
+ return this.tradingFloorContract.getActivePositionIdsForTrader(trader, { ...callOptions });
142
142
  }
143
- async getNextPositionIndexForTrader(trader) {
144
- return this.tradingFloorContract.getNextPositionIndexForTrader(trader);
143
+ async getNextPositionIndexForTrader(trader, callOptions) {
144
+ return this.tradingFloorContract.getNextPositionIndexForTrader(trader, { ...callOptions });
145
145
  }
146
- async pairTradersLastUsedPositionIndex(trader) {
147
- return this.tradingFloorContract.pairTradersLastUsedPositionIndex(trader);
146
+ async pairTradersLastUsedPositionIndex(trader, callOptions) {
147
+ return this.tradingFloorContract.pairTradersLastUsedPositionIndex(trader, { ...callOptions });
148
148
  }
149
149
  }
150
150
  class TradingParameters {
151
151
  constructor(tradingFloorContract) {
152
152
  this.tradingFloorContract = tradingFloorContract;
153
153
  }
154
- async maxSanityProfitF() {
155
- return this.tradingFloorContract.maxSanityProfitF();
154
+ async maxSanityProfitF(callOptions) {
155
+ return this.tradingFloorContract.maxSanityProfitF({ ...callOptions });
156
156
  }
157
- async maxSlF() {
158
- return this.tradingFloorContract.maxSlF();
157
+ async maxSlF(callOptions) {
158
+ return this.tradingFloorContract.maxSlF({ ...callOptions });
159
159
  }
160
- async maxTradesPerTrader() {
161
- return this.tradingFloorContract.maxTradesPerTrader();
160
+ async maxTradesPerTrader(callOptions) {
161
+ return this.tradingFloorContract.maxTradesPerTrader({ ...callOptions });
162
162
  }
163
163
  }
164
164
  class Fees {
165
165
  constructor(tradingFloorContract) {
166
166
  this.tradingFloorContract = tradingFloorContract;
167
167
  }
168
- async feesMap(asset, feeType) {
169
- return this.tradingFloorContract.feesMap(asset, feeType);
168
+ async feesMap(asset, feeType, callOptions) {
169
+ return this.tradingFloorContract.feesMap(asset, feeType, { ...callOptions });
170
170
  }
171
171
  }
172
172
  class ContractReferences {
173
173
  constructor(tradingFloorContract) {
174
174
  this.tradingFloorContract = tradingFloorContract;
175
175
  }
176
- async registry() {
177
- return this.tradingFloorContract.registry();
176
+ async registry(callOptions) {
177
+ return this.tradingFloorContract.registry({ ...callOptions });
178
178
  }
179
179
  }
180
180
  class PendableAdmin {
181
181
  constructor(tradingFloorContract) {
182
182
  this.tradingFloorContract = tradingFloorContract;
183
183
  }
184
- async admin() {
185
- return this.tradingFloorContract.admin();
184
+ async admin(callOptions) {
185
+ return this.tradingFloorContract.admin({ ...callOptions });
186
186
  }
187
- async pendingAdmin() {
188
- return this.tradingFloorContract.pendingAdmin();
187
+ async pendingAdmin(callOptions) {
188
+ return this.tradingFloorContract.pendingAdmin({ ...callOptions });
189
189
  }
190
190
  }
191
191
  class PendableImplementation {
192
192
  constructor(tradingFloorContract) {
193
193
  this.tradingFloorContract = tradingFloorContract;
194
194
  }
195
- async implementation() {
196
- return this.tradingFloorContract.implementation();
195
+ async implementation(callOptions) {
196
+ return this.tradingFloorContract.implementation({ ...callOptions });
197
197
  }
198
- async pendingImplementation() {
199
- return this.tradingFloorContract.pendingImplementation();
198
+ async pendingImplementation(callOptions) {
199
+ return this.tradingFloorContract.pendingImplementation({ ...callOptions });
200
200
  }
201
201
  }
202
202
  class LynxVersionedContract {
203
203
  constructor(tradingFloorContract) {
204
204
  this.tradingFloorContract = tradingFloorContract;
205
205
  }
206
- async getContractName() {
207
- return this.tradingFloorContract.getContractName();
206
+ async getContractName(callOptions) {
207
+ return this.tradingFloorContract.getContractName({ ...callOptions });
208
208
  }
209
- async getContractVersion() {
210
- return this.tradingFloorContract.getContractVersion();
209
+ async getContractVersion(callOptions) {
210
+ return this.tradingFloorContract.getContractVersion({ ...callOptions });
211
211
  }
212
- async CONTRACT_NAME() {
213
- return this.tradingFloorContract.CONTRACT_NAME();
212
+ async CONTRACT_NAME(callOptions) {
213
+ return this.tradingFloorContract.CONTRACT_NAME({ ...callOptions });
214
214
  }
215
- async CONTRACT_VERSION() {
216
- return this.tradingFloorContract.CONTRACT_VERSION();
215
+ async CONTRACT_VERSION(callOptions) {
216
+ return this.tradingFloorContract.CONTRACT_VERSION({ ...callOptions });
217
217
  }
218
218
  }
219
219
  class Constants {
220
220
  constructor(tradingFloorContract) {
221
221
  this.tradingFloorContract = tradingFloorContract;
222
222
  }
223
- async ACCURACY_IMPROVEMENT_SCALE() {
224
- return this.tradingFloorContract.ACCURACY_IMPROVEMENT_SCALE();
223
+ async ACCURACY_IMPROVEMENT_SCALE(callOptions) {
224
+ return this.tradingFloorContract.ACCURACY_IMPROVEMENT_SCALE({ ...callOptions });
225
225
  }
226
- async FRACTION_SCALE() {
227
- return this.tradingFloorContract.FRACTION_SCALE();
226
+ async FRACTION_SCALE(callOptions) {
227
+ return this.tradingFloorContract.FRACTION_SCALE({ ...callOptions });
228
228
  }
229
- async LEVERAGE_SCALE() {
230
- return this.tradingFloorContract.LEVERAGE_SCALE();
229
+ async LEVERAGE_SCALE(callOptions) {
230
+ return this.tradingFloorContract.LEVERAGE_SCALE({ ...callOptions });
231
231
  }
232
- async MAX_FEE_FRACTION_FOR_CANCEL() {
233
- return this.tradingFloorContract.MAX_FEE_FRACTION_FOR_CANCEL();
232
+ async MAX_FEE_FRACTION_FOR_CANCEL(callOptions) {
233
+ return this.tradingFloorContract.MAX_FEE_FRACTION_FOR_CANCEL({ ...callOptions });
234
234
  }
235
- async PRECISION() {
236
- return this.tradingFloorContract.PRECISION();
235
+ async PRECISION(callOptions) {
236
+ return this.tradingFloorContract.PRECISION({ ...callOptions });
237
237
  }
238
238
  }
239
239
  class TradingFloorService {
@@ -8,8 +8,8 @@ class TriggersAndPortalLensService {
8
8
  constructor(signerOrProvider, address) {
9
9
  this.contract = TriggersAndPortalLens__factory_1.TriggersAndPortalLens__factory.connect(address, signerOrProvider);
10
10
  }
11
- async getPairConfigsInTriggers(triggers, pairId) {
12
- const result = await this.contract.getPairConfigsInTriggers(triggers, BigInt(pairId));
11
+ async getPairConfigsInTriggers(triggers, pairId, callOptions) {
12
+ const result = await this.contract.getPairConfigsInTriggers(triggers, BigInt(pairId), { ...callOptions });
13
13
  const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, ITriggersAndPortalLensService_1.EMPTY_PAIR_CONFIGS_IN_TRIGGERS);
14
14
  return {
15
15
  ...baseStruct,
@@ -18,8 +18,8 @@ class TriggersAndPortalLensService {
18
18
  spreadFraction: Number(baseStruct.spreadFraction),
19
19
  };
20
20
  }
21
- async getPairsConfigsInTriggers(triggers, pairIds) {
22
- const result = await this.contract.getPairsConfigsInTriggers(triggers, pairIds.map(id => BigInt(id)));
21
+ async getPairsConfigsInTriggers(triggers, pairIds, callOptions) {
22
+ const result = await this.contract.getPairsConfigsInTriggers(triggers, pairIds.map(id => BigInt(id)), { ...callOptions });
23
23
  const baseArray = (0, ethersTypes_1.ethersStructResponseToArray)(result, ITriggersAndPortalLensService_1.EMPTY_PAIR_CONFIGS_IN_TRIGGERS);
24
24
  return baseArray.map(item => ({
25
25
  ...item,
@@ -28,8 +28,8 @@ class TriggersAndPortalLensService {
28
28
  spreadFraction: Number(item.spreadFraction),
29
29
  }));
30
30
  }
31
- async getTradersPortalConfigurations(tradersPortal) {
32
- const result = await this.contract.getTradersPortalConfigurations(tradersPortal);
31
+ async getTradersPortalConfigurations(tradersPortal, callOptions) {
32
+ const result = await this.contract.getTradersPortalConfigurations(tradersPortal, { ...callOptions });
33
33
  const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, ITriggersAndPortalLensService_1.EMPTY_COMPLETE_TRADERS_PORTAL_CONFIGURATIONS);
34
34
  return {
35
35
  ...baseStruct,
@@ -38,8 +38,8 @@ class TriggersAndPortalLensService {
38
38
  minLiveTimeForMarketClose: Number(baseStruct.minLiveTimeForMarketClose),
39
39
  };
40
40
  }
41
- async getTriggersConfigurations(triggers) {
42
- const result = await this.contract.getTriggersConfigurations(triggers);
41
+ async getTriggersConfigurations(triggers, callOptions) {
42
+ const result = await this.contract.getTriggersConfigurations(triggers, { ...callOptions });
43
43
  const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, ITriggersAndPortalLensService_1.EMPTY_COMPLETE_TRIGGER_CONFIGURATIONS);
44
44
  return {
45
45
  ...baseStruct,
@@ -6,175 +6,175 @@ class OpenTriggers {
6
6
  constructor(triggersContract) {
7
7
  this.triggersContract = triggersContract;
8
8
  }
9
- async market(positionId, pricePayload, nativeFee) {
10
- return this.triggersContract.trigger_openTrade_market(positionId, pricePayload, { value: nativeFee });
9
+ async market(positionId, pricePayload, nativeFee, transactionOptions) {
10
+ return this.triggersContract.trigger_openTrade_market(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
11
11
  }
12
- async limit(positionId, pricePayload, nativeFee) {
13
- return this.triggersContract.trigger_openTrade_limit(positionId, pricePayload, { value: nativeFee });
12
+ async limit(positionId, pricePayload, nativeFee, transactionOptions) {
13
+ return this.triggersContract.trigger_openTrade_limit(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
14
14
  }
15
15
  }
16
16
  class CloseTriggers {
17
17
  constructor(triggersContract) {
18
18
  this.triggersContract = triggersContract;
19
19
  }
20
- async market(positionId, pricePayload, nativeFee) {
21
- return this.triggersContract.trigger_closeTrade_market(positionId, pricePayload, { value: nativeFee });
20
+ async market(positionId, pricePayload, nativeFee, transactionOptions) {
21
+ return this.triggersContract.trigger_closeTrade_market(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
22
22
  }
23
- async takeProfit(positionId, pricePayload, nativeFee) {
24
- return this.triggersContract.trigger_closeTrade_TP(positionId, pricePayload, { value: nativeFee });
23
+ async takeProfit(positionId, pricePayload, nativeFee, transactionOptions) {
24
+ return this.triggersContract.trigger_closeTrade_TP(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
25
25
  }
26
- async stopLoss(positionId, pricePayload, nativeFee) {
27
- return this.triggersContract.trigger_closeTrade_SL(positionId, pricePayload, { value: nativeFee });
26
+ async stopLoss(positionId, pricePayload, nativeFee, transactionOptions) {
27
+ return this.triggersContract.trigger_closeTrade_SL(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
28
28
  }
29
- async liquidation(positionId, pricePayload, nativeFee) {
30
- return this.triggersContract.trigger_closeTrade_LIQ(positionId, pricePayload, { value: nativeFee });
29
+ async liquidation(positionId, pricePayload, nativeFee, transactionOptions) {
30
+ return this.triggersContract.trigger_closeTrade_LIQ(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
31
31
  }
32
32
  }
33
33
  class UpdateTriggers {
34
34
  constructor(triggersContract) {
35
35
  this.triggersContract = triggersContract;
36
36
  }
37
- async takeProfit(positionId, pricePayload, nativeFee) {
38
- return this.triggersContract.trigger_update_TP(positionId, pricePayload, { value: nativeFee });
37
+ async takeProfit(positionId, pricePayload, nativeFee, transactionOptions) {
38
+ return this.triggersContract.trigger_update_TP(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
39
39
  }
40
- async stopLoss(positionId, pricePayload, nativeFee) {
41
- return this.triggersContract.trigger_update_SL(positionId, pricePayload, { value: nativeFee });
40
+ async stopLoss(positionId, pricePayload, nativeFee, transactionOptions) {
41
+ return this.triggersContract.trigger_update_SL(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
42
42
  }
43
- async takeProfitAndStopLoss(positionId, pricePayload, nativeFee) {
44
- return this.triggersContract.trigger_update_TP_and_SL(positionId, pricePayload, { value: nativeFee });
43
+ async takeProfitAndStopLoss(positionId, pricePayload, nativeFee, transactionOptions) {
44
+ return this.triggersContract.trigger_update_TP_and_SL(positionId, pricePayload, { value: nativeFee, ...transactionOptions });
45
45
  }
46
46
  }
47
47
  class TimeoutTriggers {
48
48
  constructor(triggersContract) {
49
49
  this.triggersContract = triggersContract;
50
50
  }
51
- async marketOpen(positionId) {
52
- return this.triggersContract.trigger_timeout_marketOpen(positionId);
51
+ async marketOpen(positionId, transactionOptions) {
52
+ return this.triggersContract.trigger_timeout_marketOpen(positionId, { ...transactionOptions });
53
53
  }
54
- async marketClose(positionId) {
55
- return this.triggersContract.trigger_timeout_marketClose(positionId);
54
+ async marketClose(positionId, transactionOptions) {
55
+ return this.triggersContract.trigger_timeout_marketClose(positionId, { ...transactionOptions });
56
56
  }
57
- async updatePosition(positionId) {
58
- return this.triggersContract.trigger_timeout_updatePosition(positionId);
57
+ async updatePosition(positionId, transactionOptions) {
58
+ return this.triggersContract.trigger_timeout_updatePosition(positionId, { ...transactionOptions });
59
59
  }
60
60
  }
61
61
  class ContractReferences {
62
62
  constructor(triggersContract) {
63
63
  this.triggersContract = triggersContract;
64
64
  }
65
- async orderBook() {
66
- return this.triggersContract.orderBook();
65
+ async orderBook(callOptions) {
66
+ return this.triggersContract.orderBook({ ...callOptions });
67
67
  }
68
- async tradingFloor() {
69
- return this.triggersContract.tradingFloor();
68
+ async tradingFloor(callOptions) {
69
+ return this.triggersContract.tradingFloor({ ...callOptions });
70
70
  }
71
- async priceValidator() {
72
- return this.triggersContract.priceValidator();
71
+ async priceValidator(callOptions) {
72
+ return this.triggersContract.priceValidator({ ...callOptions });
73
73
  }
74
74
  }
75
75
  class PendableAdmin {
76
76
  constructor(triggersContract) {
77
77
  this.triggersContract = triggersContract;
78
78
  }
79
- async admin() {
80
- return this.triggersContract.admin();
79
+ async admin(callOptions) {
80
+ return this.triggersContract.admin({ ...callOptions });
81
81
  }
82
- async pendingAdmin() {
83
- return this.triggersContract.pendingAdmin();
82
+ async pendingAdmin(callOptions) {
83
+ return this.triggersContract.pendingAdmin({ ...callOptions });
84
84
  }
85
85
  }
86
86
  class Status {
87
87
  constructor(triggersContract) {
88
88
  this.triggersContract = triggersContract;
89
89
  }
90
- async isDone() {
91
- return this.triggersContract.isDone();
90
+ async isDone(callOptions) {
91
+ return this.triggersContract.isDone({ ...callOptions });
92
92
  }
93
- async isPaused() {
94
- return this.triggersContract.isPaused();
93
+ async isPaused(callOptions) {
94
+ return this.triggersContract.isPaused({ ...callOptions });
95
95
  }
96
96
  }
97
97
  class Configuration {
98
98
  constructor(triggersContract) {
99
99
  this.triggersContract = triggersContract;
100
100
  }
101
- async marketOrderCancelFeeFraction() {
102
- return this.triggersContract.marketOrderCancelFeeFraction();
101
+ async marketOrderCancelFeeFraction(callOptions) {
102
+ return this.triggersContract.marketOrderCancelFeeFraction({ ...callOptions });
103
103
  }
104
- async marketOrderTightTimeRange() {
105
- return this.triggersContract.marketOrderTightTimeRange();
104
+ async marketOrderTightTimeRange(callOptions) {
105
+ return this.triggersContract.marketOrderTightTimeRange({ ...callOptions });
106
106
  }
107
- async marketOrdersTimeout() {
108
- return this.triggersContract.marketOrdersTimeout();
107
+ async marketOrdersTimeout(callOptions) {
108
+ return this.triggersContract.marketOrdersTimeout({ ...callOptions });
109
109
  }
110
- async maxTriggerPeriodForMarketOrders() {
111
- return this.triggersContract.maxTriggerPeriodForMarketOrders();
110
+ async maxTriggerPeriodForMarketOrders(callOptions) {
111
+ return this.triggersContract.maxTriggerPeriodForMarketOrders({ ...callOptions });
112
112
  }
113
- async minTriggerPeriodForLimitOrders() {
114
- return this.triggersContract.minTriggerPeriodForLimitOrders();
113
+ async minTriggerPeriodForLimitOrders(callOptions) {
114
+ return this.triggersContract.minTriggerPeriodForLimitOrders({ ...callOptions });
115
115
  }
116
- async minTriggerPeriodForMarketOrders() {
117
- return this.triggersContract.minTriggerPeriodForMarketOrders();
116
+ async minTriggerPeriodForMarketOrders(callOptions) {
117
+ return this.triggersContract.minTriggerPeriodForMarketOrders({ ...callOptions });
118
118
  }
119
- async openPositionCancellationFeeFraction() {
120
- return this.triggersContract.openPositionCancellationFeeFraction();
119
+ async openPositionCancellationFeeFraction(callOptions) {
120
+ return this.triggersContract.openPositionCancellationFeeFraction({ ...callOptions });
121
121
  }
122
- async triggerPriceFreshnessTimeRange() {
123
- return this.triggersContract.triggerPriceFreshnessTimeRange();
122
+ async triggerPriceFreshnessTimeRange(callOptions) {
123
+ return this.triggersContract.triggerPriceFreshnessTimeRange({ ...callOptions });
124
124
  }
125
- async maxTriggersPerBlock() {
126
- return this.triggersContract.maxTriggersPerBlock();
125
+ async maxTriggersPerBlock(callOptions) {
126
+ return this.triggersContract.maxTriggersPerBlock({ ...callOptions });
127
127
  }
128
- async triggersPerBlock(blockNumber) {
129
- return this.triggersContract.triggersPerBlock(blockNumber);
128
+ async triggersPerBlock(blockNumber, callOptions) {
129
+ return this.triggersContract.triggersPerBlock(blockNumber, { ...callOptions });
130
130
  }
131
- async limitsMarginFraction() {
132
- return this.triggersContract.limitsMarginFraction();
131
+ async limitsMarginFraction(callOptions) {
132
+ return this.triggersContract.limitsMarginFraction({ ...callOptions });
133
133
  }
134
134
  }
135
135
  class PairConfiguration {
136
136
  constructor(triggersContract) {
137
137
  this.triggersContract = triggersContract;
138
138
  }
139
- async maxConfidenceFractionForPair(pairId) {
140
- return this.triggersContract.maxConfidenceFractionForPair(pairId);
139
+ async maxConfidenceFractionForPair(pairId, callOptions) {
140
+ return this.triggersContract.maxConfidenceFractionForPair(pairId, { ...callOptions });
141
141
  }
142
- async spreadFractionForPair(pairId) {
143
- return this.triggersContract.spreadFractionForPair(pairId);
142
+ async spreadFractionForPair(pairId, callOptions) {
143
+ return this.triggersContract.spreadFractionForPair(pairId, { ...callOptions });
144
144
  }
145
145
  }
146
146
  class Permissions {
147
147
  constructor(triggersContract) {
148
148
  this.triggersContract = triggersContract;
149
149
  }
150
- async isAllowedToTrigger(account) {
151
- return this.triggersContract.isAllowedToTrigger(account);
150
+ async isAllowedToTrigger(account, callOptions) {
151
+ return this.triggersContract.isAllowedToTrigger(account, { ...callOptions });
152
152
  }
153
- async getAllTriggerPermissionedAccounts() {
154
- return this.triggersContract.getAllTriggerPermissionedAccounts();
153
+ async getAllTriggerPermissionedAccounts(callOptions) {
154
+ return this.triggersContract.getAllTriggerPermissionedAccounts({ ...callOptions });
155
155
  }
156
156
  }
157
157
  class Constants {
158
158
  constructor(triggersContract) {
159
159
  this.triggersContract = triggersContract;
160
160
  }
161
- async ACCURACY_IMPROVEMENT_SCALE() {
162
- return this.triggersContract.ACCURACY_IMPROVEMENT_SCALE();
161
+ async ACCURACY_IMPROVEMENT_SCALE(callOptions) {
162
+ return this.triggersContract.ACCURACY_IMPROVEMENT_SCALE({ ...callOptions });
163
163
  }
164
- async FRACTION_SCALE() {
165
- return this.triggersContract.FRACTION_SCALE();
164
+ async FRACTION_SCALE(callOptions) {
165
+ return this.triggersContract.FRACTION_SCALE({ ...callOptions });
166
166
  }
167
- async LEVERAGE_SCALE() {
168
- return this.triggersContract.LEVERAGE_SCALE();
167
+ async LEVERAGE_SCALE(callOptions) {
168
+ return this.triggersContract.LEVERAGE_SCALE({ ...callOptions });
169
169
  }
170
- async MAX_ALLOWED_CONFIDENCE_FRACTION() {
171
- return this.triggersContract.MAX_ALLOWED_CONFIDENCE_FRACTION();
170
+ async MAX_ALLOWED_CONFIDENCE_FRACTION(callOptions) {
171
+ return this.triggersContract.MAX_ALLOWED_CONFIDENCE_FRACTION({ ...callOptions });
172
172
  }
173
- async MAX_ALLOWED_SPREAD_FRACTION() {
174
- return this.triggersContract.MAX_ALLOWED_SPREAD_FRACTION();
173
+ async MAX_ALLOWED_SPREAD_FRACTION(callOptions) {
174
+ return this.triggersContract.MAX_ALLOWED_SPREAD_FRACTION({ ...callOptions });
175
175
  }
176
- async PRECISION() {
177
- return this.triggersContract.PRECISION();
176
+ async PRECISION(callOptions) {
177
+ return this.triggersContract.PRECISION({ ...callOptions });
178
178
  }
179
179
  }
180
180
  class TriggersService {