@symmio/trading-core 2.0.0 → 3.0.0

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 (325) hide show
  1. package/README.md +2 -2
  2. package/dist/balance-history/get-balance-history/types.d.ts +1 -1
  3. package/dist/balance-history/get-balance-history/types.js.map +1 -1
  4. package/dist/core/chains/actions/get-chain-config.d.ts +1 -1
  5. package/dist/core/chains/actions/get-chain-config.js.map +1 -1
  6. package/dist/core/chains/actions/get-default-solver.d.ts +1 -1
  7. package/dist/core/chains/actions/get-default-solver.js.map +1 -1
  8. package/dist/core/chains/actions/list-supported-chains.js.map +1 -1
  9. package/dist/core/chains/registry.d.ts.map +1 -1
  10. package/dist/core/chains/registry.js +52 -50
  11. package/dist/core/chains/registry.js.map +1 -1
  12. package/dist/core/chains/supported-chains.d.ts +3 -3
  13. package/dist/core/chains/supported-chains.d.ts.map +1 -1
  14. package/dist/core/chains/supported-chains.js +1 -1
  15. package/dist/core/chains/supported-chains.js.map +1 -1
  16. package/dist/core/chains/types.d.ts +18 -4
  17. package/dist/core/chains/types.d.ts.map +1 -1
  18. package/dist/core/chains/types.js.map +1 -1
  19. package/dist/core/config/create-config.d.ts +7 -7
  20. package/dist/core/config/create-config.d.ts.map +1 -1
  21. package/dist/core/config/create-config.js +39 -38
  22. package/dist/core/config/create-config.js.map +1 -1
  23. package/dist/core/config/merge-chain-config.js +1 -0
  24. package/dist/core/config/merge-chain-config.js.map +1 -1
  25. package/dist/index.d.ts +18 -9
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +318 -316
  28. package/dist/margin/calculate-margin-risk.d.ts +1 -1
  29. package/dist/margin/calculate-margin-risk.js.map +1 -1
  30. package/dist/notifications/types.d.ts +1 -1
  31. package/dist/notifications/types.d.ts.map +1 -1
  32. package/dist/quotes/close-planning/min-remaining-quantity.d.ts +1 -1
  33. package/dist/quotes/close-planning/min-remaining-quantity.js.map +1 -1
  34. package/dist/quotes/get-quote-history/query-document.d.ts +1 -1
  35. package/dist/quotes/get-quote-history/query-document.js.map +1 -1
  36. package/dist/quotes/get-quote-history/types.d.ts +2 -2
  37. package/dist/quotes/get-quote-history/types.js.map +1 -1
  38. package/dist/quotes/grouping/aggregate-metrics.d.ts +1 -1
  39. package/dist/quotes/grouping/aggregate-metrics.js.map +1 -1
  40. package/dist/quotes/open-price.d.ts +10 -10
  41. package/dist/quotes/open-price.d.ts.map +1 -1
  42. package/dist/quotes/open-price.js +1 -1
  43. package/dist/quotes/open-price.js.map +1 -1
  44. package/dist/quotes/upnl/calculate-quote-leverage.d.ts +8 -6
  45. package/dist/quotes/upnl/calculate-quote-leverage.d.ts.map +1 -1
  46. package/dist/quotes/upnl/calculate-quote-leverage.js.map +1 -1
  47. package/dist/shared/utils/query.d.ts +2 -2
  48. package/dist/shared/utils/query.js.map +1 -1
  49. package/dist/solvers/force-close/force-close-position.js +1 -1
  50. package/dist/solvers/force-close/force-close-position.js.map +1 -1
  51. package/dist/solvers/force-close/get-force-close-params.js +1 -1
  52. package/dist/solvers/force-close/get-force-close-params.js.map +1 -1
  53. package/dist/solvers/instant-close/shared/calldata.js +1 -1
  54. package/dist/solvers/instant-close/shared/calldata.js.map +1 -1
  55. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts +129 -0
  56. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts.map +1 -0
  57. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js +115 -0
  58. package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js.map +1 -0
  59. package/dist/solvers/instant-open/get-instant-open-fees/index.d.ts +3 -0
  60. package/dist/solvers/instant-open/get-instant-open-fees/index.d.ts.map +1 -0
  61. package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts +34 -0
  62. package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts.map +1 -0
  63. package/dist/solvers/instant-open/get-instant-open-fees/query.js +33 -0
  64. package/dist/solvers/instant-open/get-instant-open-fees/query.js.map +1 -0
  65. package/dist/solvers/instant-open/index.d.ts +1 -0
  66. package/dist/solvers/instant-open/index.d.ts.map +1 -1
  67. package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.d.ts.map +1 -1
  68. package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js +58 -55
  69. package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js.map +1 -1
  70. package/dist/solvers/instant-open/instant-open/types.d.ts +14 -4
  71. package/dist/solvers/instant-open/instant-open/types.d.ts.map +1 -1
  72. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts +45 -10
  73. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts.map +1 -1
  74. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js +157 -72
  75. package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js.map +1 -1
  76. package/dist/solvers/instant-open/shared/calldata.d.ts +35 -7
  77. package/dist/solvers/instant-open/shared/calldata.d.ts.map +1 -1
  78. package/dist/solvers/instant-open/shared/calldata.js +56 -14
  79. package/dist/solvers/instant-open/shared/calldata.js.map +1 -1
  80. package/dist/solvers/instant-open/shared/index.d.ts +1 -0
  81. package/dist/solvers/instant-open/shared/index.d.ts.map +1 -1
  82. package/dist/solvers/instant-open/shared/open-estimate-guard.d.ts +89 -0
  83. package/dist/solvers/instant-open/shared/open-estimate-guard.d.ts.map +1 -0
  84. package/dist/solvers/instant-open/shared/open-estimate-guard.js +52 -0
  85. package/dist/solvers/instant-open/shared/open-estimate-guard.js.map +1 -0
  86. package/dist/solvers/instant-open/shared/selectors.d.ts +46 -7
  87. package/dist/solvers/instant-open/shared/selectors.d.ts.map +1 -1
  88. package/dist/solvers/instant-open/shared/selectors.js +12 -5
  89. package/dist/solvers/instant-open/shared/selectors.js.map +1 -1
  90. package/dist/solvers/instant-open/shared/trade-math.d.ts +112 -8
  91. package/dist/solvers/instant-open/shared/trade-math.d.ts.map +1 -1
  92. package/dist/solvers/instant-open/shared/trade-math.js +59 -25
  93. package/dist/solvers/instant-open/shared/trade-math.js.map +1 -1
  94. package/dist/solvers/instant-open/shared/types.d.ts +32 -0
  95. package/dist/solvers/instant-open/shared/types.d.ts.map +1 -1
  96. package/dist/solvers/instant-open/shared/types.js.map +1 -1
  97. package/dist/solvers/markets/adapters/enigma-markets.d.ts.map +1 -1
  98. package/dist/solvers/markets/adapters/enigma-markets.js +38 -32
  99. package/dist/solvers/markets/adapters/enigma-markets.js.map +1 -1
  100. package/dist/solvers/markets/types.d.ts +15 -0
  101. package/dist/solvers/markets/types.d.ts.map +1 -1
  102. package/dist/solvers/revenue/get-solver-revenue.d.ts +11 -11
  103. package/dist/solvers/revenue/get-solver-revenue.d.ts.map +1 -1
  104. package/dist/solvers/revenue/get-solver-revenue.js +12 -12
  105. package/dist/solvers/revenue/get-solver-revenue.js.map +1 -1
  106. package/dist/solvers/revenue/query.d.ts +2 -2
  107. package/dist/solvers/revenue/query.d.ts.map +1 -1
  108. package/dist/solvers/revenue/query.js +1 -1
  109. package/dist/solvers/revenue/query.js.map +1 -1
  110. package/dist/solvers/revenue/to-solver-revenue.d.ts +3 -2
  111. package/dist/solvers/revenue/to-solver-revenue.d.ts.map +1 -1
  112. package/dist/solvers/revenue/to-solver-revenue.js.map +1 -1
  113. package/dist/solvers/shared/index.d.ts +1 -0
  114. package/dist/solvers/shared/index.d.ts.map +1 -1
  115. package/dist/solvers/shared/resolvers/resolve-market.d.ts +36 -5
  116. package/dist/solvers/shared/resolvers/resolve-market.d.ts.map +1 -1
  117. package/dist/solvers/shared/resolvers/resolve-market.js +30 -8
  118. package/dist/solvers/shared/resolvers/resolve-market.js.map +1 -1
  119. package/dist/solvers/shared/resolvers/types.d.ts +14 -0
  120. package/dist/solvers/shared/resolvers/types.d.ts.map +1 -1
  121. package/dist/solvers/shared/solver-close-fee.d.ts +76 -0
  122. package/dist/solvers/shared/solver-close-fee.d.ts.map +1 -0
  123. package/dist/solvers/shared/solver-close-fee.js +26 -0
  124. package/dist/solvers/shared/solver-close-fee.js.map +1 -0
  125. package/dist/solvers/symbols/to-solver-symbol.d.ts.map +1 -1
  126. package/dist/solvers/symbols/to-solver-symbol.js +36 -30
  127. package/dist/solvers/symbols/to-solver-symbol.js.map +1 -1
  128. package/dist/solvers/symbols/types.d.ts +22 -1
  129. package/dist/solvers/symbols/types.d.ts.map +1 -1
  130. package/dist/solvers/types/generated/enigma-solver.d.ts +8 -99
  131. package/dist/solvers/types/generated/enigma-solver.d.ts.map +1 -1
  132. package/dist/solvers/types/generated/enigma-solver.js +5 -11
  133. package/dist/solvers/types/generated/enigma-solver.js.map +1 -1
  134. package/dist/solvers/types/generated/rasa-solver.js +2 -2
  135. package/dist/solvers/types/generated/rasa-solver.js.map +1 -1
  136. package/dist/symmio-contracts/abi/index.d.ts +4 -4
  137. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.d.ts +499 -132
  138. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.d.ts.map +1 -1
  139. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/account-layer.js +591 -149
  140. package/dist/symmio-contracts/abi/v0.8.6/account-layer.js.map +1 -0
  141. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/index.d.ts.map +1 -1
  142. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.d.ts +24 -24
  143. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.d.ts.map +1 -1
  144. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/instant-layer.js +28 -28
  145. package/dist/symmio-contracts/abi/v0.8.6/instant-layer.js.map +1 -0
  146. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.d.ts +4724 -1019
  147. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.d.ts.map +1 -1
  148. package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/symmio.js +12750 -8308
  149. package/dist/symmio-contracts/abi/v0.8.6/symmio.js.map +1 -0
  150. package/dist/symmio-contracts/account-layer/actions/add-margin.js +1 -1
  151. package/dist/symmio-contracts/account-layer/actions/add-margin.js.map +1 -1
  152. package/dist/symmio-contracts/account-layer/actions/cancel-registration.js +1 -1
  153. package/dist/symmio-contracts/account-layer/actions/cancel-registration.js.map +1 -1
  154. package/dist/symmio-contracts/account-layer/actions/create-sub-accounts.js +1 -1
  155. package/dist/symmio-contracts/account-layer/actions/create-sub-accounts.js.map +1 -1
  156. package/dist/symmio-contracts/account-layer/actions/delete-sub-account.js +1 -1
  157. package/dist/symmio-contracts/account-layer/actions/delete-sub-account.js.map +1 -1
  158. package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js +1 -1
  159. package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js.map +1 -1
  160. package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js +1 -1
  161. package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js.map +1 -1
  162. package/dist/symmio-contracts/account-layer/actions/edit-account-name.js +1 -1
  163. package/dist/symmio-contracts/account-layer/actions/edit-account-name.js.map +1 -1
  164. package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js +1 -1
  165. package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js.map +1 -1
  166. package/dist/symmio-contracts/account-layer/actions/get-account-balance-info.js +1 -1
  167. package/dist/symmio-contracts/account-layer/actions/get-account-balance-info.js.map +1 -1
  168. package/dist/symmio-contracts/account-layer/actions/get-account-balance-of.js +1 -1
  169. package/dist/symmio-contracts/account-layer/actions/get-account-balance-of.js.map +1 -1
  170. package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js +1 -1
  171. package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js.map +1 -1
  172. package/dist/symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.js +1 -1
  173. package/dist/symmio-contracts/account-layer/actions/get-sub-account-virtual-nonce.js.map +1 -1
  174. package/dist/symmio-contracts/account-layer/actions/get-sub-account.js +1 -1
  175. package/dist/symmio-contracts/account-layer/actions/get-sub-account.js.map +1 -1
  176. package/dist/symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.js +1 -1
  177. package/dist/symmio-contracts/account-layer/actions/get-sub-accounts-count-of-user.js.map +1 -1
  178. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.js +1 -1
  179. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts-addresses.js.map +1 -1
  180. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts.js +1 -1
  181. package/dist/symmio-contracts/account-layer/actions/get-user-sub-accounts.js.map +1 -1
  182. package/dist/symmio-contracts/account-layer/actions/get-virtual-account.d.ts +1 -1
  183. package/dist/symmio-contracts/account-layer/actions/get-virtual-account.js +1 -1
  184. package/dist/symmio-contracts/account-layer/actions/get-virtual-account.js.map +1 -1
  185. package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js +1 -1
  186. package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js.map +1 -1
  187. package/dist/symmio-contracts/account-layer/actions/predict-next-virtual-account.js +1 -1
  188. package/dist/symmio-contracts/account-layer/actions/predict-next-virtual-account.js.map +1 -1
  189. package/dist/symmio-contracts/account-layer/actions/remove-margin.js +1 -1
  190. package/dist/symmio-contracts/account-layer/actions/remove-margin.js.map +1 -1
  191. package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js +1 -1
  192. package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js.map +1 -1
  193. package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.d.ts +1 -1
  194. package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.js +1 -1
  195. package/dist/symmio-contracts/account-layer/actions/simulate-add-margin.js.map +1 -1
  196. package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.d.ts +1 -1
  197. package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js +1 -1
  198. package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js.map +1 -1
  199. package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.d.ts +1 -1
  200. package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.js +1 -1
  201. package/dist/symmio-contracts/account-layer/actions/simulate-create-sub-accounts.js.map +1 -1
  202. package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.d.ts +1 -1
  203. package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.js +1 -1
  204. package/dist/symmio-contracts/account-layer/actions/simulate-delete-sub-account.js.map +1 -1
  205. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.d.ts +1 -1
  206. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.js +1 -1
  207. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-and-allocate-for-account.js.map +1 -1
  208. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.d.ts +1 -1
  209. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.js +1 -1
  210. package/dist/symmio-contracts/account-layer/actions/simulate-deposit-for-account.js.map +1 -1
  211. package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.d.ts +1 -1
  212. package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.js +1 -1
  213. package/dist/symmio-contracts/account-layer/actions/simulate-edit-account-name.js.map +1 -1
  214. package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.d.ts +1 -1
  215. package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.js +1 -1
  216. package/dist/symmio-contracts/account-layer/actions/simulate-remove-margin.js.map +1 -1
  217. package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.d.ts +1 -1
  218. package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js +1 -1
  219. package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js.map +1 -1
  220. package/dist/symmio-contracts/account-layer/types.d.ts +10 -10
  221. package/dist/symmio-contracts/account-layer/types.js.map +1 -1
  222. package/dist/symmio-contracts/instant-layer/actions/get-delegation-expiry.js +1 -1
  223. package/dist/symmio-contracts/instant-layer/actions/get-delegation-expiry.js.map +1 -1
  224. package/dist/symmio-contracts/instant-layer/actions/get-is-delegation-active.js +1 -1
  225. package/dist/symmio-contracts/instant-layer/actions/get-is-delegation-active.js.map +1 -1
  226. package/dist/symmio-contracts/instant-layer/actions/grant-delegation.js +1 -1
  227. package/dist/symmio-contracts/instant-layer/actions/grant-delegation.js.map +1 -1
  228. package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.d.ts +1 -1
  229. package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.js +1 -1
  230. package/dist/symmio-contracts/instant-layer/actions/simulate-grant-delegation.js.map +1 -1
  231. package/dist/symmio-contracts/symmio/actions/allocate.js +1 -1
  232. package/dist/symmio-contracts/symmio/actions/allocate.js.map +1 -1
  233. package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.d.ts +1 -1
  234. package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js +1 -1
  235. package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js.map +1 -1
  236. package/dist/symmio-contracts/symmio/actions/deallocate.js +1 -1
  237. package/dist/symmio-contracts/symmio/actions/deallocate.js.map +1 -1
  238. package/dist/symmio-contracts/symmio/actions/finalize-withdraw-request.js +1 -1
  239. package/dist/symmio-contracts/symmio/actions/finalize-withdraw-request.js.map +1 -1
  240. package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js +1 -1
  241. package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js.map +1 -1
  242. package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js +1 -1
  243. package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js.map +1 -1
  244. package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js +1 -1
  245. package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js.map +1 -1
  246. package/dist/symmio-contracts/symmio/actions/get-fee-for-user.js +1 -1
  247. package/dist/symmio-contracts/symmio/actions/get-fee-for-user.js.map +1 -1
  248. package/dist/symmio-contracts/symmio/actions/get-last-withdraw-request-id.js +1 -1
  249. package/dist/symmio-contracts/symmio/actions/get-last-withdraw-request-id.js.map +1 -1
  250. package/dist/symmio-contracts/symmio/actions/get-onchain-contract-markets.js +1 -1
  251. package/dist/symmio-contracts/symmio/actions/get-onchain-contract-markets.js.map +1 -1
  252. package/dist/symmio-contracts/symmio/actions/get-party-a-open-positions.js +1 -1
  253. package/dist/symmio-contracts/symmio/actions/get-party-a-open-positions.js.map +1 -1
  254. package/dist/symmio-contracts/symmio/actions/get-party-a-pending-quotes.js +1 -1
  255. package/dist/symmio-contracts/symmio/actions/get-party-a-pending-quotes.js.map +1 -1
  256. package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js +1 -1
  257. package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js.map +1 -1
  258. package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.d.ts.map +1 -1
  259. package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.js +10 -9
  260. package/dist/symmio-contracts/symmio/actions/get-pending-withdraw-requests.js.map +1 -1
  261. package/dist/symmio-contracts/symmio/actions/get-quote.js +1 -1
  262. package/dist/symmio-contracts/symmio/actions/get-quote.js.map +1 -1
  263. package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.d.ts.map +1 -1
  264. package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.js +9 -8
  265. package/dist/symmio-contracts/symmio/actions/get-withdraw-requests.js.map +1 -1
  266. package/dist/symmio-contracts/symmio/actions/get-withdrawable-time.js +1 -1
  267. package/dist/symmio-contracts/symmio/actions/get-withdrawable-time.js.map +1 -1
  268. package/dist/symmio-contracts/symmio/actions/initiate-withdraw.d.ts +1 -1
  269. package/dist/symmio-contracts/symmio/actions/initiate-withdraw.js +1 -1
  270. package/dist/symmio-contracts/symmio/actions/initiate-withdraw.js.map +1 -1
  271. package/dist/symmio-contracts/symmio/actions/request-cancel-withdraw.js +1 -1
  272. package/dist/symmio-contracts/symmio/actions/request-cancel-withdraw.js.map +1 -1
  273. package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js +1 -1
  274. package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js.map +1 -1
  275. package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js +1 -1
  276. package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js.map +1 -1
  277. package/dist/symmio-contracts/symmio/actions/simulate-allocate.js +1 -1
  278. package/dist/symmio-contracts/symmio/actions/simulate-allocate.js.map +1 -1
  279. package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js +1 -1
  280. package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js.map +1 -1
  281. package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js +1 -1
  282. package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js.map +1 -1
  283. package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.d.ts +1 -1
  284. package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js +1 -1
  285. package/dist/symmio-contracts/symmio/actions/simulate-finalize-withdraw-request.js.map +1 -1
  286. package/dist/symmio-contracts/symmio/actions/simulate-initiate-withdraw.js +1 -1
  287. package/dist/symmio-contracts/symmio/actions/simulate-initiate-withdraw.js.map +1 -1
  288. package/dist/symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js +1 -1
  289. package/dist/symmio-contracts/symmio/actions/simulate-request-cancel-withdraw.js.map +1 -1
  290. package/dist/symmio-contracts/symmio/actions/withdraw.d.ts +1 -1
  291. package/dist/symmio-contracts/symmio/actions/withdraw.js.map +1 -1
  292. package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js +1 -1
  293. package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js.map +1 -1
  294. package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.d.ts +1 -1
  295. package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js +1 -1
  296. package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js.map +1 -1
  297. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.d.ts +214 -0
  298. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.d.ts.map +1 -0
  299. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.js +248 -0
  300. package/dist/symmio-contracts/symmio/internal/withdraw-requests-v0-8-5.js.map +1 -0
  301. package/dist/symmio-contracts/symmio/parts.d.ts +1 -1
  302. package/dist/symmio-contracts/symmio/parts.js.map +1 -1
  303. package/dist/symmio-contracts/symmio/types.d.ts +29 -19
  304. package/dist/symmio-contracts/symmio/types.d.ts.map +1 -1
  305. package/dist/symmio-contracts/symmio/types.js.map +1 -1
  306. package/dist/tpsl/grouping/notional.js +6 -6
  307. package/dist/websocket/tpsl/parse-tpsl-frame.d.ts +1 -1
  308. package/dist/websocket/tpsl/parse-tpsl-frame.js.map +1 -1
  309. package/dist/websocket/tpsl/watch-tpsl-notifications.d.ts +1 -1
  310. package/dist/websocket/tpsl/watch-tpsl-notifications.js.map +1 -1
  311. package/package.json +1 -1
  312. package/dist/solvers/add-solver-whitelist/add-solver-whitelist.d.ts +0 -27
  313. package/dist/solvers/add-solver-whitelist/add-solver-whitelist.d.ts.map +0 -1
  314. package/dist/solvers/add-solver-whitelist/add-solver-whitelist.js +0 -25
  315. package/dist/solvers/add-solver-whitelist/add-solver-whitelist.js.map +0 -1
  316. package/dist/solvers/add-solver-whitelist/index.d.ts +0 -3
  317. package/dist/solvers/add-solver-whitelist/index.d.ts.map +0 -1
  318. package/dist/solvers/add-solver-whitelist/query.d.ts +0 -19
  319. package/dist/solvers/add-solver-whitelist/query.d.ts.map +0 -1
  320. package/dist/solvers/add-solver-whitelist/query.js +0 -12
  321. package/dist/solvers/add-solver-whitelist/query.js.map +0 -1
  322. package/dist/symmio-contracts/abi/v0.8.5/account-layer.js.map +0 -1
  323. package/dist/symmio-contracts/abi/v0.8.5/instant-layer.js.map +0 -1
  324. package/dist/symmio-contracts/abi/v0.8.5/symmio.js.map +0 -1
  325. /package/dist/symmio-contracts/abi/{v0.8.5 → v0.8.6}/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"enigma-solver.d.ts","sourceRoot":"","sources":["../../../../src/solvers/types/generated/enigma-solver.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG/D,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C,mCAAmC,CAAC,EAAE,MAAM,CAAC;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,M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,GAAG,aAAa,CAAC,2BAA2B,EAAE,CAAC,CAAC"}
