lynx-client 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/dist/cjs/lib/addresses/lensAddresses.js +6 -6
  2. package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  3. package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  4. package/dist/cjs/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  5. package/dist/cjs/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  6. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  7. package/dist/cjs/lib/contractsIntegration/LexLensService/ILexLensService.js +7 -0
  8. package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +52 -52
  9. package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  10. package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  11. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  12. package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  13. package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  14. package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  15. package/dist/cjs/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  16. package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  17. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
  18. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  19. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  20. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +25 -1
  21. package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -8
  22. package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  23. package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  24. package/dist/cjs/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
  25. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  26. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  27. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
  28. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  29. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  30. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  31. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  32. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
  33. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
  34. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
  35. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
  36. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
  37. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  38. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
  39. package/dist/esm/index.d.ts +1 -1
  40. package/dist/esm/index.d.ts.map +1 -1
  41. package/dist/esm/lib/addresses/lensAddresses.d.ts +6 -6
  42. package/dist/esm/lib/addresses/lensAddresses.js +6 -6
  43. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  44. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
  45. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  46. package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  47. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  48. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  49. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
  50. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  51. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  52. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  53. package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
  54. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  55. package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  56. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  57. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
  58. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  59. package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  60. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  61. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  62. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  63. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  64. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
  65. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  66. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  67. package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.js +7 -0
  68. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  69. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  70. package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +52 -52
  71. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  72. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  73. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  74. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
  75. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  76. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  77. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  78. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  79. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
  80. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  81. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  82. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  83. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
  84. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  85. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  86. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  87. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
  88. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  89. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  90. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  91. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
  92. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  93. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  94. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  95. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
  96. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  97. package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  98. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  99. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  100. package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
  101. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  102. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  103. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  104. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  105. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
  106. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  107. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  108. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  109. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
  110. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  111. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  112. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  113. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  114. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
  115. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  116. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  117. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  118. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
  119. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +34 -8
  120. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  121. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +25 -1
  122. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
  123. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  124. package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -8
  125. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  126. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  127. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  128. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
  129. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  130. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  131. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  132. package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
  133. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  134. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  135. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  136. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  137. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  138. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  139. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  140. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  141. package/dist/esm/lib/contractsIntegration/common/index.d.ts +20 -0
  142. package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
  143. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
  144. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  145. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
  146. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  147. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
  148. package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
  149. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
  150. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
  151. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
  152. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
  153. package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
  154. package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
  155. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  156. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  157. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  158. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  159. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
  160. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
  161. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  162. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  163. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  164. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  165. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  166. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  167. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  168. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  169. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
  170. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  171. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
  172. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
  173. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  174. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
  175. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
  176. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
  177. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
  178. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
  179. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
  180. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
  181. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
  182. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
  183. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  184. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  185. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
  186. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
  187. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
  188. package/dist/types/index.d.ts +1 -1
  189. package/dist/types/index.d.ts.map +1 -1
  190. package/dist/types/lib/addresses/lensAddresses.d.ts +6 -6
  191. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  192. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
  193. package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
  194. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
  195. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
  196. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
  197. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
  198. package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
  199. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
  200. package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
  201. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
  202. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
  203. package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
  204. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
  205. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  206. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
  207. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  208. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
  209. package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
  210. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
  211. package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
  212. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
  213. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  214. package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  215. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
  216. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
  217. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
  218. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
  219. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
  220. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
  221. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
  222. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
  223. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  224. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  225. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
  226. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  227. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  228. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
  229. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  230. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
  231. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
  232. package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
  233. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
  234. package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
  235. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
  236. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
  237. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
  238. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
  239. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
  240. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  241. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  242. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
  243. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  244. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
  245. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  246. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
  247. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  248. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  249. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +34 -8
  250. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
  251. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
  252. package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
  253. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
  254. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  255. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  256. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
  257. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
  258. package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
  259. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
  260. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
  261. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
  262. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
  263. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
  264. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
  265. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
  266. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
  267. package/dist/types/lib/contractsIntegration/common/index.d.ts +20 -0
  268. package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
  269. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
  270. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  271. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
  272. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  273. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
  274. package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
  275. package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
  276. package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
  277. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
  278. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
  279. package/dist/types/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
  280. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  281. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  282. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
  283. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  284. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  285. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  286. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  287. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
  288. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  289. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
  290. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  291. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
  292. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
  293. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
  294. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
  295. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
  296. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  297. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
  298. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
  299. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"PNLRService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PNLRService/PNLRService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAA+B,MAAM,QAAQ,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AAEpE,OAAO,EACL,YAAY,EACZ,mCAAmC,EACnC,kCAAkC,EAClC,wCAAwC,EACxC,iCAAiC,EACjC,mCAAmC,EAEpC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAsLnE,qBAAa,WAAY,YAAW,YAAY;IAC9C,OAAO,CAAC,YAAY,CAAO;IAEpB,eAAe,EAAE,mCAAmC,CAAC;IACrD,cAAc,EAAE,kCAAkC,CAAC;IACnD,oBAAoB,EAAE,wCAAwC,CAAC;IAC/D,aAAa,EAAE,iCAAiC,CAAC;IACjD,eAAe,EAAE,mCAAmC,CAAC;IACrD,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,sBAAsB,CAAC;gBAEzC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAsBhE,WAAW,IAAI,IAAI;CAGpB"}
