lynx-client 0.0.10 → 0.0.12

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 (208) hide show
  1. package/README.md +192 -2
  2. package/dist/cjs/index.js +5 -1
  3. package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +1 -0
  4. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.js +2 -0
  5. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +255 -0
  6. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/index.js +5 -0
  7. package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +14 -2
  8. package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +10 -10
  9. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +26 -14
  10. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +72 -15
  11. package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +14 -8
  12. package/dist/cjs/lib/contractsIntegration/common/ILynxVersionedContract.js +2 -0
  13. package/dist/cjs/lib/contractsIntegration/common/IPendableAdmin.js +2 -0
  14. package/dist/cjs/lib/contractsIntegration/common/IPendableImplementation.js +2 -0
  15. package/dist/cjs/lib/contractsIntegration/common/IProtocolConstants.js +2 -0
  16. package/dist/cjs/lib/contractsIntegration/common/index.js +2 -0
  17. package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +17 -0
  18. package/dist/cjs/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.js +2 -0
  19. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1 -1
  20. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  21. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  22. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -28
  23. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  24. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  25. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.js +979 -0
  26. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  27. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  28. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +1 -1
  29. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +114 -29
  30. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  31. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  32. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  33. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  34. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +1 -1
  35. package/dist/esm/index.d.ts +4 -0
  36. package/dist/esm/index.d.ts.map +1 -1
  37. package/dist/esm/index.js +5 -1
  38. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +2 -3
  39. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  40. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  41. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +1 -0
  42. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +74 -0
  43. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -0
  44. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.js +2 -0
  45. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts +26 -0
  46. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -0
  47. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +255 -0
  48. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/index.d.ts +3 -0
  49. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/index.d.ts.map +1 -0
  50. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/index.js +5 -0
  51. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +6 -10
  52. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  53. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +5 -2
  54. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  55. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +14 -2
  56. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +4 -12
  57. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  58. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts +4 -3
  59. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  60. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +10 -10
  61. package/dist/esm/lib/contractsIntegration/PNLRService/index.d.ts +1 -1
  62. package/dist/esm/lib/contractsIntegration/PNLRService/index.d.ts.map +1 -1
  63. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +2 -4
  64. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  65. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +8 -13
  66. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  67. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +5 -2
  68. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  69. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +26 -14
  70. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +31 -13
  71. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  72. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +14 -87
  73. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  74. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +72 -15
  75. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +6 -9
  76. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  77. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts +4 -2
  78. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  79. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +14 -8
  80. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +11 -0
  81. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -0
  82. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.js +2 -0
  83. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +9 -0
  84. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -0
  85. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.js +2 -0
  86. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +9 -0
  87. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -0
  88. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.js +2 -0
  89. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +32 -0
  90. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -0
  91. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.js +2 -0
  92. package/dist/esm/lib/contractsIntegration/common/index.d.ts +5 -0
  93. package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -0
  94. package/dist/esm/lib/contractsIntegration/common/index.js +2 -0
  95. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +5 -0
  96. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  97. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +17 -0
  98. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts +648 -0
  99. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts.map +1 -0
  100. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.js +2 -0
  101. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +54 -4
  102. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  103. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +1 -1
  104. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1 -1
  105. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  106. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  107. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  108. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  109. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -21
  110. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -1
  111. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -28
  112. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  113. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  114. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  115. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  116. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts +750 -0
  117. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts.map +1 -0
  118. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.js +979 -0
  119. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  120. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  121. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  122. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  123. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +1 -1
  124. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +1 -1
  125. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +91 -22
  126. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  127. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +114 -29
  128. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  129. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  130. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  131. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  132. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  133. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  134. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  135. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  136. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +1 -1
  137. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +1 -1
  138. package/dist/types/index.d.ts +4 -0
  139. package/dist/types/index.d.ts.map +1 -1
  140. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +2 -3
  141. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  142. package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  143. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +74 -0
  144. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -0
  145. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts +26 -0
  146. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -0
  147. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/index.d.ts +3 -0
  148. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/index.d.ts.map +1 -0
  149. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +6 -10
  150. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  151. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +5 -2
  152. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  153. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +4 -12
  154. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  155. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts +4 -3
  156. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  157. package/dist/types/lib/contractsIntegration/PNLRService/index.d.ts +1 -1
  158. package/dist/types/lib/contractsIntegration/PNLRService/index.d.ts.map +1 -1
  159. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +2 -4
  160. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  161. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +8 -13
  162. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  163. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +5 -2
  164. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  165. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +31 -13
  166. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  167. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +14 -87
  168. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  169. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +6 -9
  170. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  171. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts +4 -2
  172. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  173. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +11 -0
  174. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -0
  175. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +9 -0
  176. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -0
  177. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +9 -0
  178. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -0
  179. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +32 -0
  180. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -0
  181. package/dist/types/lib/contractsIntegration/common/index.d.ts +5 -0
  182. package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -0
  183. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +5 -0
  184. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  185. package/dist/types/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts +648 -0
  186. package/dist/types/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts.map +1 -0
  187. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +54 -4
  188. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  189. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +1 -1
  190. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  191. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  192. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -21
  193. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -1
  194. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  195. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  196. package/dist/types/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts +750 -0
  197. package/dist/types/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts.map +1 -0
  198. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  199. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  200. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +1 -1
  201. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +91 -22
  202. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  203. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  204. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  205. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  206. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  207. package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +1 -1
  208. package/package.json +4 -4