@@ -24,32 +24,26 @@ var t = (t) => e.get("/contract-symbols", t), n = (t) => e.get("/error_codes", t
24
24
  ...t,
25
25
  ...n?.params
26
26
  }
27
- }), p = (t, n) => e.get(`/notional_cap/${t}`, n), m = (t, n) => e.get("/revenue", {
27
+ }), p = (t, n) => e.get(`/notional_cap/${t}`, n), m = (t, n) => e.get("/revenue/records", {
28
28
  ...n,
29
29
  params: {
30
30
  ...t,
31
31
  ...n?.params
32
32
  }
33
- }), h = (t, n) => e.get("/revenue/records", {
34
- ...n,
35
- params: {
36
- ...t,
37
- ...n?.params
38
- }
39
- }), g = (t, n, r) => e.get(`/revenue/${t}`, {
33
+ }), h = (t, n, r) => e.get(`/revenue/${t}`, {
40
34
  ...r,
41
35
  params: {
42
36
  ...n,
43
37
  ...r?.params
44
38
  }
45
- }), _ = (t, n) => e.get("/symbols", {
39
+ }), g = (t, n) => e.get("/symbols", {
46
40
  ...n,
47
41
  params: {
48
42
  ...t,
49
43
  ...n?.params
50
44
  }
51
- }), v = (t, n) => e.get(`/trade-volume/${t}`, n);
45
+ }), _ = (t, n) => e.get(`/trade-volume/${t}`, n);
52
46
  //#endregion
53
- export { t as getContractSymbols, n as getErrorCodes, r as getEstimatedPrice, i as getGetFundingInfo, a as getGetLockedParamsSymbol, o as getGetMarketInfo, s as getInstantCloseAccountAddress, c as getInstantOpenAccountAddress, l as getInstantQuoteIdTempQuoteId, f as getNotionalCap, p as getNotionalCapSymbolId, m as getRevenue, h as getRevenueRecords, g as getRevenueSymbolId, _ as getSymbols, v as getTradeVolumeSymbolId, u as postInstantTradeInstantClose, d as postInstantTradeInstantOpen };
47
+ export { t as getContractSymbols, n as getErrorCodes, r as getEstimatedPrice, i as getGetFundingInfo, a as getGetLockedParamsSymbol, o as getGetMarketInfo, s as getInstantCloseAccountAddress, c as getInstantOpenAccountAddress, l as getInstantQuoteIdTempQuoteId, f as getNotionalCap, p as getNotionalCapSymbolId, m as getRevenueRecords, h as getRevenueSymbolId, g as getSymbols, _ as getTradeVolumeSymbolId, u as postInstantTradeInstantClose, d as postInstantTradeInstantOpen };
54
48
 
