lynx-client 0.0.1-beta.9 → 0.0.2

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 (326) hide show
  1. package/README.md +392 -3
  2. package/dist/cjs/index.js +8 -0
  3. package/dist/cjs/lib/chains/chainMappings.js +17 -0
  4. package/dist/cjs/lib/constants/contractEnums.js +1 -0
  5. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +15 -0
  6. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +42 -0
  7. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/index.js +18 -0
  8. package/dist/cjs/lib/contractsIntegration/LexLensService/ILexLensService.js +137 -0
  9. package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +250 -0
  10. package/dist/cjs/lib/contractsIntegration/LexLensService/index.js +18 -0
  11. package/dist/cjs/lib/contractsIntegration/OrderBookService/IOrderBookService.js +2 -0
  12. package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +92 -0
  13. package/dist/cjs/lib/contractsIntegration/TradersPortalService/ITradersPortalService.js +2 -0
  14. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +157 -0
  15. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +64 -0
  16. package/dist/cjs/lib/contractsIntegration/TradersPortalService/index.js +19 -0
  17. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +61 -0
  18. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +147 -0
  19. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/index.js +18 -0
  20. package/dist/cjs/lib/contractsIntegration/TradingFloorService/ITradingFloorService.js +2 -0
  21. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +158 -0
  22. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +30 -0
  23. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +58 -0
  24. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/index.js +18 -0
  25. package/dist/cjs/lib/contractsIntegration/TriggersService/ITriggersService.js +2 -0
  26. package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +188 -0
  27. package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +119 -8
  28. package/dist/cjs/lib/devex/getChainAddresses.js +65 -0
  29. package/dist/cjs/lib/devex/getSupportedEngineChains.js +45 -0
  30. package/dist/cjs/lib/devex/index.js +9 -0
  31. package/dist/cjs/lib/devex/types.js +2 -0
  32. package/dist/cjs/lib/lynxSystem/hashes.js +9 -0
  33. package/dist/cjs/lib/lynxSystem/lynxScalesUtils.js +8 -0
  34. package/dist/cjs/lib/lynxSystem/registry/registryReading.js +38 -0
  35. package/dist/cjs/lib/priceFeeds/pyth/pythFeedConstants.js +1 -2
  36. package/dist/cjs/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.js +2 -0
  37. package/dist/cjs/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.js +2 -0
  38. package/dist/cjs/lib/typechain/contracts/Lynx/Registry/RegistryProxy.js +2 -0
  39. package/dist/cjs/lib/typechain/contracts/Lynx/Registry/RegistryV1.js +2 -0
  40. package/dist/cjs/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.js +2 -0
  41. package/dist/cjs/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.js +2 -0
  42. package/dist/cjs/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.js +2 -0
  43. package/dist/cjs/lib/typechain/contracts/Lynx/Triggers/TriggersV1.js +2 -0
  44. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.js +258 -0
  45. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +539 -0
  46. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.js +226 -0
  47. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1108 -0
  48. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +966 -0
  49. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.js +258 -0
  50. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1774 -0
  51. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1459 -0
  52. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  53. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  54. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  55. package/dist/cjs/lib/utils/ethersTypes.js +29 -6
  56. package/dist/esm/index.d.ts +7 -0
  57. package/dist/esm/index.d.ts.map +1 -1
  58. package/dist/esm/index.js +8 -0
  59. package/dist/esm/lib/chains/chainMappings.d.ts +13 -0
  60. package/dist/esm/lib/chains/chainMappings.d.ts.map +1 -0
  61. package/dist/esm/lib/chains/chainMappings.js +17 -0
  62. package/dist/esm/lib/chains/chainTypes.d.ts +3 -0
  63. package/dist/esm/lib/chains/chainTypes.d.ts.map +1 -1
  64. package/dist/esm/lib/constants/contractEnums.d.ts.map +1 -1
  65. package/dist/esm/lib/constants/contractEnums.js +1 -0
  66. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +20 -0
  67. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -0
  68. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +15 -0
  69. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +11 -0
  70. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -0
  71. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +42 -0
  72. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts +3 -0
  73. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts.map +1 -0
  74. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.js +18 -0
  75. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +85 -0
  76. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -0
  77. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.js +137 -0
  78. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +34 -0
  79. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -0
  80. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +250 -0
  81. package/dist/esm/lib/contractsIntegration/LexLensService/index.d.ts +3 -0
  82. package/dist/esm/lib/contractsIntegration/LexLensService/index.d.ts.map +1 -0
  83. package/dist/esm/lib/contractsIntegration/LexLensService/index.js +18 -0
  84. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +40 -0
  85. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -0
  86. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.js +2 -0
  87. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +12 -0
  88. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -0
  89. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +92 -0
  90. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +61 -0
  91. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -0
  92. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.js +2 -0
  93. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +14 -0
  94. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -0
  95. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +157 -0
  96. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +32 -0
  97. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -0
  98. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +64 -0
  99. package/dist/esm/lib/contractsIntegration/TradersPortalService/index.d.ts +4 -0
  100. package/dist/esm/lib/contractsIntegration/TradersPortalService/index.d.ts.map +1 -0
  101. package/dist/esm/lib/contractsIntegration/TradersPortalService/index.js +19 -0
  102. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +76 -0
  103. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -0
  104. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +61 -0
  105. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +16 -0
  106. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -0
  107. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +147 -0
  108. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.d.ts +3 -0
  109. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.d.ts.map +1 -0
  110. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.js +18 -0
  111. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +83 -0
  112. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -0
  113. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.js +2 -0
  114. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +80 -0
  115. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -0
  116. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +158 -0
  117. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +33 -0
  118. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -0
  119. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +30 -0
  120. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +11 -0
  121. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -0
  122. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +58 -0
  123. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts +3 -0
  124. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts.map +1 -0
  125. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.js +18 -0
  126. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +73 -0
  127. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -0
  128. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.js +2 -0
  129. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts +18 -0
  130. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -0
  131. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +188 -0
  132. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +44 -5
  133. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  134. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +119 -8
  135. package/dist/esm/lib/devex/getChainAddresses.d.ts +20 -0
  136. package/dist/esm/lib/devex/getChainAddresses.d.ts.map +1 -0
  137. package/dist/esm/lib/devex/getChainAddresses.js +65 -0
  138. package/dist/esm/lib/devex/getSupportedEngineChains.d.ts +37 -0
  139. package/dist/esm/lib/devex/getSupportedEngineChains.d.ts.map +1 -0
  140. package/dist/esm/lib/devex/getSupportedEngineChains.js +45 -0
  141. package/dist/esm/lib/devex/index.d.ts +5 -0
  142. package/dist/esm/lib/devex/index.d.ts.map +1 -0
  143. package/dist/esm/lib/devex/index.js +9 -0
  144. package/dist/esm/lib/devex/types.d.ts +20 -0
  145. package/dist/esm/lib/devex/types.d.ts.map +1 -0
  146. package/dist/esm/lib/devex/types.js +2 -0
  147. package/dist/esm/lib/lynxSystem/hashes.d.ts +6 -0
  148. package/dist/esm/lib/lynxSystem/hashes.d.ts.map +1 -1
  149. package/dist/esm/lib/lynxSystem/hashes.js +9 -0
  150. package/dist/esm/lib/lynxSystem/lynxScalesUtils.d.ts +2 -0
  151. package/dist/esm/lib/lynxSystem/lynxScalesUtils.d.ts.map +1 -1
  152. package/dist/esm/lib/lynxSystem/lynxScalesUtils.js +8 -0
  153. package/dist/esm/lib/lynxSystem/registry/registryReading.d.ts +9 -0
  154. package/dist/esm/lib/lynxSystem/registry/registryReading.d.ts.map +1 -0
  155. package/dist/esm/lib/lynxSystem/registry/registryReading.js +38 -0
  156. package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
  157. package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.js +1 -2
  158. package/dist/esm/lib/typechain/common.d.ts.map +1 -1
  159. package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts +151 -0
  160. package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts.map +1 -0
  161. package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.js +2 -0
  162. package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts +268 -0
  163. package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts.map +1 -0
  164. package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.js +2 -0
  165. package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts +143 -0
  166. package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts.map +1 -0
  167. package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.js +2 -0
  168. package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts +603 -0
  169. package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts.map +1 -0
  170. package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.js +2 -0
  171. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +571 -0
  172. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -0
  173. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.js +2 -0
  174. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts +151 -0
  175. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts.map +1 -0
  176. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.js +2 -0
  177. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +1160 -0
  178. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -0
  179. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.js +2 -0
  180. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +977 -0
  181. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -0
  182. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.js +2 -0
  183. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +1 -3
  184. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
  185. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts +193 -0
  186. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts.map +1 -0
  187. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.js +258 -0
  188. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +407 -0
  189. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts.map +1 -0
  190. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +539 -0
  191. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts +169 -0
  192. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts.map +1 -0
  193. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.js +226 -0
  194. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +841 -0
  195. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts.map +1 -0
  196. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1108 -0
  197. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +745 -0
  198. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -0
  199. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +966 -0
  200. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts +193 -0
  201. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts.map +1 -0
  202. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.js +258 -0
  203. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1374 -0
  204. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -0
  205. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1774 -0
  206. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1135 -0
  207. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -0
  208. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1459 -0
  209. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  210. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  211. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  212. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  213. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  214. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  215. package/dist/esm/lib/utils/ethersTypes.d.ts +2 -2
  216. package/dist/esm/lib/utils/ethersTypes.d.ts.map +1 -1
  217. package/dist/esm/lib/utils/ethersTypes.js +29 -6
  218. package/dist/types/index.d.ts +7 -0
  219. package/dist/types/index.d.ts.map +1 -1
  220. package/dist/types/lib/chains/chainMappings.d.ts +13 -0
  221. package/dist/types/lib/chains/chainMappings.d.ts.map +1 -0
  222. package/dist/types/lib/chains/chainTypes.d.ts +3 -0
  223. package/dist/types/lib/chains/chainTypes.d.ts.map +1 -1
  224. package/dist/types/lib/constants/contractEnums.d.ts.map +1 -1
  225. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +20 -0
  226. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -0
  227. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +11 -0
  228. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -0
  229. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts +3 -0
  230. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts.map +1 -0
  231. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +85 -0
  232. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -0
  233. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +34 -0
  234. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -0
  235. package/dist/types/lib/contractsIntegration/LexLensService/index.d.ts +3 -0
  236. package/dist/types/lib/contractsIntegration/LexLensService/index.d.ts.map +1 -0
  237. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +40 -0
  238. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -0
  239. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +12 -0
  240. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -0
  241. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +61 -0
  242. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -0
  243. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +14 -0
  244. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -0
  245. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +32 -0
  246. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -0
  247. package/dist/types/lib/contractsIntegration/TradersPortalService/index.d.ts +4 -0
  248. package/dist/types/lib/contractsIntegration/TradersPortalService/index.d.ts.map +1 -0
  249. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +76 -0
  250. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -0
  251. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +16 -0
  252. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -0
  253. package/dist/types/lib/contractsIntegration/TradingFloorLensService/index.d.ts +3 -0
  254. package/dist/types/lib/contractsIntegration/TradingFloorLensService/index.d.ts.map +1 -0
  255. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +83 -0
  256. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -0
  257. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +80 -0
  258. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -0
  259. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +33 -0
  260. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -0
  261. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +11 -0
  262. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -0
  263. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts +3 -0
  264. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts.map +1 -0
  265. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +73 -0
  266. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -0
  267. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts +18 -0
  268. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -0
  269. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +44 -5
  270. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  271. package/dist/types/lib/devex/getChainAddresses.d.ts +20 -0
  272. package/dist/types/lib/devex/getChainAddresses.d.ts.map +1 -0
  273. package/dist/types/lib/devex/getSupportedEngineChains.d.ts +37 -0
  274. package/dist/types/lib/devex/getSupportedEngineChains.d.ts.map +1 -0
  275. package/dist/types/lib/devex/index.d.ts +5 -0
  276. package/dist/types/lib/devex/index.d.ts.map +1 -0
  277. package/dist/types/lib/devex/types.d.ts +20 -0
  278. package/dist/types/lib/devex/types.d.ts.map +1 -0
  279. package/dist/types/lib/lynxSystem/hashes.d.ts +6 -0
  280. package/dist/types/lib/lynxSystem/hashes.d.ts.map +1 -1
  281. package/dist/types/lib/lynxSystem/lynxScalesUtils.d.ts +2 -0
  282. package/dist/types/lib/lynxSystem/lynxScalesUtils.d.ts.map +1 -1
  283. package/dist/types/lib/lynxSystem/registry/registryReading.d.ts +9 -0
  284. package/dist/types/lib/lynxSystem/registry/registryReading.d.ts.map +1 -0
  285. package/dist/types/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
  286. package/dist/types/lib/typechain/common.d.ts.map +1 -1
  287. package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts +151 -0
  288. package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts.map +1 -0
  289. package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts +268 -0
  290. package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts.map +1 -0
  291. package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts +143 -0
  292. package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts.map +1 -0
  293. package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts +603 -0
  294. package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts.map +1 -0
  295. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +571 -0
  296. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -0
  297. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts +151 -0
  298. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts.map +1 -0
  299. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +1160 -0
  300. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -0
  301. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +977 -0
  302. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -0
  303. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +1 -3
  304. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
  305. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts +193 -0
  306. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts.map +1 -0
  307. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +407 -0
  308. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts.map +1 -0
  309. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts +169 -0
  310. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts.map +1 -0
  311. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +841 -0
  312. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts.map +1 -0
  313. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +745 -0
  314. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -0
  315. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts +193 -0
  316. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts.map +1 -0
  317. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1374 -0
  318. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -0
  319. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1135 -0
  320. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -0
  321. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  322. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  323. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  324. package/dist/types/lib/utils/ethersTypes.d.ts +2 -2
  325. package/dist/types/lib/utils/ethersTypes.d.ts.map +1 -1
  326. package/package.json +7 -7