@@ -1,5 +1,6 @@
1
1
  import { Signer, Provider } from "ethers";
2
- import { ITriggersService, ITriggersFunctionsGroup_OpenTriggers, ITriggersFunctionsGroup_CloseTriggers, ITriggersFunctionsGroup_UpdateTriggers, ITriggersFunctionsGroup_TimeoutTriggers, ITriggersFunctionsGroup_ContractInfo, ITriggersFunctionsGroup_Status, ITriggersFunctionsGroup_Configuration, ITriggersFunctionsGroup_PairConfiguration, ITriggersFunctionsGroup_Permissions, ITriggersFunctionsGroup_Constants } from "./ITriggersService";
2
+ import { ITriggersService, ITriggersFunctionsGroup_OpenTriggers, ITriggersFunctionsGroup_CloseTriggers, ITriggersFunctionsGroup_UpdateTriggers, ITriggersFunctionsGroup_TimeoutTriggers, ITriggersFunctionsGroup_ContractReferences, ITriggersFunctionsGroup_Status, ITriggersFunctionsGroup_Configuration, ITriggersFunctionsGroup_PairConfiguration, ITriggersFunctionsGroup_Permissions, ITriggersFunctionsGroup_Constants } from "./ITriggersService";
3
+ import { IPendableAdmin } from "../common";
3
4
  export declare class TriggersService implements ITriggersService {
4
5
  private signerOrProvider;
5
6
  private triggersContract;
@@ -7,7 +8,8 @@ export declare class TriggersService implements ITriggersService {
7
8
  readonly closeTriggers: ITriggersFunctionsGroup_CloseTriggers;
8
9
  readonly updateTriggers: ITriggersFunctionsGroup_UpdateTriggers;
9
10
  readonly timeoutTriggers: ITriggersFunctionsGroup_TimeoutTriggers;
10
- readonly contractInfo: ITriggersFunctionsGroup_ContractInfo;
11
+ readonly contractReferences: ITriggersFunctionsGroup_ContractReferences;
12
+ readonly pendableAdmin: IPendableAdmin;
11
13
  readonly status: ITriggersFunctionsGroup_Status;
12
14
  readonly configuration: ITriggersFunctionsGroup_Configuration;
13
15
  readonly pairConfiguration: ITriggersFunctionsGroup_PairConfiguration;
@@ -1 +1 @@
1
- {"version":3,"file":"TriggersService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TriggersService/TriggersService.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,QAAQ,EAET,MAAM,QAAQ,CAAC;AAIhB,OAAO,EACL,gBAAgB,EAChB,oCAAoC,EACpC,qCAAqC,EACrC,sCAAsC,EACtC,uCAAuC,EACvC,oCAAoC,EACpC,8BAA8B,EAC9B,qCAAqC,EACrC,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAoR5B,qBAAa,eAAgB,YAAW,gBAAgB;IAepD,OAAO,CAAC,gBAAgB;IAd1B,OAAO,CAAC,gBAAgB,CAAa;IACrC,SAAgB,YAAY,EAAE,oCAAoC,CAAC;IACnE,SAAgB,aAAa,EAAE,qCAAqC,CAAC;IACrE,SAAgB,cAAc,EAAE,sCAAsC,CAAC;IACvE,SAAgB,eAAe,EAAE,uCAAuC,CAAC;IACzE,SAAgB,YAAY,EAAE,oCAAoC,CAAC;IACnE,SAAgB,MAAM,EAAE,8BAA8B,CAAC;IACvD,SAAgB,aAAa,EAAE,qCAAqC,CAAC;IACrE,SAAgB,iBAAiB,EAAE,yCAAyC,CAAC;IAC7E,SAAgB,WAAW,EAAE,mCAAmC,CAAC;IACjE,SAAgB,SAAS,EAAE,iCAAiC,CAAC;gBAG3D,OAAO,EAAE,MAAM,EACP,gBAAgB,EAAE,MAAM,GAAG,QAAQ;CAkB9C"}
1
+ {"version":3,"file":"TriggersService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TriggersService/TriggersService.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,QAAQ,EAET,MAAM,QAAQ,CAAC;AAIhB,OAAO,EACL,gBAAgB,EAChB,oCAAoC,EACpC,qCAAqC,EACrC,sCAAsC,EACtC,uCAAuC,EACvC,0CAA0C,EAC1C,8BAA8B,EAC9B,qCAAqC,EACrC,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAwR3C,qBAAa,eAAgB,YAAW,gBAAgB;IAgBpD,OAAO,CAAC,gBAAgB;IAf1B,OAAO,CAAC,gBAAgB,CAAa;IACrC,SAAgB,YAAY,EAAE,oCAAoC,CAAC;IACnE,SAAgB,aAAa,EAAE,qCAAqC,CAAC;IACrE,SAAgB,cAAc,EAAE,sCAAsC,CAAC;IACvE,SAAgB,eAAe,EAAE,uCAAuC,CAAC;IACzE,SAAgB,kBAAkB,EAAE,0CAA0C,CAAC;IAC/E,SAAgB,aAAa,EAAE,cAAc,CAAC;IAC9C,SAAgB,MAAM,EAAE,8BAA8B,CAAC;IACvD,SAAgB,aAAa,EAAE,qCAAqC,CAAC;IACrE,SAAgB,iBAAiB,EAAE,yCAAyC,CAAC;IAC7E,SAAgB,WAAW,EAAE,mCAAmC,CAAC;IACjE,SAAgB,SAAS,EAAE,iCAAiC,CAAC;gBAG3D,OAAO,EAAE,MAAM,EACP,gBAAgB,EAAE,MAAM,GAAG,QAAQ;CAmB9C"}
@@ -58,16 +58,10 @@ class TimeoutTriggers {
58
58
  return this.triggersContract.trigger_timeout_updatePosition(positionId);
59
59
  }
60
60
  }
61
- class ContractInfo {
61
+ class ContractReferences {
62
62
  constructor(triggersContract) {
63
63
  this.triggersContract = triggersContract;
64
64
  }
65
- async admin() {
66
- return this.triggersContract.admin();
67
- }
68
- async pendingAdmin() {
69
- return this.triggersContract.pendingAdmin();
70
- }
71
65
  async orderBook() {
72
66
  return this.triggersContract.orderBook();
73
67
  }
@@ -78,6 +72,17 @@ class ContractInfo {
78
72
  return this.triggersContract.priceValidator();
79
73
  }
80
74
  }
75
+ class PendableAdmin {
76
+ constructor(triggersContract) {
77
+ this.triggersContract = triggersContract;
78
+ }
79
+ async admin() {
80
+ return this.triggersContract.admin();
81
+ }
82
+ async pendingAdmin() {
83
+ return this.triggersContract.pendingAdmin();
84
+ }
85
+ }
81
86
  class Status {
82
87
  constructor(triggersContract) {
83
88
  this.triggersContract = triggersContract;
@@ -177,7 +182,8 @@ class TriggersService {
177
182
  this.closeTriggers = new CloseTriggers(this.triggersContract);
178
183
  this.updateTriggers = new UpdateTriggers(this.triggersContract);
179
184
  this.timeoutTriggers = new TimeoutTriggers(this.triggersContract);
180
- this.contractInfo = new ContractInfo(this.triggersContract);
185
+ this.contractReferences = new ContractReferences(this.triggersContract);
186
+ this.pendableAdmin = new PendableAdmin(this.triggersContract);
181
187
  this.status = new Status(this.triggersContract);
182
188
  this.configuration = new Configuration(this.triggersContract);
183
189
  this.pairConfiguration = new PairConfiguration(this.triggersContract);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Common interface for Lynx versioned contracts
3
+ * All Lynx contracts implement these versioning methods
4
+ */
5
+ export interface ILynxVersionedContract {
6
+ getContractName(): Promise<string>;
7
+ getContractVersion(): Promise<string>;
8
+ CONTRACT_NAME(): Promise<string>;
9
+ CONTRACT_VERSION(): Promise<string>;
10
+ }
11
+ //# sourceMappingURL=ILynxVersionedContract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ILynxVersionedContract.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/ILynxVersionedContract.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAClC,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACrC,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAChC,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACpC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Common interface for contracts with pendable admin pattern
3
+ * Allows for two-step admin transfer process
4
+ */
5
+ export interface IPendableAdmin {
6
+ admin(): Promise<string>;
7
+ pendingAdmin(): Promise<string>;
8
+ }
9
+ //# sourceMappingURL=IPendableAdmin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPendableAdmin.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableAdmin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAChC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Common interface for upgradeable contracts with pendable implementation pattern
3
+ * Allows for two-step implementation upgrade process
4
+ */
5
+ export interface IPendableImplementation {
6
+ implementation(): Promise<string>;
7
+ pendingImplementation(): Promise<string>;
8
+ }
9
+ //# sourceMappingURL=IPendableImplementation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPendableImplementation.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableImplementation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACjC,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACzC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Common interface for protocol-wide constants used across multiple contracts
3
+ * These constants define the scaling factors and precision levels used throughout the Lynx protocol
4
+ */
5
+ export interface IProtocolConstants {
6
+ /**
7
+ * Scale factor for fraction calculations (typically 100,000 for 5 decimal precision)
8
+ * Used for percentage-based calculations like fees, rates, etc.
9
+ */
10
+ FRACTION_SCALE(): Promise<bigint>;
11
+ /**
12
+ * General precision constant used for various calculations
13
+ * The specific value and usage may vary by contract
14
+ */
15
+ PRECISION(): Promise<bigint>;
16
+ /**
17
+ * Scale factor for leverage values (typically 100)
18
+ * Leverage of 25x is stored as 2500
19
+ */
20
+ LEVERAGE_SCALE(): Promise<bigint>;
21
+ /**
22
+ * Optional: Scale factor for improved calculation accuracy
23
+ * Not all contracts implement this
24
+ */
25
+ ACCURACY_IMPROVEMENT_SCALE?(): Promise<bigint>;
26
+ /**
27
+ * Optional: Unit scale specific to the contract
28
+ * Used in contracts like LexPool for internal calculations
29
+ */
30
+ SELF_UNIT_SCALE?(): Promise<bigint>;
31
+ }
32
+ //# sourceMappingURL=IProtocolConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IProtocolConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IProtocolConstants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjC;;;OAGG;IACH,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAE5B;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjC;;;OAGG;IACH,0BAA0B,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAE9C;;;OAGG;IACH,eAAe,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACpC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export type { ILynxVersionedContract } from "./ILynxVersionedContract";
2
+ export type { IPendableAdmin } from "./IPendableAdmin";
3
+ export type { IPendableImplementation } from "./IPendableImplementation";
4
+ export type { IProtocolConstants } from "./IProtocolConstants";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,6 +19,8 @@ import { TradeIntentsVerifierV1 } from "../typechain/contracts/Lynx/IntentsVerif
19
19
  import { ChipsIntentsVerifierService } from "./ChipsIntentsVerifierService";
20
20
  import { LiquidityIntentsVerifierService } from "./LiquidityIntentsVerifierService";
21
21
  import { TradeIntentsVerifierService } from "./TradeIntentsVerifierService";
22
+ import { OnBehalfTradingV1 } from "../typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1";
23
+ import { OnBehalfTradingService } from "./OnBehalfTradingService";
22
24
  export declare function connectToRegistryProxyForSigner(signer: Signer, address: string): RegistryProxy;
23
25
  /**
24
26
  * To be used with the proxy address and the implementation ABI
@@ -54,6 +56,8 @@ export declare function connectToLiquidityIntentsVerifierForSigner(signer: Signe
54
56
  export declare function connectToLiquidityIntentsVerifier(provider: Provider, address: string): LiquidityIntentsVerifierV1;
55
57
  export declare function connectToTradeIntentsVerifierForSigner(signer: Signer, address: string): TradeIntentsVerifierV1;
56
58
  export declare function connectToTradeIntentsVerifier(provider: Provider, address: string): TradeIntentsVerifierV1;
59
+ export declare function connectToOnBehalfTradingForSigner(signer: Signer, address: string): OnBehalfTradingV1;
60
+ export declare function connectToOnBehalfTrading(provider: Provider, address: string): OnBehalfTradingV1;
57
61
  export declare function createIntentsVerifierLensService(signerOrProvider: Signer | Provider, address: string): IntentsVerifierLensService;
58
62
  export declare function createTriggersAndPortalLensService(signerOrProvider: Signer | Provider, address: string): TriggersAndPortalLensService;
59
63
  export declare function createTradingFloorLensService(signerOrProvider: Signer | Provider, address: string): TradingFloorLensService;
@@ -61,4 +65,5 @@ export declare function createLexLensService(signerOrProvider: Signer | Provider
61
65
  export declare function createChipsIntentsVerifierService(signerOrProvider: Signer | Provider, address: string): ChipsIntentsVerifierService;
62
66
  export declare function createLiquidityIntentsVerifierService(signerOrProvider: Signer | Provider, address: string): LiquidityIntentsVerifierService;
63
67
  export declare function createTradeIntentsVerifierService(signerOrProvider: Signer | Provider, address: string): TradeIntentsVerifierService;
68
+ export declare function createOnBehalfTradingService(signerOrProvider: Signer | Provider, address: string): OnBehalfTradingService;
64
69
  //# sourceMappingURL=deployedContractsConnector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployedContractsConnector.d.ts","sourceRoot":"","sources":["../../../../lib/contractsIntegration/deployedContractsConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAE3F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAGnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAI/F,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAItF,OAAO,EAAE,UAAU,EAAE,M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EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,4BAA4B,CAE9B;AAED,wBAAgB,6BAA6B,CAC3C,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,uBAAuB,CAEzB;AAED,wBAAgB,oBAAoB,CAClC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,cAAc,CAEhB;AAED,wBAAgB,iCAAiC,CAC/C,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,2BAA2B,CAE7B;AAED,wBAAgB,qCAAqC,CACnD,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,+BAA+B,CAEjC;AAED,wBAAgB,iCAAiC,CAC/C,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,2BAA2B,CAE7B;AAED,wBAAgB,4BAA4B,CAC1C,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM,GACd,sBAAsB,CAExB"}
@@ -23,6 +23,8 @@ exports.connectToLiquidityIntentsVerifierForSigner = connectToLiquidityIntentsVe
23
23
  exports.connectToLiquidityIntentsVerifier = connectToLiquidityIntentsVerifier;
24
24
  exports.connectToTradeIntentsVerifierForSigner = connectToTradeIntentsVerifierForSigner;
25
25
  exports.connectToTradeIntentsVerifier = connectToTradeIntentsVerifier;
26
+ exports.connectToOnBehalfTradingForSigner = connectToOnBehalfTradingForSigner;
27
+ exports.connectToOnBehalfTrading = connectToOnBehalfTrading;
26
28
  exports.createIntentsVerifierLensService = createIntentsVerifierLensService;
27
29
  exports.createTriggersAndPortalLensService = createTriggersAndPortalLensService;
28
30
  exports.createTradingFloorLensService = createTradingFloorLensService;
@@ -30,6 +32,7 @@ exports.createLexLensService = createLexLensService;
30
32
  exports.createChipsIntentsVerifierService = createChipsIntentsVerifierService;
31
33
  exports.createLiquidityIntentsVerifierService = createLiquidityIntentsVerifierService;
32
34
  exports.createTradeIntentsVerifierService = createTradeIntentsVerifierService;
35
+ exports.createOnBehalfTradingService = createOnBehalfTradingService;
33
36
  const TradingFloorLens__factory_1 = require("../typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory");
34
37
  const LexLens__factory_1 = require("../typechain/factories/contracts/Peripheral/Lens/LexLens__factory");
35
38
  const RegistryProxy__factory_1 = require("../typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory");
@@ -50,6 +53,8 @@ const TradeIntentsVerifierV1__factory_1 = require("../typechain/factories/contra
50
53
  const ChipsIntentsVerifierService_1 = require("./ChipsIntentsVerifierService");
51
54
  const LiquidityIntentsVerifierService_1 = require("./LiquidityIntentsVerifierService");
52
55
  const TradeIntentsVerifierService_1 = require("./TradeIntentsVerifierService");
56
+ const OnBehalfTradingV1__factory_1 = require("../typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory");
57
+ const OnBehalfTradingService_1 = require("./OnBehalfTradingService");
53
58
  //
54
59
  // ***** Registry & Proxy *****
55
60
  //
@@ -153,6 +158,15 @@ function connectToTradeIntentsVerifier(provider, address) {
153
158
  return TradeIntentsVerifierV1__factory_1.TradeIntentsVerifierV1__factory.connect(address, provider);
154
159
  }
155
160
  //
161
+ // ***** OnBehalfTrading *****
162
+ //
163
+ function connectToOnBehalfTradingForSigner(signer, address) {
164
+ return OnBehalfTradingV1__factory_1.OnBehalfTradingV1__factory.connect(address, signer);
165
+ }
166
+ function connectToOnBehalfTrading(provider, address) {
167
+ return OnBehalfTradingV1__factory_1.OnBehalfTradingV1__factory.connect(address, provider);
168
+ }
169
+ //
156
170
  // ***** Lens Services *****
157
171
  //
158
172
  function createIntentsVerifierLensService(signerOrProvider, address) {
@@ -176,3 +190,6 @@ function createLiquidityIntentsVerifierService(signerOrProvider, address) {
176
190
  function createTradeIntentsVerifierService(signerOrProvider, address) {
177
191
  return new TradeIntentsVerifierService_1.TradeIntentsVerifierService(signerOrProvider, address);
178
192
  }
193
+ function createOnBehalfTradingService(signerOrProvider, address) {
194
+ return new OnBehalfTradingService_1.OnBehalfTradingService(signerOrProvider, address);
195
+ }