55
49
  //# sourceMappingURL=enigma-solver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enigma-solver.js","names":[],"sources":["../../../../src/solvers/types/generated/enigma-solver.ts"],"sourcesContent":["/**\n * Generated by orval v8.14.0 🍺\n * Do not edit manually.\n * Low Cap Solver API\n * API for Low Cap Solver trading system\n * OpenAPI spec version: 1.0\n */\nimport type { AxiosRequestConfig, AxiosResponse } from \"axios\";\nimport axios from \"axios\";\n\nexport interface ApiContractSymbol {\n asset?: string;\n funding_rate_epoch_duration?: string;\n funding_rate_window_time?: string;\n hedger_fee_close?: string;\n hedger_fee_close_early_rate?: string;\n hedger_fee_close_early_threshold?: string;\n hedger_fee_close_standard_threshold?: string;\n hedger_fee_open?: string;\n is_valid?: boolean;\n lot_size?: string;\n max_funding_rate?: string;\n max_leverage?: string;\n max_notional_value?: number;\n max_quantity?: string;\n min_acceptable_portion_lf?: string;\n min_acceptable_quote_value?: string;\n min_notional_value?: string;\n name?: string;\n price_precision?: number;\n quantity_precision?: number;\n rfq_allowed?: boolean;\n /** \"all\", \"long\", or \"short\" */\n side?: string;\n /** 0: Disabled, 1: Close only, 2: Open only, 3: Fully enabled */\n state?: number;\n symbol?: string;\n symbol_id?: number;\n /** From price service GetSymbolsInfo */\n token_address?: string;\n trading_fee?: string;\n}\n\nexport interface ApiContractSymbolsResponse {\n count?: number;\n symbols?: ApiContractSymbol[];\n}\n\nexport type ApiCustomTableDataItem = { [key: string]: unknown };\n\nexport interface ApiCustomTableHeader {\n key?: string;\n label?: string;\n}\n\nexport interface ApiCustomTable {\n data?: ApiCustomTableDataItem[];\n headers?: ApiCustomTableHeader[];\n title?: string;\n}\n\nexport interface ApiDailyTradeVolumeResponse {\n timestamp?: string;\n volume?: string;\n}\n\nexport interface ApiFundingInfoItem {\n funding_rate_epoch_duration?: number;\n next_funding_rate_long?: string;\n next_funding_rate_short?: string;\n next_funding_time?: number;\n}\n\nexport interface ApiFundingInfoBySymbolsResponse {\n [key: string]: ApiFundingInfoItem;\n}\n\nexport interface ApiFundingInfoResponse {\n [key: string]: ApiFundingInfoItem;\n}\n\nexport enum ApiGaslessAction {\n GaslessActionAddMargin = \"add_margin\",\n GaslessActionRemoveMargin = \"remove_margin\",\n GaslessActionDelegate = \"delegate_access_for_session_key\",\n}\nexport enum ApiGaslessRequestAction {\n add_margin = \"add_margin\",\n remove_margin = \"remove_margin\",\n delegate_access_for_session_key = \"delegate_access_for_session_key\",\n}\nexport interface Eip712AccountJSON {\n addr: string;\n isPartyB?: boolean;\n}\n\nexport interface Eip712DelegationInfoJSON {\n account: Eip712AccountJSON;\n delegatedSigner: string;\n expiryTimestamp: number;\n /** @minItems 1 */\n selectors: string[];\n}\n\nexport interface Eip712ReplayHeaderJSON {\n deadline: number;\n nonce?: number;\n salt: string;\n}\n\nexport interface Eip712SignedDelegationJSON {\n delegationInfo: Eip712DelegationInfoJSON;\n replayAttackHeader: Eip712ReplayHeaderJSON;\n}\n\nexport interface Eip712DelegationWithSigJSON {\n signature: string;\n signedDelegation: Eip712SignedDelegationJSON;\n}\n\nexport interface Eip712FlexFieldJSON {\n authorizedFlexFiller?: string;\n length?: number;\n offset?: number;\n}\n\nexport interface Eip712SignedOperationJSON {\n callData: string;\n flexFields?: Eip712FlexFieldJSON[];\n maxUses?: number;\n replayAttackHeader: Eip712ReplayHeaderJSON;\n signer: string;\n signerAccount: Eip712AccountJSON;\n target: string;\n}\n\nexport interface Eip712OperationWithSigJSON {\n signature: string;\n signedOperation: Eip712SignedOperationJSON;\n}\n\nexport interface ApiGaslessRequest {\n action: ApiGaslessRequestAction;\n delegation?: Eip712DelegationWithSigJSON;\n operation?: Eip712OperationWithSigJSON;\n}\n\nexport interface ApiGaslessResponse {\n action?: ApiGaslessAction;\n blockHash?: string;\n blockNumber?: number;\n dailyRemaining?: number;\n gasUsed?: number;\n partyA?: string;\n transactionHash?: string;\n}\n\nexport interface ApiGetEstimatedPriceResponse {\n price?: string;\n}\n\nexport interface ApiGetInstantCloseResponse {\n close_price?: string;\n quantity_to_close?: string;\n quote_id?: number;\n}\n\nexport interface ApiGetInstantOpenResponse {\n cva?: string;\n lf?: string;\n order_type?: number;\n partyAmm?: string;\n partyBmm?: string;\n party_a_address?: string;\n position_type?: number;\n quantity?: string;\n requested_open_price?: string;\n symbol_id?: number;\n temp_quote_id?: number;\n /** UUID is the frontend-provided UUID from the V2 sendQuote metadata */\n uuid?: string;\n}\n\nexport interface ApiGetQuoteIdResponse {\n quote_id?: number;\n}\n\nexport interface ApiQuoteInfo {\n affiliate?: string;\n avg_closed_price?: string;\n block_number?: number;\n closed_amount?: string;\n create_timestamp?: string;\n cva?: string;\n deadline?: string;\n id?: string;\n initial_cva?: string;\n initial_lf?: string;\n initial_opened_price?: string;\n initial_party_amm?: string;\n initial_party_bmm?: string;\n last_funding_payment_timestamp?: string;\n lf?: string;\n market_price?: string;\n max_funding_rate?: string;\n opened_price?: string;\n order_type?: number;\n parent_id?: string;\n party_a?: string;\n party_amm?: string;\n party_b?: string;\n party_bmm?: string;\n position_type?: number;\n quantity?: string;\n quantity_to_close?: string;\n quote_status?: number;\n requested_close_price?: string;\n requested_open_price?: string;\n status_modify_timestamp?: string;\n symbol_id?: string;\n trading_fee?: string;\n}\n\nexport interface ApiGetQuotesResponse {\n count?: number;\n quotes?: ApiQuoteInfo[];\n}\n\nexport interface ApiPeriodStats {\n \"1h\"?: number;\n \"1w\"?: number;\n \"24h\"?: number;\n \"5m\"?: number;\n}\n\nexport interface ApiStatsMetrics {\n \"Completed Closes\"?: ApiPeriodStats;\n \"Completed Opens\"?: ApiPeriodStats;\n \"Instant Closes\"?: ApiPeriodStats;\n \"Instant Opens\"?: ApiPeriodStats;\n}\n\nexport interface ApiGetStatsResponse {\n custom_tables?: ApiCustomTable[];\n periodic_stats?: ApiStatsMetrics;\n}\n\nexport interface ApiGetTempQuoteStatusResponse {\n completion_source?: string;\n cva?: string;\n error_category?: string;\n /** Populated only when State is \"Failed\" or \"Cancelled\". ErrorCode mirrors\n * the synchronous /instant_trade contract; ErrorCategory is the stable\n * bucket the frontend maps to user-facing copy. See\n * docs/reference/instant-trade-errors.md. */\n error_code?: number;\n error_detail?: string;\n error_message?: string;\n lf?: string;\n margin?: string;\n max_funding_rate?: string;\n opened_price?: string;\n order_type?: number;\n party_a_account?: string;\n party_amm?: string;\n position_type?: number;\n price?: string;\n quantity?: string;\n quote_id?: number;\n recovered_at?: string;\n recovery_log_index?: number;\n recovery_reason?: string;\n recovery_tx_hash?: string;\n state?: string;\n sub_account?: string;\n symbol_id?: number;\n}\n\nexport interface ApiLockedParamsBySymbolIdResponse {\n cva?: string;\n leverage?: string;\n lf?: string;\n partyAmm?: string;\n partyBmm?: string;\n}\n\nexport interface ApiNotionalCapBySymbolResponse {\n available_to_long?: number;\n available_to_short?: number;\n error?: string;\n open_interest?: number;\n price?: number;\n symbol?: string;\n symbol_id?: number;\n token_balance?: number;\n total_cap?: number;\n usdc_balance?: number;\n used?: number;\n used_tokens?: number;\n}\n\nexport interface ApiNotionalCapAllSymbolsResponse {\n count?: number;\n symbols?: ApiNotionalCapBySymbolResponse[];\n total_open_interest?: number;\n total_used?: number;\n}\n\nexport interface ApiPostInstantOpenResponse {\n partyBmm?: string;\n temp_quote_id?: number;\n}\n\nexport interface ApiRevenueBySymbolItem {\n funding_revenue?: string;\n hedger_fee_revenue?: string;\n record_count?: number;\n symbol?: string;\n symbol_id?: number;\n total_revenue?: string;\n}\n\nexport interface ApiRevenueBatchPerSymbolResponse {\n funding_revenue?: string;\n hedger_fee_revenue?: string;\n record_count?: number;\n symbols?: ApiRevenueBySymbolItem[];\n total_revenue?: string;\n}\n\nexport interface ApiRevenueRecordItem {\n amount?: string;\n created_at?: string;\n id?: number;\n symbol_id?: number;\n}\n\nexport interface ApiRevenueRecordsResponse {\n count?: number;\n records?: ApiRevenueRecordItem[];\n}\n\nexport interface ApiRevenueResponse {\n funding_revenue?: string;\n hedger_fee_revenue?: string;\n record_count?: number;\n total_revenue?: string;\n}\n\nexport interface ApiSymbolResponse {\n asset?: string;\n funding_rate_epoch_duration?: string;\n funding_rate_window_time?: string;\n hedger_fee_close?: string;\n hedger_fee_close_early_rate?: string;\n hedger_fee_close_early_threshold?: string;\n hedger_fee_close_standard_threshold?: string;\n hedger_fee_open?: string;\n is_valid?: boolean;\n lot_size?: string;\n max_funding_rate?: string;\n max_leverage?: string;\n max_notional_value?: number;\n max_quantity?: string;\n min_acceptable_portion_lf?: string;\n min_acceptable_quote_value?: string;\n min_notional_value?: string;\n name?: string;\n price_precision?: number;\n quantity_precision?: number;\n rfq_allowed?: boolean;\n state_long?: number;\n state_short?: number;\n symbol?: string;\n symbol_id?: number;\n token_address?: string;\n trading_fee?: string;\n}\n\nexport interface ApiSymbolsResponse {\n count?: number;\n symbols?: ApiSymbolResponse[];\n}\n\nexport interface ApiV2InstantCloseRequest {\n /**\n * @minItems 1\n * @maxItems 100\n */\n operations: Eip712OperationWithSigJSON[];\n}\n\nexport interface ApiV2InstantOpenRequest {\n addMargin?: Eip712OperationWithSigJSON;\n sendQuote: Eip712OperationWithSigJSON;\n}\n\nexport enum ClientErrorCategory {\n CategoryValidation = \"validation\",\n CategoryAuthentication = \"authentication\",\n CategoryAuthorization = \"authorization\",\n CategorySlippage = \"slippage\",\n CategoryLiquidity = \"liquidity\",\n CategoryAccountState = \"account_state\",\n CategorySymbolState = \"symbol_state\",\n CategoryRateLimit = \"rate_limit\",\n CategoryTimeout = \"timeout\",\n CategoryInternal = \"internal\",\n CategoryUnavailable = \"unavailable\",\n}\nexport interface ClientErrorCodeInfo {\n category?: ClientErrorCategory;\n code?: number;\n http_status?: number;\n message?: string;\n}\n\nexport interface XfiberErrorResponse {\n code?: number;\n error_detail?: string;\n error_message?: string;\n}\n\nexport type GetErrorCodes200 = { [key: string]: string };\n\nexport type GetEstimatedPriceParams = {\n /**\n * Symbol ID\n */\n symbol_id: number;\n /**\n * Order quantity\n */\n quantity: string;\n /**\n * Position type (long/short)\n */\n position_type: string;\n /**\n * Entry type (open/close)\n */\n entry: string;\n /**\n * Price\n */\n price: string;\n};\n\nexport type GetFundingInfoParams = {\n /**\n * Symbol IDs (omit for all)\n */\n symbol_ids?: number[];\n};\n\nexport type GetGetFundingInfoParams = {\n /**\n * Symbol names (omit for all)\n */\n symbols?: string[];\n};\n\nexport type GetGetLockedParamsSymbolParams = {\n /**\n * Leverage\n */\n leverage: number;\n};\n\nexport type GetGetMarketInfo200 = { [key: string]: unknown };\n\nexport type GetInstantTradeEip712Config200 = { [key: string]: unknown };\n\nexport type GetMarketInfo200 = { [key: string]: unknown };\n\nexport type GetNotionalCapParams = {\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n};\n\nexport type GetNotionalCapBatchParams = {\n /**\n * Symbol IDs (max 100)\n */\n symbol_ids: number[];\n};\n\nexport type GetQuotesParams = {\n /**\n * Symbol ID filter\n */\n symbol_id?: number;\n /**\n * Party A address filter\n */\n party_a?: string;\n /**\n * Quote status filter (1-7)\n */\n status?: number;\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n};\n\nexport type GetRevenueParams = {\n /**\n * Preset range (1h, 24h, 7d, 30d, lifetime)\n */\n time_range?: string;\n /**\n * Revenue type filter (HedgerFee, FundingRate)\n */\n type?: string;\n /**\n * Unix timestamp start (overrides time_range)\n */\n start_time?: number;\n /**\n * Unix timestamp end\n */\n end_time?: number;\n};\n\nexport type GetRevenueBatchParams = {\n /**\n * Symbol IDs (max 100)\n */\n symbol_ids: number[];\n /**\n * Preset range (1h, 24h, 7d, 30d, lifetime)\n */\n time_range?: string;\n /**\n * Revenue type filter (HedgerFee, FundingRate)\n */\n type?: string;\n /**\n * Unix timestamp start (overrides time_range)\n */\n start_time?: number;\n /**\n * Unix timestamp end\n */\n end_time?: number;\n};\n\nexport type GetRevenuePerSymbolParams = {\n /**\n * Symbol IDs (max 100)\n */\n symbol_ids: number[];\n /**\n * Preset range (1h, 24h, 7d, 30d, lifetime)\n */\n time_range?: string;\n /**\n * Revenue type filter (HedgerFee, FundingRate)\n */\n type?: string;\n /**\n * Unix timestamp start (overrides time_range)\n */\n start_time?: number;\n /**\n * Unix timestamp end\n */\n end_time?: number;\n};\n\nexport type GetRevenueRecordsParams = {\n /**\n * Last seen revenue record ID\n */\n id?: number;\n /**\n * Optional symbol IDs (max 100)\n */\n symbolIds?: number[];\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n};\n\nexport type GetRevenueSymbolIdParams = {\n /**\n * Preset range (1h, 24h, 7d, 30d, lifetime)\n */\n time_range?: string;\n /**\n * Revenue type filter (HedgerFee, FundingRate)\n */\n type?: string;\n /**\n * Unix timestamp start (overrides time_range)\n */\n start_time?: number;\n /**\n * Unix timestamp end\n */\n end_time?: number;\n};\n\nexport type GetStatsParams = {\n /**\n * Filter response to specific stat types (periodic_stats, single_metrics, custom_tables, alerts)\n */\n include?: string[];\n};\n\nexport type GetSymbolsParams = {\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n /**\n * Symbol ID\n */\n symbol_id?: number;\n /**\n * Case-insensitive match on symbol name\n */\n search?: string;\n /**\n * Asset exact match\n */\n asset?: string;\n /**\n * Token address exact match\n */\n token_address?: string;\n /**\n * Validity filter: true, false, any (default true)\n */\n is_valid?: string;\n /**\n * Long-side state filter: disabled, close_only, open_only, enabled\n */\n state_long?: string;\n /**\n * Short-side state filter: disabled, close_only, open_only, enabled\n */\n state_short?: string;\n};\n\n/**\n * @summary Get contract symbols\n */\nexport const getContractSymbols = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiContractSymbolsResponse>> => {\n return axios.get(`/contract-symbols`, options);\n};\n\n/**\n * @summary Get API error codes\n */\nexport const getErrorCodes = (options?: AxiosRequestConfig): Promise<AxiosResponse<GetErrorCodes200>> => {\n return axios.get(`/error_codes`, options);\n};\n\n/**\n * Returns solver-registered error codes (>= 3000) with message, category, and http_status. Use the flat /error_codes endpoint for backward-compatible code→message lookups.\n * @summary Get detailed API error codes\n */\nexport const getErrorCodesDetailed = (options?: AxiosRequestConfig): Promise<AxiosResponse<ClientErrorCodeInfo[]>> => {\n return axios.get(`/error_codes/detailed`, options);\n};\n\n/**\n * Get estimated execution price from inventory service (dry-run mode)\n * @summary Get estimated price for order\n */\nexport const getEstimatedPrice = (\n params: GetEstimatedPriceParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetEstimatedPriceResponse>> => {\n return axios.get(`/estimated-price`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get funding info by symbol ID\n */\nexport const getFundingInfo = (\n params?: GetFundingInfoParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiFundingInfoResponse>> => {\n return axios.get(`/funding-info`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @deprecated\n * @summary Get funding info by symbol name\n */\nexport const getGetFundingInfo = (\n params?: GetGetFundingInfoParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiFundingInfoBySymbolsResponse>> => {\n return axios.get(`/get_funding_info`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get locked params by symbol\n */\nexport const getGetLockedParamsSymbol = (\n symbol: string,\n params: GetGetLockedParamsSymbolParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiLockedParamsBySymbolIdResponse>> => {\n return axios.get(`/get_locked_params/${symbol}`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns a JSON object whose keys are symbol names (dynamic — sourced from contract-symbol data) mapping to {trading_volume, lifetime_value}, plus top-level aggregate fields total_value_24h and total_lifetime_value.\n * @deprecated\n * @summary Get 24h market info by symbol name\n */\nexport const getGetMarketInfo = (options?: AxiosRequestConfig): Promise<AxiosResponse<GetGetMarketInfo200>> => {\n return axios.get(`/get_market_info`, options);\n};\n\n/**\n * Returns all pending instant close orders for a given SubAccount address.\n * @summary Get pending instant close orders\n */\nexport const getInstantCloseAccountAddress = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetInstantCloseResponse[]>> => {\n return axios.get(`/instant_close/${accountAddress}`, options);\n};\n\n/**\n * Returns all pending instant open orders for a given SubAccount address.\n * @summary Get pending instant open orders\n */\nexport const getInstantOpenAccountAddress = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetInstantOpenResponse[]>> => {\n return axios.get(`/instant_open/${accountAddress}`, options);\n};\n\n/**\n * @summary Get quote ID by temp ID\n */\nexport const getInstantQuoteIdTempQuoteId = (\n tempQuoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetQuoteIdResponse>> => {\n return axios.get(`/instant_quote_id/${tempQuoteId}`, options);\n};\n\n/**\n * Returns the EIP-712 domain, domain separator, type hashes, and full type definitions that clients must use when constructing signatures for V2 instant open/close operations. No authentication required.\n * @summary Get V2 EIP-712 signing config\n */\nexport const getInstantTradeEip712Config = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetInstantTradeEip712Config200>> => {\n return axios.get(`/instant_trade/eip712-config`, options);\n};\n\n/**\n * Relay a single user-signed EIP-712 operation so the solver wallet executes it on-chain. The user pays no native gas. Identity is proven by EIP-712 signature recovery; no JWT required. Synchronous — returns the on-chain tx hash on success or a clear error on failure.\n *\n * **Supported actions** (set via the `action` field):\n * - `add_margin` — top up the allocated balance of an existing VirtualAccount via AccountLayer.addMargin. The signer must own the VA (its parent SubAccount must equal the signer's SubAccount). Requires `operation`.\n * - `remove_margin` — withdraw allocated margin from an existing VirtualAccount via AccountLayer.removeMargin. Requires `operation`.\n * - `delegate_access_for_session_key` — grant a delegate signer access for one or more allowlisted selectors via InstantLayer.grantBatchDelegationBySig. Requires `delegation`.\n *\n * Exactly one of `operation` or `delegation` must be present per request. Delegation selectors are restricted to: `sendQuoteWithAffiliateAndData`, `requestToClosePosition`, `addMarginToNextVA`, `addMargin`, `removeMargin`, `allocate`, `deallocate`, `safeDeallocate`, `initiateWithdraw`, `finalizeWithdrawRequest`, `requestCancelWithdraw`.\n *\n * Each PartyA is limited to `GASLESS_DAILY_MAX` accepted attempts per UTC day (default 5). The counter is consumed on every attempt past basic validation, regardless of downstream success or failure; the `dailyRemaining` field in the response reports the user's remaining quota.\n * @summary Submit a gasless operation\n */\nexport const postInstantTradeExecuteOperation = (\n apiGaslessRequest: ApiGaslessRequest,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGaslessResponse>> => {\n return axios.post(`/instant_trade/execute-operation`, apiGaslessRequest, options);\n};\n\n/**\n * Submit one or more V2 close operations (requestToClosePosition), one per quote. No JWT required — identity is proven by EIP-712 signature recovery. On any failure the whole request is rejected. Processing happens asynchronously.\n * @summary Submit V2 instant close\n */\nexport const postInstantTradeInstantClose = (\n apiV2InstantCloseRequest: ApiV2InstantCloseRequest,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<void>> => {\n return axios.post(`/instant_trade/instant_close`, apiV2InstantCloseRequest, options);\n};\n\n/**\n * Submit a V2 instant open request with pre-signed EIP-712 PartyA operations (addMargin + sendQuote). No JWT required — identity is proven by EIP-712 signature recovery. Processing (hedge, muon sigs, symmio-api call) happens asynchronously.\n * @summary Submit V2 instant open\n */\nexport const postInstantTradeInstantOpen = (\n apiV2InstantOpenRequest: ApiV2InstantOpenRequest,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiPostInstantOpenResponse>> => {\n return axios.post(`/instant_trade/instant_open`, apiV2InstantOpenRequest, options);\n};\n\n/**\n * Returns a JSON object whose keys are symbol IDs mapping to {trading_volume, lifetime_value}, plus top-level aggregate fields total_value_24h and total_lifetime_value.\n * @summary Get 24h market info by symbol ID\n */\nexport const getMarketInfo = (options?: AxiosRequestConfig): Promise<AxiosResponse<GetMarketInfo200>> => {\n return axios.get(`/market-info`, options);\n};\n\n/**\n * @summary Get notional caps for all symbols\n */\nexport const getNotionalCap = (\n params?: GetNotionalCapParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiNotionalCapAllSymbolsResponse>> => {\n return axios.get(`/notional_cap`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get notional caps for multiple symbols\n */\nexport const getNotionalCapBatch = (\n params: GetNotionalCapBatchParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiNotionalCapAllSymbolsResponse>> => {\n return axios.get(`/notional_cap/batch`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get notional cap by symbol\n */\nexport const getNotionalCapSymbolId = (\n symbolId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiNotionalCapBySymbolResponse>> => {\n return axios.get(`/notional_cap/${symbolId}`, options);\n};\n\n/**\n * Get quotes from the event listener database with optional filters\n * @summary Get quotes from event listener\n */\nexport const getQuotes = (\n params?: GetQuotesParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetQuotesResponse>> => {\n return axios.get(`/quotes`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns total, hedger-fee, and funding-rate revenue. Filterable by time_range or custom start/end timestamps.\n * @summary Get aggregated revenue for all symbols\n */\nexport const getRevenue = (\n params?: GetRevenueParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiRevenueResponse>> => {\n return axios.get(`/revenue`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns total, hedger-fee, and funding-rate revenue for a set of symbols. Pass symbol_ids as a comma-separated list or repeated query params (max 100).\n * @summary Get aggregated revenue for multiple symbols\n */\nexport const getRevenueBatch = (\n params: GetRevenueBatchParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiRevenueResponse>> => {\n return axios.get(`/revenue/batch`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns aggregated revenue totals AND a per-symbol breakdown for the requested symbol_ids. Each item in `symbols` carries symbol_id, symbol name, and the same revenue dimensions returned at the top level. Symbols with no rows in the filter window are omitted; entries follow the request's symbol_ids order. Pass symbol_ids as a comma-separated list or repeated query params (max 100).\n * @summary Get aggregated revenue plus per-symbol breakdown\n */\nexport const getRevenuePerSymbol = (\n params: GetRevenuePerSymbolParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiRevenueBatchPerSymbolResponse>> => {\n return axios.get(`/revenue/per-symbol`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns revenue rows with id greater than the supplied last-seen id. Results are ordered by id ascending before offset/limit pagination. `count` is the total matching record count before pagination. Pass symbolIds as a comma-separated list or repeated query params to filter by symbol; omit it or pass it empty to disable symbol filtering.\n * @summary Get incremental revenue records\n */\nexport const getRevenueRecords = (\n params?: GetRevenueRecordsParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiRevenueRecordsResponse>> => {\n return axios.get(`/revenue/records`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns total, hedger-fee, and funding-rate revenue for one symbol. Filterable by time_range or custom timestamps.\n * @summary Get aggregated revenue for a specific symbol\n */\nexport const getRevenueSymbolId = (\n symbolId: number,\n params?: GetRevenueSymbolIdParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiRevenueResponse>> => {\n return axios.get(`/revenue/${symbolId}`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Get instant trading statistics for different time periods (5m, 1h, 24h, 1w) grouped by metric type\n * @summary Get trading statistics\n */\nexport const getStats = (\n params?: GetStatsParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetStatsResponse>> => {\n return axios.get(`/stats`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns paginated symbols with optional filters. is_valid defaults to true; pass is_valid=any to include valid and invalid symbols.\n * @summary Get symbols\n */\nexport const getSymbols = (\n params?: GetSymbolsParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiSymbolsResponse>> => {\n return axios.get(`/symbols`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get temp quote status\n */\nexport const getTempQuoteStatusTempQuoteId = (\n tempQuoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetTempQuoteStatusResponse>> => {\n return axios.get(`/temp_quote_status/${tempQuoteId}`, options);\n};\n\n/**\n * Returns configured last N daily trade volume rows for one symbol, ordered by day ascending.\n * @summary Get daily trade volume for one market\n */\nexport const getTradeVolumeSymbolId = (\n symbolId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiDailyTradeVolumeResponse[]>> => {\n return axios.get(`/trade-volume/${symbolId}`, options);\n};\n\nexport type GetContractSymbolsResult = AxiosResponse<ApiContractSymbolsResponse>;\nexport type GetErrorCodesResult = AxiosResponse<GetErrorCodes200>;\nexport type GetErrorCodesDetailedResult = AxiosResponse<ClientErrorCodeInfo[]>;\nexport type GetEstimatedPriceResult = AxiosResponse<ApiGetEstimatedPriceResponse>;\nexport type GetFundingInfoResult = AxiosResponse<ApiFundingInfoResponse>;\nexport type GetGetFundingInfoResult = AxiosResponse<ApiFundingInfoBySymbolsResponse>;\nexport type GetGetLockedParamsSymbolResult = AxiosResponse<ApiLockedParamsBySymbolIdResponse>;\nexport type GetGetMarketInfoResult = AxiosResponse<GetGetMarketInfo200>;\nexport type GetInstantCloseAccountAddressResult = AxiosResponse<ApiGetInstantCloseResponse[]>;\nexport type GetInstantOpenAccountAddressResult = AxiosResponse<ApiGetInstantOpenResponse[]>;\nexport type GetInstantQuoteIdTempQuoteIdResult = AxiosResponse<ApiGetQuoteIdResponse>;\nexport type GetInstantTradeEip712ConfigResult = AxiosResponse<GetInstantTradeEip712Config200>;\nexport type PostInstantTradeExecuteOperationResult = AxiosResponse<ApiGaslessResponse>;\nexport type PostInstantTradeInstantCloseResult = AxiosResponse<void>;\nexport type PostInstantTradeInstantOpenResult = AxiosResponse<ApiPostInstantOpenResponse>;\nexport type GetMarketInfoResult = AxiosResponse<GetMarketInfo200>;\nexport type GetNotionalCapResult = AxiosResponse<ApiNotionalCapAllSymbolsResponse>;\nexport type GetNotionalCapBatchResult = AxiosResponse<ApiNotionalCapAllSymbolsResponse>;\nexport type GetNotionalCapSymbolIdResult = AxiosResponse<ApiNotionalCapBySymbolResponse>;\nexport type GetQuotesResult = AxiosResponse<ApiGetQuotesResponse>;\nexport type GetRevenueResult = AxiosResponse<ApiRevenueResponse>;\nexport type GetRevenueBatchResult = AxiosResponse<ApiRevenueResponse>;\nexport type GetRevenuePerSymbolResult = AxiosResponse<ApiRevenueBatchPerSymbolResponse>;\nexport type GetRevenueRecordsResult = AxiosResponse<ApiRevenueRecordsResponse>;\nexport type GetRevenueSymbolIdResult = AxiosResponse<ApiRevenueResponse>;\nexport type GetStatsResult = AxiosResponse<ApiGetStatsResponse>;\nexport type GetSymbolsResult = AxiosResponse<ApiSymbolsResponse>;\nexport type GetTempQuoteStatusTempQuoteIdResult = AxiosResponse<ApiGetTempQuoteStatusResponse>;\nexport type GetTradeVolumeSymbolIdResult = AxiosResponse<ApiDailyTradeVolumeResponse[]>;\n"],"mappings":";;AA4pBA,IAAa,KACX,MAEO,EAAM,IAAI,qBAAqB,CAAO,GAMlC,KAAiB,MACrB,EAAM,IAAI,gBAAgB,CAAO,GAe7B,KACX,GACA,MAEO,EAAM,IAAI,oBAAoB;CACnC,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAoBU,KACX,GACA,MAEO,EAAM,IAAI,qBAAqB;CACpC,GAAG;CACH,QAAQ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enigma-solver.js","names":[],"sources":["../../../../src/solvers/types/generated/enigma-solver.ts"],"sourcesContent":["/**\n * Generated by orval v8.14.0 🍺\n * Do not edit manually.\n * Low Cap Solver API\n * API for Low Cap Solver trading system\n * OpenAPI spec version: 1.0\n */\nimport type { AxiosRequestConfig, AxiosResponse } from \"axios\";\nimport axios from \"axios\";\n\nexport interface ApiContractSymbol {\n asset?: string;\n funding_rate_epoch_duration?: string;\n funding_rate_window_time?: string;\n hedger_fee_close?: string;\n hedger_fee_close_early_rate?: string;\n hedger_fee_close_early_threshold?: string;\n hedger_fee_close_standard_threshold?: string;\n hedger_fee_open?: string;\n is_valid?: boolean;\n lot_size?: string;\n max_funding_rate?: string;\n max_leverage?: string;\n max_notional_value?: number;\n max_quantity?: string;\n min_acceptable_portion_lf?: string;\n min_acceptable_quote_value?: string;\n min_close_solver_fee_cap?: string;\n min_notional_value?: string;\n min_open_solver_fee_cap?: string;\n name?: string;\n price_precision?: number;\n quantity_precision?: number;\n rfq_allowed?: boolean;\n /** \"all\", \"long\", or \"short\" */\n side?: string;\n /** 0: Disabled, 1: Close only, 2: Open only, 3: Fully enabled */\n state?: number;\n symbol?: string;\n symbol_id?: number;\n /** From price service GetSymbolsInfo */\n token_address?: string;\n trading_fee?: string;\n}\n\nexport interface ApiContractSymbolsResponse {\n count?: number;\n symbols?: ApiContractSymbol[];\n}\n\nexport type ApiCustomTableDataItem = { [key: string]: unknown };\n\nexport interface ApiCustomTableHeader {\n key?: string;\n label?: string;\n}\n\nexport interface ApiCustomTable {\n data?: ApiCustomTableDataItem[];\n headers?: ApiCustomTableHeader[];\n title?: string;\n}\n\nexport interface ApiDailyTradeVolumeResponse {\n timestamp?: string;\n volume?: string;\n}\n\nexport interface ApiFundingInfoItem {\n funding_rate_epoch_duration?: number;\n next_funding_rate_long?: string;\n next_funding_rate_short?: string;\n next_funding_time?: number;\n}\n\nexport interface ApiFundingInfoBySymbolsResponse {\n [key: string]: ApiFundingInfoItem;\n}\n\nexport interface ApiFundingInfoResponse {\n [key: string]: ApiFundingInfoItem;\n}\n\nexport enum ApiGaslessAction {\n GaslessActionAddMargin = \"add_margin\",\n GaslessActionRemoveMargin = \"remove_margin\",\n GaslessActionDelegate = \"delegate_access_for_session_key\",\n}\nexport enum ApiGaslessRequestAction {\n add_margin = \"add_margin\",\n remove_margin = \"remove_margin\",\n delegate_access_for_session_key = \"delegate_access_for_session_key\",\n}\nexport interface Eip712AccountJSON {\n addr: string;\n isPartyB?: boolean;\n}\n\nexport interface Eip712DelegationInfoJSON {\n account: Eip712AccountJSON;\n delegatedSigner: string;\n expiryTimestamp: number;\n /** @minItems 1 */\n selectors: string[];\n}\n\nexport interface Eip712ReplayHeaderJSON {\n deadline: number;\n nonce?: number;\n salt: string;\n}\n\nexport interface Eip712SignedDelegationJSON {\n delegationInfo: Eip712DelegationInfoJSON;\n replayAttackHeader: Eip712ReplayHeaderJSON;\n}\n\nexport interface Eip712DelegationWithSigJSON {\n signature: string;\n signedDelegation: Eip712SignedDelegationJSON;\n}\n\nexport interface Eip712FlexFieldJSON {\n authorizedFlexFiller?: string;\n length?: number;\n offset?: number;\n}\n\nexport interface Eip712SignedOperationJSON {\n callData: string;\n flexFields?: Eip712FlexFieldJSON[];\n maxUses?: number;\n replayAttackHeader: Eip712ReplayHeaderJSON;\n signer: string;\n signerAccount: Eip712AccountJSON;\n target: string;\n}\n\nexport interface Eip712OperationWithSigJSON {\n signature: string;\n signedOperation: Eip712SignedOperationJSON;\n}\n\nexport interface ApiGaslessRequest {\n action: ApiGaslessRequestAction;\n delegation?: Eip712DelegationWithSigJSON;\n operation?: Eip712OperationWithSigJSON;\n}\n\nexport interface ApiGaslessResponse {\n action?: ApiGaslessAction;\n blockHash?: string;\n blockNumber?: number;\n dailyRemaining?: number;\n gasUsed?: number;\n partyA?: string;\n transactionHash?: string;\n}\n\nexport interface ApiGetEstimatedPriceResponse {\n price?: string;\n}\n\nexport interface ApiGetInstantCloseResponse {\n close_price?: string;\n quantity_to_close?: string;\n quote_id?: number;\n}\n\nexport interface ApiGetInstantOpenResponse {\n cva?: string;\n lf?: string;\n order_type?: number;\n partyAmm?: string;\n partyBmm?: string;\n party_a_address?: string;\n position_type?: number;\n quantity?: string;\n requested_open_price?: string;\n symbol_id?: number;\n temp_quote_id?: number;\n /** UUID is the frontend-provided UUID from the V2 sendQuote metadata */\n uuid?: string;\n}\n\nexport interface ApiGetQuoteIdResponse {\n quote_id?: number;\n}\n\nexport interface ApiQuoteInfo {\n affiliate?: string;\n avg_closed_price?: string;\n block_number?: number;\n closed_amount?: string;\n create_timestamp?: string;\n cva?: string;\n deadline?: string;\n id?: string;\n initial_cva?: string;\n initial_lf?: string;\n initial_opened_price?: string;\n initial_party_amm?: string;\n initial_party_bmm?: string;\n last_funding_payment_timestamp?: string;\n lf?: string;\n market_price?: string;\n max_funding_rate?: string;\n opened_price?: string;\n order_type?: number;\n parent_id?: string;\n party_a?: string;\n party_amm?: string;\n party_b?: string;\n party_bmm?: string;\n position_type?: number;\n quantity?: string;\n quantity_to_close?: string;\n quote_status?: number;\n requested_close_price?: string;\n requested_open_price?: string;\n status_modify_timestamp?: string;\n symbol_id?: string;\n trading_fee?: string;\n}\n\nexport interface ApiGetQuotesResponse {\n count?: number;\n quotes?: ApiQuoteInfo[];\n}\n\nexport interface ApiPeriodStats {\n \"1h\"?: number;\n \"1w\"?: number;\n \"24h\"?: number;\n \"5m\"?: number;\n}\n\nexport interface ApiStatsMetrics {\n \"Completed Closes\"?: ApiPeriodStats;\n \"Completed Opens\"?: ApiPeriodStats;\n \"Instant Closes\"?: ApiPeriodStats;\n \"Instant Opens\"?: ApiPeriodStats;\n}\n\nexport interface ApiGetStatsResponse {\n custom_tables?: ApiCustomTable[];\n periodic_stats?: ApiStatsMetrics;\n}\n\nexport interface ApiGetTempQuoteStatusResponse {\n completion_source?: string;\n cva?: string;\n error_category?: string;\n /** Populated only when State is \"Failed\" or \"Cancelled\". ErrorCode mirrors\n * the synchronous /instant_trade contract; ErrorCategory is the stable\n * bucket the frontend maps to user-facing copy. See\n * docs/reference/instant-trade-errors.md. */\n error_code?: number;\n error_detail?: string;\n error_message?: string;\n lf?: string;\n margin?: string;\n max_funding_rate?: string;\n opened_price?: string;\n order_type?: number;\n party_a_account?: string;\n party_amm?: string;\n position_type?: number;\n price?: string;\n quantity?: string;\n quote_id?: number;\n recovered_at?: string;\n recovery_log_index?: number;\n recovery_reason?: string;\n recovery_tx_hash?: string;\n state?: string;\n sub_account?: string;\n symbol_id?: number;\n}\n\nexport interface ApiLockedParamsBySymbolIdResponse {\n cva?: string;\n leverage?: string;\n lf?: string;\n partyAmm?: string;\n partyBmm?: string;\n}\n\nexport interface ApiNotionalCapBySymbolResponse {\n available_to_long?: number;\n available_to_short?: number;\n error?: string;\n open_interest?: number;\n price?: number;\n symbol?: string;\n symbol_id?: number;\n token_balance?: number;\n total_cap?: number;\n usdc_balance?: number;\n used?: number;\n used_tokens?: number;\n}\n\nexport interface ApiNotionalCapAllSymbolsResponse {\n count?: number;\n symbols?: ApiNotionalCapBySymbolResponse[];\n total_open_interest?: number;\n total_used?: number;\n}\n\nexport interface ApiPostInstantOpenResponse {\n partyBmm?: string;\n temp_quote_id?: number;\n}\n\nexport interface ApiRevenueRecordItem {\n amount?: string;\n created_at?: string;\n id?: number;\n symbol_id?: number;\n}\n\nexport interface ApiRevenueRecordsResponse {\n count?: number;\n records?: ApiRevenueRecordItem[];\n}\n\nexport interface ApiRevenueResponse {\n funding_revenue?: string;\n hedger_fee_revenue?: string;\n record_count?: number;\n total_revenue?: string;\n}\n\nexport interface ApiSymbolResponse {\n asset?: string;\n funding_rate_epoch_duration?: string;\n funding_rate_window_time?: string;\n hedger_fee_close?: string;\n hedger_fee_close_early_rate?: string;\n hedger_fee_close_early_threshold?: string;\n hedger_fee_close_standard_threshold?: string;\n hedger_fee_open?: string;\n is_valid?: boolean;\n lot_size?: string;\n max_funding_rate?: string;\n max_leverage?: string;\n max_notional_value?: number;\n max_quantity?: string;\n min_acceptable_portion_lf?: string;\n min_acceptable_quote_value?: string;\n min_close_solver_fee_cap?: string;\n min_notional_value?: string;\n min_open_solver_fee_cap?: string;\n name?: string;\n price_precision?: number;\n quantity_precision?: number;\n rfq_allowed?: boolean;\n state_long?: number;\n state_short?: number;\n symbol?: string;\n symbol_id?: number;\n token_address?: string;\n trading_fee?: string;\n}\n\nexport interface ApiSymbolsResponse {\n count?: number;\n symbols?: ApiSymbolResponse[];\n}\n\nexport interface ApiV2InstantCloseRequest {\n /**\n * @minItems 1\n * @maxItems 100\n */\n operations: Eip712OperationWithSigJSON[];\n}\n\nexport interface ApiV2InstantOpenRequest {\n addMargin?: Eip712OperationWithSigJSON;\n sendQuote: Eip712OperationWithSigJSON;\n}\n\nexport enum ClientErrorCategory {\n CategoryValidation = \"validation\",\n CategoryAuthentication = \"authentication\",\n CategoryAuthorization = \"authorization\",\n CategorySlippage = \"slippage\",\n CategoryLiquidity = \"liquidity\",\n CategoryAccountState = \"account_state\",\n CategorySymbolState = \"symbol_state\",\n CategoryRateLimit = \"rate_limit\",\n CategoryTimeout = \"timeout\",\n CategoryInternal = \"internal\",\n CategoryUnavailable = \"unavailable\",\n}\nexport interface ClientErrorCodeInfo {\n category?: ClientErrorCategory;\n code?: number;\n http_status?: number;\n message?: string;\n}\n\nexport interface XfiberErrorResponse {\n code?: number;\n error_detail?: string;\n error_message?: string;\n}\n\nexport type GetErrorCodes200 = { [key: string]: string };\n\nexport type GetEstimatedPriceParams = {\n /**\n * Symbol ID\n */\n symbol_id: number;\n /**\n * Order quantity\n */\n quantity: string;\n /**\n * Position type (long/short)\n */\n position_type: string;\n /**\n * Entry type (open/close)\n */\n entry: string;\n /**\n * Price\n */\n price: string;\n};\n\nexport type GetFundingInfoParams = {\n /**\n * Symbol IDs (omit for all)\n */\n symbol_ids?: number[];\n};\n\nexport type GetGetFundingInfoParams = {\n /**\n * Symbol names (omit for all)\n */\n symbols?: string[];\n};\n\nexport type GetGetLockedParamsSymbolParams = {\n /**\n * Leverage\n */\n leverage: number;\n};\n\nexport type GetGetMarketInfo200 = { [key: string]: unknown };\n\nexport type GetInstantTradeEip712Config200 = { [key: string]: unknown };\n\nexport type GetMarketInfo200 = { [key: string]: unknown };\n\nexport type GetNotionalCapParams = {\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n};\n\nexport type GetNotionalCapBatchParams = {\n /**\n * Symbol IDs (max 100)\n */\n symbol_ids: number[];\n};\n\nexport type GetQuotesParams = {\n /**\n * Symbol ID filter\n */\n symbol_id?: number;\n /**\n * Party A address filter\n */\n party_a?: string;\n /**\n * Quote status filter (1-7)\n */\n status?: number;\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n};\n\nexport type GetRevenueRecordsParams = {\n /**\n * Last seen income-history record ID\n */\n id?: number;\n /**\n * Optional symbol IDs (max 100)\n */\n symbolIds?: number[];\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n};\n\nexport type GetRevenueSymbolIdParams = {\n /**\n * Preset range (1h, 24h, 7d, 30d, lifetime)\n */\n time_range?: string;\n /**\n * Revenue type filter (HedgerFee, FundingRate)\n */\n type?: string;\n /**\n * Unix timestamp start (overrides time_range)\n */\n start_time?: number;\n /**\n * Unix timestamp end\n */\n end_time?: number;\n};\n\nexport type GetStatsParams = {\n /**\n * Filter response to specific stat types (periodic_stats, single_metrics, custom_tables, alerts)\n */\n include?: string[];\n};\n\nexport type GetSymbolsParams = {\n /**\n * Limit results (max 500, default 100)\n */\n limit?: number;\n /**\n * Offset for pagination (default 0)\n */\n offset?: number;\n /**\n * Symbol ID\n */\n symbol_id?: number;\n /**\n * Case-insensitive match on symbol name\n */\n search?: string;\n /**\n * Asset exact match\n */\n asset?: string;\n /**\n * Token address exact match\n */\n token_address?: string;\n /**\n * Validity filter: true, false, any (default true)\n */\n is_valid?: string;\n /**\n * Long-side state filter: disabled, close_only, open_only, enabled\n */\n state_long?: string;\n /**\n * Short-side state filter: disabled, close_only, open_only, enabled\n */\n state_short?: string;\n};\n\n/**\n * @summary Get contract symbols\n */\nexport const getContractSymbols = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiContractSymbolsResponse>> => {\n return axios.get(`/contract-symbols`, options);\n};\n\n/**\n * @summary Get API error codes\n */\nexport const getErrorCodes = (options?: AxiosRequestConfig): Promise<AxiosResponse<GetErrorCodes200>> => {\n return axios.get(`/error_codes`, options);\n};\n\n/**\n * Returns solver-registered error codes (>= 3000) with message, category, and http_status. Use the flat /error_codes endpoint for backward-compatible code→message lookups.\n * @summary Get detailed API error codes\n */\nexport const getErrorCodesDetailed = (options?: AxiosRequestConfig): Promise<AxiosResponse<ClientErrorCodeInfo[]>> => {\n return axios.get(`/error_codes/detailed`, options);\n};\n\n/**\n * Get estimated execution price from inventory service (dry-run mode)\n * @summary Get estimated price for order\n */\nexport const getEstimatedPrice = (\n params: GetEstimatedPriceParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetEstimatedPriceResponse>> => {\n return axios.get(`/estimated-price`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get funding info by symbol ID\n */\nexport const getFundingInfo = (\n params?: GetFundingInfoParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiFundingInfoResponse>> => {\n return axios.get(`/funding-info`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @deprecated\n * @summary Get funding info by symbol name\n */\nexport const getGetFundingInfo = (\n params?: GetGetFundingInfoParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiFundingInfoBySymbolsResponse>> => {\n return axios.get(`/get_funding_info`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get locked params by symbol\n */\nexport const getGetLockedParamsSymbol = (\n symbol: string,\n params: GetGetLockedParamsSymbolParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiLockedParamsBySymbolIdResponse>> => {\n return axios.get(`/get_locked_params/${symbol}`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns a JSON object whose keys are symbol names (dynamic — sourced from contract-symbol data) mapping to {trading_volume, lifetime_value}, plus top-level aggregate fields total_value_24h and total_lifetime_value.\n * @deprecated\n * @summary Get 24h market info by symbol name\n */\nexport const getGetMarketInfo = (options?: AxiosRequestConfig): Promise<AxiosResponse<GetGetMarketInfo200>> => {\n return axios.get(`/get_market_info`, options);\n};\n\n/**\n * Returns all pending instant close orders for a given SubAccount address.\n * @summary Get pending instant close orders\n */\nexport const getInstantCloseAccountAddress = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetInstantCloseResponse[]>> => {\n return axios.get(`/instant_close/${accountAddress}`, options);\n};\n\n/**\n * Returns all pending instant open orders for a given SubAccount address.\n * @summary Get pending instant open orders\n */\nexport const getInstantOpenAccountAddress = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetInstantOpenResponse[]>> => {\n return axios.get(`/instant_open/${accountAddress}`, options);\n};\n\n/**\n * @summary Get quote ID by temp ID\n */\nexport const getInstantQuoteIdTempQuoteId = (\n tempQuoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetQuoteIdResponse>> => {\n return axios.get(`/instant_quote_id/${tempQuoteId}`, options);\n};\n\n/**\n * Returns the EIP-712 domain, domain separator, type hashes, and full type definitions that clients must use when constructing signatures for V2 instant open/close operations. No authentication required.\n * @summary Get V2 EIP-712 signing config\n */\nexport const getInstantTradeEip712Config = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetInstantTradeEip712Config200>> => {\n return axios.get(`/instant_trade/eip712-config`, options);\n};\n\n/**\n * Relay a single user-signed EIP-712 operation so the solver wallet executes it on-chain. The user pays no native gas. Identity is proven by EIP-712 signature recovery; no JWT required. Synchronous — returns the on-chain tx hash on success or a clear error on failure.\n *\n * **Supported actions** (set via the `action` field):\n * - `add_margin` — top up the allocated balance of an existing VirtualAccount via AccountLayer.addMargin. The signer must own the VA (its parent SubAccount must equal the signer's SubAccount). Requires `operation`.\n * - `remove_margin` — withdraw allocated margin from an existing VirtualAccount via AccountLayer.removeMargin. Requires `operation`.\n * - `delegate_access_for_session_key` — grant a delegate signer access for one or more allowlisted selectors via InstantLayer.grantBatchDelegationBySig. Requires `delegation`.\n *\n * Exactly one of `operation` or `delegation` must be present per request. Delegation selectors are restricted to: `sendQuote`, `requestToClosePosition`, `addMarginToNextVA`, `addMargin`, `removeMargin`, `allocate`, `deallocate`, `safeDeallocate`, `initiateWithdraw`, `finalizeWithdrawRequest`, `requestCancelWithdraw`.\n *\n * Each PartyA is limited to `GASLESS_DAILY_MAX` accepted attempts per UTC day (default 5). The counter is consumed on every attempt past basic validation, regardless of downstream success or failure; the `dailyRemaining` field in the response reports the user's remaining quota.\n * @summary Submit a gasless operation\n */\nexport const postInstantTradeExecuteOperation = (\n apiGaslessRequest: ApiGaslessRequest,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGaslessResponse>> => {\n return axios.post(`/instant_trade/execute-operation`, apiGaslessRequest, options);\n};\n\n/**\n * Submit one or more V2 close operations (requestToClosePosition), one per quote. No JWT required — identity is proven by EIP-712 signature recovery. On any failure the whole request is rejected. Processing happens asynchronously.\n * @summary Submit V2 instant close\n */\nexport const postInstantTradeInstantClose = (\n apiV2InstantCloseRequest: ApiV2InstantCloseRequest,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<void>> => {\n return axios.post(`/instant_trade/instant_close`, apiV2InstantCloseRequest, options);\n};\n\n/**\n * Submit a V2 instant open request with pre-signed EIP-712 PartyA operations (addMargin + sendQuote). No JWT required — identity is proven by EIP-712 signature recovery. Processing (hedge, muon sigs, symmio-api call) happens asynchronously.\n * @summary Submit V2 instant open\n */\nexport const postInstantTradeInstantOpen = (\n apiV2InstantOpenRequest: ApiV2InstantOpenRequest,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiPostInstantOpenResponse>> => {\n return axios.post(`/instant_trade/instant_open`, apiV2InstantOpenRequest, options);\n};\n\n/**\n * Returns a JSON object whose keys are symbol IDs mapping to {trading_volume, lifetime_value}, plus top-level aggregate fields total_value_24h and total_lifetime_value.\n * @summary Get 24h market info by symbol ID\n */\nexport const getMarketInfo = (options?: AxiosRequestConfig): Promise<AxiosResponse<GetMarketInfo200>> => {\n return axios.get(`/market-info`, options);\n};\n\n/**\n * @summary Get notional caps for all symbols\n */\nexport const getNotionalCap = (\n params?: GetNotionalCapParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiNotionalCapAllSymbolsResponse>> => {\n return axios.get(`/notional_cap`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get notional caps for multiple symbols\n */\nexport const getNotionalCapBatch = (\n params: GetNotionalCapBatchParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiNotionalCapAllSymbolsResponse>> => {\n return axios.get(`/notional_cap/batch`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get notional cap by symbol\n */\nexport const getNotionalCapSymbolId = (\n symbolId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiNotionalCapBySymbolResponse>> => {\n return axios.get(`/notional_cap/${symbolId}`, options);\n};\n\n/**\n * Get quotes from the event listener database with optional filters\n * @summary Get quotes from event listener\n */\nexport const getQuotes = (\n params?: GetQuotesParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetQuotesResponse>> => {\n return axios.get(`/quotes`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns revenue-bearing income-history rows with id greater than the supplied last-seen income_history id. Results use block time as created_at and are ordered by id ascending before offset/limit pagination. `count` is the total matching record count before pagination. Pass symbolIds as a comma-separated list or repeated query params to filter by symbol; omit it or pass it empty to disable symbol filtering.\n * @summary Get incremental revenue records\n */\nexport const getRevenueRecords = (\n params?: GetRevenueRecordsParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiRevenueRecordsResponse>> => {\n return axios.get(`/revenue/records`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns income-history open/close solver fees and funding fees for one symbol using block timestamps. Filterable by time_range or custom timestamps.\n * @summary Get aggregated revenue for a specific symbol\n */\nexport const getRevenueSymbolId = (\n symbolId: number,\n params?: GetRevenueSymbolIdParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiRevenueResponse>> => {\n return axios.get(`/revenue/${symbolId}`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Get instant trading statistics for different time periods (5m, 1h, 24h, 1w) grouped by metric type\n * @summary Get trading statistics\n */\nexport const getStats = (\n params?: GetStatsParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetStatsResponse>> => {\n return axios.get(`/stats`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * Returns paginated symbols with optional filters. is_valid defaults to true; pass is_valid=any to include valid and invalid symbols.\n * @summary Get symbols\n */\nexport const getSymbols = (\n params?: GetSymbolsParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiSymbolsResponse>> => {\n return axios.get(`/symbols`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get temp quote status\n */\nexport const getTempQuoteStatusTempQuoteId = (\n tempQuoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiGetTempQuoteStatusResponse>> => {\n return axios.get(`/temp_quote_status/${tempQuoteId}`, options);\n};\n\n/**\n * Returns configured last N daily trade volume rows for one symbol, ordered by day ascending.\n * @summary Get daily trade volume for one market\n */\nexport const getTradeVolumeSymbolId = (\n symbolId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ApiDailyTradeVolumeResponse[]>> => {\n return axios.get(`/trade-volume/${symbolId}`, options);\n};\n\nexport type GetContractSymbolsResult = AxiosResponse<ApiContractSymbolsResponse>;\nexport type GetErrorCodesResult = AxiosResponse<GetErrorCodes200>;\nexport type GetErrorCodesDetailedResult = AxiosResponse<ClientErrorCodeInfo[]>;\nexport type GetEstimatedPriceResult = AxiosResponse<ApiGetEstimatedPriceResponse>;\nexport type GetFundingInfoResult = AxiosResponse<ApiFundingInfoResponse>;\nexport type GetGetFundingInfoResult = AxiosResponse<ApiFundingInfoBySymbolsResponse>;\nexport type GetGetLockedParamsSymbolResult = AxiosResponse<ApiLockedParamsBySymbolIdResponse>;\nexport type GetGetMarketInfoResult = AxiosResponse<GetGetMarketInfo200>;\nexport type GetInstantCloseAccountAddressResult = AxiosResponse<ApiGetInstantCloseResponse[]>;\nexport type GetInstantOpenAccountAddressResult = AxiosResponse<ApiGetInstantOpenResponse[]>;\nexport type GetInstantQuoteIdTempQuoteIdResult = AxiosResponse<ApiGetQuoteIdResponse>;\nexport type GetInstantTradeEip712ConfigResult = AxiosResponse<GetInstantTradeEip712Config200>;\nexport type PostInstantTradeExecuteOperationResult = AxiosResponse<ApiGaslessResponse>;\nexport type PostInstantTradeInstantCloseResult = AxiosResponse<void>;\nexport type PostInstantTradeInstantOpenResult = AxiosResponse<ApiPostInstantOpenResponse>;\nexport type GetMarketInfoResult = AxiosResponse<GetMarketInfo200>;\nexport type GetNotionalCapResult = AxiosResponse<ApiNotionalCapAllSymbolsResponse>;\nexport type GetNotionalCapBatchResult = AxiosResponse<ApiNotionalCapAllSymbolsResponse>;\nexport type GetNotionalCapSymbolIdResult = AxiosResponse<ApiNotionalCapBySymbolResponse>;\nexport type GetQuotesResult = AxiosResponse<ApiGetQuotesResponse>;\nexport type GetRevenueRecordsResult = AxiosResponse<ApiRevenueRecordsResponse>;\nexport type GetRevenueSymbolIdResult = AxiosResponse<ApiRevenueResponse>;\nexport type GetStatsResult = AxiosResponse<ApiGetStatsResponse>;\nexport type GetSymbolsResult = AxiosResponse<ApiSymbolsResponse>;\nexport type GetTempQuoteStatusTempQuoteIdResult = AxiosResponse<ApiGetTempQuoteStatusResponse>;\nexport type GetTradeVolumeSymbolIdResult = AxiosResponse<ApiDailyTradeVolumeResponse[]>;\n"],"mappings":";;AA8kBA,IAAa,KACX,MAEO,EAAM,IAAI,qBAAqB,CAAO,GAMlC,KAAiB,MACrB,EAAM,IAAI,gBAAgB,CAAO,GAe7B,KACX,GACA,MAEO,EAAM,IAAI,oBAAoB;CACnC,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAoBU,KACX,GACA,MAEO,EAAM,IAAI,qBAAqB;CACpC,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAMU,KACX,GACA,GACA,MAEO,EAAM,IAAI,sBAAsB,KAAU;CAC/C,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAQU,KAAoB,MACxB,EAAM,IAAI,oBAAoB,CAAO,GAOjC,KACX,GACA,MAEO,EAAM,IAAI,kBAAkB,KAAkB,CAAO,GAOjD,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB,KAAkB,CAAO,GAMhD,KACX,GACA,MAEO,EAAM,IAAI,qBAAqB,KAAe,CAAO,GAqCjD,KACX,GACA,MAEO,EAAM,KAAK,gCAAgC,GAA0B,CAAO,GAOxE,KACX,GACA,MAEO,EAAM,KAAK,+BAA+B,GAAyB,CAAO,GActE,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB;CAChC,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAmBU,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB,KAAY,CAAO,GAqB1C,KACX,GACA,MAEO,EAAM,IAAI,oBAAoB;CACnC,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAOU,KACX,GACA,GACA,MAEO,EAAM,IAAI,YAAY,KAAY;CACvC,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAqBU,KACX,GACA,MAEO,EAAM,IAAI,YAAY;CAC3B,GAAG;CACH,QAAQ;EAAE,GAAG;EAAQ,GAAG,GAAS;CAAO;AAC1C,CAAC,GAiBU,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB,KAAY,CAAO"}