@@ -0,0 +1,1160 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
3
+ export declare namespace TradingFloorStructsV1 {
4
+ type PositionRequestIdentifiersStruct = {
5
+ trader: AddressLike;
6
+ pairId: BigNumberish;
7
+ settlementAsset: AddressLike;
8
+ positionIndex: BigNumberish;
9
+ };
10
+ type PositionRequestIdentifiersStructOutput = [
11
+ trader: string,
12
+ pairId: bigint,
13
+ settlementAsset: string,
14
+ positionIndex: bigint
15
+ ] & {
16
+ trader: string;
17
+ pairId: bigint;
18
+ settlementAsset: string;
19
+ positionIndex: bigint;
20
+ };
21
+ type PositionRequestParamsStruct = {
22
+ long: boolean;
23
+ collateral: BigNumberish;
24
+ leverage: BigNumberish;
25
+ minPrice: BigNumberish;
26
+ maxPrice: BigNumberish;
27
+ tp: BigNumberish;
28
+ sl: BigNumberish;
29
+ tpByFraction: BigNumberish;
30
+ slByFraction: BigNumberish;
31
+ };
32
+ type PositionRequestParamsStructOutput = [
33
+ long: boolean,
34
+ collateral: bigint,
35
+ leverage: bigint,
36
+ minPrice: bigint,
37
+ maxPrice: bigint,
38
+ tp: bigint,
39
+ sl: bigint,
40
+ tpByFraction: bigint,
41
+ slByFraction: bigint
42
+ ] & {
43
+ long: boolean;
44
+ collateral: bigint;
45
+ leverage: bigint;
46
+ minPrice: bigint;
47
+ maxPrice: bigint;
48
+ tp: bigint;
49
+ sl: bigint;
50
+ tpByFraction: bigint;
51
+ slByFraction: bigint;
52
+ };
53
+ type PositionIdentifiersStruct = {
54
+ settlementAsset: AddressLike;
55
+ pairId: BigNumberish;
56
+ index: BigNumberish;
57
+ trader: AddressLike;
58
+ };
59
+ type PositionIdentifiersStructOutput = [
60
+ settlementAsset: string,
61
+ pairId: bigint,
62
+ index: bigint,
63
+ trader: string
64
+ ] & {
65
+ settlementAsset: string;
66
+ pairId: bigint;
67
+ index: bigint;
68
+ trader: string;
69
+ };
70
+ }
71
+ export declare namespace PoolAccountantStructs {
72
+ type PositionRegistrationParamsStruct = {
73
+ collateral: BigNumberish;
74
+ leverage: BigNumberish;
75
+ long: boolean;
76
+ openPrice: BigNumberish;
77
+ tp: BigNumberish;
78
+ };
79
+ type PositionRegistrationParamsStructOutput = [
80
+ collateral: bigint,
81
+ leverage: bigint,
82
+ long: boolean,
83
+ openPrice: bigint,
84
+ tp: bigint
85
+ ] & {
86
+ collateral: bigint;
87
+ leverage: bigint;
88
+ long: boolean;
89
+ openPrice: bigint;
90
+ tp: bigint;
91
+ };
92
+ }
93
+ export interface TradingFloorV1Interface extends Interface {
94
+ getFunction(nameOrSignature: "ACCURACY_IMPROVEMENT_SCALE" | "FRACTION_SCALE" | "LEVERAGE_SCALE" | "MAX_FEE_FRACTION_FOR_CANCEL" | "PRECISION" | "_become" | "admin" | "cancelMarketCloseForPosition" | "cancelPendingPosition" | "closeExistingPosition_Limit" | "closeExistingPosition_Market" | "collectFee" | "feesMap" | "generatePositionHashId" | "getPositionPortalInfo" | "getPositionRegistrationParams" | "getPositionTriggerInfo" | "implementation" | "initialCollateralByPositionId" | "isSettlementAssetSupported" | "lexPoolForAsset" | "maxSanityProfitF" | "maxSlF" | "maxTradesPerPair" | "openNewPosition_limit" | "openNewPosition_market" | "pairTraders" | "pairTradersArray" | "pairTradersInfo" | "pausedPairs" | "pendingAdmin" | "pendingImplementation" | "poolAccountantForAsset" | "positionIdentifiersById" | "positionLimitsInfoById" | "positionsById" | "registry" | "setOpenedPositionToMarketClose" | "setPairPaused" | "setTradeParam" | "storePendingPosition" | "supportNewSettlementAsset" | "triggerPricesById" | "updateOpenedPosition" | "updatePendingPosition_openLimit"): FunctionFragment;
95
+ getEvent(nameOrSignatureOrTopic: "FeeCollected" | "FeeRegistered" | "NumberUpdated" | "OpenedPositionUpdated" | "PairPausedChange" | "PendingPositionCancelled" | "PendingPositionStored" | "PendingPositionUpdated" | "PositionClosedLimit" | "PositionClosedMarket" | "PositionIdentifiersStored" | "PositionMarketCloseCancelled" | "PositionOpenCancelledByCap" | "PositionOpenCancelledByMarketPriceRange" | "PositionOpened" | "PositionSetForMarketClose" | "SettlementAssetAdded"): EventFragment;
96
+ encodeFunctionData(functionFragment: "ACCURACY_IMPROVEMENT_SCALE", values?: undefined): string;
97
+ encodeFunctionData(functionFragment: "FRACTION_SCALE", values?: undefined): string;
98
+ encodeFunctionData(functionFragment: "LEVERAGE_SCALE", values?: undefined): string;
99
+ encodeFunctionData(functionFragment: "MAX_FEE_FRACTION_FOR_CANCEL", values?: undefined): string;
100
+ encodeFunctionData(functionFragment: "PRECISION", values?: undefined): string;
101
+ encodeFunctionData(functionFragment: "_become", values: [AddressLike]): string;
102
+ encodeFunctionData(functionFragment: "admin", values?: undefined): string;
103
+ encodeFunctionData(functionFragment: "cancelMarketCloseForPosition", values: [BytesLike, BigNumberish, BigNumberish]): string;
104
+ encodeFunctionData(functionFragment: "cancelPendingPosition", values: [BytesLike, BigNumberish, BigNumberish]): string;
105
+ encodeFunctionData(functionFragment: "closeExistingPosition_Limit", values: [BytesLike, BigNumberish, BigNumberish, BigNumberish]): string;
106
+ encodeFunctionData(functionFragment: "closeExistingPosition_Market", values: [BytesLike, BigNumberish, BigNumberish]): string;
107
+ encodeFunctionData(functionFragment: "collectFee", values: [AddressLike, BigNumberish, AddressLike]): string;
108
+ encodeFunctionData(functionFragment: "feesMap", values: [AddressLike, BigNumberish]): string;
109
+ encodeFunctionData(functionFragment: "generatePositionHashId", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
110
+ encodeFunctionData(functionFragment: "getPositionPortalInfo", values: [BytesLike]): string;
111
+ encodeFunctionData(functionFragment: "getPositionRegistrationParams", values: [BytesLike]): string;
112
+ encodeFunctionData(functionFragment: "getPositionTriggerInfo", values: [BytesLike]): string;
113
+ encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
114
+ encodeFunctionData(functionFragment: "initialCollateralByPositionId", values: [BytesLike]): string;
115
+ encodeFunctionData(functionFragment: "isSettlementAssetSupported", values: [AddressLike]): string;
116
+ encodeFunctionData(functionFragment: "lexPoolForAsset", values: [AddressLike]): string;
117
+ encodeFunctionData(functionFragment: "maxSanityProfitF", values?: undefined): string;
118
+ encodeFunctionData(functionFragment: "maxSlF", values?: undefined): string;
119
+ encodeFunctionData(functionFragment: "maxTradesPerPair", values?: undefined): string;
120
+ encodeFunctionData(functionFragment: "openNewPosition_limit", values: [BytesLike, BigNumberish, BigNumberish]): string;
121
+ encodeFunctionData(functionFragment: "openNewPosition_market", values: [BytesLike, BigNumberish, BigNumberish]): string;
122
+ encodeFunctionData(functionFragment: "pairTraders", values: [AddressLike, BigNumberish, BigNumberish]): string;
123
+ encodeFunctionData(functionFragment: "pairTradersArray", values: [AddressLike, BigNumberish]): string;
124
+ encodeFunctionData(functionFragment: "pairTradersInfo", values: [AddressLike, AddressLike, BigNumberish]): string;
125
+ encodeFunctionData(functionFragment: "pausedPairs", values: [BigNumberish]): string;
126
+ encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
127
+ encodeFunctionData(functionFragment: "pendingImplementation", values?: undefined): string;
128
+ encodeFunctionData(functionFragment: "poolAccountantForAsset", values: [AddressLike]): string;
129
+ encodeFunctionData(functionFragment: "positionIdentifiersById", values: [BytesLike]): string;
130
+ encodeFunctionData(functionFragment: "positionLimitsInfoById", values: [BytesLike]): string;
131
+ encodeFunctionData(functionFragment: "positionsById", values: [BytesLike]): string;
132
+ encodeFunctionData(functionFragment: "registry", values?: undefined): string;
133
+ encodeFunctionData(functionFragment: "setOpenedPositionToMarketClose", values: [BytesLike, BigNumberish, BigNumberish]): string;
134
+ encodeFunctionData(functionFragment: "setPairPaused", values: [BigNumberish, boolean]): string;
135
+ encodeFunctionData(functionFragment: "setTradeParam", values: [BigNumberish, BigNumberish]): string;
136
+ encodeFunctionData(functionFragment: "storePendingPosition", values: [
137
+ BigNumberish,
138
+ TradingFloorStructsV1.PositionRequestIdentifiersStruct,
139
+ TradingFloorStructsV1.PositionRequestParamsStruct,
140
+ BigNumberish
141
+ ]): string;
142
+ encodeFunctionData(functionFragment: "supportNewSettlementAsset", values: [AddressLike, AddressLike, AddressLike]): string;
143
+ encodeFunctionData(functionFragment: "triggerPricesById", values: [BytesLike]): string;
144
+ encodeFunctionData(functionFragment: "updateOpenedPosition", values: [BytesLike, BigNumberish, BigNumberish, BigNumberish]): string;
145
+ encodeFunctionData(functionFragment: "updatePendingPosition_openLimit", values: [BytesLike, BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
146
+ decodeFunctionResult(functionFragment: "ACCURACY_IMPROVEMENT_SCALE", data: BytesLike): Result;
147
+ decodeFunctionResult(functionFragment: "FRACTION_SCALE", data: BytesLike): Result;
148
+ decodeFunctionResult(functionFragment: "LEVERAGE_SCALE", data: BytesLike): Result;
149
+ decodeFunctionResult(functionFragment: "MAX_FEE_FRACTION_FOR_CANCEL", data: BytesLike): Result;
150
+ decodeFunctionResult(functionFragment: "PRECISION", data: BytesLike): Result;
151
+ decodeFunctionResult(functionFragment: "_become", data: BytesLike): Result;
152
+ decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
153
+ decodeFunctionResult(functionFragment: "cancelMarketCloseForPosition", data: BytesLike): Result;
154
+ decodeFunctionResult(functionFragment: "cancelPendingPosition", data: BytesLike): Result;
155
+ decodeFunctionResult(functionFragment: "closeExistingPosition_Limit", data: BytesLike): Result;
156
+ decodeFunctionResult(functionFragment: "closeExistingPosition_Market", data: BytesLike): Result;
157
+ decodeFunctionResult(functionFragment: "collectFee", data: BytesLike): Result;
158
+ decodeFunctionResult(functionFragment: "feesMap", data: BytesLike): Result;
159
+ decodeFunctionResult(functionFragment: "generatePositionHashId", data: BytesLike): Result;
160
+ decodeFunctionResult(functionFragment: "getPositionPortalInfo", data: BytesLike): Result;
161
+ decodeFunctionResult(functionFragment: "getPositionRegistrationParams", data: BytesLike): Result;
162
+ decodeFunctionResult(functionFragment: "getPositionTriggerInfo", data: BytesLike): Result;
163
+ decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
164
+ decodeFunctionResult(functionFragment: "initialCollateralByPositionId", data: BytesLike): Result;
165
+ decodeFunctionResult(functionFragment: "isSettlementAssetSupported", data: BytesLike): Result;
166
+ decodeFunctionResult(functionFragment: "lexPoolForAsset", data: BytesLike): Result;
167
+ decodeFunctionResult(functionFragment: "maxSanityProfitF", data: BytesLike): Result;
168
+ decodeFunctionResult(functionFragment: "maxSlF", data: BytesLike): Result;
169
+ decodeFunctionResult(functionFragment: "maxTradesPerPair", data: BytesLike): Result;
170
+ decodeFunctionResult(functionFragment: "openNewPosition_limit", data: BytesLike): Result;
171
+ decodeFunctionResult(functionFragment: "openNewPosition_market", data: BytesLike): Result;
172
+ decodeFunctionResult(functionFragment: "pairTraders", data: BytesLike): Result;
173
+ decodeFunctionResult(functionFragment: "pairTradersArray", data: BytesLike): Result;
174
+ decodeFunctionResult(functionFragment: "pairTradersInfo", data: BytesLike): Result;
175
+ decodeFunctionResult(functionFragment: "pausedPairs", data: BytesLike): Result;
176
+ decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
177
+ decodeFunctionResult(functionFragment: "pendingImplementation", data: BytesLike): Result;
178
+ decodeFunctionResult(functionFragment: "poolAccountantForAsset", data: BytesLike): Result;
179
+ decodeFunctionResult(functionFragment: "positionIdentifiersById", data: BytesLike): Result;
180
+ decodeFunctionResult(functionFragment: "positionLimitsInfoById", data: BytesLike): Result;
181
+ decodeFunctionResult(functionFragment: "positionsById", data: BytesLike): Result;
182
+ decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result;
183
+ decodeFunctionResult(functionFragment: "setOpenedPositionToMarketClose", data: BytesLike): Result;
184
+ decodeFunctionResult(functionFragment: "setPairPaused", data: BytesLike): Result;
185
+ decodeFunctionResult(functionFragment: "setTradeParam", data: BytesLike): Result;
186
+ decodeFunctionResult(functionFragment: "storePendingPosition", data: BytesLike): Result;
187
+ decodeFunctionResult(functionFragment: "supportNewSettlementAsset", data: BytesLike): Result;
188
+ decodeFunctionResult(functionFragment: "triggerPricesById", data: BytesLike): Result;
189
+ decodeFunctionResult(functionFragment: "updateOpenedPosition", data: BytesLike): Result;
190
+ decodeFunctionResult(functionFragment: "updatePendingPosition_openLimit", data: BytesLike): Result;
191
+ }
192
+ export declare namespace FeeCollectedEvent {
193
+ type InputTuple = [
194
+ token: AddressLike,
195
+ feeType: BigNumberish,
196
+ receiver: AddressLike,
197
+ amount: BigNumberish
198
+ ];
199
+ type OutputTuple = [
200
+ token: string,
201
+ feeType: bigint,
202
+ receiver: string,
203
+ amount: bigint
204
+ ];
205
+ interface OutputObject {
206
+ token: string;
207
+ feeType: bigint;
208
+ receiver: string;
209
+ amount: bigint;
210
+ }
211
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
212
+ type Filter = TypedDeferredTopicFilter<Event>;
213
+ type Log = TypedEventLog<Event>;
214
+ type LogDescription = TypedLogDescription<Event>;
215
+ }
216
+ export declare namespace FeeRegisteredEvent {
217
+ type InputTuple = [
218
+ positionId: BytesLike,
219
+ token: AddressLike,
220
+ feeType: BigNumberish,
221
+ amount: BigNumberish
222
+ ];
223
+ type OutputTuple = [
224
+ positionId: string,
225
+ token: string,
226
+ feeType: bigint,
227
+ amount: bigint
228
+ ];
229
+ interface OutputObject {
230
+ positionId: string;
231
+ token: string;
232
+ feeType: bigint;
233
+ amount: bigint;
234
+ }
235
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
236
+ type Filter = TypedDeferredTopicFilter<Event>;
237
+ type Log = TypedEventLog<Event>;
238
+ type LogDescription = TypedLogDescription<Event>;
239
+ }
240
+ export declare namespace NumberUpdatedEvent {
241
+ type InputTuple = [name: string, value: BigNumberish];
242
+ type OutputTuple = [name: string, value: bigint];
243
+ interface OutputObject {
244
+ name: string;
245
+ value: bigint;
246
+ }
247
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
248
+ type Filter = TypedDeferredTopicFilter<Event>;
249
+ type Log = TypedEventLog<Event>;
250
+ type LogDescription = TypedLogDescription<Event>;
251
+ }
252
+ export declare namespace OpenedPositionUpdatedEvent {
253
+ type InputTuple = [
254
+ positionId: BytesLike,
255
+ pairId: BigNumberish,
256
+ buy: boolean,
257
+ updatedField: BigNumberish,
258
+ fieldValue: BigNumberish
259
+ ];
260
+ type OutputTuple = [
261
+ positionId: string,
262
+ pairId: bigint,
263
+ buy: boolean,
264
+ updatedField: bigint,
265
+ fieldValue: bigint
266
+ ];
267
+ interface OutputObject {
268
+ positionId: string;
269
+ pairId: bigint;
270
+ buy: boolean;
271
+ updatedField: bigint;
272
+ fieldValue: bigint;
273
+ }
274
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
275
+ type Filter = TypedDeferredTopicFilter<Event>;
276
+ type Log = TypedEventLog<Event>;
277
+ type LogDescription = TypedLogDescription<Event>;
278
+ }
279
+ export declare namespace PairPausedChangeEvent {
280
+ type InputTuple = [pairId: BigNumberish, isPaused: boolean];
281
+ type OutputTuple = [pairId: bigint, isPaused: boolean];
282
+ interface OutputObject {
283
+ pairId: bigint;
284
+ isPaused: boolean;
285
+ }
286
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
287
+ type Filter = TypedDeferredTopicFilter<Event>;
288
+ type Log = TypedEventLog<Event>;
289
+ type LogDescription = TypedLogDescription<Event>;
290
+ }
291
+ export declare namespace PendingPositionCancelledEvent {
292
+ type InputTuple = [
293
+ positionId: BytesLike,
294
+ source: AddressLike,
295
+ fee: BigNumberish
296
+ ];
297
+ type OutputTuple = [positionId: string, source: string, fee: bigint];
298
+ interface OutputObject {
299
+ positionId: string;
300
+ source: string;
301
+ fee: bigint;
302
+ }
303
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
304
+ type Filter = TypedDeferredTopicFilter<Event>;
305
+ type Log = TypedEventLog<Event>;
306
+ type LogDescription = TypedLogDescription<Event>;
307
+ }
308
+ export declare namespace PendingPositionStoredEvent {
309
+ type InputTuple = [
310
+ positionId: BytesLike,
311
+ phase: BigNumberish,
312
+ requestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStruct,
313
+ requestParams: TradingFloorStructsV1.PositionRequestParamsStruct,
314
+ _spreadReductionF: BigNumberish
315
+ ];
316
+ type OutputTuple = [
317
+ positionId: string,
318
+ phase: bigint,
319
+ requestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStructOutput,
320
+ requestParams: TradingFloorStructsV1.PositionRequestParamsStructOutput,
321
+ _spreadReductionF: bigint
322
+ ];
323
+ interface OutputObject {
324
+ positionId: string;
325
+ phase: bigint;
326
+ requestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStructOutput;
327
+ requestParams: TradingFloorStructsV1.PositionRequestParamsStructOutput;
328
+ _spreadReductionF: bigint;
329
+ }
330
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
331
+ type Filter = TypedDeferredTopicFilter<Event>;
332
+ type Log = TypedEventLog<Event>;
333
+ type LogDescription = TypedLogDescription<Event>;
334
+ }
335
+ export declare namespace PendingPositionUpdatedEvent {
336
+ type InputTuple = [
337
+ positionId: BytesLike,
338
+ tp: BigNumberish,
339
+ sl: BigNumberish,
340
+ minPrice: BigNumberish,
341
+ maxPrice: BigNumberish
342
+ ];
343
+ type OutputTuple = [
344
+ positionId: string,
345
+ tp: bigint,
346
+ sl: bigint,
347
+ minPrice: bigint,
348
+ maxPrice: bigint
349
+ ];
350
+ interface OutputObject {
351
+ positionId: string;
352
+ tp: bigint;
353
+ sl: bigint;
354
+ minPrice: bigint;
355
+ maxPrice: bigint;
356
+ }
357
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
358
+ type Filter = TypedDeferredTopicFilter<Event>;
359
+ type Log = TypedEventLog<Event>;
360
+ type LogDescription = TypedLogDescription<Event>;
361
+ }
362
+ export declare namespace PositionClosedLimitEvent {
363
+ type InputTuple = [
364
+ positionId: BytesLike,
365
+ limitTrigger: BigNumberish,
366
+ triggerPrice: BigNumberish,
367
+ effectiveClosePrice: BigNumberish,
368
+ tradeValue: BigNumberish,
369
+ profitPrecision: BigNumberish
370
+ ];
371
+ type OutputTuple = [
372
+ positionId: string,
373
+ limitTrigger: bigint,
374
+ triggerPrice: bigint,
375
+ effectiveClosePrice: bigint,
376
+ tradeValue: bigint,
377
+ profitPrecision: bigint
378
+ ];
379
+ interface OutputObject {
380
+ positionId: string;
381
+ limitTrigger: bigint;
382
+ triggerPrice: bigint;
383
+ effectiveClosePrice: bigint;
384
+ tradeValue: bigint;
385
+ profitPrecision: bigint;
386
+ }
387
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
388
+ type Filter = TypedDeferredTopicFilter<Event>;
389
+ type Log = TypedEventLog<Event>;
390
+ type LogDescription = TypedLogDescription<Event>;
391
+ }
392
+ export declare namespace PositionClosedMarketEvent {
393
+ type InputTuple = [
394
+ positionId: BytesLike,
395
+ triggerPrice: BigNumberish,
396
+ tradeValue: BigNumberish,
397
+ profitPrecision: BigNumberish
398
+ ];
399
+ type OutputTuple = [
400
+ positionId: string,
401
+ triggerPrice: bigint,
402
+ tradeValue: bigint,
403
+ profitPrecision: bigint
404
+ ];
405
+ interface OutputObject {
406
+ positionId: string;
407
+ triggerPrice: bigint;
408
+ tradeValue: bigint;
409
+ profitPrecision: bigint;
410
+ }
411
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
412
+ type Filter = TypedDeferredTopicFilter<Event>;
413
+ type Log = TypedEventLog<Event>;
414
+ type LogDescription = TypedLogDescription<Event>;
415
+ }
416
+ export declare namespace PositionIdentifiersStoredEvent {
417
+ type InputTuple = [
418
+ positionId: BytesLike,
419
+ identifiers: TradingFloorStructsV1.PositionIdentifiersStruct
420
+ ];
421
+ type OutputTuple = [
422
+ positionId: string,
423
+ identifiers: TradingFloorStructsV1.PositionIdentifiersStructOutput
424
+ ];
425
+ interface OutputObject {
426
+ positionId: string;
427
+ identifiers: TradingFloorStructsV1.PositionIdentifiersStructOutput;
428
+ }
429
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
430
+ type Filter = TypedDeferredTopicFilter<Event>;
431
+ type Log = TypedEventLog<Event>;
432
+ type LogDescription = TypedLogDescription<Event>;
433
+ }
434
+ export declare namespace PositionMarketCloseCancelledEvent {
435
+ type InputTuple = [
436
+ positionId: BytesLike,
437
+ source: AddressLike,
438
+ fee: BigNumberish
439
+ ];
440
+ type OutputTuple = [positionId: string, source: string, fee: bigint];
441
+ interface OutputObject {
442
+ positionId: string;
443
+ source: string;
444
+ fee: bigint;
445
+ }
446
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
447
+ type Filter = TypedDeferredTopicFilter<Event>;
448
+ type Log = TypedEventLog<Event>;
449
+ type LogDescription = TypedLogDescription<Event>;
450
+ }
451
+ export declare namespace PositionOpenCancelledByCapEvent {
452
+ type InputTuple = [
453
+ positionId: BytesLike,
454
+ capType: BigNumberish,
455
+ value: BigNumberish
456
+ ];
457
+ type OutputTuple = [
458
+ positionId: string,
459
+ capType: bigint,
460
+ value: bigint
461
+ ];
462
+ interface OutputObject {
463
+ positionId: string;
464
+ capType: bigint;
465
+ value: bigint;
466
+ }
467
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
468
+ type Filter = TypedDeferredTopicFilter<Event>;
469
+ type Log = TypedEventLog<Event>;
470
+ type LogDescription = TypedLogDescription<Event>;
471
+ }
472
+ export declare namespace PositionOpenCancelledByMarketPriceRangeEvent {
473
+ type InputTuple = [positionId: BytesLike, triggerPrice: BigNumberish];
474
+ type OutputTuple = [positionId: string, triggerPrice: bigint];
475
+ interface OutputObject {
476
+ positionId: string;
477
+ triggerPrice: bigint;
478
+ }
479
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
480
+ type Filter = TypedDeferredTopicFilter<Event>;
481
+ type Log = TypedEventLog<Event>;
482
+ type LogDescription = TypedLogDescription<Event>;
483
+ }
484
+ export declare namespace PositionOpenedEvent {
485
+ type InputTuple = [
486
+ positionId: BytesLike,
487
+ openPrice: BigNumberish,
488
+ tp: BigNumberish,
489
+ sl: BigNumberish,
490
+ totalOpenFee: BigNumberish,
491
+ lexFeePart: BigNumberish
492
+ ];
493
+ type OutputTuple = [
494
+ positionId: string,
495
+ openPrice: bigint,
496
+ tp: bigint,
497
+ sl: bigint,
498
+ totalOpenFee: bigint,
499
+ lexFeePart: bigint
500
+ ];
501
+ interface OutputObject {
502
+ positionId: string;
503
+ openPrice: bigint;
504
+ tp: bigint;
505
+ sl: bigint;
506
+ totalOpenFee: bigint;
507
+ lexFeePart: bigint;
508
+ }
509
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
510
+ type Filter = TypedDeferredTopicFilter<Event>;
511
+ type Log = TypedEventLog<Event>;
512
+ type LogDescription = TypedLogDescription<Event>;
513
+ }
514
+ export declare namespace PositionSetForMarketCloseEvent {
515
+ type InputTuple = [
516
+ positionId: BytesLike,
517
+ _minPrice: BigNumberish,
518
+ _maxPrice: BigNumberish
519
+ ];
520
+ type OutputTuple = [
521
+ positionId: string,
522
+ _minPrice: bigint,
523
+ _maxPrice: bigint
524
+ ];
525
+ interface OutputObject {
526
+ positionId: string;
527
+ _minPrice: bigint;
528
+ _maxPrice: bigint;
529
+ }
530
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
531
+ type Filter = TypedDeferredTopicFilter<Event>;
532
+ type Log = TypedEventLog<Event>;
533
+ type LogDescription = TypedLogDescription<Event>;
534
+ }
535
+ export declare namespace SettlementAssetAddedEvent {
536
+ type InputTuple = [
537
+ asset: AddressLike,
538
+ lexPool: AddressLike,
539
+ poolAccountant: AddressLike
540
+ ];
541
+ type OutputTuple = [
542
+ asset: string,
543
+ lexPool: string,
544
+ poolAccountant: string
545
+ ];
546
+ interface OutputObject {
547
+ asset: string;
548
+ lexPool: string;
549
+ poolAccountant: string;
550
+ }
551
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
552
+ type Filter = TypedDeferredTopicFilter<Event>;
553
+ type Log = TypedEventLog<Event>;
554
+ type LogDescription = TypedLogDescription<Event>;
555
+ }
556
+ export interface TradingFloorV1 extends BaseContract {
557
+ connect(runner?: ContractRunner | null): TradingFloorV1;
558
+ waitForDeployment(): Promise<this>;
559
+ interface: TradingFloorV1Interface;
560
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
561
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
562
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
563
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
564
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
565
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
566
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
567
+ listeners(eventName?: string): Promise<Array<Listener>>;
568
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
569
+ ACCURACY_IMPROVEMENT_SCALE: TypedContractMethod<[], [bigint], "view">;
570
+ FRACTION_SCALE: TypedContractMethod<[], [bigint], "view">;
571
+ LEVERAGE_SCALE: TypedContractMethod<[], [bigint], "view">;
572
+ MAX_FEE_FRACTION_FOR_CANCEL: TypedContractMethod<[], [bigint], "view">;
573
+ PRECISION: TypedContractMethod<[], [bigint], "view">;
574
+ _become: TypedContractMethod<[
575
+ tradingFloorProxy: AddressLike
576
+ ], [
577
+ void
578
+ ], "nonpayable">;
579
+ admin: TypedContractMethod<[], [string], "view">;
580
+ cancelMarketCloseForPosition: TypedContractMethod<[
581
+ _positionId: BytesLike,
582
+ _orderType: BigNumberish,
583
+ arg2: BigNumberish
584
+ ], [
585
+ void
586
+ ], "nonpayable">;
587
+ cancelPendingPosition: TypedContractMethod<[
588
+ _positionId: BytesLike,
589
+ _orderType: BigNumberish,
590
+ feeFraction: BigNumberish
591
+ ], [
592
+ void
593
+ ], "nonpayable">;
594
+ closeExistingPosition_Limit: TypedContractMethod<[
595
+ _positionId: BytesLike,
596
+ limitTrigger: BigNumberish,
597
+ arg2: BigNumberish,
598
+ effectivePrice: BigNumberish
599
+ ], [
600
+ void
601
+ ], "nonpayable">;
602
+ closeExistingPosition_Market: TypedContractMethod<[
603
+ _positionId: BytesLike,
604
+ arg1: BigNumberish,
605
+ effectivePrice: BigNumberish
606
+ ], [
607
+ void
608
+ ], "nonpayable">;
609
+ collectFee: TypedContractMethod<[
610
+ _asset: AddressLike,
611
+ _feeType: BigNumberish,
612
+ _to: AddressLike
613
+ ], [
614
+ void
615
+ ], "nonpayable">;
616
+ feesMap: TypedContractMethod<[
617
+ arg0: AddressLike,
618
+ arg1: BigNumberish
619
+ ], [
620
+ bigint
621
+ ], "view">;
622
+ generatePositionHashId: TypedContractMethod<[
623
+ settlementAsset: AddressLike,
624
+ trader: AddressLike,
625
+ pairId: BigNumberish,
626
+ index: BigNumberish
627
+ ], [
628
+ string
629
+ ], "view">;
630
+ getPositionPortalInfo: TypedContractMethod<[
631
+ _positionId: BytesLike
632
+ ], [
633
+ [
634
+ bigint,
635
+ bigint,
636
+ string
637
+ ] & {
638
+ positionPhase: bigint;
639
+ timestamp: bigint;
640
+ trader: string;
641
+ }
642
+ ], "view">;
643
+ getPositionRegistrationParams: TypedContractMethod<[
644
+ _positionId: BytesLike
645
+ ], [
646
+ PoolAccountantStructs.PositionRegistrationParamsStructOutput
647
+ ], "view">;
648
+ getPositionTriggerInfo: TypedContractMethod<[
649
+ _positionId: BytesLike
650
+ ], [
651
+ [
652
+ bigint,
653
+ bigint,
654
+ bigint,
655
+ boolean,
656
+ bigint
657
+ ] & {
658
+ positionPhase: bigint;
659
+ timestamp: bigint;
660
+ pairId: bigint;
661
+ long: boolean;
662
+ spreadReductionF: bigint;
663
+ }
664
+ ], "view">;
665
+ implementation: TypedContractMethod<[], [string], "view">;
666
+ initialCollateralByPositionId: TypedContractMethod<[
667
+ arg0: BytesLike
668
+ ], [
669
+ bigint
670
+ ], "view">;
671
+ isSettlementAssetSupported: TypedContractMethod<[
672
+ settlementAsset: AddressLike
673
+ ], [
674
+ boolean
675
+ ], "view">;
676
+ lexPoolForAsset: TypedContractMethod<[arg0: AddressLike], [string], "view">;
677
+ maxSanityProfitF: TypedContractMethod<[], [bigint], "view">;
678
+ maxSlF: TypedContractMethod<[], [bigint], "view">;
679
+ maxTradesPerPair: TypedContractMethod<[], [bigint], "view">;
680
+ openNewPosition_limit: TypedContractMethod<[
681
+ _positionId: BytesLike,
682
+ assetEffectivePrice: BigNumberish,
683
+ feeForCancellation: BigNumberish
684
+ ], [
685
+ void
686
+ ], "nonpayable">;
687
+ openNewPosition_market: TypedContractMethod<[
688
+ _positionId: BytesLike,
689
+ assetEffectivePrice: BigNumberish,
690
+ feeForCancellation: BigNumberish
691
+ ], [
692
+ void
693
+ ], "nonpayable">;
694
+ pairTraders: TypedContractMethod<[
695
+ arg0: AddressLike,
696
+ arg1: BigNumberish,
697
+ arg2: BigNumberish
698
+ ], [
699
+ string
700
+ ], "view">;
701
+ pairTradersArray: TypedContractMethod<[
702
+ _asset: AddressLike,
703
+ _pairIndex: BigNumberish
704
+ ], [
705
+ string[]
706
+ ], "view">;
707
+ pairTradersInfo: TypedContractMethod<[
708
+ arg0: AddressLike,
709
+ arg1: AddressLike,
710
+ arg2: BigNumberish
711
+ ], [
712
+ [bigint, bigint] & {
713
+ positionsCounter: bigint;
714
+ positionInArray: bigint;
715
+ }
716
+ ], "view">;
717
+ pausedPairs: TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
718
+ pendingAdmin: TypedContractMethod<[], [string], "view">;
719
+ pendingImplementation: TypedContractMethod<[], [string], "view">;
720
+ poolAccountantForAsset: TypedContractMethod<[
721
+ arg0: AddressLike
722
+ ], [
723
+ string
724
+ ], "view">;
725
+ positionIdentifiersById: TypedContractMethod<[
726
+ arg0: BytesLike
727
+ ], [
728
+ [
729
+ string,
730
+ bigint,
731
+ bigint,
732
+ string
733
+ ] & {
734
+ settlementAsset: string;
735
+ pairId: bigint;
736
+ index: bigint;
737
+ trader: string;
738
+ }
739
+ ], "view">;
740
+ positionLimitsInfoById: TypedContractMethod<[
741
+ arg0: BytesLike
742
+ ], [
743
+ [
744
+ bigint,
745
+ bigint,
746
+ bigint,
747
+ bigint
748
+ ] & {
749
+ tpLastUpdated: bigint;
750
+ slLastUpdated: bigint;
751
+ tp: bigint;
752
+ sl: bigint;
753
+ }
754
+ ], "view">;
755
+ positionsById: TypedContractMethod<[
756
+ arg0: BytesLike
757
+ ], [
758
+ [
759
+ bigint,
760
+ bigint,
761
+ bigint,
762
+ bigint,
763
+ boolean,
764
+ bigint,
765
+ bigint
766
+ ] & {
767
+ collateral: bigint;
768
+ phase: bigint;
769
+ inPhaseSince: bigint;
770
+ leverage: bigint;
771
+ long: boolean;
772
+ openPrice: bigint;
773
+ spreadReductionF: bigint;
774
+ }
775
+ ], "view">;
776
+ registry: TypedContractMethod<[], [string], "view">;
777
+ setOpenedPositionToMarketClose: TypedContractMethod<[
778
+ _positionId: BytesLike,
779
+ _minPrice: BigNumberish,
780
+ _maxPrice: BigNumberish
781
+ ], [
782
+ void
783
+ ], "nonpayable">;
784
+ setPairPaused: TypedContractMethod<[
785
+ _pairId: BigNumberish,
786
+ _isPaused: boolean
787
+ ], [
788
+ void
789
+ ], "nonpayable">;
790
+ setTradeParam: TypedContractMethod<[
791
+ numericParam: BigNumberish,
792
+ value: BigNumberish
793
+ ], [
794
+ void
795
+ ], "nonpayable">;
796
+ storePendingPosition: TypedContractMethod<[
797
+ _orderType: BigNumberish,
798
+ _requestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStruct,
799
+ _requestParams: TradingFloorStructsV1.PositionRequestParamsStruct,
800
+ _spreadReductionF: BigNumberish
801
+ ], [
802
+ string
803
+ ], "nonpayable">;
804
+ supportNewSettlementAsset: TypedContractMethod<[
805
+ _asset: AddressLike,
806
+ _lexPool: AddressLike,
807
+ _poolAccountant: AddressLike
808
+ ], [
809
+ void
810
+ ], "nonpayable">;
811
+ triggerPricesById: TypedContractMethod<[
812
+ arg0: BytesLike
813
+ ], [
814
+ [
815
+ bigint,
816
+ bigint,
817
+ bigint,
818
+ bigint
819
+ ] & {
820
+ minPrice: bigint;
821
+ maxPrice: bigint;
822
+ tpByFraction: bigint;
823
+ slByFraction: bigint;
824
+ }
825
+ ], "view">;
826
+ updateOpenedPosition: TypedContractMethod<[
827
+ positionId: BytesLike,
828
+ updateField: BigNumberish,
829
+ fieldValue: BigNumberish,
830
+ effectivePrice: BigNumberish
831
+ ], [
832
+ void
833
+ ], "nonpayable">;
834
+ updatePendingPosition_openLimit: TypedContractMethod<[
835
+ _positionId: BytesLike,
836
+ _minPrice: BigNumberish,
837
+ _maxPrice: BigNumberish,
838
+ _tp: BigNumberish,
839
+ _sl: BigNumberish
840
+ ], [
841
+ void
842
+ ], "nonpayable">;
843
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
844
+ getFunction(nameOrSignature: "ACCURACY_IMPROVEMENT_SCALE"): TypedContractMethod<[], [bigint], "view">;
845
+ getFunction(nameOrSignature: "FRACTION_SCALE"): TypedContractMethod<[], [bigint], "view">;
846
+ getFunction(nameOrSignature: "LEVERAGE_SCALE"): TypedContractMethod<[], [bigint], "view">;
847
+ getFunction(nameOrSignature: "MAX_FEE_FRACTION_FOR_CANCEL"): TypedContractMethod<[], [bigint], "view">;
848
+ getFunction(nameOrSignature: "PRECISION"): TypedContractMethod<[], [bigint], "view">;
849
+ getFunction(nameOrSignature: "_become"): TypedContractMethod<[
850
+ tradingFloorProxy: AddressLike
851
+ ], [
852
+ void
853
+ ], "nonpayable">;
854
+ getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
855
+ getFunction(nameOrSignature: "cancelMarketCloseForPosition"): TypedContractMethod<[
856
+ _positionId: BytesLike,
857
+ _orderType: BigNumberish,
858
+ arg2: BigNumberish
859
+ ], [
860
+ void
861
+ ], "nonpayable">;
862
+ getFunction(nameOrSignature: "cancelPendingPosition"): TypedContractMethod<[
863
+ _positionId: BytesLike,
864
+ _orderType: BigNumberish,
865
+ feeFraction: BigNumberish
866
+ ], [
867
+ void
868
+ ], "nonpayable">;
869
+ getFunction(nameOrSignature: "closeExistingPosition_Limit"): TypedContractMethod<[
870
+ _positionId: BytesLike,
871
+ limitTrigger: BigNumberish,
872
+ arg2: BigNumberish,
873
+ effectivePrice: BigNumberish
874
+ ], [
875
+ void
876
+ ], "nonpayable">;
877
+ getFunction(nameOrSignature: "closeExistingPosition_Market"): TypedContractMethod<[
878
+ _positionId: BytesLike,
879
+ arg1: BigNumberish,
880
+ effectivePrice: BigNumberish
881
+ ], [
882
+ void
883
+ ], "nonpayable">;
884
+ getFunction(nameOrSignature: "collectFee"): TypedContractMethod<[
885
+ _asset: AddressLike,
886
+ _feeType: BigNumberish,
887
+ _to: AddressLike
888
+ ], [
889
+ void
890
+ ], "nonpayable">;
891
+ getFunction(nameOrSignature: "feesMap"): TypedContractMethod<[
892
+ arg0: AddressLike,
893
+ arg1: BigNumberish
894
+ ], [
895
+ bigint
896
+ ], "view">;
897
+ getFunction(nameOrSignature: "generatePositionHashId"): TypedContractMethod<[
898
+ settlementAsset: AddressLike,
899
+ trader: AddressLike,
900
+ pairId: BigNumberish,
901
+ index: BigNumberish
902
+ ], [
903
+ string
904
+ ], "view">;
905
+ getFunction(nameOrSignature: "getPositionPortalInfo"): TypedContractMethod<[
906
+ _positionId: BytesLike
907
+ ], [
908
+ [
909
+ bigint,
910
+ bigint,
911
+ string
912
+ ] & {
913
+ positionPhase: bigint;
914
+ timestamp: bigint;
915
+ trader: string;
916
+ }
917
+ ], "view">;
918
+ getFunction(nameOrSignature: "getPositionRegistrationParams"): TypedContractMethod<[
919
+ _positionId: BytesLike
920
+ ], [
921
+ PoolAccountantStructs.PositionRegistrationParamsStructOutput
922
+ ], "view">;
923
+ getFunction(nameOrSignature: "getPositionTriggerInfo"): TypedContractMethod<[
924
+ _positionId: BytesLike
925
+ ], [
926
+ [
927
+ bigint,
928
+ bigint,
929
+ bigint,
930
+ boolean,
931
+ bigint
932
+ ] & {
933
+ positionPhase: bigint;
934
+ timestamp: bigint;
935
+ pairId: bigint;
936
+ long: boolean;
937
+ spreadReductionF: bigint;
938
+ }
939
+ ], "view">;
940
+ getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "view">;
941
+ getFunction(nameOrSignature: "initialCollateralByPositionId"): TypedContractMethod<[arg0: BytesLike], [bigint], "view">;
942
+ getFunction(nameOrSignature: "isSettlementAssetSupported"): TypedContractMethod<[settlementAsset: AddressLike], [boolean], "view">;
943
+ getFunction(nameOrSignature: "lexPoolForAsset"): TypedContractMethod<[arg0: AddressLike], [string], "view">;
944
+ getFunction(nameOrSignature: "maxSanityProfitF"): TypedContractMethod<[], [bigint], "view">;
945
+ getFunction(nameOrSignature: "maxSlF"): TypedContractMethod<[], [bigint], "view">;
946
+ getFunction(nameOrSignature: "maxTradesPerPair"): TypedContractMethod<[], [bigint], "view">;
947
+ getFunction(nameOrSignature: "openNewPosition_limit"): TypedContractMethod<[
948
+ _positionId: BytesLike,
949
+ assetEffectivePrice: BigNumberish,
950
+ feeForCancellation: BigNumberish
951
+ ], [
952
+ void
953
+ ], "nonpayable">;
954
+ getFunction(nameOrSignature: "openNewPosition_market"): TypedContractMethod<[
955
+ _positionId: BytesLike,
956
+ assetEffectivePrice: BigNumberish,
957
+ feeForCancellation: BigNumberish
958
+ ], [
959
+ void
960
+ ], "nonpayable">;
961
+ getFunction(nameOrSignature: "pairTraders"): TypedContractMethod<[
962
+ arg0: AddressLike,
963
+ arg1: BigNumberish,
964
+ arg2: BigNumberish
965
+ ], [
966
+ string
967
+ ], "view">;
968
+ getFunction(nameOrSignature: "pairTradersArray"): TypedContractMethod<[
969
+ _asset: AddressLike,
970
+ _pairIndex: BigNumberish
971
+ ], [
972
+ string[]
973
+ ], "view">;
974
+ getFunction(nameOrSignature: "pairTradersInfo"): TypedContractMethod<[
975
+ arg0: AddressLike,
976
+ arg1: AddressLike,
977
+ arg2: BigNumberish
978
+ ], [
979
+ [bigint, bigint] & {
980
+ positionsCounter: bigint;
981
+ positionInArray: bigint;
982
+ }
983
+ ], "view">;
984
+ getFunction(nameOrSignature: "pausedPairs"): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
985
+ getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
986
+ getFunction(nameOrSignature: "pendingImplementation"): TypedContractMethod<[], [string], "view">;
987
+ getFunction(nameOrSignature: "poolAccountantForAsset"): TypedContractMethod<[arg0: AddressLike], [string], "view">;
988
+ getFunction(nameOrSignature: "positionIdentifiersById"): TypedContractMethod<[
989
+ arg0: BytesLike
990
+ ], [
991
+ [
992
+ string,
993
+ bigint,
994
+ bigint,
995
+ string
996
+ ] & {
997
+ settlementAsset: string;
998
+ pairId: bigint;
999
+ index: bigint;
1000
+ trader: string;
1001
+ }
1002
+ ], "view">;
1003
+ getFunction(nameOrSignature: "positionLimitsInfoById"): TypedContractMethod<[
1004
+ arg0: BytesLike
1005
+ ], [
1006
+ [
1007
+ bigint,
1008
+ bigint,
1009
+ bigint,
1010
+ bigint
1011
+ ] & {
1012
+ tpLastUpdated: bigint;
1013
+ slLastUpdated: bigint;
1014
+ tp: bigint;
1015
+ sl: bigint;
1016
+ }
1017
+ ], "view">;
1018
+ getFunction(nameOrSignature: "positionsById"): TypedContractMethod<[
1019
+ arg0: BytesLike
1020
+ ], [
1021
+ [
1022
+ bigint,
1023
+ bigint,
1024
+ bigint,
1025
+ bigint,
1026
+ boolean,
1027
+ bigint,
1028
+ bigint
1029
+ ] & {
1030
+ collateral: bigint;
1031
+ phase: bigint;
1032
+ inPhaseSince: bigint;
1033
+ leverage: bigint;
1034
+ long: boolean;
1035
+ openPrice: bigint;
1036
+ spreadReductionF: bigint;
1037
+ }
1038
+ ], "view">;
1039
+ getFunction(nameOrSignature: "registry"): TypedContractMethod<[], [string], "view">;
1040
+ getFunction(nameOrSignature: "setOpenedPositionToMarketClose"): TypedContractMethod<[
1041
+ _positionId: BytesLike,
1042
+ _minPrice: BigNumberish,
1043
+ _maxPrice: BigNumberish
1044
+ ], [
1045
+ void
1046
+ ], "nonpayable">;
1047
+ getFunction(nameOrSignature: "setPairPaused"): TypedContractMethod<[
1048
+ _pairId: BigNumberish,
1049
+ _isPaused: boolean
1050
+ ], [
1051
+ void
1052
+ ], "nonpayable">;
1053
+ getFunction(nameOrSignature: "setTradeParam"): TypedContractMethod<[
1054
+ numericParam: BigNumberish,
1055
+ value: BigNumberish
1056
+ ], [
1057
+ void
1058
+ ], "nonpayable">;
1059
+ getFunction(nameOrSignature: "storePendingPosition"): TypedContractMethod<[
1060
+ _orderType: BigNumberish,
1061
+ _requestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStruct,
1062
+ _requestParams: TradingFloorStructsV1.PositionRequestParamsStruct,
1063
+ _spreadReductionF: BigNumberish
1064
+ ], [
1065
+ string
1066
+ ], "nonpayable">;
1067
+ getFunction(nameOrSignature: "supportNewSettlementAsset"): TypedContractMethod<[
1068
+ _asset: AddressLike,
1069
+ _lexPool: AddressLike,
1070
+ _poolAccountant: AddressLike
1071
+ ], [
1072
+ void
1073
+ ], "nonpayable">;
1074
+ getFunction(nameOrSignature: "triggerPricesById"): TypedContractMethod<[
1075
+ arg0: BytesLike
1076
+ ], [
1077
+ [
1078
+ bigint,
1079
+ bigint,
1080
+ bigint,
1081
+ bigint
1082
+ ] & {
1083
+ minPrice: bigint;
1084
+ maxPrice: bigint;
1085
+ tpByFraction: bigint;
1086
+ slByFraction: bigint;
1087
+ }
1088
+ ], "view">;
1089
+ getFunction(nameOrSignature: "updateOpenedPosition"): TypedContractMethod<[
1090
+ positionId: BytesLike,
1091
+ updateField: BigNumberish,
1092
+ fieldValue: BigNumberish,
1093
+ effectivePrice: BigNumberish
1094
+ ], [
1095
+ void
1096
+ ], "nonpayable">;
1097
+ getFunction(nameOrSignature: "updatePendingPosition_openLimit"): TypedContractMethod<[
1098
+ _positionId: BytesLike,
1099
+ _minPrice: BigNumberish,
1100
+ _maxPrice: BigNumberish,
1101
+ _tp: BigNumberish,
1102
+ _sl: BigNumberish
1103
+ ], [
1104
+ void
1105
+ ], "nonpayable">;
1106
+ getEvent(key: "FeeCollected"): TypedContractEvent<FeeCollectedEvent.InputTuple, FeeCollectedEvent.OutputTuple, FeeCollectedEvent.OutputObject>;
1107
+ getEvent(key: "FeeRegistered"): TypedContractEvent<FeeRegisteredEvent.InputTuple, FeeRegisteredEvent.OutputTuple, FeeRegisteredEvent.OutputObject>;
1108
+ getEvent(key: "NumberUpdated"): TypedContractEvent<NumberUpdatedEvent.InputTuple, NumberUpdatedEvent.OutputTuple, NumberUpdatedEvent.OutputObject>;
1109
+ getEvent(key: "OpenedPositionUpdated"): TypedContractEvent<OpenedPositionUpdatedEvent.InputTuple, OpenedPositionUpdatedEvent.OutputTuple, OpenedPositionUpdatedEvent.OutputObject>;
1110
+ getEvent(key: "PairPausedChange"): TypedContractEvent<PairPausedChangeEvent.InputTuple, PairPausedChangeEvent.OutputTuple, PairPausedChangeEvent.OutputObject>;
1111
+ getEvent(key: "PendingPositionCancelled"): TypedContractEvent<PendingPositionCancelledEvent.InputTuple, PendingPositionCancelledEvent.OutputTuple, PendingPositionCancelledEvent.OutputObject>;
1112
+ getEvent(key: "PendingPositionStored"): TypedContractEvent<PendingPositionStoredEvent.InputTuple, PendingPositionStoredEvent.OutputTuple, PendingPositionStoredEvent.OutputObject>;
1113
+ getEvent(key: "PendingPositionUpdated"): TypedContractEvent<PendingPositionUpdatedEvent.InputTuple, PendingPositionUpdatedEvent.OutputTuple, PendingPositionUpdatedEvent.OutputObject>;
1114
+ getEvent(key: "PositionClosedLimit"): TypedContractEvent<PositionClosedLimitEvent.InputTuple, PositionClosedLimitEvent.OutputTuple, PositionClosedLimitEvent.OutputObject>;
1115
+ getEvent(key: "PositionClosedMarket"): TypedContractEvent<PositionClosedMarketEvent.InputTuple, PositionClosedMarketEvent.OutputTuple, PositionClosedMarketEvent.OutputObject>;
1116
+ getEvent(key: "PositionIdentifiersStored"): TypedContractEvent<PositionIdentifiersStoredEvent.InputTuple, PositionIdentifiersStoredEvent.OutputTuple, PositionIdentifiersStoredEvent.OutputObject>;
1117
+ getEvent(key: "PositionMarketCloseCancelled"): TypedContractEvent<PositionMarketCloseCancelledEvent.InputTuple, PositionMarketCloseCancelledEvent.OutputTuple, PositionMarketCloseCancelledEvent.OutputObject>;
1118
+ getEvent(key: "PositionOpenCancelledByCap"): TypedContractEvent<PositionOpenCancelledByCapEvent.InputTuple, PositionOpenCancelledByCapEvent.OutputTuple, PositionOpenCancelledByCapEvent.OutputObject>;
1119
+ getEvent(key: "PositionOpenCancelledByMarketPriceRange"): TypedContractEvent<PositionOpenCancelledByMarketPriceRangeEvent.InputTuple, PositionOpenCancelledByMarketPriceRangeEvent.OutputTuple, PositionOpenCancelledByMarketPriceRangeEvent.OutputObject>;
1120
+ getEvent(key: "PositionOpened"): TypedContractEvent<PositionOpenedEvent.InputTuple, PositionOpenedEvent.OutputTuple, PositionOpenedEvent.OutputObject>;
1121
+ getEvent(key: "PositionSetForMarketClose"): TypedContractEvent<PositionSetForMarketCloseEvent.InputTuple, PositionSetForMarketCloseEvent.OutputTuple, PositionSetForMarketCloseEvent.OutputObject>;
1122
+ getEvent(key: "SettlementAssetAdded"): TypedContractEvent<SettlementAssetAddedEvent.InputTuple, SettlementAssetAddedEvent.OutputTuple, SettlementAssetAddedEvent.OutputObject>;
1123
+ filters: {
1124
+ "FeeCollected(address,uint8,address,uint256)": TypedContractEvent<FeeCollectedEvent.InputTuple, FeeCollectedEvent.OutputTuple, FeeCollectedEvent.OutputObject>;
1125
+ FeeCollected: TypedContractEvent<FeeCollectedEvent.InputTuple, FeeCollectedEvent.OutputTuple, FeeCollectedEvent.OutputObject>;
1126
+ "FeeRegistered(bytes32,address,uint8,uint256)": TypedContractEvent<FeeRegisteredEvent.InputTuple, FeeRegisteredEvent.OutputTuple, FeeRegisteredEvent.OutputObject>;
1127
+ FeeRegistered: TypedContractEvent<FeeRegisteredEvent.InputTuple, FeeRegisteredEvent.OutputTuple, FeeRegisteredEvent.OutputObject>;
1128
+ "NumberUpdated(string,uint256)": TypedContractEvent<NumberUpdatedEvent.InputTuple, NumberUpdatedEvent.OutputTuple, NumberUpdatedEvent.OutputObject>;
1129
+ NumberUpdated: TypedContractEvent<NumberUpdatedEvent.InputTuple, NumberUpdatedEvent.OutputTuple, NumberUpdatedEvent.OutputObject>;
1130
+ "OpenedPositionUpdated(bytes32,uint16,bool,uint8,uint64)": TypedContractEvent<OpenedPositionUpdatedEvent.InputTuple, OpenedPositionUpdatedEvent.OutputTuple, OpenedPositionUpdatedEvent.OutputObject>;
1131
+ OpenedPositionUpdated: TypedContractEvent<OpenedPositionUpdatedEvent.InputTuple, OpenedPositionUpdatedEvent.OutputTuple, OpenedPositionUpdatedEvent.OutputObject>;
1132
+ "PairPausedChange(uint256,bool)": TypedContractEvent<PairPausedChangeEvent.InputTuple, PairPausedChangeEvent.OutputTuple, PairPausedChangeEvent.OutputObject>;
1133
+ PairPausedChange: TypedContractEvent<PairPausedChangeEvent.InputTuple, PairPausedChangeEvent.OutputTuple, PairPausedChangeEvent.OutputObject>;
1134
+ "PendingPositionCancelled(bytes32,address,uint256)": TypedContractEvent<PendingPositionCancelledEvent.InputTuple, PendingPositionCancelledEvent.OutputTuple, PendingPositionCancelledEvent.OutputObject>;
1135
+ PendingPositionCancelled: TypedContractEvent<PendingPositionCancelledEvent.InputTuple, PendingPositionCancelledEvent.OutputTuple, PendingPositionCancelledEvent.OutputObject>;
1136
+ "PendingPositionStored(bytes32,uint8,tuple,tuple,uint32)": TypedContractEvent<PendingPositionStoredEvent.InputTuple, PendingPositionStoredEvent.OutputTuple, PendingPositionStoredEvent.OutputObject>;
1137
+ PendingPositionStored: TypedContractEvent<PendingPositionStoredEvent.InputTuple, PendingPositionStoredEvent.OutputTuple, PendingPositionStoredEvent.OutputObject>;
1138
+ "PendingPositionUpdated(bytes32,uint64,uint64,uint64,uint64)": TypedContractEvent<PendingPositionUpdatedEvent.InputTuple, PendingPositionUpdatedEvent.OutputTuple, PendingPositionUpdatedEvent.OutputObject>;
1139
+ PendingPositionUpdated: TypedContractEvent<PendingPositionUpdatedEvent.InputTuple, PendingPositionUpdatedEvent.OutputTuple, PendingPositionUpdatedEvent.OutputObject>;
1140
+ "PositionClosedLimit(bytes32,uint8,uint256,uint256,uint256,int256)": TypedContractEvent<PositionClosedLimitEvent.InputTuple, PositionClosedLimitEvent.OutputTuple, PositionClosedLimitEvent.OutputObject>;
1141
+ PositionClosedLimit: TypedContractEvent<PositionClosedLimitEvent.InputTuple, PositionClosedLimitEvent.OutputTuple, PositionClosedLimitEvent.OutputObject>;
1142
+ "PositionClosedMarket(bytes32,uint256,uint256,int256)": TypedContractEvent<PositionClosedMarketEvent.InputTuple, PositionClosedMarketEvent.OutputTuple, PositionClosedMarketEvent.OutputObject>;
1143
+ PositionClosedMarket: TypedContractEvent<PositionClosedMarketEvent.InputTuple, PositionClosedMarketEvent.OutputTuple, PositionClosedMarketEvent.OutputObject>;
1144
+ "PositionIdentifiersStored(bytes32,tuple)": TypedContractEvent<PositionIdentifiersStoredEvent.InputTuple, PositionIdentifiersStoredEvent.OutputTuple, PositionIdentifiersStoredEvent.OutputObject>;
1145
+ PositionIdentifiersStored: TypedContractEvent<PositionIdentifiersStoredEvent.InputTuple, PositionIdentifiersStoredEvent.OutputTuple, PositionIdentifiersStoredEvent.OutputObject>;
1146
+ "PositionMarketCloseCancelled(bytes32,address,uint256)": TypedContractEvent<PositionMarketCloseCancelledEvent.InputTuple, PositionMarketCloseCancelledEvent.OutputTuple, PositionMarketCloseCancelledEvent.OutputObject>;
1147
+ PositionMarketCloseCancelled: TypedContractEvent<PositionMarketCloseCancelledEvent.InputTuple, PositionMarketCloseCancelledEvent.OutputTuple, PositionMarketCloseCancelledEvent.OutputObject>;
1148
+ "PositionOpenCancelledByCap(bytes32,uint8,uint256)": TypedContractEvent<PositionOpenCancelledByCapEvent.InputTuple, PositionOpenCancelledByCapEvent.OutputTuple, PositionOpenCancelledByCapEvent.OutputObject>;
1149
+ PositionOpenCancelledByCap: TypedContractEvent<PositionOpenCancelledByCapEvent.InputTuple, PositionOpenCancelledByCapEvent.OutputTuple, PositionOpenCancelledByCapEvent.OutputObject>;
1150
+ "PositionOpenCancelledByMarketPriceRange(bytes32,uint64)": TypedContractEvent<PositionOpenCancelledByMarketPriceRangeEvent.InputTuple, PositionOpenCancelledByMarketPriceRangeEvent.OutputTuple, PositionOpenCancelledByMarketPriceRangeEvent.OutputObject>;
1151
+ PositionOpenCancelledByMarketPriceRange: TypedContractEvent<PositionOpenCancelledByMarketPriceRangeEvent.InputTuple, PositionOpenCancelledByMarketPriceRangeEvent.OutputTuple, PositionOpenCancelledByMarketPriceRangeEvent.OutputObject>;
1152
+ "PositionOpened(bytes32,uint64,uint64,uint64,uint256,uint256)": TypedContractEvent<PositionOpenedEvent.InputTuple, PositionOpenedEvent.OutputTuple, PositionOpenedEvent.OutputObject>;
1153
+ PositionOpened: TypedContractEvent<PositionOpenedEvent.InputTuple, PositionOpenedEvent.OutputTuple, PositionOpenedEvent.OutputObject>;
1154
+ "PositionSetForMarketClose(bytes32,uint64,uint64)": TypedContractEvent<PositionSetForMarketCloseEvent.InputTuple, PositionSetForMarketCloseEvent.OutputTuple, PositionSetForMarketCloseEvent.OutputObject>;
1155
+ PositionSetForMarketClose: TypedContractEvent<PositionSetForMarketCloseEvent.InputTuple, PositionSetForMarketCloseEvent.OutputTuple, PositionSetForMarketCloseEvent.OutputObject>;
1156
+ "SettlementAssetAdded(address,address,address)": TypedContractEvent<SettlementAssetAddedEvent.InputTuple, SettlementAssetAddedEvent.OutputTuple, SettlementAssetAddedEvent.OutputObject>;
1157
+ SettlementAssetAdded: TypedContractEvent<SettlementAssetAddedEvent.InputTuple, SettlementAssetAddedEvent.OutputTuple, SettlementAssetAddedEvent.OutputObject>;
1158
+ };
1159
+ }
1160
+ //# sourceMappingURL=TradingFloorV1.d.ts.map