1
+ {"version":3,"file":"PNLRService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PNLRService/PNLRService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAA+B,MAAM,QAAQ,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AAEpE,OAAO,EACL,YAAY,EACZ,mCAAmC,EACnC,kCAAkC,EAClC,wCAAwC,EACxC,iCAAiC,EACjC,mCAAmC,EAEpC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAmC,MAAM,WAAW,CAAC;AAmMpG,qBAAa,WAAY,YAAW,YAAY;IAC9C,OAAO,CAAC,YAAY,CAAO;IAEpB,eAAe,EAAE,mCAAmC,CAAC;IACrD,cAAc,EAAE,kCAAkC,CAAC;IACnD,oBAAoB,EAAE,wCAAwC,CAAC;IAC/D,aAAa,EAAE,iCAAiC,CAAC;IACjD,eAAe,EAAE,mCAAmC,CAAC;IACrD,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,sBAAsB,CAAC;gBAEzC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAsBhE,WAAW,IAAI,IAAI;CAGpB"}
@@ -1,5 +1,5 @@
1
1
  import { BytesLike, ContractTransactionResponse } from "ethers";
2
- import { IProtocolConstants } from "../common";
2
+ import { IProtocolConstants, TransactionOptions, CallOptions } from "../common";
3
3
  export type TAccrueFundingValuesOutput = {
4
4
  freshened: boolean;
5
5
  valueLong: bigint;
@@ -23,133 +23,133 @@ export type TDynamicFeesOutput = {
23
23
  funding: bigint;
24
24
  };
25
25
  export interface IPoolAccountantV1FunctionsGroup_TradeUtilities {
26
- adjustClosePrice(closePrice: bigint, tp: bigint, long: boolean): Promise<bigint>;
27
- generatePositionHashId(settlementAsset: string, trader: string, pairId: bigint, index: bigint): Promise<string>;
26
+ adjustClosePrice(closePrice: bigint, tp: bigint, long: boolean, callOptions?: CallOptions): Promise<bigint>;
27
+ generatePositionHashId(settlementAsset: string, trader: string, pairId: bigint, index: bigint, callOptions?: CallOptions): Promise<string>;
28
28
  }
29
29
  export interface IPoolAccountantV1FunctionsGroup_Verification {
30
- verifyLeveragedPosition(pairIndex: bigint, collateral: bigint, leverage: bigint): Promise<bigint>;
31
- verifyOpenFee(pairIndex: bigint, leveragedPosition: bigint): Promise<{
30
+ verifyLeveragedPosition(pairIndex: bigint, collateral: bigint, leverage: bigint, callOptions?: CallOptions): Promise<bigint>;
31
+ verifyOpenFee(pairIndex: bigint, leveragedPosition: bigint, callOptions?: CallOptions): Promise<{
32
32
  openFee: bigint;
33
33
  lexPartFee: bigint;
34
34
  }>;
35
- verifyPerformanceFee(pairIndex: bigint, collateral: bigint): Promise<void>;
36
- verifyMaxPercentProfit(openPrice: bigint, targetPrice: bigint, leverage: bigint, long: boolean): Promise<void>;
37
- verifyUtilizationForTraders(totalBorrows: bigint, totalReserves: bigint, unrealizedFunding: bigint): Promise<void>;
35
+ verifyPerformanceFee(pairIndex: bigint, collateral: bigint, callOptions?: CallOptions): Promise<void>;
36
+ verifyMaxPercentProfit(openPrice: bigint, targetPrice: bigint, leverage: bigint, long: boolean, callOptions?: CallOptions): Promise<void>;
37
+ verifyUtilizationForTraders(totalBorrows: bigint, totalReserves: bigint, unrealizedFunding: bigint, callOptions?: CallOptions): Promise<void>;
38
38
  }
39
39
  export interface IPoolAccountantV1FunctionsGroup_FeeCalculations {
40
- calcClosingFee(pairId: bigint, collateral: bigint, leverage: bigint): Promise<bigint>;
41
- calcPerformanceFee(pairId: bigint, collateral: bigint, profitPrecision: bigint): Promise<bigint>;
42
- calcBorrowAmount(collateral: bigint, leverage: bigint, long: boolean, openPrice: bigint, tp: bigint): Promise<bigint>;
43
- calcTradeDynamicFees(positionId: BytesLike, pairId: bigint, long: boolean, collateral: bigint, leverage: bigint, openPrice: bigint, tp: bigint): Promise<TDynamicFeesOutput>;
40
+ calcClosingFee(pairId: bigint, collateral: bigint, leverage: bigint, callOptions?: CallOptions): Promise<bigint>;
41
+ calcPerformanceFee(pairId: bigint, collateral: bigint, profitPrecision: bigint, callOptions?: CallOptions): Promise<bigint>;
42
+ calcBorrowAmount(collateral: bigint, leverage: bigint, long: boolean, openPrice: bigint, tp: bigint, callOptions?: CallOptions): Promise<bigint>;
43
+ calcTradeDynamicFees(positionId: BytesLike, pairId: bigint, long: boolean, collateral: bigint, leverage: bigint, openPrice: bigint, tp: bigint, callOptions?: CallOptions): Promise<TDynamicFeesOutput>;
44
44
  }
45
45
  export interface IPoolAccountantV1FunctionsGroup_Funding {
46
- accrueFunding(pairId: bigint): Promise<any>;
47
- accrueFunding_static(pairId: bigint): Promise<{
46
+ accrueFunding(pairId: bigint, transactionOptions?: TransactionOptions): Promise<any>;
47
+ accrueFunding_static(pairId: bigint, callOptions?: CallOptions): Promise<{
48
48
  valueLong: bigint;
49
49
  valueShort: bigint;
50
50
  protocolFundingShare: bigint;
51
51
  }>;
52
- calcAccrueFundingValues(pairId: bigint): Promise<TAccrueFundingValuesOutput>;
53
- fundingIndicesCalculation(oiLong: bigint, oiShort: bigint, fundingRate: bigint, timeDiff: bigint): Promise<TFundingIndicesCalculationOutput>;
54
- getTradeFunding(positionId: BytesLike, pairId: bigint, long: boolean, collateral: bigint, leverage: bigint): Promise<any>;
55
- getTradeFunding_static(positionId: BytesLike, pairId: bigint, long: boolean, collateral: bigint, leverage: bigint): Promise<bigint>;
56
- getTradeFundingPure(accFundingPerOi: bigint, endAccFundingPerOi: bigint, collateral: bigint, leverage: bigint): Promise<bigint>;
57
- getAccFundingLong(pairIndex: bigint): Promise<bigint>;
58
- getAccFundingShort(pairIndex: bigint): Promise<bigint>;
59
- getAccFundingUpdateBlock(pairIndex: bigint): Promise<bigint>;
60
- getTradeInitialAccFundingPerOi(positionId: BytesLike): Promise<bigint>;
52
+ calcAccrueFundingValues(pairId: bigint, callOptions?: CallOptions): Promise<TAccrueFundingValuesOutput>;
53
+ fundingIndicesCalculation(oiLong: bigint, oiShort: bigint, fundingRate: bigint, timeDiff: bigint, callOptions?: CallOptions): Promise<TFundingIndicesCalculationOutput>;
54
+ getTradeFunding(positionId: BytesLike, pairId: bigint, long: boolean, collateral: bigint, leverage: bigint, transactionOptions?: TransactionOptions): Promise<any>;
55
+ getTradeFunding_static(positionId: BytesLike, pairId: bigint, long: boolean, collateral: bigint, leverage: bigint, callOptions?: CallOptions): Promise<bigint>;
56
+ getTradeFundingPure(accFundingPerOi: bigint, endAccFundingPerOi: bigint, collateral: bigint, leverage: bigint, callOptions?: CallOptions): Promise<bigint>;
57
+ getAccFundingLong(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
58
+ getAccFundingShort(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
59
+ getAccFundingUpdateBlock(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
60
+ getTradeInitialAccFundingPerOi(positionId: BytesLike, callOptions?: CallOptions): Promise<bigint>;
61
61
  }
62
62
  export interface IPoolAccountantV1FunctionsGroup_Interest {
63
- getTradeInterest(positionId: BytesLike, borrowAmount: bigint): Promise<bigint>;
64
- getTradeInterestPure(tradeBorrowIndex: bigint, currentBorrowIndex: bigint, borrowAmount: bigint, alreadyAccumulated: bigint): Promise<bigint>;
65
- getTradeInitialAccBorrowIndex(positionId: BytesLike): Promise<bigint>;
66
- accrueInterest(availableCash: bigint): Promise<{
63
+ getTradeInterest(positionId: BytesLike, borrowAmount: bigint, callOptions?: CallOptions): Promise<bigint>;
64
+ getTradeInterestPure(tradeBorrowIndex: bigint, currentBorrowIndex: bigint, borrowAmount: bigint, alreadyAccumulated: bigint, callOptions?: CallOptions): Promise<bigint>;
65
+ getTradeInitialAccBorrowIndex(positionId: BytesLike, callOptions?: CallOptions): Promise<bigint>;
66
+ accrueInterest(availableCash: bigint, callOptions?: CallOptions): Promise<{
67
67
  totalInterestNew: bigint;
68
68
  interestShareNew: bigint;
69
69
  borrowIndexNew: bigint;
70
70
  }>;
71
71
  }
72
72
  export interface IPoolAccountantV1FunctionsGroup_Liquidation {
73
- getTradeLiquidationPrice(positionId: BytesLike, pairId: bigint, openPrice: bigint, tp: bigint, long: boolean, collateral: bigint, leverage: bigint): Promise<bigint>;
74
- getTradeLiquidationPriceView(openPrice: bigint, long: boolean, collateral: bigint, leverage: bigint, interest: bigint, funding: bigint, closingFee: bigint): Promise<bigint>;
73
+ getTradeLiquidationPrice(positionId: BytesLike, pairId: bigint, openPrice: bigint, tp: bigint, long: boolean, collateral: bigint, leverage: bigint, callOptions?: CallOptions): Promise<bigint>;
74
+ getTradeLiquidationPriceView(openPrice: bigint, long: boolean, collateral: bigint, leverage: bigint, interest: bigint, funding: bigint, closingFee: bigint, callOptions?: CallOptions): Promise<bigint>;
75
75
  }
76
76
  export interface IPoolAccountantV1FunctionsGroup_TradeValues {
77
- getTradeValueView(collateral: bigint, profitPrecision: bigint, interest: bigint, funding: bigint, closingFee: bigint, liquidation: boolean): Promise<bigint>;
78
- getTradeClosingValues(positionId: BytesLike, pairId: bigint, collateral: bigint, leverage: bigint, long: boolean, openPrice: bigint, tp: bigint, closePrice: bigint, isLiquidation: boolean): Promise<TTradeClosingValuesOutput>;
77
+ getTradeValueView(collateral: bigint, profitPrecision: bigint, interest: bigint, funding: bigint, closingFee: bigint, liquidation: boolean, callOptions?: CallOptions): Promise<bigint>;
78
+ getTradeClosingValues(positionId: BytesLike, pairId: bigint, collateral: bigint, leverage: bigint, long: boolean, openPrice: bigint, tp: bigint, closePrice: bigint, isLiquidation: boolean, callOptions?: CallOptions): Promise<TTradeClosingValuesOutput>;
79
79
  }
80
80
  export interface IPoolAccountantV1FunctionsGroup_PairManagement {
81
- pairTotalOpenInterest(pairIndex: bigint): Promise<bigint>;
82
- calcAbsoluteSkew(openInterestLong: bigint, openInterestShort: bigint, additionIsLong: boolean, additionOpenInterest: bigint): Promise<bigint>;
83
- pricePnL(pairId: bigint, price: bigint): Promise<bigint>;
84
- pairBorrows(pairIndex: bigint): Promise<bigint>;
85
- pairMaxBorrow(pairIndex: bigint): Promise<bigint>;
86
- pairMinOpenFee(pairIndex: bigint): Promise<bigint>;
87
- pairOpenFeeF(pairIndex: bigint): Promise<bigint>;
88
- pairCloseFeeF(pairIndex: bigint): Promise<bigint>;
89
- pairPerformanceFeeF(pairIndex: bigint): Promise<bigint>;
90
- pairTotalRatioOiToP(pairIndex: bigint): Promise<bigint>;
91
- groupBorrows(groupIndex: bigint): Promise<bigint>;
92
- groupMaxBorrow(groupIndex: bigint): Promise<bigint>;
81
+ pairTotalOpenInterest(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
82
+ calcAbsoluteSkew(openInterestLong: bigint, openInterestShort: bigint, additionIsLong: boolean, additionOpenInterest: bigint, callOptions?: CallOptions): Promise<bigint>;
83
+ pricePnL(pairId: bigint, price: bigint, callOptions?: CallOptions): Promise<bigint>;
84
+ pairBorrows(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
85
+ pairMaxBorrow(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
86
+ pairMinOpenFee(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
87
+ pairOpenFeeF(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
88
+ pairCloseFeeF(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
89
+ pairPerformanceFeeF(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
90
+ pairTotalRatioOiToP(pairIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
91
+ groupBorrows(groupIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
92
+ groupMaxBorrow(groupIndex: bigint, callOptions?: CallOptions): Promise<bigint>;
93
93
  }
94
94
  export interface IPoolAccountantV1FunctionsGroup_AdminConfiguration {
95
- setTradeIncentivizer(incentivizer: string): Promise<ContractTransactionResponse>;
96
- setMaxGainF(maxGainF: bigint): Promise<ContractTransactionResponse>;
97
- setFrm(frm: string): Promise<ContractTransactionResponse>;
98
- setMinOpenFee(min: bigint): Promise<ContractTransactionResponse>;
99
- setLexPartF(partF: bigint): Promise<ContractTransactionResponse>;
100
- setFundingRateMax(maxValue: bigint): Promise<ContractTransactionResponse>;
101
- setLiquidationThresholdF(threshold: bigint): Promise<ContractTransactionResponse>;
102
- setLiquidationFeeF(fee: bigint): Promise<ContractTransactionResponse>;
103
- setIrm(irm: string): Promise<ContractTransactionResponse>;
104
- setIrmHard(irm: string): Promise<ContractTransactionResponse>;
105
- setInterestShareFactor(factor: bigint): Promise<ContractTransactionResponse>;
106
- setFundingShareFactor(factor: bigint): Promise<ContractTransactionResponse>;
107
- setBorrowRateMax(rate: bigint): Promise<ContractTransactionResponse>;
108
- setMaxTotalBorrows(maxBorrows: bigint): Promise<ContractTransactionResponse>;
109
- setMaxVirtualUtilization(maxUtilization: bigint): Promise<ContractTransactionResponse>;
95
+ setTradeIncentivizer(incentivizer: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
96
+ setMaxGainF(maxGainF: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
97
+ setFrm(frm: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
98
+ setMinOpenFee(min: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
99
+ setLexPartF(partF: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
100
+ setFundingRateMax(maxValue: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
101
+ setLiquidationThresholdF(threshold: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
102
+ setLiquidationFeeF(fee: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
103
+ setIrm(irm: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
104
+ setIrmHard(irm: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
105
+ setInterestShareFactor(factor: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
106
+ setFundingShareFactor(factor: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
107
+ setBorrowRateMax(rate: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
108
+ setMaxTotalBorrows(maxBorrows: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
109
+ setMaxVirtualUtilization(maxUtilization: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
110
110
  }
111
111
  export interface IPoolAccountantV1FunctionsGroup_PoolInteraction {
112
- readAndZeroReserves(): Promise<{
112
+ readAndZeroReserves(callOptions?: CallOptions): Promise<{
113
113
  accumulatedInterestShare: bigint;
114
114
  accFundingShare: bigint;
115
115
  }>;
116
116
  }
117
117
  export interface IPoolAccountantV1FunctionsGroup_StateVariables {
118
- borrowIndex(): Promise<bigint>;
119
- borrowRateMax(): Promise<bigint>;
120
- totalBorrows(): Promise<bigint>;
121
- totalInterest(): Promise<bigint>;
122
- interestShare(): Promise<bigint>;
123
- interestShareFactor(): Promise<bigint>;
124
- fundingRateMax(): Promise<bigint>;
125
- fundingShare(): Promise<bigint>;
126
- fundingShareFactor(): Promise<bigint>;
127
- unrealizedFunding(): Promise<bigint>;
128
- realizedFundingSurplusDeficit(): Promise<bigint>;
129
- maxGainF(): Promise<bigint>;
130
- liquidationFeeF(): Promise<bigint>;
131
- liquidationThresholdF(): Promise<bigint>;
132
- maxTotalBorrows(): Promise<bigint>;
133
- maxVirtualUtilization(): Promise<bigint>;
134
- minOpenFee(): Promise<bigint>;
135
- lexPartF(): Promise<bigint>;
136
- lexPool(): Promise<string>;
137
- tradingFloor(): Promise<string>;
138
- tradeIncentivizer(): Promise<string>;
139
- frm(): Promise<string>;
140
- irm(): Promise<string>;
141
- underlying(): Promise<string>;
142
- accrualBlockTimestamp(): Promise<bigint>;
118
+ borrowIndex(callOptions?: CallOptions): Promise<bigint>;
119
+ borrowRateMax(callOptions?: CallOptions): Promise<bigint>;
120
+ totalBorrows(callOptions?: CallOptions): Promise<bigint>;
121
+ totalInterest(callOptions?: CallOptions): Promise<bigint>;
122
+ interestShare(callOptions?: CallOptions): Promise<bigint>;
123
+ interestShareFactor(callOptions?: CallOptions): Promise<bigint>;
124
+ fundingRateMax(callOptions?: CallOptions): Promise<bigint>;
125
+ fundingShare(callOptions?: CallOptions): Promise<bigint>;
126
+ fundingShareFactor(callOptions?: CallOptions): Promise<bigint>;
127
+ unrealizedFunding(callOptions?: CallOptions): Promise<bigint>;
128
+ realizedFundingSurplusDeficit(callOptions?: CallOptions): Promise<bigint>;
129
+ maxGainF(callOptions?: CallOptions): Promise<bigint>;
130
+ liquidationFeeF(callOptions?: CallOptions): Promise<bigint>;
131
+ liquidationThresholdF(callOptions?: CallOptions): Promise<bigint>;
132
+ maxTotalBorrows(callOptions?: CallOptions): Promise<bigint>;
133
+ maxVirtualUtilization(callOptions?: CallOptions): Promise<bigint>;
134
+ minOpenFee(callOptions?: CallOptions): Promise<bigint>;
135
+ lexPartF(callOptions?: CallOptions): Promise<bigint>;
136
+ lexPool(callOptions?: CallOptions): Promise<string>;
137
+ tradingFloor(callOptions?: CallOptions): Promise<string>;
138
+ tradeIncentivizer(callOptions?: CallOptions): Promise<string>;
139
+ frm(callOptions?: CallOptions): Promise<string>;
140
+ irm(callOptions?: CallOptions): Promise<string>;
141
+ underlying(callOptions?: CallOptions): Promise<string>;
142
+ accrualBlockTimestamp(callOptions?: CallOptions): Promise<bigint>;
143
143
  }
144
144
  export interface IPoolAccountantV1FunctionsGroup_ContractInfo {
145
- admin(): Promise<string>;
146
- pendingAdmin(): Promise<string>;
147
- implementation(): Promise<string>;
148
- pendingImplementation(): Promise<string>;
149
- registry(): Promise<string>;
145
+ admin(callOptions?: CallOptions): Promise<string>;
146
+ pendingAdmin(callOptions?: CallOptions): Promise<string>;
147
+ implementation(callOptions?: CallOptions): Promise<string>;
148
+ pendingImplementation(callOptions?: CallOptions): Promise<string>;
149
+ registry(callOptions?: CallOptions): Promise<string>;
150
150
  }
151
151
  export interface IPoolAccountantV1FunctionsGroup_Constants extends IProtocolConstants {
152
- ACCURACY_IMPROVEMENT_SCALE(): Promise<bigint>;
152
+ ACCURACY_IMPROVEMENT_SCALE(callOptions?: CallOptions): Promise<bigint>;
153
153
  }
154
154
  export interface IPoolAccountantV1Service {
155
155
  tradeUtilities: IPoolAccountantV1FunctionsGroup_TradeUtilities;
@@ -1 +1 @@
1
- {"version":3,"file":"IPoolAccountantV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAG9C,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,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E,8CAA8C,CAAA;IAC9D,YAAY,EAAE,4CAA4C,CAAA;IAC1D,eAAe,EAAE,+CAA+C,CAAA;IAChE,OAAO,EAAE,uCAAuC,CAAA;IAChD,QAAQ,EAAE,wCAAwC,CAAA;IAClD,WAAW,EAAE,2CAA2C,CAAA;IACxD,WAAW,EAAE,2CAA2C,CAAA;IACxD,cAAc,EAAE,8CAA8C,CAAA;IAC9D,kBAAkB,EAAE,kDAAkD,CAAA;IACtE,eAAe,EAAE,+CAA+C,CAAA;IAChE,cAAc,EAAE,8CAA8C,CAAA;IAC9D,YAAY,EAAE,4CAA4C,CAAA;IAC1D,SAAS,EAAE,yCAAyC,CAAA;CACrD"}
1
+ {"version":3,"file":"IPoolAccountantV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG/E,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,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GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACrD;AAED,MAAM,WAAW,yCAA0C,SAAQ,kBAAkB;IAGnF,0BAA0B,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACvE;AAED,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,8CAA8C,CAAA;IAC9D,YAAY,EAAE,4CAA4C,CAAA;IAC1D,eAAe,EAAE,+CAA+C,CAAA;IAChE,OAAO,EAAE,uCAAuC,CAAA;IAChD,QAAQ,EAAE,wCAAwC,CAAA;IAClD,WAAW,EAAE,2CAA2C,CAAA;IACxD,WAAW,EAAE,2CAA2C,CAAA;IACxD,cAAc,EAAE,8CAA8C,CAAA;IAC9D,kBAAkB,EAAE,kDAAkD,CAAA;IACtE,eAAe,EAAE,+CAA+C,CAAA;IAChE,cAAc,EAAE,8CAA8C,CAAA;IAC9D,YAAY,EAAE,4CAA4C,CAAA;IAC1D,SAAS,EAAE,yCAAyC,CAAA;CACrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"PoolAccountantV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAa,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oEAAoE,CAAC;AAEtG,OAAO,EACL,wBAAwB,EACxB,8CAA8C,EAC9C,4CAA4C,EAC5C,+CAA+C,EAC/C,uCAAuC,EACvC,wCAAwC,EACxC,2CAA2C,EAC3C,2CAA2C,EAC3C,8CAA8C,EAC9C,kDAAkD,EAClD,+CAA+C,EAC/C,8CAA8C,EAC9C,4CAA4C,EAC5C,yCAAyC,EAE1C,MAAM,4BAA4B,CAAC;AA+HpC,qBAAa,uBAAwB,YAAW,wBAAwB;IACtE,OAAO,CAAC,sBAAsB,CAAmB;IAE1C,cAAc,EAAE,8CAA8C,CAAC;IAC/D,YAAY,EAAE,4CAA4C,CAAC;IAC3D,eAAe,EAAE,+CAA+C,CAAC;IACjE,OAAO,EAAE,uCAAuC,CAAC;IACjD,QAAQ,EAAE,wCAAwC,CAAC;IACnD,WAAW,EAAE,2CAA2C,CAAC;IACzD,WAAW,EAAE,2CAA2C,CAAC;IACzD,cAAc,EAAE,8CAA8C,CAAC;IAC/D,kBAAkB,EAAE,kDAAkD,CAAC;IACvE,eAAe,EAAE,+CAA+C,CAAC;IACjE,cAAc,EAAE,8CAA8C,CAAC;IAC/D,YAAY,EAAE,4CAA4C,CAAC;IAC3D,SAAS,EAAE,yCAAyC,CAAC;gBAEhD,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IA2BhE,WAAW,IAAI,gBAAgB;IAI/B,OAAO,CAAC,uBAAuB;IA2C/B,OAAO,CAAC,kBAAkB;IA4E1B,OAAO,CAAC,mBAAmB;IAiC3B,OAAO,CAAC,sBAAsB;IAyC9B,OAAO,CAAC,sBAAsB;IAuD9B,OAAO,CAAC,yBAAyB;IAuCjC,OAAO,CAAC,6BAA6B;IA8BrC,OAAO,CAAC,0BAA0B;IAalC,OAAO,CAAC,yBAAyB;IA2CjC,OAAO,CAAC,uBAAuB;IAW/B,OAAO,CAAC,oBAAoB;CAS7B"}
1
+ {"version":3,"file":"PoolAccountantV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAa,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oEAAoE,CAAC;AAGtG,OAAO,EACL,wBAAwB,EACxB,8CAA8C,EAC9C,4CAA4C,EAC5C,+CAA+C,EAC/C,uCAAuC,EACvC,wCAAwC,EACxC,2CAA2C,EAC3C,2CAA2C,EAC3C,8CAA8C,EAC9C,kDAAkD,EAClD,+CAA+C,EAC/C,8CAA8C,EAC9C,4CAA4C,EAC5C,yCAAyC,EAE1C,MAAM,4BAA4B,CAAC;AA4IpC,qBAAa,uBAAwB,YAAW,wBAAwB;IACtE,OAAO,CAAC,sBAAsB,CAAmB;IAE1C,cAAc,EAAE,8CAA8C,CAAC;IAC/D,YAAY,EAAE,4CAA4C,CAAC;IAC3D,eAAe,EAAE,+CAA+C,CAAC;IACjE,OAAO,EAAE,uCAAuC,CAAC;IACjD,QAAQ,EAAE,wCAAwC,CAAC;IACnD,WAAW,EAAE,2CAA2C,CAAC;IACzD,WAAW,EAAE,2CAA2C,CAAC;IACzD,cAAc,EAAE,8CAA8C,CAAC;IAC/D,kBAAkB,EAAE,kDAAkD,CAAC;IACvE,eAAe,EAAE,+CAA+C,CAAC;IACjE,cAAc,EAAE,8CAA8C,CAAC;IAC/D,YAAY,EAAE,4CAA4C,CAAC;IAC3D,SAAS,EAAE,yCAAyC,CAAC;gBAEhD,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IA2BhE,WAAW,IAAI,gBAAgB;IAI/B,OAAO,CAAC,uBAAuB;IAgD/B,OAAO,CAAC,kBAAkB;IAgF1B,OAAO,CAAC,mBAAmB;IAoC3B,OAAO,CAAC,sBAAsB;IA6C9B,OAAO,CAAC,sBAAsB;IA2D9B,OAAO,CAAC,yBAAyB;IAyCjC,OAAO,CAAC,6BAA6B;IA8BrC,OAAO,CAAC,0BAA0B;IAalC,OAAO,CAAC,yBAAyB;IA2CjC,OAAO,CAAC,uBAAuB;IAW/B,OAAO,CAAC,oBAAoB;CAS7B"}
@@ -1,4 +1,5 @@
1
1
  import { TPairIds } from '../../constants/pairIds';
2
+ import { CallOptions } from '../common';
2
3
  export type TFRMBaseRateParamsStruct = {
3
4
  baseRateInUnits: number;
4
5
  multiplierInUnits: number;
@@ -63,16 +64,18 @@ export interface IRateModelLensService {
63
64
  * Get the accountant address for a given LEX pool
64
65
  *
65
66
  * @param lexPool - The LEX pool address
67
+ * @param callOptions - Optional call options for state override
66
68
  * @returns The accountant address
67
69
  */
68
- getAccountantForLexPool(lexPool: string): Promise<string>;
70
+ getAccountantForLexPool(lexPool: string, callOptions?: CallOptions): Promise<string>;
69
71
  /**
70
72
  * Get the LEX pool address for a given accountant
71
73
  *
72
74
  * @param accountant - The accountant address
75
+ * @param callOptions - Optional call options for state override
73
76
  * @returns The LEX pool address
74
77
  */
75
- getLexPoolForAccountant(accountant: string): Promise<string>;
78
+ getLexPoolForAccountant(accountant: string, callOptions?: CallOptions): Promise<string>;
76
79
  /**
77
80
  * Get complete rate model information for multiple LEX pools
78
81
  *
@@ -81,6 +84,7 @@ export interface IRateModelLensService {
81
84
  * - Interest Rate Models (IRM): Controls interest rates for borrowed liquidity
82
85
  *
83
86
  * @param lexPools - Array of LEX pool addresses to query
87
+ * @param callOptions - Optional call options for state override
84
88
  * @returns Complete rate models info including FRM and IRM groups
85
89
  *
86
90
  * @example
@@ -95,7 +99,7 @@ export interface IRateModelLensService {
95
99
  * console.log(`Base Rate: ${frmGroup.baseRateParams.baseRate}`)
96
100
  * }
97
101
  */
98
- getCompleteRateModelsInfo(lexPools: string[]): Promise<TCompleteLexRateModelsInfoStruct>;
102
+ getCompleteRateModelsInfo(lexPools: string[], callOptions?: CallOptions): Promise<TCompleteLexRateModelsInfoStruct>;
99
103
  /**
100
104
  * Get funding rate model groups for multiple LEX pools
101
105
  *
@@ -105,9 +109,10 @@ export interface IRateModelLensService {
105
109
  * - Pair-specific parameter overrides
106
110
  *
107
111
  * @param lexPools - Array of LEX pool addresses to query
112
+ * @param callOptions - Optional call options for state override
108
113
  * @returns Array of funding rate model groups
109
114
  */
110
- getFundingRateModelGroups(lexPools: string[]): Promise<TFundingRateModelGroupStruct[]>;
115
+ getFundingRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TFundingRateModelGroupStruct[]>;
111
116
  /**
112
117
  * Get interest rate model groups for multiple LEX pools
113
118
  *
@@ -115,9 +120,10 @@ export interface IRateModelLensService {
115
120
  * - Base rate parameters (baseRate, multiplier, kink, etc.)
116
121
  *
117
122
  * @param lexPools - Array of LEX pool addresses to query
123
+ * @param callOptions - Optional call options for state override
118
124
  * @returns Array of interest rate model groups
119
125
  */
120
- getInterestRateModelGroups(lexPools: string[]): Promise<TInterestRateModelGroupStruct[]>;
126
+ getInterestRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TInterestRateModelGroupStruct[]>;
121
127
  }
122
128
  export declare const EMPTY_FRM_BASE_RATE_PARAMS_RAW: {
123
129
  baseRate: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"IRateModelLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/RateModelLensService/IRateModelLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAGlD,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,yBAAyB,EAAE,MAAM,CAAA;IACjC,iBAAiB,EAAE,MAAM,CAAA;IACzB,GAAG,EAAE;QACH,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,IAAI,EAAE,MAAM,CAAA;QACZ,kBAAkB,EAAE,MAAM,CAAA;QAC1B,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,2BAA2B,EAAE,MAAM,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,QAAQ,CAAA;IAChB,UAAU,EAAE,wBAAwB,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACzC,gBAAgB,EAAE,MAAM,CAAA;IACxB,S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;;;;;;;;;;;;;;OAqBG;IACH,yBAAyB,CACvB,QAAQ,EAAE,MAAM,EAAE,GACjB,OAAO,CAAC,gCAAgC,CAAC,CAAA;IAE5C;;;;;;;;;;OAUG;IACH,yBAAyB,CACvB,QAAQ,EAAE,MAAM,EAAE,GACjB,OAAO,CAAC,4BAA4B,EAAE,CAAC,CAAA;IAE1C;;;;;;;;OAQG;IACH,0BAA0B,CACxB,QAAQ,EAAE,MAAM,EAAE,GACjB,OAAO,CAAC,6BAA6B,EAAE,CAAC,CAAA;CAC5C;AAGD,eAAO,MAAM,8BAA8B;;;;;;CAM1C,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;CAI3C,CAAA;AAED,eAAO,MAAM,kCAAkC;;;;;;;;;CAG9C,CAAA;AAED,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;CAS9C,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;CAM1C,CAAA;AAED,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;CAO/C,CAAA;AAED,eAAO,MAAM,uCAAuC;;;CAGnD,CAAA"}
1
+ {"version":3,"file":"IRateModelLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/RateModelLensService/IRateModelLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAGvC,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,yBAAyB,EAAE,MAAM,CAAA;IACjC,iBAAiB,EAAE,MAAM,CAAA;IACzB,GAAG,EAAE;QACH,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,IAAI,EAAE,MAAM,CAAA;QACZ,kBAAkB,EAAE,MAAM,CAAA;QAC1B,UAAU,EAAE,MAA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} from '../../typechain/contracts/Peripheral/Lens/RateModelLens';
3
3
  import { IRateModelLensService, TCompleteLexRateModelsInfoStruct, TFundingRateModelGroupStruct, TInterestRateModelGroupStruct } from './IRateModelLensService';
4
+ import { CallOptions } from '../common';
4
5
  export declare class RateModelLensService implements IRateModelLensService {
5
6
  private readonly contract;
6
7
  constructor(signerOrProvider: Signer | Provider, contractAddress: string);
7
- getAccountantForLexPool(lexPool: string): Promise<string>;
8
- getLexPoolForAccountant(accountant: string): Promise<string>;
9
- getCompleteRateModelsInfo(lexPools: string[]): Promise<TCompleteLexRateModelsInfoStruct>;
10
- getFundingRateModelGroups(lexPools: string[]): Promise<TFundingRateModelGroupStruct[]>;
11
- getInterestRateModelGroups(lexPools: string[]): Promise<TInterestRateModelGroupStruct[]>;
8
+ getAccountantForLexPool(lexPool: string, callOptions?: CallOptions): Promise<string>;
9
+ getLexPoolForAccountant(accountant: string, callOptions?: CallOptions): Promise<string>;
10
+ getCompleteRateModelsInfo(lexPools: string[], callOptions?: CallOptions): Promise<TCompleteLexRateModelsInfoStruct>;
11
+ getFundingRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TFundingRateModelGroupStruct[]>;
12
+ getInterestRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TInterestRateModelGroupStruct[]>;
12
13
  getContract(): RateModelLens;
13
14
  }
14
15
  //# sourceMappingURL=RateModelLensService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RateModelLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/RateModelLensService/RateModelLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAA;AAMvF,OAAO,EACL,qBAAqB,EACrB,gCAAgC,EAChC,4BAA4B,EAC5B,6BAA6B,EAY9B,MAAM,yBAAyB,CAAA;AAuDhC,qBAAa,oBAAqB,YAAW,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AW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvF,yBAAyB,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,gCAAgC,CAAC;IA4DtC,yBAAyB,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,4BAA4B,EAAE,CAAC;IAgCpC,0BAA0B,CAC9B,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,6BAA6B,EAAE,CAAC;IAyB3C,WAAW,IAAI,aAAa;CAG7B"}
@@ -1,24 +1,25 @@
1
1
  import { TradeIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
2
+ import { CallOptions, TransactionOptions } from "../common";
2
3
  export interface ITradeIntentsVerifierService {
3
- domainSeparatorForAsset(settlementAsset: string): Promise<string>;
4
- domainSeparatorForChain(chainId: bigint): Promise<string>;
5
- intentsPermissions(user: string): Promise<string>;
6
- setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
7
- verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint): Promise<void>;
8
- verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
9
- verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
10
- verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
11
- verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
12
- verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
13
- domainSeparatorsForPosition(positionId: string): Promise<string>;
14
- tradersForPosition(positionId: string): Promise<string>;
15
- settlementAssetsForPosition(positionId: string): Promise<string>;
16
- sourceChainIdForAsset(asset: string): Promise<bigint>;
17
- processedSignatures(signature: string): Promise<boolean>;
18
- getTradingFloor(): Promise<string>;
19
- getTradersPortal(): Promise<string>;
20
- admin(): Promise<string>;
21
- pendingAdmin(): Promise<string>;
22
- registry(): Promise<string>;
4
+ domainSeparatorForAsset(settlementAsset: string, callOptions?: CallOptions): Promise<string>;
5
+ domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
6
+ intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
7
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
8
+ verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
9
+ verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
10
+ verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
11
+ verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
12
+ verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
13
+ verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
14
+ domainSeparatorsForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
15
+ tradersForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
16
+ settlementAssetsForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
17
+ sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
18
+ processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
19
+ getTradingFloor(callOptions?: CallOptions): Promise<string>;
20
+ getTradersPortal(callOptions?: CallOptions): Promise<string>;
21
+ admin(callOptions?: CallOptions): Promise<string>;
22
+ pendingAdmin(callOptions?: CallOptions): Promise<string>;
23
+ registry(callOptions?: CallOptions): Promise<string>;
23
24
  }
24
25
  //# sourceMappingURL=ITradeIntentsVerifierService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ITradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAyB,MAAM,uEAAuE,CAAA;AAErI,MAAM,WAAW,4BAA4B;IAE3C,uBAAuB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjE,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGzD,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACj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C,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAChE,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACvD,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAChE,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAGxD,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAClC,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAGnC,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5B"}
1
+ {"version":3,"file":"ITradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAyB,MAAM,uEAAuE,CAAA;AACrI,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE3D,MAAM,WAAW,4BAA4B;IAE3C,uBAAuB,CAAC,eAAe,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC5F,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGpF,kBAAkB,CAAC,IAAI,EAAE,MAAM,E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CAAA;IACxD,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACrD"}
@@ -1,30 +1,31 @@
1
1
  import { Provider, Signer } from "ethers";
2
2
  import { TradeIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
3
+ import { TransactionOptions, CallOptions } from "../common";
3
4
  import { ITradeIntentsVerifierService } from "./ITradeIntentsVerifierService";
4
5
  export declare class TradeIntentsVerifierService implements ITradeIntentsVerifierService {
5
6
  private readonly contract;
6
7
  private readonly isSigner;
7
8
  constructor(signerOrProvider: Signer | Provider, address: string);
8
- domainSeparatorForAsset(settlementAsset: string): Promise<string>;
9
- domainSeparatorForChain(chainId: bigint): Promise<string>;
10
- intentsPermissions(user: string): Promise<string>;
11
- setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
12
- verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint): Promise<void>;
13
- verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
14
- verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
15
- verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
16
- verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
17
- verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
18
- admin(): Promise<string>;
19
- pendingAdmin(): Promise<string>;
20
- registry(): Promise<string>;
21
- sourceChainIdForAsset(asset: string): Promise<bigint>;
22
- processedSignatures(signature: string): Promise<boolean>;
23
- domainSeparatorsForPosition(positionId: string): Promise<string>;
24
- tradersForPosition(positionId: string): Promise<string>;
25
- settlementAssetsForPosition(positionId: string): Promise<string>;
26
- getTradingFloor(): Promise<string>;
27
- getTradersPortal(): Promise<string>;
9
+ domainSeparatorForAsset(settlementAsset: string, callOptions?: CallOptions): Promise<string>;
10
+ domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
11
+ intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
12
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
13
+ verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
14
+ verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
15
+ verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
16
+ verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
17
+ verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
18
+ verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
19
+ admin(callOptions?: CallOptions): Promise<string>;
20
+ pendingAdmin(callOptions?: CallOptions): Promise<string>;
21
+ registry(callOptions?: CallOptions): Promise<string>;
22
+ sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
23
+ processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
24
+ domainSeparatorsForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
25
+ tradersForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
26
+ settlementAssetsForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
27
+ getTradingFloor(callOptions?: CallOptions): Promise<string>;
28
+ getTradersPortal(callOptions?: CallOptions): Promise<string>;
28
29
  getContract(): TradeIntentsVerifierV1;
29
30
  }
30
31
  //# sourceMappingURL=TradeIntentsVerifierService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAyB,MAAM,uEAAuE,CAAA;AAErI,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAE7E,qBAAa,2BAA4B,YAAW,4BAA4B;IAC9E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwB;IACjD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAK1D,uBAAuB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjE,uBA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xD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC;IAIxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAI/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3B,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIxD,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIhE,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIhE,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC;IAIlC,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC;IAIzC,WAAW,IAAI,sBAAsB;CAGtC"}
1
+ {"version":3,"file":"TradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAyB,MAAM,uEAAuE,CAAA;AAErI,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAE7E,qBAAa,2BAA4B,YAAW,4BAA4B;IAC9E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwB;IACjD,OAAO,CAAC,QA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