@@ -1,7 +1,7 @@
1
1
  import e from "axios";
2
2
  //#region src/solvers/types/generated/rasa-solver.ts
3
- var t = (t) => e.get("/contract-symbols", t), n = (t, n, r) => e.get(`/add-sub-address-in-whitelist/${t}/${n}`, r), r = (t) => e.get("/open-interest", t), i = (t, n, r, i) => e.post(`/position-state/${t}/${n}`, r, i), a = (t, n) => e.get(`/notional_cap/${t}`, n), o = (t, n) => e.get(`/price-range/${t}`, n), s = (t, n) => e.get(`/error_codes/${t}`, n), c = (t) => e.get("/get_market_info", t), l = (t, n) => e.get(`/partyA_upnl/${t}`, { ...n }), u = (t, n, r) => e.get(`/get_balance_info/${t}/${n}`, r), d = (t) => e.get("/readyz", t), f = (t, n) => e.get(`/instant_open/${t}`, n), p = (t, n) => e.post("/instant_trade/open", t, n), m = (t, n) => e.post("/instant_trade/close", t, n);
3
+ var t = (t) => e.get("/contract-symbols", t), n = (t) => e.get("/open-interest", t), r = (t, n, r, i) => e.post(`/position-state/${t}/${n}`, r, i), i = (t, n) => e.get(`/notional_cap/${t}`, n), a = (t, n) => e.get(`/price-range/${t}`, n), o = (t, n) => e.get(`/error_codes/${t}`, n), s = (t) => e.get("/get_market_info", t), c = (t, n) => e.get(`/partyA_upnl/${t}`, { ...n }), l = (t, n, r) => e.get(`/get_balance_info/${t}/${n}`, r), u = (t) => e.get("/readyz", t), d = (t, n) => e.get(`/instant_open/${t}`, n), f = (t, n) => e.post("/instant_trade/open", t, n), p = (t, n) => e.post("/instant_trade/close", t, n);
4
4
  //#endregion
5
- export { u as getBalanceInfoGetBalanceInfoAddressMultiAccountAddressGet, t as getContractSymbolsContractSymbolsGet, l as getCounterpartyUpnlPartyAUpnlAddressGet, s as getErrorMessageErrorCodesErrorCodeGet, f as getInstantRequestForQuotesInstantOpenAccountAddressGet, c as getMarketInfoGetMarketInfoGet, a as getNotionalCapNotionalCapSymbolIdGet, r as getOpenInterestOpenInterestGet, o as getSymbolPriceRangePriceRangeSymbolGet, p as instantRequestForQuoteWithSignatureInstantTradeOpenPost, m as instantRequestToCloseWithSignatureInstantTradeClosePost, d as readyCheckReadyzGet, i as searchPositionStatePositionStateStartSizePost, n as whitelistCheckSubAddressAddSubAddressInWhitelistAddressMultiAccountAddressGet };
5
+ export { l as getBalanceInfoGetBalanceInfoAddressMultiAccountAddressGet, t as getContractSymbolsContractSymbolsGet, c as getCounterpartyUpnlPartyAUpnlAddressGet, o as getErrorMessageErrorCodesErrorCodeGet, d as getInstantRequestForQuotesInstantOpenAccountAddressGet, s as getMarketInfoGetMarketInfoGet, i as getNotionalCapNotionalCapSymbolIdGet, n as getOpenInterestOpenInterestGet, a as getSymbolPriceRangePriceRangeSymbolGet, f as instantRequestForQuoteWithSignatureInstantTradeOpenPost, p as instantRequestToCloseWithSignatureInstantTradeClosePost, u as readyCheckReadyzGet, r as searchPositionStatePositionStateStartSizePost };
6
6
 
7
7
  //# sourceMappingURL=rasa-solver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"rasa-solver.js","names":[],"sources":["../../../../src/solvers/types/generated/rasa-solver.ts"],"sourcesContent":["/**\n * Generated by orval v8.14.0 🍺\n * Do not edit manually.\n * Hedger Parameters Web App\n * FastAPI project for setting hedger parameter\n * # WebSocket API Documentation\n *\n * This document describes the available WebSocket routes, parameters, and response formats for the market data services.\n *\n * ---\n *\n * ## WebSocket Routes\n *\n * ### 1. `/funding-rate`\n *\n * **Purpose**: Provides funding rate information for specified symbols.\n *\n * **Request Parameters (sent through WebSocket message)**:\n * - `symbol_ids`: List[int] (optional) - List of symbol IDs to subscribe.\n * - `symbols`: List[str] (optional) - List of symbol names to subscribe.\n *\n * **Response Payload**:\n * A dictionary keyed by symbol_id (if input was symbol_ids) or by symbol_title (if input was symbols). Each entry contains the following fields:\n * - `next_funding_time` (str, ISO 8601): Timestamp of the next funding event.\n * - `next_funding_rate_short` (str): Funding rate to be paid by short positions.\n * - `next_funding_rate_long` (str): Funding rate to be paid by long positions.\n * - `funding_rate_epoch_duration` (int): Interval in seconds between funding events (e.g., 28800 = 8 hours).\n *\n * Aggregated totals:\n * - `tc` (Decimal): Total cap\n * - `uc` (Decimal): Used cap\n *\n * **Notes**:\n * - Data is refreshed at 1-second intervals.\n * - Automatically handles disconnection cases.\n *\n * ---\n *\n * ### 2. `/available-quote`\n *\n * **Purpose**: Provides available quote (order book) information for a specified symbol.\n *\n * **Request Parameters (sent through WebSocket message)**:\n * - `symbol_id`: int (required) - Symbol ID to retrieve the quote for.\n * - `limit`: int (optional) - Number of data entries to limit (default 500).\n *\n * **Response Payload**:\n * - `timestamp` (int): Timestamp of the transaction\n * - `asks` (List[List[Decimal]]): List of asks (each entry: [price, quantity])\n * - `bids` (List[List[Decimal]]): List of bids (each entry: [price, quantity])\n *\n * **Validation**:\n * - Symbol ID must be valid; otherwise, an error message with error code `EC_310` `invalid symbol_id` is sent and the WebSocket connection is closed.\n *\n * **Notes**:\n * - Data is refreshed at 1-second intervals.\n * - Automatically handles disconnection and invalid input cases.\n *\n *\n * OpenAPI spec version: 0.1.0\n */\nimport type { AxiosRequestConfig, AxiosResponse } from \"axios\";\nimport axios from \"axios\";\n\nexport interface Account {\n /** @pattern 0x[0-9a-fA-F]{40} */\n addr: string;\n isPartyB?: boolean;\n}\n\nexport interface UpnlData {\n upnl: string | null;\n notional: string | null;\n timestamp: number;\n allocated_balance: string;\n cva: string;\n lf: string;\n party_a_mm: string;\n party_b_mm: string;\n pending_cva: string;\n pending_lf: string;\n pending_party_a_mm: string;\n pending_party_b_mm: string;\n}\n\nexport interface BothUpnlData {\n party_a: UpnlData | null;\n party_b: UpnlData | null;\n}\n\nexport type BalanceInfoResponseSchema = BothUpnlData[];\n\nexport interface ReplayAttackHeader {\n /** @minimum 0 */\n nonce: number;\n /** @minimum 0 */\n deadline: number;\n salt: string;\n}\n\nexport interface SignedOperation {\n /** @pattern 0x[0-9a-fA-F]{40} */\n signer: string;\n /** @pattern 0x[0-9a-fA-F]{40} */\n target: string;\n callData: string;\n signerAccount: Account;\n replayAttackHeader: ReplayAttackHeader;\n}\n\nexport interface InstantOperation {\n signedOperation: SignedOperation;\n signature: string;\n}\n\nexport interface BodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost {\n sendQuote: InstantOperation;\n addMargin?: InstantOperation;\n}\n\nexport interface ErrorCodeResponseSchema {\n [key: string]: string;\n}\n\nexport interface ErrorResponseModel {\n error_code?: number;\n error_message?: string;\n error_detail?: unknown[] | null;\n}\n\nexport interface FailedNotificationData {\n action?: string | null;\n order_type?: number | null;\n error_code: number;\n failure_type?: string | null;\n action_status?: string;\n}\n\nexport interface FundingInfoResponseSchema {\n next_funding_time: number;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n next_funding_rate_short: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n next_funding_rate_long: string;\n funding_rate_epoch_duration: number;\n}\n\nexport interface GetInstantQuoteResponse {\n quote_id: number;\n}\n\nexport interface ValidationError {\n loc: (string | number)[];\n msg: string;\n type: string;\n}\n\nexport interface HTTPValidationError {\n detail?: ValidationError[];\n}\n\nexport interface InstantCloseSchema {\n quote_id: number;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n quantity_to_close: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n close_price: string;\n}\n\nexport enum PositionType {\n NUMBER_0 = 0,\n NUMBER_1 = 1,\n}\nexport enum OrderType {\n NUMBER_0 = 0,\n NUMBER_1 = 1,\n}\nexport interface InstantRFQResponse {\n position_type: PositionType;\n temp_quote_id: number;\n symbol_id: number;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n requested_open_price: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n quantity: string;\n party_a_address: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n cva: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n partyAmm: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n partyBmm: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n lf: string;\n order_type: OrderType;\n}\n\nexport interface InstantRequestForQuote {\n symbolId: number;\n positionType: PositionType;\n orderType: OrderType;\n price: number | string;\n quantity: number | string;\n cva: number | string;\n lf: number | string;\n partyAmm: number | string;\n partyBmm: number | string;\n maxFundingRate: number;\n deadline: number;\n}\n\nexport interface InstantRequestToClose {\n quote_id: number;\n quantity_to_close: number | string;\n close_price: number | string;\n deadline?: number | null;\n order_type?: OrderType | null;\n}\n\nexport interface LockedParamsResponseSchema {\n cva: string;\n partyAmm: string;\n lf: string;\n leverage: string;\n partyBmm: string;\n}\n\nexport interface Login {\n /** @pattern 0x[0-9a-fA-F]{40} */\n account_address: string;\n nonce: string;\n expiration_time: string;\n issued_at: string;\n signature: string;\n}\n\nexport interface MarketInfoResponseSchema {\n price: number;\n price_change_percent: number;\n trade_volume: number;\n notional_cap: number;\n}\n\nexport enum MultiAccountEnum {\n \"0x8Ab178C07184ffD44F0ADfF4eA2ce6cFc33F3b86\" = \"0x8Ab178C07184ffD44F0ADfF4eA2ce6cFc33F3b86\",\n \"0x1c03B6480a4efC2d4123ba90d7857f0e1878B780\" = \"0x1c03B6480a4efC2d4123ba90d7857f0e1878B780\",\n \"0x6D63921D8203044f6AbaD8F346d3AEa9A2719dDD\" = \"0x6D63921D8203044f6AbaD8F346d3AEa9A2719dDD\",\n \"0xF7F56d7E02D5c7bF33525AE2eecB049a17Ef4580\" = \"0xF7F56d7E02D5c7bF33525AE2eecB049a17Ef4580\",\n \"0x8a98f69139534Ef85775b473082CE4Af1373cd63\" = \"0x8a98f69139534Ef85775b473082CE4Af1373cd63\",\n \"0xc6Ecf3AB3D09ba6f1565Ad6E139B5D3ba30bB774\" = \"0xc6Ecf3AB3D09ba6f1565Ad6E139B5D3ba30bB774\",\n \"0x39EcC772f6073242d6FD1646d81FA2D87fe95314\" = \"0x39EcC772f6073242d6FD1646d81FA2D87fe95314\",\n \"0x95605c64356572eb5C076Cb9c027c88b527A2059\" = \"0x95605c64356572eb5C076Cb9c027c88b527A2059\",\n \"0xE43166cE17d3511B09438a359dAa53513225101D\" = \"0xE43166cE17d3511B09438a359dAa53513225101D\",\n \"0xA503Eb7714D4328f3D425F24954C6f5F00115E09\" = \"0xA503Eb7714D4328f3D425F24954C6f5F00115E09\",\n}\nexport interface NonceResponse {\n nonce: string;\n}\n\nexport enum NotificationType {\n report = \"report\",\n alert = \"alert\",\n warning = \"warning\",\n}\nexport interface NotificationsRequestSchema {\n counterparty_address?: string | null;\n quote_id?: number | null;\n timestamp_gte?: number | null;\n}\n\nexport interface SuccessNotificationData {\n action?: string | null;\n order_type?: number | null;\n filled_amount_open?: string | null;\n filled_amount_close?: string | null;\n avg_price_open?: string | null;\n avg_price_close?: string | null;\n action_status?: string | null;\n}\n\nexport interface SeenNotificationData {\n action?: string | null;\n order_type?: number | null;\n action_status?: string;\n}\n\nexport interface NotificationsResponseSchema {\n timestamp: number;\n counterparty_address: string;\n quote_id: number;\n temp_quote_id: number | null;\n type: NotificationType;\n data: SuccessNotificationData | SeenNotificationData | FailedNotificationData;\n}\n\nexport interface NotificationsSearchResponseSchema {\n count: number;\n notification_data: NotificationsResponseSchema[];\n}\n\nexport interface OpenInterestResponseSchema {\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n total_cap: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n used: string;\n}\n\nexport enum PositionStateType {\n report = \"report\",\n alert = \"alert\",\n}\nexport interface PositionStateResponseSchema {\n id: string;\n create_time: number;\n modify_time: number;\n quote_id: number;\n temp_quote_id?: number | null;\n counterparty_address: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n filled_amount_open?: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n filled_amount_close?: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n avg_price_open?: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n avg_price_close?: string;\n last_seen_action: string;\n action_status: string;\n failure_type?: string | null;\n error_code?: number | null;\n order_type: number;\n state_type: PositionStateType;\n}\n\nexport interface PositionsStateOutputSchema {\n count: number;\n position_state: PositionStateResponseSchema[];\n}\n\nexport interface PositionsStateRequestSchema {\n address?: string | null;\n quote_id?: number | null;\n create_time_gte?: number | null;\n modify_time_gte?: number | null;\n}\n\nexport interface ReadinessResponseSchema {\n /** Whether the service is ready to accept requests */\n isReady: boolean;\n}\n\nexport interface StatusResponse {\n successful: boolean;\n message?: string | null;\n}\n\nexport interface SymbolPriceRangeInputSchema {\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_price: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n max_price: string;\n}\n\nexport interface SymbolsContract {\n price_precision: number;\n quantity_precision: number;\n name: string;\n symbol: string;\n asset: string;\n symbol_id: number;\n is_valid: boolean;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_acceptable_quote_value: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_acceptable_portion_lf: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n trading_fee: string;\n max_leverage: number;\n max_notional_value: number;\n rfq_allowed: boolean;\n hedger_fee_open: string;\n hedger_fee_close: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n max_funding_rate: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_notional_value: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n max_quantity: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n lot_size: string;\n}\n\nexport interface SymbolsContractResponseSchema {\n count: number;\n symbols: SymbolsContract[];\n}\n\nexport interface TokenSchema {\n access_token: string;\n}\n\nexport type GetLockedParamsGetLockedParamsSymbolGetParams = {\n leverage: number;\n};\n\nexport type GetMarketInfoGetMarketInfoGet200 = { [key: string]: MarketInfoResponseSchema };\n\nexport type GetFundingInfoGetFundingInfoGetParams = {\n symbols?: string[];\n};\n\nexport type GetFundingInfoGetFundingInfoGet200 = { [key: string]: FundingInfoResponseSchema };\n\nexport type VerifyTokenAuthVerifyPostParams = {\n /**\n * @pattern 0x[0-9a-fA-F]{40}\n */\n party_a_address: string;\n};\n\n/**\n * @summary Get Contract Symbols\n */\nexport const getContractSymbolsContractSymbolsGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<SymbolsContractResponseSchema>> => {\n return axios.get(`/contract-symbols`, options);\n};\n\n/**\n * @summary Whitelist Check Sub Address\n */\nexport const whitelistCheckSubAddressAddSubAddressInWhitelistAddressMultiAccountAddressGet = (\n address: string,\n multiAccountAddress: MultiAccountEnum,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.get(`/add-sub-address-in-whitelist/${address}/${multiAccountAddress}`, options);\n};\n\n/**\n * @summary Get Open Interest\n */\nexport const getOpenInterestOpenInterestGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<OpenInterestResponseSchema>> => {\n return axios.get(`/open-interest`, options);\n};\n\n/**\n * @summary Search Position State\n */\nexport const searchPositionStatePositionStateStartSizePost = (\n start: number,\n size: number,\n positionsStateRequestSchema: PositionsStateRequestSchema,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<PositionsStateOutputSchema>> => {\n return axios.post(`/position-state/${start}/${size}`, positionsStateRequestSchema, options);\n};\n\n/**\n * @summary Search Notification\n */\nexport const searchNotificationNotificationsStartSizePost = (\n start: number,\n size: number,\n notificationsRequestSchema: NotificationsRequestSchema,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<NotificationsSearchResponseSchema>> => {\n return axios.post(`/notifications/${start}/${size}`, notificationsRequestSchema, options);\n};\n\n/**\n * @summary Get Notional Cap\n */\nexport const getNotionalCapNotionalCapSymbolIdGet = (\n symbolId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<OpenInterestResponseSchema>> => {\n return axios.get(`/notional_cap/${symbolId}`, options);\n};\n\n/**\n * @summary Get Symbol Price Range\n */\nexport const getSymbolPriceRangePriceRangeSymbolGet = (\n symbol: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<SymbolPriceRangeInputSchema>> => {\n return axios.get(`/price-range/${symbol}`, options);\n};\n\n/**\n * @summary Check In White List\n */\nexport const checkInWhiteListCheckInWhitelistAddressMultiAccountAddressGet = (\n address: string,\n multiAccountAddress: MultiAccountEnum,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<boolean>> => {\n return axios.get(`/check_in-whitelist/${address}/${multiAccountAddress}`, options);\n};\n\n/**\n * @summary Get Error Codes\n */\nexport const getErrorCodesErrorCodesGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ErrorCodeResponseSchema>> => {\n return axios.get(`/error_codes`, options);\n};\n\n/**\n * @summary Get Error Message\n */\nexport const getErrorMessageErrorCodesErrorCodeGet = (\n errorCode: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ErrorCodeResponseSchema>> => {\n return axios.get(`/error_codes/${errorCode}`, options);\n};\n\n/**\n * @summary Get Locked Params\n */\nexport const getLockedParamsGetLockedParamsSymbolGet = (\n symbol: string,\n params: GetLockedParamsGetLockedParamsSymbolGetParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<LockedParamsResponseSchema>> => {\n return axios.get(`/get_locked_params/${symbol}`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get Market Info\n */\nexport const getMarketInfoGetMarketInfoGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetMarketInfoGetMarketInfoGet200>> => {\n return axios.get(`/get_market_info`, options);\n};\n\n/**\n * @summary Get Counterparty Upnl\n */\nexport const getCounterpartyUpnlPartyAUpnlAddressGet = (\n address: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<string>> => {\n return axios.get(`/partyA_upnl/${address}`, {\n ...options,\n });\n};\n\n/**\n * @summary Get Balance Info\n */\nexport const getBalanceInfoGetBalanceInfoAddressMultiAccountAddressGet = (\n address: string,\n multiAccountAddress: MultiAccountEnum,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<BalanceInfoResponseSchema>> => {\n return axios.get(`/get_balance_info/${address}/${multiAccountAddress}`, options);\n};\n\n/**\n * @summary Get Funding Info\n */\nexport const getFundingInfoGetFundingInfoGet = (\n params?: GetFundingInfoGetFundingInfoGetParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetFundingInfoGetFundingInfoGet200>> => {\n return axios.get(`/get_funding_info`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Availability check\n */\nexport const readyCheckReadyzGet = (options?: AxiosRequestConfig): Promise<AxiosResponse<ReadinessResponseSchema>> => {\n return axios.get(`/readyz`, options);\n};\n\n/**\n * Verifies if the JWT token is valid and matches the provided `party_a_address`.\n *\n * Parameters:\n * party_a_address:\n * auth_data (dict): Authentication data extracted from the JWT token,\n * provided by the `get_current_user` dependency.\n *\n * Returns:\n * dict: A success message indicating that the token is valid.\n *\n * Raises:\n * ErrorCodeResponse: If the JWT token is invalid or the `sub` address does not match `party_a_address`.\n * @summary Verify Token\n */\nexport const verifyTokenAuthVerifyPost = (\n params: VerifyTokenAuthVerifyPostParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.post(`/auth/verify`, undefined, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get Nonce\n */\nexport const getNonceNonceAccountAddressGet = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<NonceResponse>> => {\n return axios.get(`/nonce/${accountAddress}`, options);\n};\n\n/**\n * @summary Login\n */\nexport const loginLoginPost = (login: Login, options?: AxiosRequestConfig): Promise<AxiosResponse<TokenSchema>> => {\n return axios.post(`/login`, login, options);\n};\n\n/**\n * @summary Get Instant Request For Quotes\n */\nexport const getInstantRequestForQuotesInstantOpenAccountAddressGet = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantRFQResponse[]>> => {\n return axios.get(`/instant_open/${accountAddress}`, options);\n};\n\n/**\n * @summary Instant Request For Quote\n */\nexport const instantRequestForQuoteInstantOpenPost = (\n instantRequestForQuote: InstantRequestForQuote,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantRFQResponse>> => {\n return axios.post(`/instant_open`, instantRequestForQuote, options);\n};\n\n/**\n * @summary Instant Request For Quote With Signature\n */\nexport const instantRequestForQuoteWithSignatureInstantTradeOpenPost = (\n bodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost: BodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantRFQResponse>> => {\n return axios.post(`/instant_trade/open`, bodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost, options);\n};\n\n/**\n * @summary Cancel Instant Request For Quote\n */\nexport const cancelInstantRequestForQuoteInstantOpenQuoteIdDelete = (\n quoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.delete(`/instant_open/${quoteId}`, options);\n};\n\n/**\n * @summary Get Instant Request To Closes\n */\nexport const getInstantRequestToClosesInstantCloseAccountAddressGet = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantCloseSchema[]>> => {\n return axios.get(`/instant_close/${accountAddress}`, options);\n};\n\n/**\n * @summary Instant Request To Close\n */\nexport const instantRequestToCloseInstantClosePost = (\n instantRequestToClose: InstantRequestToClose,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.post(`/instant_close`, instantRequestToClose, options);\n};\n\n/**\n * @summary Instant Request To Close With Signature\n */\nexport const instantRequestToCloseWithSignatureInstantTradeClosePost = (\n instantOperation: InstantOperation[],\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.post(`/instant_trade/close`, instantOperation, options);\n};\n\n/**\n * @summary Cancel Instant Request To Close\n */\nexport const cancelInstantRequestToCloseInstantCloseQuoteIdDelete = (\n quoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.delete(`/instant_close/${quoteId}`, options);\n};\n\n/**\n * @summary Get Quote Id\n */\nexport const getQuoteIdInstantQuoteIdTempQuoteIdGet = (\n tempQuoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetInstantQuoteResponse>> => {\n return axios.get(`/instant_quote_id/${tempQuoteId}`, options);\n};\n\nexport type GetContractSymbolsContractSymbolsGetResult = AxiosResponse<SymbolsContractResponseSchema>;\nexport type WhitelistCheckSubAddressAddSubAddressInWhitelistAddressMultiAccountAddressGetResult =\n AxiosResponse<StatusResponse>;\nexport type GetOpenInterestOpenInterestGetResult = AxiosResponse<OpenInterestResponseSchema>;\nexport type SearchPositionStatePositionStateStartSizePostResult = AxiosResponse<PositionsStateOutputSchema>;\nexport type SearchNotificationNotificationsStartSizePostResult = AxiosResponse<NotificationsSearchResponseSchema>;\nexport type GetNotionalCapNotionalCapSymbolIdGetResult = AxiosResponse<OpenInterestResponseSchema>;\nexport type GetSymbolPriceRangePriceRangeSymbolGetResult = AxiosResponse<SymbolPriceRangeInputSchema>;\nexport type CheckInWhiteListCheckInWhitelistAddressMultiAccountAddressGetResult = AxiosResponse<boolean>;\nexport type GetErrorCodesErrorCodesGetResult = AxiosResponse<ErrorCodeResponseSchema>;\nexport type GetErrorMessageErrorCodesErrorCodeGetResult = AxiosResponse<ErrorCodeResponseSchema>;\nexport type GetLockedParamsGetLockedParamsSymbolGetResult = AxiosResponse<LockedParamsResponseSchema>;\nexport type GetMarketInfoGetMarketInfoGetResult = AxiosResponse<GetMarketInfoGetMarketInfoGet200>;\nexport type GetCounterpartyUpnlPartyAUpnlAddressGetResult = AxiosResponse<string>;\nexport type GetBalanceInfoGetBalanceInfoAddressMultiAccountAddressGetResult = AxiosResponse<BalanceInfoResponseSchema>;\nexport type GetFundingInfoGetFundingInfoGetResult = AxiosResponse<GetFundingInfoGetFundingInfoGet200>;\nexport type ReadyCheckReadyzGetResult = AxiosResponse<ReadinessResponseSchema>;\nexport type VerifyTokenAuthVerifyPostResult = AxiosResponse<StatusResponse>;\nexport type GetNonceNonceAccountAddressGetResult = AxiosResponse<NonceResponse>;\nexport type LoginLoginPostResult = AxiosResponse<TokenSchema>;\nexport type GetInstantRequestForQuotesInstantOpenAccountAddressGetResult = AxiosResponse<InstantRFQResponse[]>;\nexport type InstantRequestForQuoteInstantOpenPostResult = AxiosResponse<InstantRFQResponse>;\nexport type InstantRequestForQuoteWithSignatureInstantTradeOpenPostResult = AxiosResponse<InstantRFQResponse>;\nexport type CancelInstantRequestForQuoteInstantOpenQuoteIdDeleteResult = AxiosResponse<StatusResponse>;\nexport type GetInstantRequestToClosesInstantCloseAccountAddressGetResult = AxiosResponse<InstantCloseSchema[]>;\nexport type InstantRequestToCloseInstantClosePostResult = AxiosResponse<StatusResponse>;\nexport type InstantRequestToCloseWithSignatureInstantTradeClosePostResult = AxiosResponse<StatusResponse>;\nexport type CancelInstantRequestToCloseInstantCloseQuoteIdDeleteResult = AxiosResponse<StatusResponse>;\nexport type GetQuoteIdInstantQuoteIdTempQuoteIdGetResult = AxiosResponse<GetInstantQuoteResponse>;\n"],"mappings":";;AAuaA,IAAa,KACX,MAEO,EAAM,IAAI,qBAAqB,CAAO,GAMlC,KACX,GACA,GACA,MAEO,EAAM,IAAI,iCAAiC,EAAQ,GAAG,KAAuB,CAAO,GAMhF,KACX,MAEO,EAAM,IAAI,kBAAkB,CAAO,GAM/B,KACX,GACA,GACA,GACA,MAEO,EAAM,KAAK,mBAAmB,EAAM,GAAG,KAAQ,GAA6B,CAAO,GAkB/E,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB,KAAY,CAAO,GAM1C,KACX,GACA,MAEO,EAAM,IAAI,gBAAgB,KAAU,CAAO,GA0BvC,KACX,GACA,MAEO,EAAM,IAAI,gBAAgB,KAAa,CAAO,GAoB1C,KACX,MAEO,EAAM,IAAI,oBAAoB,CAAO,GAMjC,KACX,GACA,MAEO,EAAM,IAAI,gBAAgB,KAAW,EAC1C,GAAG,EACL,CAAC,GAMU,KACX,GACA,GACA,MAEO,EAAM,IAAI,qBAAqB,EAAQ,GAAG,KAAuB,CAAO,GAmBpE,KAAuB,MAC3B,EAAM,IAAI,WAAW,CAAO,GAgDxB,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB,KAAkB,CAAO,GAgBhD,KACX,GACA,MAEO,EAAM,KAAK,uBAAuB,GAA6D,CAAO,GAoClG,KACX,GACA,MAEO,EAAM,KAAK,wBAAwB,GAAkB,CAAO"}
1
+ {"version":3,"file":"rasa-solver.js","names":[],"sources":["../../../../src/solvers/types/generated/rasa-solver.ts"],"sourcesContent":["/**\n * Generated by orval v8.14.0 🍺\n * Do not edit manually.\n * Hedger Parameters Web App\n * FastAPI project for setting hedger parameter\n * # WebSocket API Documentation\n *\n * This document describes the available WebSocket routes, parameters, and response formats for the market data services.\n *\n * ---\n *\n * ## WebSocket Routes\n *\n * ### 1. `/funding-rate`\n *\n * **Purpose**: Provides funding rate information for specified symbols.\n *\n * **Request Parameters (sent through WebSocket message)**:\n * - `symbol_ids`: List[int] (optional) - List of symbol IDs to subscribe.\n * - `symbols`: List[str] (optional) - List of symbol names to subscribe.\n *\n * **Response Payload**:\n * A dictionary keyed by symbol_id (if input was symbol_ids) or by symbol_title (if input was symbols). Each entry contains the following fields:\n * - `next_funding_time` (str, ISO 8601): Timestamp of the next funding event.\n * - `next_funding_rate_short` (str): Funding rate to be paid by short positions.\n * - `next_funding_rate_long` (str): Funding rate to be paid by long positions.\n * - `funding_rate_epoch_duration` (int): Interval in seconds between funding events (e.g., 28800 = 8 hours).\n *\n * Aggregated totals:\n * - `tc` (Decimal): Total cap\n * - `uc` (Decimal): Used cap\n *\n * **Notes**:\n * - Data is refreshed at 1-second intervals.\n * - Automatically handles disconnection cases.\n *\n * ---\n *\n * ### 2. `/available-quote`\n *\n * **Purpose**: Provides available quote (order book) information for a specified symbol.\n *\n * **Request Parameters (sent through WebSocket message)**:\n * - `symbol_id`: int (required) - Symbol ID to retrieve the quote for.\n * - `limit`: int (optional) - Number of data entries to limit (default 500).\n *\n * **Response Payload**:\n * - `timestamp` (int): Timestamp of the transaction\n * - `asks` (List[List[Decimal]]): List of asks (each entry: [price, quantity])\n * - `bids` (List[List[Decimal]]): List of bids (each entry: [price, quantity])\n *\n * **Validation**:\n * - Symbol ID must be valid; otherwise, an error message with error code `EC_310` `invalid symbol_id` is sent and the WebSocket connection is closed.\n *\n * **Notes**:\n * - Data is refreshed at 1-second intervals.\n * - Automatically handles disconnection and invalid input cases.\n *\n *\n * OpenAPI spec version: 0.1.0\n */\nimport type { AxiosRequestConfig, AxiosResponse } from \"axios\";\nimport axios from \"axios\";\n\nexport interface Account {\n /** @pattern 0x[0-9a-fA-F]{40} */\n addr: string;\n isPartyB?: boolean;\n}\n\nexport interface UpnlData {\n upnl: string | null;\n notional: string | null;\n timestamp: number;\n allocated_balance: string;\n cva: string;\n lf: string;\n party_a_mm: string;\n party_b_mm: string;\n pending_cva: string;\n pending_lf: string;\n pending_party_a_mm: string;\n pending_party_b_mm: string;\n}\n\nexport interface BothUpnlData {\n party_a: UpnlData | null;\n party_b: UpnlData | null;\n}\n\nexport type BalanceInfoResponseSchema = BothUpnlData[];\n\nexport interface ReplayAttackHeader {\n /** @minimum 0 */\n nonce: number;\n /** @minimum 0 */\n deadline: number;\n salt: string;\n}\n\nexport interface SignedOperation {\n /** @pattern 0x[0-9a-fA-F]{40} */\n signer: string;\n /** @pattern 0x[0-9a-fA-F]{40} */\n target: string;\n callData: string;\n signerAccount: Account;\n replayAttackHeader: ReplayAttackHeader;\n}\n\nexport interface InstantOperation {\n signedOperation: SignedOperation;\n signature: string;\n}\n\nexport interface BodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost {\n sendQuote: InstantOperation;\n addMargin?: InstantOperation;\n}\n\nexport interface ErrorCodeResponseSchema {\n [key: string]: string;\n}\n\nexport interface ErrorResponseModel {\n error_code?: number;\n error_message?: string;\n error_detail?: unknown[] | null;\n}\n\nexport interface FailedNotificationData {\n action?: string | null;\n order_type?: number | null;\n error_code: number;\n failure_type?: string | null;\n action_status?: string;\n}\n\nexport interface FundingInfoResponseSchema {\n next_funding_time: number;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n next_funding_rate_short: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n next_funding_rate_long: string;\n funding_rate_epoch_duration: number;\n}\n\nexport interface GetInstantQuoteResponse {\n quote_id: number;\n}\n\nexport interface ValidationError {\n loc: (string | number)[];\n msg: string;\n type: string;\n}\n\nexport interface HTTPValidationError {\n detail?: ValidationError[];\n}\n\nexport interface InstantCloseSchema {\n quote_id: number;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n quantity_to_close: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n close_price: string;\n}\n\nexport enum PositionType {\n NUMBER_0 = 0,\n NUMBER_1 = 1,\n}\nexport enum OrderType {\n NUMBER_0 = 0,\n NUMBER_1 = 1,\n}\nexport interface InstantRFQResponse {\n position_type: PositionType;\n temp_quote_id: number;\n symbol_id: number;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n requested_open_price: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n quantity: string;\n party_a_address: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n cva: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n partyAmm: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n partyBmm: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n lf: string;\n order_type: OrderType;\n}\n\nexport interface InstantRequestForQuote {\n symbolId: number;\n positionType: PositionType;\n orderType: OrderType;\n price: number | string;\n quantity: number | string;\n cva: number | string;\n lf: number | string;\n partyAmm: number | string;\n partyBmm: number | string;\n maxFundingRate: number;\n deadline: number;\n}\n\nexport interface InstantRequestToClose {\n quote_id: number;\n quantity_to_close: number | string;\n close_price: number | string;\n deadline?: number | null;\n order_type?: OrderType | null;\n}\n\nexport interface LockedParamsResponseSchema {\n cva: string;\n partyAmm: string;\n lf: string;\n leverage: string;\n partyBmm: string;\n}\n\nexport interface Login {\n /** @pattern 0x[0-9a-fA-F]{40} */\n account_address: string;\n nonce: string;\n expiration_time: string;\n issued_at: string;\n signature: string;\n}\n\nexport interface MarketInfoResponseSchema {\n price: number;\n price_change_percent: number;\n trade_volume: number;\n notional_cap: number;\n}\n\nexport enum MultiAccountEnum {\n \"0x8Ab178C07184ffD44F0ADfF4eA2ce6cFc33F3b86\" = \"0x8Ab178C07184ffD44F0ADfF4eA2ce6cFc33F3b86\",\n \"0x1c03B6480a4efC2d4123ba90d7857f0e1878B780\" = \"0x1c03B6480a4efC2d4123ba90d7857f0e1878B780\",\n \"0x6D63921D8203044f6AbaD8F346d3AEa9A2719dDD\" = \"0x6D63921D8203044f6AbaD8F346d3AEa9A2719dDD\",\n \"0xF7F56d7E02D5c7bF33525AE2eecB049a17Ef4580\" = \"0xF7F56d7E02D5c7bF33525AE2eecB049a17Ef4580\",\n \"0x8a98f69139534Ef85775b473082CE4Af1373cd63\" = \"0x8a98f69139534Ef85775b473082CE4Af1373cd63\",\n \"0xc6Ecf3AB3D09ba6f1565Ad6E139B5D3ba30bB774\" = \"0xc6Ecf3AB3D09ba6f1565Ad6E139B5D3ba30bB774\",\n \"0x39EcC772f6073242d6FD1646d81FA2D87fe95314\" = \"0x39EcC772f6073242d6FD1646d81FA2D87fe95314\",\n \"0x95605c64356572eb5C076Cb9c027c88b527A2059\" = \"0x95605c64356572eb5C076Cb9c027c88b527A2059\",\n \"0xE43166cE17d3511B09438a359dAa53513225101D\" = \"0xE43166cE17d3511B09438a359dAa53513225101D\",\n \"0xA503Eb7714D4328f3D425F24954C6f5F00115E09\" = \"0xA503Eb7714D4328f3D425F24954C6f5F00115E09\",\n}\nexport interface NonceResponse {\n nonce: string;\n}\n\nexport enum NotificationType {\n report = \"report\",\n alert = \"alert\",\n warning = \"warning\",\n}\nexport interface NotificationsRequestSchema {\n counterparty_address?: string | null;\n quote_id?: number | null;\n timestamp_gte?: number | null;\n}\n\nexport interface SuccessNotificationData {\n action?: string | null;\n order_type?: number | null;\n filled_amount_open?: string | null;\n filled_amount_close?: string | null;\n avg_price_open?: string | null;\n avg_price_close?: string | null;\n action_status?: string | null;\n}\n\nexport interface SeenNotificationData {\n action?: string | null;\n order_type?: number | null;\n action_status?: string;\n}\n\nexport interface NotificationsResponseSchema {\n timestamp: number;\n counterparty_address: string;\n quote_id: number;\n temp_quote_id: number | null;\n type: NotificationType;\n data: SuccessNotificationData | SeenNotificationData | FailedNotificationData;\n}\n\nexport interface NotificationsSearchResponseSchema {\n count: number;\n notification_data: NotificationsResponseSchema[];\n}\n\nexport interface OpenInterestResponseSchema {\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n total_cap: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n used: string;\n}\n\nexport enum PositionStateType {\n report = \"report\",\n alert = \"alert\",\n}\nexport interface PositionStateResponseSchema {\n id: string;\n create_time: number;\n modify_time: number;\n quote_id: number;\n temp_quote_id?: number | null;\n counterparty_address: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n filled_amount_open?: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n filled_amount_close?: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n avg_price_open?: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n avg_price_close?: string;\n last_seen_action: string;\n action_status: string;\n failure_type?: string | null;\n error_code?: number | null;\n order_type: number;\n state_type: PositionStateType;\n}\n\nexport interface PositionsStateOutputSchema {\n count: number;\n position_state: PositionStateResponseSchema[];\n}\n\nexport interface PositionsStateRequestSchema {\n address?: string | null;\n quote_id?: number | null;\n create_time_gte?: number | null;\n modify_time_gte?: number | null;\n}\n\nexport interface ReadinessResponseSchema {\n /** Whether the service is ready to accept requests */\n isReady: boolean;\n}\n\nexport interface StatusResponse {\n successful: boolean;\n message?: string | null;\n}\n\nexport interface SymbolPriceRangeInputSchema {\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_price: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n max_price: string;\n}\n\nexport interface SymbolsContract {\n price_precision: number;\n quantity_precision: number;\n name: string;\n symbol: string;\n asset: string;\n symbol_id: number;\n is_valid: boolean;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_acceptable_quote_value: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_acceptable_portion_lf: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n trading_fee: string;\n max_leverage: number;\n max_notional_value: number;\n rfq_allowed: boolean;\n hedger_fee_open: string;\n hedger_fee_close: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n max_funding_rate: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n min_notional_value: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n max_quantity: string;\n /** @pattern ^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$ */\n lot_size: string;\n}\n\nexport interface SymbolsContractResponseSchema {\n count: number;\n symbols: SymbolsContract[];\n}\n\nexport interface TokenSchema {\n access_token: string;\n}\n\nexport type GetLockedParamsGetLockedParamsSymbolGetParams = {\n leverage: number;\n};\n\nexport type GetMarketInfoGetMarketInfoGet200 = { [key: string]: MarketInfoResponseSchema };\n\nexport type GetFundingInfoGetFundingInfoGetParams = {\n symbols?: string[];\n};\n\nexport type GetFundingInfoGetFundingInfoGet200 = { [key: string]: FundingInfoResponseSchema };\n\nexport type VerifyTokenAuthVerifyPostParams = {\n /**\n * @pattern 0x[0-9a-fA-F]{40}\n */\n party_a_address: string;\n};\n\n/**\n * @summary Get Contract Symbols\n */\nexport const getContractSymbolsContractSymbolsGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<SymbolsContractResponseSchema>> => {\n return axios.get(`/contract-symbols`, options);\n};\n\n/**\n * @summary Whitelist Check Sub Address\n */\nexport const whitelistCheckSubAddressAddSubAddressInWhitelistAddressMultiAccountAddressGet = (\n address: string,\n multiAccountAddress: MultiAccountEnum,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.get(`/add-sub-address-in-whitelist/${address}/${multiAccountAddress}`, options);\n};\n\n/**\n * @summary Get Open Interest\n */\nexport const getOpenInterestOpenInterestGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<OpenInterestResponseSchema>> => {\n return axios.get(`/open-interest`, options);\n};\n\n/**\n * @summary Search Position State\n */\nexport const searchPositionStatePositionStateStartSizePost = (\n start: number,\n size: number,\n positionsStateRequestSchema: PositionsStateRequestSchema,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<PositionsStateOutputSchema>> => {\n return axios.post(`/position-state/${start}/${size}`, positionsStateRequestSchema, options);\n};\n\n/**\n * @summary Search Notification\n */\nexport const searchNotificationNotificationsStartSizePost = (\n start: number,\n size: number,\n notificationsRequestSchema: NotificationsRequestSchema,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<NotificationsSearchResponseSchema>> => {\n return axios.post(`/notifications/${start}/${size}`, notificationsRequestSchema, options);\n};\n\n/**\n * @summary Get Notional Cap\n */\nexport const getNotionalCapNotionalCapSymbolIdGet = (\n symbolId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<OpenInterestResponseSchema>> => {\n return axios.get(`/notional_cap/${symbolId}`, options);\n};\n\n/**\n * @summary Get Symbol Price Range\n */\nexport const getSymbolPriceRangePriceRangeSymbolGet = (\n symbol: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<SymbolPriceRangeInputSchema>> => {\n return axios.get(`/price-range/${symbol}`, options);\n};\n\n/**\n * @summary Check In White List\n */\nexport const checkInWhiteListCheckInWhitelistAddressMultiAccountAddressGet = (\n address: string,\n multiAccountAddress: MultiAccountEnum,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<boolean>> => {\n return axios.get(`/check_in-whitelist/${address}/${multiAccountAddress}`, options);\n};\n\n/**\n * @summary Get Error Codes\n */\nexport const getErrorCodesErrorCodesGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ErrorCodeResponseSchema>> => {\n return axios.get(`/error_codes`, options);\n};\n\n/**\n * @summary Get Error Message\n */\nexport const getErrorMessageErrorCodesErrorCodeGet = (\n errorCode: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<ErrorCodeResponseSchema>> => {\n return axios.get(`/error_codes/${errorCode}`, options);\n};\n\n/**\n * @summary Get Locked Params\n */\nexport const getLockedParamsGetLockedParamsSymbolGet = (\n symbol: string,\n params: GetLockedParamsGetLockedParamsSymbolGetParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<LockedParamsResponseSchema>> => {\n return axios.get(`/get_locked_params/${symbol}`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get Market Info\n */\nexport const getMarketInfoGetMarketInfoGet = (\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetMarketInfoGetMarketInfoGet200>> => {\n return axios.get(`/get_market_info`, options);\n};\n\n/**\n * @summary Get Counterparty Upnl\n */\nexport const getCounterpartyUpnlPartyAUpnlAddressGet = (\n address: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<string>> => {\n return axios.get(`/partyA_upnl/${address}`, {\n ...options,\n });\n};\n\n/**\n * @summary Get Balance Info\n */\nexport const getBalanceInfoGetBalanceInfoAddressMultiAccountAddressGet = (\n address: string,\n multiAccountAddress: MultiAccountEnum,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<BalanceInfoResponseSchema>> => {\n return axios.get(`/get_balance_info/${address}/${multiAccountAddress}`, options);\n};\n\n/**\n * @summary Get Funding Info\n */\nexport const getFundingInfoGetFundingInfoGet = (\n params?: GetFundingInfoGetFundingInfoGetParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetFundingInfoGetFundingInfoGet200>> => {\n return axios.get(`/get_funding_info`, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Availability check\n */\nexport const readyCheckReadyzGet = (options?: AxiosRequestConfig): Promise<AxiosResponse<ReadinessResponseSchema>> => {\n return axios.get(`/readyz`, options);\n};\n\n/**\n * Verifies if the JWT token is valid and matches the provided `party_a_address`.\n *\n * Parameters:\n * party_a_address:\n * auth_data (dict): Authentication data extracted from the JWT token,\n * provided by the `get_current_user` dependency.\n *\n * Returns:\n * dict: A success message indicating that the token is valid.\n *\n * Raises:\n * ErrorCodeResponse: If the JWT token is invalid or the `sub` address does not match `party_a_address`.\n * @summary Verify Token\n */\nexport const verifyTokenAuthVerifyPost = (\n params: VerifyTokenAuthVerifyPostParams,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.post(`/auth/verify`, undefined, {\n ...options,\n params: { ...params, ...options?.params },\n });\n};\n\n/**\n * @summary Get Nonce\n */\nexport const getNonceNonceAccountAddressGet = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<NonceResponse>> => {\n return axios.get(`/nonce/${accountAddress}`, options);\n};\n\n/**\n * @summary Login\n */\nexport const loginLoginPost = (login: Login, options?: AxiosRequestConfig): Promise<AxiosResponse<TokenSchema>> => {\n return axios.post(`/login`, login, options);\n};\n\n/**\n * @summary Get Instant Request For Quotes\n */\nexport const getInstantRequestForQuotesInstantOpenAccountAddressGet = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantRFQResponse[]>> => {\n return axios.get(`/instant_open/${accountAddress}`, options);\n};\n\n/**\n * @summary Instant Request For Quote\n */\nexport const instantRequestForQuoteInstantOpenPost = (\n instantRequestForQuote: InstantRequestForQuote,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantRFQResponse>> => {\n return axios.post(`/instant_open`, instantRequestForQuote, options);\n};\n\n/**\n * @summary Instant Request For Quote With Signature\n */\nexport const instantRequestForQuoteWithSignatureInstantTradeOpenPost = (\n bodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost: BodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantRFQResponse>> => {\n return axios.post(`/instant_trade/open`, bodyInstantRequestForQuoteWithSignatureInstantTradeOpenPost, options);\n};\n\n/**\n * @summary Cancel Instant Request For Quote\n */\nexport const cancelInstantRequestForQuoteInstantOpenQuoteIdDelete = (\n quoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.delete(`/instant_open/${quoteId}`, options);\n};\n\n/**\n * @summary Get Instant Request To Closes\n */\nexport const getInstantRequestToClosesInstantCloseAccountAddressGet = (\n accountAddress: string,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<InstantCloseSchema[]>> => {\n return axios.get(`/instant_close/${accountAddress}`, options);\n};\n\n/**\n * @summary Instant Request To Close\n */\nexport const instantRequestToCloseInstantClosePost = (\n instantRequestToClose: InstantRequestToClose,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.post(`/instant_close`, instantRequestToClose, options);\n};\n\n/**\n * @summary Instant Request To Close With Signature\n */\nexport const instantRequestToCloseWithSignatureInstantTradeClosePost = (\n instantOperation: InstantOperation[],\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.post(`/instant_trade/close`, instantOperation, options);\n};\n\n/**\n * @summary Cancel Instant Request To Close\n */\nexport const cancelInstantRequestToCloseInstantCloseQuoteIdDelete = (\n quoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<StatusResponse>> => {\n return axios.delete(`/instant_close/${quoteId}`, options);\n};\n\n/**\n * @summary Get Quote Id\n */\nexport const getQuoteIdInstantQuoteIdTempQuoteIdGet = (\n tempQuoteId: number,\n options?: AxiosRequestConfig,\n): Promise<AxiosResponse<GetInstantQuoteResponse>> => {\n return axios.get(`/instant_quote_id/${tempQuoteId}`, options);\n};\n\nexport type GetContractSymbolsContractSymbolsGetResult = AxiosResponse<SymbolsContractResponseSchema>;\nexport type WhitelistCheckSubAddressAddSubAddressInWhitelistAddressMultiAccountAddressGetResult =\n AxiosResponse<StatusResponse>;\nexport type GetOpenInterestOpenInterestGetResult = AxiosResponse<OpenInterestResponseSchema>;\nexport type SearchPositionStatePositionStateStartSizePostResult = AxiosResponse<PositionsStateOutputSchema>;\nexport type SearchNotificationNotificationsStartSizePostResult = AxiosResponse<NotificationsSearchResponseSchema>;\nexport type GetNotionalCapNotionalCapSymbolIdGetResult = AxiosResponse<OpenInterestResponseSchema>;\nexport type GetSymbolPriceRangePriceRangeSymbolGetResult = AxiosResponse<SymbolPriceRangeInputSchema>;\nexport type CheckInWhiteListCheckInWhitelistAddressMultiAccountAddressGetResult = AxiosResponse<boolean>;\nexport type GetErrorCodesErrorCodesGetResult = AxiosResponse<ErrorCodeResponseSchema>;\nexport type GetErrorMessageErrorCodesErrorCodeGetResult = AxiosResponse<ErrorCodeResponseSchema>;\nexport type GetLockedParamsGetLockedParamsSymbolGetResult = AxiosResponse<LockedParamsResponseSchema>;\nexport type GetMarketInfoGetMarketInfoGetResult = AxiosResponse<GetMarketInfoGetMarketInfoGet200>;\nexport type GetCounterpartyUpnlPartyAUpnlAddressGetResult = AxiosResponse<string>;\nexport type GetBalanceInfoGetBalanceInfoAddressMultiAccountAddressGetResult = AxiosResponse<BalanceInfoResponseSchema>;\nexport type GetFundingInfoGetFundingInfoGetResult = AxiosResponse<GetFundingInfoGetFundingInfoGet200>;\nexport type ReadyCheckReadyzGetResult = AxiosResponse<ReadinessResponseSchema>;\nexport type VerifyTokenAuthVerifyPostResult = AxiosResponse<StatusResponse>;\nexport type GetNonceNonceAccountAddressGetResult = AxiosResponse<NonceResponse>;\nexport type LoginLoginPostResult = AxiosResponse<TokenSchema>;\nexport type GetInstantRequestForQuotesInstantOpenAccountAddressGetResult = AxiosResponse<InstantRFQResponse[]>;\nexport type InstantRequestForQuoteInstantOpenPostResult = AxiosResponse<InstantRFQResponse>;\nexport type InstantRequestForQuoteWithSignatureInstantTradeOpenPostResult = AxiosResponse<InstantRFQResponse>;\nexport type CancelInstantRequestForQuoteInstantOpenQuoteIdDeleteResult = AxiosResponse<StatusResponse>;\nexport type GetInstantRequestToClosesInstantCloseAccountAddressGetResult = AxiosResponse<InstantCloseSchema[]>;\nexport type InstantRequestToCloseInstantClosePostResult = AxiosResponse<StatusResponse>;\nexport type InstantRequestToCloseWithSignatureInstantTradeClosePostResult = AxiosResponse<StatusResponse>;\nexport type CancelInstantRequestToCloseInstantCloseQuoteIdDeleteResult = AxiosResponse<StatusResponse>;\nexport type GetQuoteIdInstantQuoteIdTempQuoteIdGetResult = AxiosResponse<GetInstantQuoteResponse>;\n"],"mappings":";;AAuaA,IAAa,KACX,MAEO,EAAM,IAAI,qBAAqB,CAAO,GAiBlC,KACX,MAEO,EAAM,IAAI,kBAAkB,CAAO,GAM/B,KACX,GACA,GACA,GACA,MAEO,EAAM,KAAK,mBAAmB,EAAM,GAAG,KAAQ,GAA6B,CAAO,GAkB/E,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB,KAAY,CAAO,GAM1C,KACX,GACA,MAEO,EAAM,IAAI,gBAAgB,KAAU,CAAO,GA0BvC,KACX,GACA,MAEO,EAAM,IAAI,gBAAgB,KAAa,CAAO,GAoB1C,KACX,MAEO,EAAM,IAAI,oBAAoB,CAAO,GAMjC,KACX,GACA,MAEO,EAAM,IAAI,gBAAgB,KAAW,EAC1C,GAAG,EACL,CAAC,GAMU,KACX,GACA,GACA,MAEO,EAAM,IAAI,qBAAqB,EAAQ,GAAG,KAAuB,CAAO,GAmBpE,KAAuB,MAC3B,EAAM,IAAI,WAAW,CAAO,GAgDxB,KACX,GACA,MAEO,EAAM,IAAI,iBAAiB,KAAkB,CAAO,GAgBhD,KACX,GACA,MAEO,EAAM,KAAK,uBAAuB,GAA6D,CAAO,GAoClG,KACX,GACA,MAEO,EAAM,KAAK,wBAAwB,GAAkB,CAAO"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Public ABI re-exports. Versioned under `v0.8.5/` (the only supported SYMMIO
2
+ * Public ABI re-exports. Versioned under `v0.8.6/` (the only supported SYMMIO
3
3
  * version today).
4
4
  *
5
5
  * @remarks
@@ -10,7 +10,7 @@
10
10
  * specified as a runtime version-pack registry resolved from chain config — see
11
11
  * `ARCHITECTURE.md` at the package root.
12
12
  */
13
- export { accountLayerAbi } from './v0.8.5/account-layer.js';
14
- export { instantLayerAbi } from './v0.8.5/instant-layer.js';
15
- export { symmioAbi } from './v0.8.5/symmio.js';
13
+ export { accountLayerAbi } from './v0.8.6/account-layer.js';
14
+ export { instantLayerAbi } from './v0.8.6/instant-layer.js';
15
+ export { symmioAbi } from './v0.8.6/symmio.js';
16
16
  //# sourceMappingURL=index.d.ts.map